{
  "resourceType" : "Bundle",
  "id" : "HHIMS-Transactional-Bundle",
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "Patient/HHIMSPatientExample",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "HHIMSPatientExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/hhims-patient"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"HHIMSPatientExample\"> </a></p><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\">Resource Patient &quot;HHIMSPatientExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-hhims-patient.html\">HHIMS Patient</a></p></div><p><b>identifier</b>: Personal Health Number:\u00a0personal health number, National identity number:\u00a0National identity number-1, National identity number:\u00a0National identity number-2</p><p><b>name</b>: Mr. Mike John Smith (OFFICIAL)</p><p><b>telecom</b>: <a href=\"tel:+27829999999\">+27829999999</a>, <a href=\"mailto:someone@something.com\">someone@something.com</a>, <a href=\"mailto:someone2@something.com\">someone2@something.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1983-05-22</p><p><b>address</b>: 177 Nawala Road Nugegoda Colombo 32350 Sri Lanka </p></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-identifier-types",
            "code" : "PHN"
          }],
          "text" : "Personal Health Number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/phn",
        "value" : "personal health number"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "NNLKA"
          }],
          "text" : "National identity number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/nic",
        "value" : "National identity number-1"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "NNLKA"
          }],
          "text" : "National identity number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/nic",
        "value" : "National identity number-2"
      }],
      "name" : [{
        "use" : "official",
        "family" : "Smith",
        "given" : ["Mr.",
        "Mike",
        "John"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "+27829999999"
      },
      {
        "system" : "email",
        "value" : "someone@something.com"
      },
      {
        "system" : "email",
        "value" : "someone2@something.com"
      }],
      "gender" : "male",
      "birthDate" : "1983-05-22",
      "address" : [{
        "type" : "postal",
        "line" : ["177",
        "Nawala Road"],
        "city" : "Nugegoda",
        "district" : "Ampara",
        "state" : "Colombo",
        "postalCode" : "32350",
        "country" : "Sri Lanka"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Patient/HHIMSPatientExample"
    }
  },
  {
    "fullUrl" : "Encounter/TargetFacilityEncounterExample",
    "resource" : {
      "resourceType" : "Encounter",
      "id" : "TargetFacilityEncounterExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/target-facility-encounter"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"TargetFacilityEncounterExample\"> </a></p><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\">Resource Encounter &quot;TargetFacilityEncounterExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-target-facility-encounter.html\">Target Facility Encounter</a></p></div><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'null')</p><p><b>subject</b>: <a href=\"Patient-HIMSPatientExample.html\">Patient/HIMSPatientExample</a> &quot; SMITH&quot;</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_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></td></tr></table><p><b>period</b>: 2022-12-01 --&gt; 2023-01-20</p><p><b>reasonCode</b>: 140004 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#140004)</span></p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></td></tr></table></div>"
      },
      "status" : "finished",
      "class" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "AMB"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "participant" : [{
        "individual" : {
          "reference" : "Practitioner/GeneralPractitionerExample"
        }
      }],
      "period" : {
        "start" : "2022-12-01",
        "end" : "2023-01-20"
      },
      "reasonCode" : [{
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "140004"
        }]
      }],
      "location" : [{
        "location" : {
          "reference" : "Location/ProvidersLocationExample"
        }
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Encounter/TargetFacilityEncounterExample"
    }
  },
  {
    "fullUrl" : "Observation/WeightExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "WeightExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/weight"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"WeightExample\"> </a></p><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\">Resource Observation &quot;WeightExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-weight.html\">Patient Weight Observation</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Vital Signs <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-observation-category.html\">Observation Category Codes</a>#vital-signs)</span></p><p><b>code</b>: Body Weight <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#29463-7)</span></p><p><b>subject</b>: <a href=\"Patient-HIMSPatientExample.html\">Patient/HIMSPatientExample</a> &quot; SMITH&quot;</p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>effective</b>: 2022-11-30</p><p><b>performer</b>: </p><ul><li><a href=\"Organization-OrganizationExample.html\">Organization/OrganizationExample</a> &quot;Some Health Facility&quot;</li><li><a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></li></ul><p><b>value</b>: 110 kg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code kg = 'kg')</span></p></div>"
      },
      "status" : "final",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "vital-signs"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "29463-7"
        }],
        "text" : "Body Weight"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "valueQuantity" : {
        "value" : 110,
        "unit" : "kg",
        "system" : "http://unitsofmeasure.org",
        "code" : "kg"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/WeightExample"
    }
  },
  {
    "fullUrl" : "Location/ProvidersLocationExample",
    "resource" : {
      "resourceType" : "Location",
      "id" : "ProvidersLocationExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/providers-location"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Location</b><a name=\"ProvidersLocationExample\"> </a></p><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\">Resource Location &quot;ProvidersLocationExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-providers-location.html\">Providers Location</a></p></div><p><b>identifier</b>: Provider location identifier:\u00a0Location-ID-1, Provider location identifier:\u00a0Location-ID-2</p><p><b>status</b>: active</p><p><b>name</b>: Name for the location</p><p><b>telecom</b>: <a href=\"tel:+27829999999\">+27829999999</a>, <a href=\"mailto:someone@something.com\">someone@something.com</a>, <a href=\"mailto:someone2@something.com\">someone2@something.com</a></p><p><b>address</b>: 177 Nawala Road Nugegoda Colombo 32350 Sri Lanka </p><p><b>managingOrganization</b>: <a href=\"Organization-OrganizationExample.html\">Organization/OrganizationExample</a> &quot;Some Health Facility&quot;</p></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PIN"
          }],
          "text" : "Provider location identifier"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/provider-location",
        "value" : "Location-ID-1"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PIN"
          }],
          "text" : "Provider location identifier"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/provider-location",
        "value" : "Location-ID-2"
      }],
      "status" : "active",
      "name" : "Name for the location",
      "telecom" : [{
        "system" : "phone",
        "value" : "+27829999999"
      },
      {
        "system" : "email",
        "value" : "someone@something.com"
      },
      {
        "system" : "email",
        "value" : "someone2@something.com"
      }],
      "address" : {
        "type" : "postal",
        "line" : ["177",
        "Nawala Road"],
        "city" : "Nugegoda",
        "district" : "Ampara",
        "state" : "Colombo",
        "postalCode" : "32350",
        "country" : "Sri Lanka"
      },
      "managingOrganization" : {
        "reference" : "Organization/OrganizationExample"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Location/ProvidersLocationExample"
    }
  },
  {
    "fullUrl" : "Communication/NotifiableDiseasesNotifiedExample",
    "resource" : {
      "resourceType" : "Communication",
      "id" : "NotifiableDiseasesNotifiedExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/notifiable-diseases-notified"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Communication</b><a name=\"NotifiableDiseasesNotifiedExample\"> </a></p><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\">Resource Communication &quot;NotifiableDiseasesNotifiedExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-notifiable-diseases-notified.html\">Notifiable Diseases Notified</a></p></div><p><b>status</b>: completed</p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>sent</b>: 2023-10-06 13:28:17-0500</p></div>"
      },
      "status" : "completed",
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "sent" : "2023-10-06T13:28:17-05:00"
    },
    "request" : {
      "method" : "PUT",
      "url" : "Communication/NotifiableDiseasesNotifiedExample"
    }
  },
  {
    "fullUrl" : "ServiceRequest/GeneralReferralServiceRequestExample",
    "resource" : {
      "resourceType" : "ServiceRequest",
      "id" : "GeneralReferralServiceRequestExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/general-referral-request"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"GeneralReferralServiceRequestExample\"> </a></p><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\">Resource ServiceRequest &quot;GeneralReferralServiceRequestExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-general-referral-request.html\">General Referral Request</a></p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: Patient referral <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#3457005)</span></p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>occurrence</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>locationReference</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p></div>"
      },
      "status" : "completed",
      "intent" : "order",
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "3457005"
        }],
        "text" : "Patient referral"
      },
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "occurrenceDateTime" : "2023-10-06T13:28:17-05:00",
      "requester" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "locationReference" : [{
        "reference" : "Location/ProvidersLocationExample"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "ServiceRequest/GeneralReferralServiceRequestExample"
    }
  },
  {
    "fullUrl" : "Practitioner/GeneralPractitionerExample",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "GeneralPractitionerExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/practitioner"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Practitioner</b><a name=\"GeneralPractitionerExample\"> </a></p><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\">Resource Practitioner &quot;GeneralPractitionerExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-practitioner.html\">Practitioner</a></p></div><p><b>name</b>: Tom Junes Smith </p><p><b>telecom</b>: ph: 27537652509(WORK), <a href=\"mailto:someone@something.org\">someone@something.org</a></p></div>"
      },
      "name" : [{
        "family" : "Smith",
        "given" : ["Tom",
        "Junes"],
        "prefix" : ["Dr"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "27537652509",
        "use" : "work"
      },
      {
        "system" : "email",
        "value" : "someone@something.org",
        "use" : "home"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Practitioner/GeneralPractitionerExample"
    }
  },
  {
    "fullUrl" : "Task/HHIMSReferralTaskExample",
    "resource" : {
      "resourceType" : "Task",
      "id" : "HHIMSReferralTaskExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/referral-task"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Task</b><a name=\"HHIMSReferralTaskExample\"> </a></p><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\">Resource Task &quot;HHIMSReferralTaskExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-referral-task.html\">Referral Task</a></p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>priority</b>: routine</p><p><b>description</b>: some information regarding the need for the referral request, if any.</p><p><b>focus</b>: <a href=\"#ServiceRequest_GeneralReferralServiceRequestExample\">See above (ServiceRequest/GeneralReferralServiceRequestExample)</a></p><p><b>for</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>authoredOn</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>location</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p></div>"
      },
      "status" : "completed",
      "intent" : "order",
      "priority" : "routine",
      "description" : "some information regarding the need for the referral request, if any.",
      "focus" : {
        "reference" : "ServiceRequest/GeneralReferralServiceRequestExample"
      },
      "for" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "authoredOn" : "2023-10-06T13:28:17-05:00",
      "requester" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "location" : {
        "reference" : "Location/ProvidersLocationExample"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Task/HHIMSReferralTaskExample"
    }
  },
  {
    "fullUrl" : "AllergyIntolerance/AllergiesExample",
    "resource" : {
      "resourceType" : "AllergyIntolerance",
      "id" : "AllergiesExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/allergy-intolerance"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AllergyIntolerance</b><a name=\"AllergiesExample\"> </a></p><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\">Resource AllergyIntolerance &quot;AllergiesExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-allergy-intolerance.html\">Allergy Intolerance</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-allergyintolerance-verification.html\">AllergyIntolerance Verification Status</a>#confirmed)</span></p><p><b>type</b>: allergy</p><p><b>code</b>: Allergy to food <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#414285001)</span></p><p><b>patient</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>onset</b>: 2023-10-11 17:21:33-0800</p><p><b>recorder</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p></div>"
      },
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
          "code" : "active"
        }]
      },
      "verificationStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
          "code" : "confirmed"
        }]
      },
      "type" : "allergy",
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "414285001"
        }],
        "text" : "Allergy to food"
      },
      "patient" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "onsetDateTime" : "2023-10-11T17:21:33-08:00",
      "recorder" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "AllergyIntolerance/AllergiesExample"
    }
  },
  {
    "fullUrl" : "MedicationRequest/PrescriptionsExample",
    "resource" : {
      "resourceType" : "MedicationRequest",
      "id" : "PrescriptionsExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/medication-request"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationRequest</b><a name=\"PrescriptionsExample\"> </a></p><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\">Resource MedicationRequest &quot;PrescriptionsExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-medication-request.html\">Prescription Request</a></p></div><p><b>identifier</b>: Prescription identifier:\u00a0prescription-12345</p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>medication</b>: Medication <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cs-medication-name.html\">Medication Names</a>#Vitamin-A-&amp;-D)</span></p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>authoredOn</b>: 2023-10-11 17:21:33-0800</p><p><b>requester</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>performer</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>recorder</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>note</b>: Additional information regarding the patient's medication prescription (By Organization/OrganizationExample @Oct 12, 2023, 1:21:33\u202fAM)</p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Code: BID, Count 2 times, Duration 2days, 2 per 3 days</p><blockquote><p><b>doseAndRate</b></p></blockquote></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>5</td></tr></table></div>"
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "FILL",
            "display" : "Filler Identifier"
          }],
          "text" : "Prescription identifier"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/prescription",
        "value" : "prescription-12345"
      }],
      "status" : "completed",
      "intent" : "order",
      "medicationCodeableConcept" : {
        "coding" : [{
          "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-medication-name",
          "code" : "Vitamin-A-&-D"
        }],
        "text" : "Medication"
      },
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "authoredOn" : "2023-10-11T17:21:33-08:00",
      "requester" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "performer" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "recorder" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "note" : [{
        "authorReference" : {
          "reference" : "Organization/OrganizationExample"
        },
        "time" : "2023-10-11T17:21:33-08:00",
        "text" : "Additional information regarding the patient's medication prescription"
      }],
      "dosageInstruction" : [{
        "timing" : {
          "repeat" : {
            "count" : 2,
            "duration" : 2,
            "durationUnit" : "d",
            "frequency" : 2,
            "period" : 3,
            "periodUnit" : "d"
          },
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-GTSAbbreviation",
              "code" : "BID"
            }]
          }
        },
        "doseAndRate" : [{
          "doseQuantity" : {
            "value" : 3
          }
        }]
      }],
      "dispenseRequest" : {
        "quantity" : {
          "value" : 5
        }
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "MedicationRequest/PrescriptionsExample"
    }
  },
  {
    "fullUrl" : "Procedure/ProceduresExample",
    "resource" : {
      "resourceType" : "Procedure",
      "id" : "ProceduresExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/procedure"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Procedure</b><a name=\"ProceduresExample\"> </a></p><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\">Resource Procedure &quot;ProceduresExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-procedure.html\">Procedures</a></p></div><p><b>status</b>: in-progress</p><p><b>category</b>: 409073007 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#409073007)</span></p><p><b>code</b>: X-Ray <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cs-procedure-imaging.html\">Procedures</a>#X-Ray)</span></p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>performed</b>: 2023-10-11 17:21:33-0800</p><p><b>recorder</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>asserter</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></td></tr></table><p><b>location</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p></div>"
      },
      "status" : "in-progress",
      "category" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "409073007"
        }]
      },
      "code" : {
        "coding" : [{
          "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-procedure-imaging",
          "code" : "X-Ray"
        }]
      },
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "performedDateTime" : "2023-10-11T17:21:33-08:00",
      "recorder" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "asserter" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "performer" : [{
        "actor" : {
          "reference" : "Practitioner/GeneralPractitionerExample"
        }
      }],
      "location" : {
        "reference" : "Location/ProvidersLocationExample"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Procedure/ProceduresExample"
    }
  },
  {
    "fullUrl" : "MedicationAdministration/InjectionsExample",
    "resource" : {
      "resourceType" : "MedicationAdministration",
      "id" : "InjectionsExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/injection"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationAdministration</b><a name=\"InjectionsExample\"> </a></p><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\">Resource MedicationAdministration &quot;InjectionsExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-injection.html\">Injections</a></p></div><p><b>status</b>: completed</p><p><b>medication</b>: Busulfan <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#2571007)</span></p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>context</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>effective</b>: 2023-10-11 17:21:33-0800</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></td></tr></table><h3>Dosages</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Route</b></td><td><b>Dose</b></td></tr><tr><td style=\"display: none\">*</td><td>Intravenous route <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#47625008)</span></td><td>12</td></tr></table></div>"
      },
      "status" : "completed",
      "medicationCodeableConcept" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "2571007"
        }],
        "text" : "Busulfan"
      },
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "context" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2023-10-11T17:21:33-08:00",
      "performer" : [{
        "actor" : {
          "reference" : "Practitioner/GeneralPractitionerExample"
        }
      }],
      "dosage" : {
        "route" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "47625008"
          }],
          "text" : "Intravenous route"
        },
        "dose" : {
          "value" : 12
        }
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "MedicationAdministration/InjectionsExample"
    }
  },
  {
    "fullUrl" : "MedicationDispense/DrugDispensationExample",
    "resource" : {
      "resourceType" : "MedicationDispense",
      "id" : "DrugDispensationExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/drug-dispensation"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationDispense</b><a name=\"DrugDispensationExample\"> </a></p><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\">Resource MedicationDispense &quot;DrugDispensationExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-drug-dispensation.html\">Drug Dispensation</a></p></div><p><b>status</b>: completed</p><p><b>medication</b>: Medication <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cs-medication-name.html\">Medication Names</a>#Vitamin-A-&amp;-D)</span></p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>context</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></td></tr></table><p><b>location</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p><p><b>authorizingPrescription</b>: <a href=\"#MedicationRequest_PrescriptionsExample\">See above (MedicationRequest/PrescriptionsExample)</a></p><p><b>whenHandedOver</b>: 2023-10-11 17:21:33-0800</p><p><b>receiver</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p></div>"
      },
      "status" : "completed",
      "medicationCodeableConcept" : {
        "coding" : [{
          "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-medication-name",
          "code" : "Vitamin-A-&-D"
        }],
        "text" : "Medication"
      },
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "context" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "performer" : [{
        "actor" : {
          "reference" : "Practitioner/GeneralPractitionerExample"
        }
      }],
      "location" : {
        "reference" : "Location/ProvidersLocationExample"
      },
      "authorizingPrescription" : [{
        "reference" : "MedicationRequest/PrescriptionsExample"
      }],
      "whenHandedOver" : "2023-10-11T17:21:33-08:00",
      "receiver" : [{
        "reference" : "Patient/HHIMSPatientExample"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "MedicationDispense/DrugDispensationExample"
    }
  },
  {
    "fullUrl" : "ServiceRequest/InvestigationsServiceRequestExample",
    "resource" : {
      "resourceType" : "ServiceRequest",
      "id" : "InvestigationsServiceRequestExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/investigations-request"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"InvestigationsServiceRequestExample\"> </a></p><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\">Resource ServiceRequest &quot;InvestigationsServiceRequestExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-investigations-request.html\">Investigations Request</a></p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: Investigation requested <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cs-investigation.html\">Investigations</a>#FBC-WBC-th/uL)</span></p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>occurrence</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>locationReference</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p></div>"
      },
      "status" : "completed",
      "intent" : "order",
      "code" : {
        "coding" : [{
          "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-investigation",
          "code" : "FBC-WBC-th/uL"
        }],
        "text" : "Investigation requested"
      },
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "occurrenceDateTime" : "2023-10-06T13:28:17-05:00",
      "requester" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "locationReference" : [{
        "reference" : "Location/ProvidersLocationExample"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "ServiceRequest/InvestigationsServiceRequestExample"
    }
  },
  {
    "fullUrl" : "Task/InvestigationsTaskExample",
    "resource" : {
      "resourceType" : "Task",
      "id" : "InvestigationsTaskExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/investigations-task"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Task</b><a name=\"InvestigationsTaskExample\"> </a></p><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\">Resource Task &quot;InvestigationsTaskExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-investigations-task.html\">Investigations Task</a></p></div><p><b>basedOn</b>: <a href=\"#ServiceRequest_InvestigationsServiceRequestExample\">See above (ServiceRequest/InvestigationsServiceRequestExample)</a></p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>priority</b>: routine</p><p><b>description</b>: some information regarding the need for the investigations request, if any.</p><p><b>for</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>executionPeriod</b>: 2023-10-06 13:28:17-0500 --&gt; 2023-10-09 16:28:17-0500</p><p><b>authoredOn</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>location</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p></div>"
      },
      "basedOn" : [{
        "reference" : "ServiceRequest/InvestigationsServiceRequestExample"
      }],
      "status" : "completed",
      "intent" : "order",
      "priority" : "routine",
      "description" : "some information regarding the need for the investigations request, if any.",
      "for" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "executionPeriod" : {
        "start" : "2023-10-06T13:28:17-05:00",
        "end" : "2023-10-09T16:28:17-05:00"
      },
      "authoredOn" : "2023-10-06T13:28:17-05:00",
      "requester" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "location" : {
        "reference" : "Location/ProvidersLocationExample"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Task/InvestigationsTaskExample"
    }
  },
  {
    "fullUrl" : "ServiceRequest/ImagingServiceRequestExample",
    "resource" : {
      "resourceType" : "ServiceRequest",
      "id" : "ImagingServiceRequestExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/imaging-request"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"ImagingServiceRequestExample\"> </a></p><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\">Resource ServiceRequest &quot;ImagingServiceRequestExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-imaging-request.html\">Imaging Request</a></p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: Imaging requested <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cs-procedure-imaging.html\">Procedures</a>#X-Ray)</span></p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>occurrence</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>locationReference</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p></div>"
      },
      "status" : "completed",
      "intent" : "order",
      "code" : {
        "coding" : [{
          "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-procedure-imaging",
          "code" : "X-Ray"
        }],
        "text" : "Imaging requested"
      },
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "occurrenceDateTime" : "2023-10-06T13:28:17-05:00",
      "requester" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "locationReference" : [{
        "reference" : "Location/ProvidersLocationExample"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "ServiceRequest/ImagingServiceRequestExample"
    }
  },
  {
    "fullUrl" : "Task/ImagingTaskExample",
    "resource" : {
      "resourceType" : "Task",
      "id" : "ImagingTaskExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/imaging-task"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Task</b><a name=\"ImagingTaskExample\"> </a></p><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\">Resource Task &quot;ImagingTaskExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-imaging-task.html\">Imaging Task</a></p></div><p><b>basedOn</b>: <a href=\"#ServiceRequest_ImagingServiceRequestExample\">See above (ServiceRequest/ImagingServiceRequestExample)</a></p><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>priority</b>: routine</p><p><b>description</b>: some information regarding the need for the imaging request, if any.</p><p><b>for</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>executionPeriod</b>: 2023-10-06 13:28:17-0500 --&gt; 2023-10-09 16:28:17-0500</p><p><b>authoredOn</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>location</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p></div>"
      },
      "basedOn" : [{
        "reference" : "ServiceRequest/ImagingServiceRequestExample"
      }],
      "status" : "completed",
      "intent" : "order",
      "priority" : "routine",
      "description" : "some information regarding the need for the imaging request, if any.",
      "for" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "executionPeriod" : {
        "start" : "2023-10-06T13:28:17-05:00",
        "end" : "2023-10-09T16:28:17-05:00"
      },
      "authoredOn" : "2023-10-06T13:28:17-05:00",
      "requester" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "location" : {
        "reference" : "Location/ProvidersLocationExample"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Task/ImagingTaskExample"
    }
  },
  {
    "fullUrl" : "ImagingStudy/ImagingExample",
    "resource" : {
      "resourceType" : "ImagingStudy",
      "id" : "ImagingExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/imaging-study"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ImagingStudy</b><a name=\"ImagingExample\"> </a></p><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\">Resource ImagingStudy &quot;ImagingExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-imaging-study.html\">Imaging Study</a></p></div><p><b>status</b>: registered</p><p><b>subject</b>: <a href=\"#Patient_HHIMSPatientExample\">See above (Patient/HHIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>started</b>: 2023-10-06 13:28:17-0500</p><p><b>basedOn</b>: <a href=\"#ServiceRequest_ImagingServiceRequestExample\">See above (ServiceRequest/ImagingServiceRequestExample)</a></p><p><b>referrer</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>procedureReference</b>: <a href=\"#Procedure_ProceduresExample\">See above (Procedure/ProceduresExample)</a></p><p><b>location</b>: <a href=\"#Location_ProvidersLocationExample\">See above (Location/ProvidersLocationExample)</a></p><p><b>description</b>: Imaging Description</p><blockquote><p><b>series</b></p><p><b>uid</b>: 89c0c298-6c30-11ee-b962-0242ac120002</p><p><b>modality</b>: X-Ray Angiography (Details: DICOM code XA = 'X-Ray Angiography', stated as 'null')</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></td></tr></table></blockquote></div>"
      },
      "status" : "registered",
      "subject" : {
        "reference" : "Patient/HHIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "started" : "2023-10-06T13:28:17-05:00",
      "basedOn" : [{
        "reference" : "ServiceRequest/ImagingServiceRequestExample"
      }],
      "referrer" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "procedureReference" : {
        "reference" : "Procedure/ProceduresExample"
      },
      "location" : {
        "reference" : "Location/ProvidersLocationExample"
      },
      "description" : "Imaging Description",
      "series" : [{
        "uid" : "89c0c298-6c30-11ee-b962-0242ac120002",
        "modality" : {
          "system" : "http://dicom.nema.org/resources/ontology/DCM",
          "code" : "XA"
        },
        "performer" : [{
          "actor" : {
            "reference" : "Practitioner/GeneralPractitionerExample"
          }
        }]
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "ImagingStudy/ImagingExample"
    }
  }]
}