{
  "resourceType" : "Bundle",
  "id" : "SampleSzBundle1",
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "https://hapifhir.eswatinihie.com/fhir/Encounter/SampleSzEncounter1",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB",
      "meta" : {
        "profile" : ["https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzPatient"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient 13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB</b></p><a name=\"13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB\"> </a><a name=\"hc13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB\"> </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-SzPatient.html\">Eswatini Patient Profile</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Celucolo Celani Sacolo  Male, DoB: 2000-01-01 ( Medical Record Number: Client Management Information System#M001010101-1\u00a0(use:\u00a0usual,\u00a0))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}\">Married</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">Personal ID Number/2001010000001\u00a0(use:\u00a0official,\u00a0)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 7600 0000</li><li>Mbabane </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The nationality of the patient.\"><a href=\"http://hl7.org/fhir/extensions/5.2.0/StructureDefinition-patient-nationality.html\">Patient Nationality</a></td><td colspan=\"3\"><span title=\"Codes:{urn:iso:std:iso:3166 SWZ}\">Eswatini</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extention for Eswatini Tinkhundla\"><a href=\"StructureDefinition-SzInkhundlaExtension.html\">Extention: Eswatini Inkhundla</a></td><td colspan=\"3\"><span title=\"Codes:{https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzTinkhundlaCS 3}\">LOBAMBA</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extention for Eswatini Chiefdom\"><a href=\"StructureDefinition-SzChiefdomExtension.html\">Extention: Eswatini Chiefdom</a></td><td colspan=\"3\"><span title=\"Codes:{https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzChiefdomCS 7}\">Lobamba</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Extention for Eswatini Chiefdom\"><a href=\"StructureDefinition-SzRegistrationDate.html\">Extention: Patient Registration Date</a></td><td colspan=\"3\">2025-06-01 10:00:00+0000</td></tr></table></div>"
      },
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/patient-nationality",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "urn:iso:std:iso:3166",
            "code" : "SWZ",
            "display" : "Eswatini"
          }],
          "text" : "Eswatini"
        }
      },
      {
        "url" : "https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzInkhundlaExtension",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzTinkhundlaCS",
            "code" : "3",
            "display" : "LOBAMBA"
          }],
          "text" : "LOBAMBA"
        }
      },
      {
        "url" : "https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzChiefdomExtension",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzChiefdomCS",
            "code" : "7",
            "display" : "Lobamba"
          }],
          "text" : "Lobamba"
        }
      },
      {
        "url" : "https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzRegistrationDate",
        "valueDateTime" : "2025-06-01T10:00:00Z"
      }],
      "identifier" : [{
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzPersonIdentificationsCS",
            "code" : "MR",
            "display" : "Medical Record Number"
          }]
        },
        "system" : "urn:health:cmis",
        "value" : "M001010101-1"
      },
      {
        "use" : "official",
        "type" : {
          "coding" : [{
            "system" : "https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzPersonIdentificationsCS",
            "code" : "PI",
            "display" : "Personal ID Number"
          }]
        },
        "system" : "urn:homeaffairs:population-register",
        "value" : "2001010000001"
      }],
      "name" : [{
        "family" : "Sacolo",
        "given" : ["Celucolo",
        "Celani"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "7600 0000"
      }],
      "gender" : "male",
      "birthDate" : "2000-01-01",
      "address" : [{
        "city" : "Mbabane"
      }],
      "maritalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
          "code" : "M",
          "display" : "Married"
        }]
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Patient/SampleSzPatient1"
    }
  },
  {
    "resource" : {
      "resourceType" : "Encounter",
      "id" : "C4ACF791-2B64-4A45-8E6E-87A5B1295032",
      "meta" : {
        "profile" : ["https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzEncounter"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_C4ACF791-2B64-4A45-8E6E-87A5B1295032\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Encounter C4ACF791-2B64-4A45-8E6E-87A5B1295032</b></p><a name=\"C4ACF791-2B64-4A45-8E6E-87A5B1295032\"> </a><a name=\"hcC4ACF791-2B64-4A45-8E6E-87A5B1295032\"> </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-SzEncounter.html\">Eswatini Encounter Profile</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"CodeSystem-SzEncounterClassificationCS.html#SzEncounterClassificationCS-OPD\">Code System: Encounter Classification: OPD</a> (Out Patient Department)</p><p><b>subject</b>: <a href=\"Patient-13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB.html\">Celucolo Celani Sacolo  Male, DoB: 2000-01-01 ( Medical Record Number: Client Management Information System#M001010101-1\u00a0(use:\u00a0usual,\u00a0))</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-576E19CD-CED4-47A0-8BF7-3B030153E245.html\">Practitioner Thabile Celiwe Dlamini </a></td></tr></table><p><b>period</b>: 2023-10-01 10:00:00+0000 --&gt; (ongoing)</p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td><td><b>Status</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Location-992F1F3C-00CD-4838-94D1-91658DFA99BD.html\">Location Mahwalala Red Cross Clinic</a></td><td>Completed</td></tr></table></div>"
      },
      "status" : "finished",
      "class" : {
        "system" : "https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzEncounterClassificationCS",
        "code" : "OPD",
        "display" : "Out Patient Department"
      },
      "subject" : {
        "reference" : "Patient/13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB"
      },
      "participant" : [{
        "individual" : {
          "reference" : "Practitioner/576E19CD-CED4-47A0-8BF7-3B030153E245"
        }
      }],
      "period" : {
        "start" : "2023-10-01T10:00:00Z"
      },
      "location" : [{
        "location" : {
          "reference" : "Location/992F1F3C-00CD-4838-94D1-91658DFA99BD"
        },
        "status" : "completed"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Encounter/SampleSzEncounter1"
    }
  }]
}