{
  "resourceType" : "Bundle",
  "id" : "HIMS-Transactional-Bundle",
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "Patient/HIMSPatientExample",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "HIMSPatientExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/hims-patient"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Patient</b><a name=\"HIMSPatientExample\"> </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;HIMSPatientExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-hims-patient.html\">HIMS Patient</a></p></div><p><b>identifier</b>: Personal Health Number:\u00a0personal health number, Passport number:\u00a0Passport-1, Passport number:\u00a0Passport-2, Driver's license number:\u00a0Drivers license-1, Driver's license number:\u00a0Drivers license-2, National identity number:\u00a0National identity number-1, National identity number:\u00a0National identity number-2, Senior Citizen Number:\u00a0Senior citizen number-1, Senior Citizen Number:\u00a0Senior citizen 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" : "PPN"
          }],
          "text" : "Passport number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/passport",
        "value" : "Passport-1"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PPN"
          }],
          "text" : "Passport number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/passport",
        "value" : "Passport-2"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "DL"
          }],
          "text" : "Driver's license number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/drivers",
        "value" : "Drivers license-1"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "DL"
          }],
          "text" : "Driver's license number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/drivers",
        "value" : "Drivers license-2"
      },
      {
        "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"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-identifier-types",
            "code" : "SCN"
          }],
          "text" : "Senior Citizen Number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/scn",
        "value" : "Senior citizen number-1"
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-identifier-types",
            "code" : "SCN"
          }],
          "text" : "Senior Citizen Number"
        },
        "system" : "http://openhie.org/fhir/sri-lanka/identifier/scn",
        "value" : "Senior citizen 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/HIMSPatientExample"
    }
  },
  {
    "fullUrl" : "Observation/RiskBehaviourPhysicalActivityExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "RiskBehaviourPhysicalActivityExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/risk-behaviour-physical-activity"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"RiskBehaviourPhysicalActivityExample\"> </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;RiskBehaviourPhysicalActivityExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-risk-behaviour-physical-activity.html\">Physical Activity Status Observation</a></p></div><p><b>status</b>: final</p><p><b>code</b>: Physical Activity <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#106020009)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></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>: Physically not active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#9011000175102)</span></p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "106020009"
        }],
        "text" : "Physical Activity"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "9011000175102"
        }],
        "text" : "Physically not active"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/RiskBehaviourPhysicalActivityExample"
    }
  },
  {
    "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" : "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\">See above (Patient/HIMSPatientExample)</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_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.html\">Location/ProvidersLocationExample</a> &quot;Name for the location&quot;</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/RiskBehaviourTobaccoSmokerExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "RiskBehaviourTobaccoSmokerExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/risk-behaviour-tobacco-smoker"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"RiskBehaviourTobaccoSmokerExample\"> </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;RiskBehaviourTobaccoSmokerExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-risk-behaviour-tobacco-smoker.html\">Tobacco Smoker Observation</a></p></div><p><b>status</b>: final</p><p><b>code</b>: Tobacco smoking <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#72166-2)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></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>: Moderate cigarette smoker (10-19 cigs/day) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#160604004)</span></p></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "72166-2"
        }],
        "text" : "Tobacco smoking"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "160604004"
        }],
        "text" : "Moderate cigarette smoker (10-19 cigs/day)"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/RiskBehaviourTobaccoSmokerExample"
    }
  },
  {
    "fullUrl" : "Observation/BloodPressureExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BloodPressureExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/blood-pressure"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"BloodPressureExample\"> </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;BloodPressureExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-blood-pressure.html\">Blood Pressure 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>: Blood Pressure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#85354-9)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></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><blockquote><p><b>component</b></p><p><b>code</b>: 8480-6 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8480-6)</span></p><p><b>value</b>: 106 mmHg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm[Hg] = 'mm[Hg]')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: 8462-4 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8462-4)</span></p><p><b>value</b>: 60 mmHg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm[Hg] = 'mm[Hg]')</span></p></blockquote></div>"
      },
      "status" : "final",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "vital-signs"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "85354-9"
        }],
        "text" : "Blood Pressure"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "component" : [{
        "code" : {
          "coding" : [{
            "system" : "http://loinc.org",
            "code" : "8480-6"
          }]
        },
        "valueQuantity" : {
          "value" : 106,
          "unit" : "mmHg",
          "system" : "http://unitsofmeasure.org",
          "code" : "mm[Hg]"
        }
      },
      {
        "code" : {
          "coding" : [{
            "system" : "http://loinc.org",
            "code" : "8462-4"
          }]
        },
        "valueQuantity" : {
          "value" : 60,
          "unit" : "mmHg",
          "system" : "http://unitsofmeasure.org",
          "code" : "mm[Hg]"
        }
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/BloodPressureExample"
    }
  },
  {
    "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\">See above (Patient/HIMSPatientExample)</a></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" : "Observation/HeightExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "HeightExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/height"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"HeightExample\"> </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;HeightExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-height.html\">Patient Height 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 Height <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#8302-2)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></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>: 185 cm<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code cm = 'cm')</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" : "8302-2"
        }],
        "text" : "Body Height"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "valueQuantity" : {
        "value" : 185,
        "unit" : "cm",
        "system" : "http://unitsofmeasure.org",
        "code" : "cm"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/HeightExample"
    }
  },
  {
    "fullUrl" : "Observation/BMIExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "BMIExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/bmi"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"BMIExample\"> </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;BMIExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-bmi.html\">Patient BMI 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 mass index (BMI) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#39156-5)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></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>: 16.2 kg/m2<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code kg/m2 = 'kg/m2')</span></p><p><b>derivedFrom</b>: </p><ul><li><a href=\"#Observation_WeightExample\">See above (Observation/WeightExample)</a></li><li><a href=\"#Observation_HeightExample\">See above (Observation/HeightExample)</a></li></ul></div>"
      },
      "status" : "final",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "vital-signs"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "39156-5"
        }],
        "text" : "Body mass index (BMI)"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "valueQuantity" : {
        "value" : 16.2,
        "unit" : "kg/m2",
        "system" : "http://unitsofmeasure.org",
        "code" : "kg/m2"
      },
      "derivedFrom" : [{
        "reference" : "Observation/WeightExample"
      },
      {
        "reference" : "Observation/HeightExample"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/BMIExample"
    }
  },
  {
    "fullUrl" : "Observation/RandomBloodSugarExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "RandomBloodSugarExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/random-blood-sugar"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"RandomBloodSugarExample\"> </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;RandomBloodSugarExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-random-blood-sugar.html\">Random Blood Sugar Observation</a></p></div><p><b>status</b>: final</p><p><b>code</b>: Glucose <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#15074-8)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></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>: 6.3 mmol/l<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/l = 'mmol/l')</span></p><p><b>interpretation</b>: High <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ObservationInterpretation.html\">ObservationInterpretation</a>#H)</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Low</b></td><td><b>High</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>3.1 mmol/l<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/l = 'mmol/l')</span></td><td>6.2 mmol/l<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/l = 'mmol/l')</span></td><td>Type <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-referencerange-meaning.html\">Observation Reference Range Meaning Codes</a>#type)</span></td></tr></table></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "15074-8"
        }],
        "text" : "Glucose"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "valueQuantity" : {
        "value" : 6.3,
        "unit" : "mmol/l",
        "system" : "http://unitsofmeasure.org",
        "code" : "mmol/l"
      },
      "interpretation" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
          "code" : "H"
        }]
      }],
      "referenceRange" : [{
        "low" : {
          "value" : 3.1,
          "unit" : "mmol/l",
          "system" : "http://unitsofmeasure.org",
          "code" : "mmol/l"
        },
        "high" : {
          "value" : 6.2,
          "unit" : "mmol/l",
          "system" : "http://unitsofmeasure.org",
          "code" : "mmol/l"
        },
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/referencerange-meaning",
            "code" : "type"
          }]
        }
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/RandomBloodSugarExample"
    }
  },
  {
    "fullUrl" : "Observation/FastingBloodSugarExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "FastingBloodSugarExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/fasting-blood-sugar"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"FastingBloodSugarExample\"> </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;FastingBloodSugarExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-fasting-blood-sugar.html\">Fasting Blood Sugar Observation</a></p></div><p><b>status</b>: final</p><p><b>code</b>: Fasting glucose <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#76629-5)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></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>: 5.4 mmol/l<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/l = 'mmol/l')</span></p><p><b>interpretation</b>: Normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ObservationInterpretation.html\">ObservationInterpretation</a>#N)</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Low</b></td><td><b>High</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>3.9 mmol/l<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/l = 'mmol/l')</span></td><td>5.6 mmol/l<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/l = 'mmol/l')</span></td><td>Type <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-referencerange-meaning.html\">Observation Reference Range Meaning Codes</a>#type)</span></td></tr></table></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "76629-5"
        }],
        "text" : "Fasting glucose"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "valueQuantity" : {
        "value" : 5.4,
        "unit" : "mmol/l",
        "system" : "http://unitsofmeasure.org",
        "code" : "mmol/l"
      },
      "interpretation" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
          "code" : "N"
        }]
      }],
      "referenceRange" : [{
        "low" : {
          "value" : 3.9,
          "unit" : "mmol/l",
          "system" : "http://unitsofmeasure.org",
          "code" : "mmol/l"
        },
        "high" : {
          "value" : 5.6,
          "unit" : "mmol/l",
          "system" : "http://unitsofmeasure.org",
          "code" : "mmol/l"
        },
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/referencerange-meaning",
            "code" : "type"
          }]
        }
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/FastingBloodSugarExample"
    }
  },
  {
    "fullUrl" : "Observation/TotalCholesterolExample",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "TotalCholesterolExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/total-cholesterol"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"TotalCholesterolExample\"> </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;TotalCholesterolExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-total-cholesterol.html\">Total Cholesterol Observation</a></p></div><p><b>status</b>: final</p><p><b>code</b>: Cholesterol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#2093-3)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></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>: 6.3 mmol/l<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/l = 'mmol/l')</span></p><p><b>interpretation</b>: High <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ObservationInterpretation.html\">ObservationInterpretation</a>#H)</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>High</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>5 mmol/l<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/l = 'mmol/l')</span></td><td>Type <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-referencerange-meaning.html\">Observation Reference Range Meaning Codes</a>#type)</span></td></tr></table></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "2093-3"
        }],
        "text" : "Cholesterol"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "effectiveDateTime" : "2022-11-30",
      "performer" : [{
        "reference" : "Organization/OrganizationExample"
      },
      {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }],
      "valueQuantity" : {
        "value" : 6.3,
        "unit" : "mmol/l",
        "system" : "http://unitsofmeasure.org",
        "code" : "mmol/l"
      },
      "interpretation" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
          "code" : "H"
        }]
      }],
      "referenceRange" : [{
        "high" : {
          "value" : 5,
          "unit" : "mmol/l",
          "system" : "http://unitsofmeasure.org",
          "code" : "mmol/l"
        },
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/referencerange-meaning",
            "code" : "type"
          }]
        }
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "Observation/TotalCholesterolExample"
    }
  },
  {
    "fullUrl" : "RiskAssessment/CVDRiskCategoryExample",
    "resource" : {
      "resourceType" : "RiskAssessment",
      "id" : "CVDRiskCategoryExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/cvd-risk-category"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: RiskAssessment</b><a name=\"CVDRiskCategoryExample\"> </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 RiskAssessment &quot;CVDRiskCategoryExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cvd-risk-category.html\">Cardiovascular Risk Assessment</a></p></div><p><b>status</b>: final</p><p><b>code</b>: Assessment for risk of cardiovascular disease <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#441829007)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</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>performer</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>basis</b>: </p><ul><li><a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></li><li><a href=\"#Observation_RiskBehaviourTobaccoSmokerExample\">See above (Observation/RiskBehaviourTobaccoSmokerExample)</a></li><li><a href=\"#Observation_TotalCholesterolExample\">See above (Observation/TotalCholesterolExample)</a></li><li><a href=\"#Observation_BloodPressureExample\">See above (Observation/BloodPressureExample)</a></li><li><a href=\"#Observation_RandomBloodSugarExample\">See above (Observation/RandomBloodSugarExample)</a></li><li><a href=\"#Observation_FastingBloodSugarExample\">See above (Observation/FastingBloodSugarExample)</a></li></ul><h3>Predictions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Outcome</b></td><td><b>Probability[x]</b></td><td><b>QualitativeRisk</b></td><td><b>When[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>Risk of heart attack <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#395112001)</span></td><td>0.02</td><td>Risk Category <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cs-cvd-risk-category.html\">Cardiovascular Risk Categories</a>#Critical)</span></td><td>39-49 years</td></tr></table></div>"
      },
      "status" : "final",
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "441829007"
        }],
        "text" : "Assessment for risk of cardiovascular disease"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "occurrenceDateTime" : "2023-10-06T13:28:17-05:00",
      "performer" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "basis" : [{
        "reference" : "Patient/HIMSPatientExample"
      },
      {
        "reference" : "Observation/RiskBehaviourTobaccoSmokerExample"
      },
      {
        "reference" : "Observation/TotalCholesterolExample"
      },
      {
        "reference" : "Observation/BloodPressureExample"
      },
      {
        "reference" : "Observation/RandomBloodSugarExample"
      },
      {
        "reference" : "Observation/FastingBloodSugarExample"
      }],
      "prediction" : [{
        "outcome" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "395112001"
          }],
          "text" : "Risk of heart attack"
        },
        "probabilityDecimal" : 0.02,
        "qualitativeRisk" : {
          "coding" : [{
            "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-cvd-risk-category",
            "code" : "Critical"
          }],
          "text" : "Risk Category"
        },
        "whenRange" : {
          "low" : {
            "value" : 39,
            "unit" : "years",
            "system" : "http://unitsofmeasure.org",
            "code" : "a"
          },
          "high" : {
            "value" : 49,
            "unit" : "years",
            "system" : "http://unitsofmeasure.org",
            "code" : "a"
          }
        }
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "RiskAssessment/CVDRiskCategoryExample"
    }
  },
  {
    "fullUrl" : "ServiceRequest/FollowUpPlanServiceRequestExample",
    "resource" : {
      "resourceType" : "ServiceRequest",
      "id" : "FollowUpPlanServiceRequestExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/follow-up-plan"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"FollowUpPlanServiceRequestExample\"> </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;FollowUpPlanServiceRequestExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-follow-up-plan.html\">Referral Request For Follow-up Plan</a></p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: Follow up at HLC <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#410321003)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>occurrence</b>: Count 1 times, Duration 3?ngen-7?, Once</p><p><b>requester</b>: <a href=\"#Practitioner_GeneralPractitionerExample\">See above (Practitioner/GeneralPractitionerExample)</a></p><p><b>locationReference</b>: <a href=\"Location-ProvidersLocationExample.html\">Location/ProvidersLocationExample</a> &quot;Name for the location&quot;</p><p><b>reasonCode</b>: Followed in 6 months at HLC <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cs-follow-up-reasons.html\">Follow up at HLC</a>#Followed-in-3-years-at-hlc)</span></p></div>"
      },
      "status" : "completed",
      "intent" : "order",
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "410321003"
        }],
        "text" : "Follow up at HLC"
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "occurrenceTiming" : {
        "repeat" : {
          "count" : 1,
          "duration" : 3,
          "durationUnit" : "mo"
        }
      },
      "requester" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "locationReference" : [{
        "reference" : "Location/ProvidersLocationExample"
      }],
      "reasonCode" : [{
        "coding" : [{
          "system" : "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-follow-up-reasons",
          "code" : "Followed-in-3-years-at-hlc"
        }],
        "text" : "Followed in 6 months at HLC"
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "ServiceRequest/FollowUpPlanServiceRequestExample"
    }
  },
  {
    "fullUrl" : "CarePlan/FollowUpAtHLCExample",
    "resource" : {
      "resourceType" : "CarePlan",
      "id" : "FollowUpAtHLCExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/follow-up-at-hlc"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: CarePlan</b><a name=\"FollowUpAtHLCExample\"> </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 CarePlan &quot;FollowUpAtHLCExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-follow-up-at-hlc.html\">Follow-up at HLC</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>period</b>: 2022-12-01 --&gt; (ongoing)</p><p><b>contributor</b>: <a href=\"Organization-OrganizationExample.html\">Organization/OrganizationExample</a> &quot;Some Health Facility&quot;</p><h3>Activities</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Reference</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"#ServiceRequest_FollowUpPlanServiceRequestExample\">See above (ServiceRequest/FollowUpPlanServiceRequestExample)</a></td></tr></table></div>"
      },
      "status" : "active",
      "intent" : "order",
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "period" : {
        "start" : "2022-12-01"
      },
      "contributor" : [{
        "reference" : "Organization/OrganizationExample"
      }],
      "activity" : [{
        "reference" : {
          "reference" : "ServiceRequest/FollowUpPlanServiceRequestExample"
        }
      }]
    },
    "request" : {
      "method" : "PUT",
      "url" : "CarePlan/FollowUpAtHLCExample"
    }
  },
  {
    "fullUrl" : "Condition/MedicalHistoryExample",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "MedicalHistoryExample",
      "meta" : {
        "profile" : ["http://openhie.org/fhir/sri-lanka/StructureDefinition/medical-history"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b><a name=\"MedicalHistoryExample\"> </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 Condition &quot;MedicalHistoryExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-medical-history.html\">Medical History</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-condition-clinical.html\">Condition 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-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>category</b>: Encounter Diagnosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-condition-category.html\">Condition Category Codes</a>#encounter-diagnosis)</span></p><p><b>code</b>: 313435000 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#313435000)</span></p><p><b>subject</b>: <a href=\"#Patient_HIMSPatientExample\">See above (Patient/HIMSPatientExample)</a></p><p><b>encounter</b>: <a href=\"#Encounter_TargetFacilityEncounterExample\">See above (Encounter/TargetFacilityEncounterExample)</a></p><p><b>recordedDate</b>: 2023-10-06 13:28:17-0500</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></div>"
      },
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active"
        }]
      },
      "verificationStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-ver-status",
          "code" : "confirmed"
        }]
      },
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-category",
          "code" : "encounter-diagnosis"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "313435000"
        }]
      },
      "subject" : {
        "reference" : "Patient/HIMSPatientExample"
      },
      "encounter" : {
        "reference" : "Encounter/TargetFacilityEncounterExample"
      },
      "recordedDate" : "2023-10-06T13:28:17-05:00",
      "recorder" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      },
      "asserter" : {
        "reference" : "Practitioner/GeneralPractitionerExample"
      }
    },
    "request" : {
      "method" : "PUT",
      "url" : "Condition/MedicalHistoryExample"
    }
  }]
}