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 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "HIMS-Medical-History-Bundle"] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "Condition/MedicalHistoryExample"^^xsd:anyURI ] ;
    ( fhir:resource <Condition/MedicalHistoryExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Condition/MedicalHistoryExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "Patient/HIMSPatientExample"^^xsd:anyURI ] ;
    ( fhir:resource <Patient/HIMSPatientExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Patient/HIMSPatientExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "Encounter/TargetFacilityEncounterExample"^^xsd:anyURI ] ;
    ( fhir:resource <Encounter/TargetFacilityEncounterExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Encounter/TargetFacilityEncounterExample"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "Practitioner/GeneralPractitionerExample"^^xsd:anyURI ] ;
    ( fhir:resource <Practitioner/GeneralPractitionerExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Practitioner/GeneralPractitionerExample"^^xsd:anyURI ]     ]
  ] ) . # 

<Condition/MedicalHistoryExample> a fhir:Condition ;
  fhir:id [ fhir:v "MedicalHistoryExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/medical-history"^^xsd:anyURI ;
fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/medical-history>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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>"
  ] ; # 
  fhir:clinicalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ]     ] )
  ] ; # 
  fhir:verificationStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"^^xsd:anyURI ] ;
fhir:code [ fhir:v "confirmed" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "encounter-diagnosis" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
a sct:313435000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "313435000" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/HIMSPatientExample" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:recordedDate [ fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime] ; # 
  fhir:recorder [
fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:asserter [
fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] . # 

<Patient/HIMSPatientExample> a fhir:Patient ;
  fhir:id [ fhir:v "HIMSPatientExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/hims-patient"^^xsd:anyURI ;
fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/hims-patient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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: personal health number, Passport number: Passport-1, Passport number: Passport-2, Driver's license number: Drivers license-1, Driver's license number: Drivers license-2, National identity number: National identity number-1, National identity number: National identity number-2, Senior Citizen Number: Senior citizen number-1, Senior Citizen Number: Senior 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>"
  ] ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PHN" ]       ] ) ;
fhir:text [ fhir:v "Personal Health Number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/phn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "personal health number" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PPN" ]       ] ) ;
fhir:text [ fhir:v "Passport number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/passport"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Passport-1" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PPN" ]       ] ) ;
fhir:text [ fhir:v "Passport number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/passport"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Passport-2" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DL" ]       ] ) ;
fhir:text [ fhir:v "Driver's license number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/drivers"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Drivers license-1" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "DL" ]       ] ) ;
fhir:text [ fhir:v "Driver's license number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/drivers"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Drivers license-2" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NNLKA" ]       ] ) ;
fhir:text [ fhir:v "National identity number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/nic"^^xsd:anyURI ] ;
fhir:value [ fhir:v "National identity number-1" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "NNLKA" ]       ] ) ;
fhir:text [ fhir:v "National identity number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/nic"^^xsd:anyURI ] ;
fhir:value [ fhir:v "National identity number-2" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
fhir:code [ fhir:v "SCN" ]       ] ) ;
fhir:text [ fhir:v "Senior Citizen Number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/scn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Senior citizen number-1" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
fhir:code [ fhir:v "SCN" ]       ] ) ;
fhir:text [ fhir:v "Senior Citizen Number" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/scn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Senior citizen number-2" ]
  ] ) ; # 
  fhir:name ( [
fhir:use [ fhir:v "official" ] ;
fhir:family [ fhir:v "Smith" ] ;
    ( fhir:given [ fhir:v "Mr." ] [ fhir:v "Mike" ] [ fhir:v "John" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "+27829999999" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "someone@something.com" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "someone2@something.com" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1983-05-22"^^xsd:date] ; # 
  fhir:address ( [
fhir:type [ fhir:v "postal" ] ;
    ( fhir:line [ fhir:v "177" ] [ fhir:v "Nawala Road" ] ) ;
fhir:city [ fhir:v "Nugegoda" ] ;
fhir:district [ fhir:v "Ampara" ] ;
fhir:state [ fhir:v "Colombo" ] ;
fhir:postalCode [ fhir:v "32350" ] ;
fhir:country [ fhir:v "Sri Lanka" ]
  ] ) . # 

<Encounter/TargetFacilityEncounterExample> a fhir:Encounter ;
  fhir:id [ fhir:v "TargetFacilityEncounterExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/target-facility-encounter"^^xsd:anyURI ;
fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/target-facility-encounter>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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>"
  ] ; # 
  fhir:status [ fhir:v "finished"] ; # 
  fhir:class [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AMB" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/HIMSPatientExample" ]
  ] ; # 
  fhir:participant ( [
fhir:individual [
fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]     ]
  ] ) ; # 
  fhir:period [
fhir:start [ fhir:v "2022-12-01"^^xsd:date ] ;
fhir:end [ fhir:v "2023-01-20"^^xsd:date ]
  ] ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:140004 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "140004" ]     ] )
  ] ) ; # 
  fhir:location ( [
fhir:location [
fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]     ]
  ] ) . # 

<Practitioner/GeneralPractitionerExample> a fhir:Practitioner ;
  fhir:id [ fhir:v "GeneralPractitionerExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/practitioner"^^xsd:anyURI ;
fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/practitioner>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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>"
  ] ; # 
  fhir:name ( [
fhir:family [ fhir:v "Smith" ] ;
    ( fhir:given [ fhir:v "Tom" ] [ fhir:v "Junes" ] ) ;
    ( fhir:prefix [ fhir:v "Dr" ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "27537652509" ] ;
fhir:use [ fhir:v "work" ]
  ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "someone@something.org" ] ;
fhir:use [ fhir:v "home" ]
  ] ) . #