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 Follow-up Plan Bundle - 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-Follow-Up-Plan-Bundle"] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "ServiceRequest/FollowUpPlanServiceRequestExample"^^xsd:anyURI ] ;
    ( fhir:resource <ServiceRequest/FollowUpPlanServiceRequestExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "ServiceRequest/FollowUpPlanServiceRequestExample"^^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 ]     ]
  ] [
fhir:fullUrl [ fhir:v "Location/ProvidersLocationExample"^^xsd:anyURI ] ;
    ( fhir:resource <Location/ProvidersLocationExample> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Location/ProvidersLocationExample"^^xsd:anyURI ]     ]
  ] ) . # 

<ServiceRequest/FollowUpPlanServiceRequestExample> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "FollowUpPlanServiceRequestExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/follow-up-plan"^^xsd:anyURI ;
fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/follow-up-plan>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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\">See above (Location/ProvidersLocationExample)</a></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>"
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
a sct:410321003 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "410321003" ]     ] ) ;
fhir:text [ fhir:v "Follow up at HLC" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/HIMSPatientExample" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:occurrence [
a fhir:Timing ;
fhir:repeat [
fhir:count [ fhir:v "1"^^xsd:positiveInteger ] ;
fhir:duration [ fhir:v "3"^^xsd:decimal ] ;
fhir:durationUnit [ fhir:v "mo" ]     ]
  ] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:locationReference ( [
fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] ) ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-follow-up-reasons"^^xsd:anyURI ] ;
fhir:code [ fhir:v "Followed-in-3-years-at-hlc" ]     ] ) ;
fhir:text [ fhir:v "Followed in 6 months at HLC" ]
  ] ) . # 

<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\">See above (Location/ProvidersLocationExample)</a></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" ]
  ] ) . # 

<Location/ProvidersLocationExample> a fhir:Location ;
  fhir:id [ fhir:v "ProvidersLocationExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/providers-location"^^xsd:anyURI ;
fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/providers-location>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir: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: Location-ID-1, Provider location identifier: Location-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>"
  ] ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PIN" ]       ] ) ;
fhir:text [ fhir:v "Provider location identifier" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/provider-location"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Location-ID-1" ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PIN" ]       ] ) ;
fhir:text [ fhir:v "Provider location identifier" ]     ] ;
fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/identifier/provider-location"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Location-ID-2" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:name [ fhir:v "Name for the location"] ; # 
  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: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" ]
  ] ; # 
  fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/OrganizationExample" ]
  ] . #