{
  "resourceType" : "EpisodeOfCare",
  "id" : "do-not-populate-id",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: EpisodeOfCare do-not-populate-id</b></p><a name=\"do-not-populate-id\"> </a><a name=\"hcdo-not-populate-id\"> </a><a name=\"do-not-populate-id-en-US\"> </a><p><b>Enrolment_expiry_date</b>: 2026-06-05</p><p><b>Enrolment_owner_org</b>: <a href=\"Organization/GZZ998-G\">Live Org with Dormant</a></p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{https://standards.digital.health.nz/nes-enrolment-type FLS}\">First Level Services</span></p><p><b>patient</b>: <a href=\"#hcdo-not-populate-id/ZJJ8114\">Francesca Mathieu  (no stated gender), DoB: 2000-03-03</a></p><p><b>careManager</b>: <a href=\"#hcdo-not-populate-id/EnrolmentServiceProvider5\">PractitionerRole</a></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole #EnrolmentServiceProvider5</b></p><a name=\"do-not-populate-id/EnrolmentServiceProvider5\"> </a><a name=\"hcdo-not-populate-id/EnrolmentServiceProvider5\"> </a><a name=\"do-not-populate-id/EnrolmentServiceProvider5-en-US\"> </a><p><b>practitioner</b>: <a href=\"Practitioner/99ZZZS\">Mrs TestOne Prefix-Test</a></p><p><b>organization</b>: <a href=\"Organization/GZZ998-G\">Live Org with Dormant</a></p><p><b>location</b>: <a href=\"Location/FZZ968-B\">Facility Has All Contact Types TEST</a></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #ZJJ8114</b></p><a name=\"do-not-populate-id/ZJJ8114\"> </a><a name=\"hcdo-not-populate-id/ZJJ8114\"> </a><a name=\"do-not-populate-id/ZJJ8114-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-NesPatient.html\">NES Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Francesca Mathieu  (no stated gender), DoB: 2000-03-03</p><hr/></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "PractitionerRole",
    "id" : "EnrolmentServiceProvider5",
    "practitioner" : {
      "reference" : "Practitioner/99ZZZS",
      "display" : "Mrs TestOne Prefix-Test"
    },
    "organization" : {
      "reference" : "Organization/GZZ998-G",
      "display" : "Live Org with Dormant"
    },
    "location" : [{
      "reference" : "Location/FZZ968-B",
      "display" : "Facility Has All Contact Types TEST"
    }]
  },
  {
    "resourceType" : "Patient",
    "id" : "ZJJ8114",
    "meta" : {
      "profile" : ["http://hl7.org.nz/fhir/StructureDefinition/NesPatient"]
    },
    "name" : [{
      "family" : "Mathieu",
      "given" : ["Francesca"]
    }],
    "birthDate" : "2000-03-03"
  }],
  "extension" : [{
    "url" : "http://hl7.org.nz/fhir/StructureDefinition/enrolment-expiry-date",
    "valueDate" : "2026-06-05"
  },
  {
    "url" : "http://hl7.org.nz/fhir/StructureDefinition/enrolment-owner-org",
    "valueReference" : {
      "reference" : "Organization/GZZ998-G",
      "display" : "Live Org with Dormant"
    }
  }],
  "status" : "active",
  "type" : [{
    "coding" : [{
      "system" : "https://standards.digital.health.nz/nes-enrolment-type",
      "code" : "FLS"
    }]
  }],
  "patient" : {
    "reference" : "#ZJJ8114"
  },
  "careManager" : {
    "reference" : "#EnrolmentServiceProvider5"
  }
}