HL7 FHIR Implementation Guide: Sri Lanka
0.1.0 - STU1 International flag

HL7 FHIR Implementation Guide: Sri Lanka, published by Jembi Health Systems. This is not an authorized publication; it is the continuous build for version 0.1.0. This version is based on the current content of https://github.com/jembi/Sri-Lanka and changes regularly. See the Directory of published versions

: HIMS Medical History - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "HIMS-Medical-History-Bundle",
  "type" : "transaction",
  "entry" : [
    {
      "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"
      }
    },
    {
      "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" : "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" : "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"
      }
    }
  ]
}