@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 -------------------------------------------------------------------

<http://fhir.health.gov.lk/ips/Bundle/HHIMSTransactionalBundleExampleWithMedicalHistory> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "HHIMSTransactionalBundleExampleWithMedicalHistory"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/hhims-transactional-bundle"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/hhims-transactional-bundle>
     ] )
  ] ; # 
  fhir:identifier [
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/identifier/hhims-transactional"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "transactional-id-1234" ]
  ] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:timestamp [ fhir:v "2024-02-18T09:30:00+02:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Patient/PatientExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Patient/PatientExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Patient/PatientExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Encounter/TargetFacilityEncounterExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Encounter/TargetFacilityEncounterExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Encounter/TargetFacilityEncounterExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Condition/MedicalHistoryExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Condition/MedicalHistoryExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Condition/MedicalHistoryExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Communication/NotifiableDiseasesNotifiedExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Communication/NotifiableDiseasesNotifiedExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Communication/NotifiableDiseasesNotifiedExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Observation/WeightExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Observation/WeightExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Observation/WeightExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/AllergyIntolerance/AllergiesExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/AllergyIntolerance/AllergiesExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "AllergyIntolerance/AllergiesExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/MedicationRequest/MedicationRequestsExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/MedicationRequest/MedicationRequestsExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "MedicationRequest/MedicationRequestsExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/MedicationDispense/DrugDispensationExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/MedicationDispense/DrugDispensationExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "MedicationDispense/DrugDispensationExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/ImagingStudy/ImagingExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/ImagingStudy/ImagingExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "ImagingStudy/ImagingExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/ServiceRequest/GeneralReferralServiceRequestExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/ServiceRequest/GeneralReferralServiceRequestExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "ServiceRequest/GeneralReferralServiceRequestExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/ServiceRequest/InvestigationsServiceRequestExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/ServiceRequest/InvestigationsServiceRequestExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "ServiceRequest/InvestigationsServiceRequestExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/ServiceRequest/ImagingServiceRequestExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/ServiceRequest/ImagingServiceRequestExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "ServiceRequest/ImagingServiceRequestExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/ServiceRequest/ProcedureServiceRequestExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/ServiceRequest/ProcedureServiceRequestExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "ServiceRequest/ProcedureServiceRequestExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Task/HHIMSReferralTaskExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Task/HHIMSReferralTaskExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Task/HHIMSReferralTaskExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Practitioner/GeneralPractitionerExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Practitioner/GeneralPractitionerExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Practitioner/GeneralPractitionerExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Location/ProvidersLocationExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Location/ProvidersLocationExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Location/ProvidersLocationExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Organization/OrganizationExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Organization/OrganizationExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Organization/OrganizationExample"^^xsd:anyURI ]
     ]
  ] [
     fhir:fullUrl [ fhir:v "http://hapi-fhir:8080/fhir/Device/DeviceInformationExample"^^xsd:anyURI ] ;
     fhir:resource ( <http://hapi-fhir:8080/fhir/Device/DeviceInformationExample> ) ;
     fhir:request [
       fhir:method [ fhir:v "PUT" ] ;
       fhir:url [ fhir:v "Device/DeviceInformationExample"^^xsd:anyURI ]
     ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Patient/PatientExample> a fhir:Patient ;
  fhir:id [ fhir:v "PatientExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/ips-patient"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/ips-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_PatientExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient PatientExample</b></p><a name=\"PatientExample\"> </a><a name=\"hcPatientExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ips-patient.html\">Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li>Passport number/Passport-1</li><li>Passport number/Passport-2</li><li>Driver's license number/Drivers license-1</li><li>Driver's license number/Drivers license-2</li><li>National identity number/National identity number-1</li><li>National identity number/National identity number-2</li><li>Senior Citizen Number/Senior citizen number-1</li><li>Senior Citizen Number/Senior citizen number-2</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"tel:+27829999999\">+27829999999</a></li><li><a href=\"mailto:someone@something.com\">someone@something.com</a></li><li><a href=\"mailto:someone2@something.com\">someone2@something.com</a></li><li>177 Nawala Road Nugegoda Colombo 32350 LK </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Captures the information of the system that was used to register the patient.\"><a href=\"StructureDefinition-patient-registration-system.html\">Patient Registration System Information</a></td><td colspan=\"3\"><a href=\"Device-DeviceInformationExample.html\">Device: identifier = http://fhir.health.gov.lk/ips/identifier/system-id#OpenMRS-1234-1; status = active; type = Medical record</a></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/patient-registration-system"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:link <http://fhir.health.gov.lk/ips/Device/DeviceInformationExample> ;
       fhir:reference [ fhir:v "Device/DeviceInformationExample" ]
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PHN" ]
       ] ) ;
       fhir:text [ fhir:v "Personal Health Number" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/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://fhir.health.gov.lk/ips/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://fhir.health.gov.lk/ips/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://fhir.health.gov.lk/ips/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://fhir.health.gov.lk/ips/identifier/drivers"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "Drivers license-2" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "NIC" ]
       ] ) ;
       fhir:text [ fhir:v "National identity number" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/identifier/nic"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "National identity number-1" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "NIC" ]
       ] ) ;
       fhir:text [ fhir:v "National identity number" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/identifier/nic"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "National identity number-2" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "SCN" ]
       ] ) ;
       fhir:text [ fhir:v "Senior Citizen Number" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/identifier/scn"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "Senior citizen number-1" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "SCN" ]
       ] ) ;
       fhir:text [ fhir:v "Senior Citizen Number" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/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 "Mike" ] [ fhir:v "John" ] ) ;
     fhir:prefix ( [ fhir:v "Mr." ] )
  ] ) ; # 
  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 "LK" ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Encounter/TargetFacilityEncounterExample> a fhir:Encounter ;
  fhir:id [ fhir:v "TargetFacilityEncounterExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/target-facility-encounter"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/target-facility-encounter>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_TargetFacilityEncounterExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Encounter TargetFacilityEncounterExample</b></p><a name=\"TargetFacilityEncounterExample\"> </a><a name=\"hcTargetFacilityEncounterExample\"> </a><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\"/><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>: <a href=\"http://terminology.hl7.org/6.4.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode AMB</a>: ambulatory</p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</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.html\">Practitioner Tom Junes Smith </a></td></tr></table><p><b>period</b>: 2022-12-01 --&gt; 2023-01-20</p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 68962001}\">Myalgia</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 Name for the location</a></td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  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:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:participant ( [
     fhir:individual [
       fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
       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:68962001 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "68962001" ]
     ] )
  ] ) ; # 
  fhir:location ( [
     fhir:location [
       fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
       fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
     ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Condition/MedicalHistoryExample> a fhir:Condition ;
  fhir:id [ fhir:v "MedicalHistoryExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/medical-history"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/medical-history>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_MedicalHistoryExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Condition MedicalHistoryExample</b></p><a name=\"MedicalHistoryExample\"> </a><a name=\"hcMedicalHistoryExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-medical-history.html\">Medical History</a></p></div><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-ver-status confirmed}\">Confirmed</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}\">Problem List Item</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 313435000}\">Type I diabetes mellitus without complication</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>recordedDate</b>: 2023-10-06 13:28:17-0500</p><p><b>recorder</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>asserter</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  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 "problem-list-item" ]
     ] )
  ] ) ; # 
  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:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:recordedDate [ fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime] ; # 
  fhir:recorder [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:asserter [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] . # 

<http://hapi-fhir:8080/fhir/Communication/NotifiableDiseasesNotifiedExample> a fhir:Communication ;
  fhir:id [ fhir:v "NotifiableDiseasesNotifiedExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/notifiable-diseases-notified"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/notifiable-diseases-notified>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Communication_NotifiableDiseasesNotifiedExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Communication NotifiableDiseasesNotifiedExample</b></p><a name=\"NotifiableDiseasesNotifiedExample\"> </a><a name=\"hcNotifiableDiseasesNotifiedExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-notifiable-diseases-notified.html\">Notifiable Diseases Notified</a></p></div><p><b>status</b>: Completed</p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>sent</b>: 2023-10-06 13:28:17-0500</p><p><b>sender</b>: <a href=\"Device-DeviceInformationExample.html\">Device: identifier = http://fhir.health.gov.lk/ips/identifier/system-id#OpenMRS-1234-1; status = active; type = Medical record</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:sent [ fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime] ; # 
  fhir:sender [
     fhir:link <http://fhir.health.gov.lk/ips/Device/DeviceInformationExample> ;
     fhir:reference [ fhir:v "Device/DeviceInformationExample" ]
  ] . # 

<http://hapi-fhir:8080/fhir/Observation/WeightExample> a fhir:Observation ;
  fhir:id [ fhir:v "WeightExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/weight"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/weight>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_WeightExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation WeightExample</b></p><a name=\"WeightExample\"> </a><a name=\"hcWeightExample\"> </a><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\"/><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>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category vital-signs}\">Vital Signs</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 29463-7}\">Body Weight</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>effective</b>: 2022-11-30</p><p><b>performer</b>: </p><ul><li><a href=\"Organization-OrganizationExample.html\">Organization Some Health Facility</a></li><li><a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></li></ul><p><b>value</b>: 110 kg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codekg = 'kg')</span></p><p><b>device</b>: <a href=\"Device-DeviceInformationExample.html\">Device: identifier = http://fhir.health.gov.lk/ips/identifier/system-id#OpenMRS-1234-1; status = active; type = Medical record</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "vital-signs" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:29463-7 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "29463-7" ]
     ] ) ;
     fhir:text [ fhir:v "Body Weight" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2022-11-30"^^xsd:date
  ] ; # 
  fhir:performer ( [
     fhir:link <http://fhir.health.gov.lk/ips/Organization/OrganizationExample> ;
     fhir:reference [ fhir:v "Organization/OrganizationExample" ]
  ] [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "110"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "kg" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "kg" ]
  ] ; # 
  fhir:device [
     fhir:link <http://fhir.health.gov.lk/ips/Device/DeviceInformationExample> ;
     fhir:reference [ fhir:v "Device/DeviceInformationExample" ]
  ] . # 

<http://hapi-fhir:8080/fhir/AllergyIntolerance/AllergiesExample> a fhir:AllergyIntolerance ;
  fhir:id [ fhir:v "AllergiesExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/allergy-intolerance"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/allergy-intolerance>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"AllergyIntolerance_AllergiesExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance AllergiesExample</b></p><a name=\"AllergiesExample\"> </a><a name=\"hcAllergiesExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-allergy-intolerance.html\">Allergy Intolerance</a></p></div><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification confirmed}\">Confirmed</span></p><p><b>type</b>: Allergy</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 414285001}\">Allergy to food</span></p><p><b>patient</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>onset</b>: 2023-10-11 17:21:33-0800</p><p><b>recorder</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:clinicalStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "active" ]
     ] )
  ] ; # 
  fhir:verificationStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "confirmed" ]
     ] )
  ] ; # 
  fhir:type [ fhir:v "allergy"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:414285001 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "414285001" ]
     ] ) ;
     fhir:text [ fhir:v "Allergy to food" ]
  ] ; # 
  fhir:patient [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:onset [
     a fhir:dateTime ;
     fhir:v "2023-10-11T17:21:33-08:00"^^xsd:dateTime
  ] ; # 
  fhir:recorder [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] . # 

<http://hapi-fhir:8080/fhir/MedicationRequest/MedicationRequestsExample> a fhir:MedicationRequest ;
  fhir:id [ fhir:v "MedicationRequestsExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/medication-request"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/medication-request>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_MedicationRequestsExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest MedicationRequestsExample</b></p><a name=\"MedicationRequestsExample\"> </a><a name=\"hcMedicationRequestsExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-medication-request.html\">Medication Request</a></p></div><p><b>identifier</b>: Prescription identifier/prescription-12345</p><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title=\"Codes:{http://fhir.health.gov.lk/ips/CodeSystem/cs-medication-name-msd 01403501}\">Medication</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>authoredOn</b>: 2023-10-11 17:21:33-0800</p><p><b>requester</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>performer</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>recorder</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>note</b>: By Organization/OrganizationExample @2023-10-11 17:21:33-0800</p><blockquote><div><p>Additional information regarding the patient's medication prescription</p>\n</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: Count 2  times, Duration 2days , 2 per 3 days</p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>3</td></tr></table></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>5</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "FILL" ] ;
         fhir:display [ fhir:v "Filler Identifier" ]
       ] ) ;
       fhir:text [ fhir:v "Prescription identifier" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/identifier/medication"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "prescription-12345" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-medication-name-msd"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "01403501" ]
     ] ) ;
     fhir:text [ fhir:v "Medication" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2023-10-11T17:21:33-08:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:performer [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:recorder [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:note ( [
     fhir:author [
       a fhir:Reference ;
       fhir:link <http://fhir.health.gov.lk/ips/Organization/OrganizationExample> ;
       fhir:reference [ fhir:v "Organization/OrganizationExample" ]
     ] ;
     fhir:time [ fhir:v "2023-10-11T17:21:33-08:00"^^xsd:dateTime ] ;
     fhir:text [ fhir:v "Additional information regarding the patient's medication prescription" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:timing [
       fhir:repeat [
         fhir:count [ fhir:v "2"^^xsd:positiveInteger ] ;
         fhir:duration [ fhir:v "2"^^xsd:decimal ] ;
         fhir:durationUnit [ fhir:v "d" ] ;
         fhir:frequency [ fhir:v "2"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "3"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "3"^^xsd:decimal ]
       ]
     ] )
  ] ) ; # 
  fhir:dispenseRequest [
     fhir:quantity [
       fhir:value [ fhir:v "5"^^xsd:decimal ]
     ]
  ] . # 

<http://hapi-fhir:8080/fhir/MedicationDispense/DrugDispensationExample> a fhir:MedicationDispense ;
  fhir:id [ fhir:v "DrugDispensationExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/drug-dispensation"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/drug-dispensation>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationDispense_DrugDispensationExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense DrugDispensationExample</b></p><a name=\"DrugDispensationExample\"> </a><a name=\"hcDrugDispensationExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-drug-dispensation.html\">Drug Dispensation</a></p></div><p><b>status</b>: Completed</p><p><b>medication</b>: <span title=\"Codes:{http://fhir.health.gov.lk/ips/CodeSystem/cs-medication-name-msd 01403501}\">Medication</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>context</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></td></tr></table><p><b>location</b>: <a href=\"Location-ProvidersLocationExample.html\">Location Name for the location</a></p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-MedicationRequestsExample.html\">MedicationRequest: identifier = Prescription identifier: prescription-12345; status = completed; intent = order; medication[x] = Tizanidine (as Hydrochloride) Tablet 2mg; authoredOn = 2023-10-11 17:21:33-0800; note = Additional information regarding the patient's medication prescription</a></p><p><b>whenHandedOver</b>: 2023-10-11 17:21:33-0800</p><p><b>receiver</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-medication-name-msd"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "01403501" ]
     ] ) ;
     fhir:text [ fhir:v "Medication" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:context [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:performer ( [
     fhir:actor [
       fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
       fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
     ]
  ] ) ; # 
  fhir:location [
     fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
     fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] ; # 
  fhir:authorizingPrescription ( [
     fhir:link <http://fhir.health.gov.lk/ips/MedicationRequest/MedicationRequestsExample> ;
     fhir:reference [ fhir:v "MedicationRequest/MedicationRequestsExample" ]
  ] ) ; # 
  fhir:whenHandedOver [ fhir:v "2023-10-11T17:21:33-08:00"^^xsd:dateTime] ; # 
  fhir:receiver ( [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/ImagingStudy/ImagingExample> a fhir:ImagingStudy ;
  fhir:id [ fhir:v "ImagingExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/imaging-study"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/imaging-study>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ImagingStudy_ImagingExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ImagingStudy ImagingExample</b></p><a name=\"ImagingExample\"> </a><a name=\"hcImagingExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-imaging-study.html\">Imaging Study</a></p></div><p><b>status</b>: Registered</p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>started</b>: 2023-10-06 13:28:17-0500</p><p><b>basedOn</b>: <a href=\"ServiceRequest-ImagingServiceRequestExample.html\">ServiceRequest X-Ray</a></p><p><b>referrer</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>location</b>: <a href=\"Location-ProvidersLocationExample.html\">Location Name for the location</a></p><p><b>description</b>: Imaging Description</p><blockquote><p><b>series</b></p><p><b>uid</b>: 2.16.124.113543.6003.1154777499.30246.19789.3503430045.1</p><p><b>modality</b>: <a href=\"http://dicom.nema.org/resources/ontology/DCM#DCM-DX\">DICOM DX</a>: Digital Radiography</p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></td></tr></table><h3>Instances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Uid</b></td><td><b>SopClass</b></td></tr><tr><td style=\"display: none\">*</td><td>2.16.124.113543.6003.1154777499.30246.19789.3503430045.1.1</td><td>unknown urn:oid:1.2.840.10008.5.1.4.1.1.2: urn:oid:1.2.840.10008.5.1.4.1.1.2</td></tr></table></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "registered"] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:started [ fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime] ; # 
  fhir:basedOn ( [
     fhir:link <http://fhir.health.gov.lk/ips/ServiceRequest/ImagingServiceRequestExample> ;
     fhir:reference [ fhir:v "ServiceRequest/ImagingServiceRequestExample" ]
  ] ) ; # 
  fhir:referrer [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:location [
     fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
     fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] ; # 
  fhir:description [ fhir:v "Imaging Description"] ; # 
  fhir:series ( [
     fhir:uid [ fhir:v "2.16.124.113543.6003.1154777499.30246.19789.3503430045.1" ] ;
     fhir:modality [
       fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "DX" ]
     ] ;
     fhir:performer ( [
       fhir:actor [
         fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
         fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
       ]
     ] ) ;
     fhir:instance ( [
       fhir:uid [ fhir:v "2.16.124.113543.6003.1154777499.30246.19789.3503430045.1.1" ] ;
       fhir:sopClass [
         fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "urn:oid:1.2.840.10008.5.1.4.1.1.2" ]
       ]
     ] )
  ] ) . # 

<http://hapi-fhir:8080/fhir/ServiceRequest/GeneralReferralServiceRequestExample> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "GeneralReferralServiceRequestExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/general-referral-request"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/general-referral-request>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_GeneralReferralServiceRequestExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest GeneralReferralServiceRequestExample</b></p><a name=\"GeneralReferralServiceRequestExample\"> </a><a name=\"hcGeneralReferralServiceRequestExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-general-referral-request.html\">General Referral Request</a></p></div><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 3457005}\">Patient referral</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>occurrence</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>locationReference</b>: <a href=\"Location-ProvidersLocationExample.html\">Location Name for the location</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:coding ( [
       a sct:3457005 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "3457005" ]
     ] ) ;
     fhir:text [ fhir:v "Patient referral" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:occurrence [
     a fhir:dateTime ;
     fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime
  ] ; # 
  fhir:requester [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:locationReference ( [
     fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
     fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/ServiceRequest/InvestigationsServiceRequestExample> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "InvestigationsServiceRequestExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/investigations-request"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/investigations-request>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_InvestigationsServiceRequestExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest InvestigationsServiceRequestExample</b></p><a name=\"InvestigationsServiceRequestExample\"> </a><a name=\"hcInvestigationsServiceRequestExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-investigations-request.html\">Investigations Request</a></p></div><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://fhir.health.gov.lk/ips/CodeSystem/cs-investigation FBC-WBC-th/uL}\">Investigation requested</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>occurrence</b>: 2023-10-06 13:28:17-0500</p><p><b>authoredOn</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>locationReference</b>: <a href=\"Location-ProvidersLocationExample.html\">Location Name for the location</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-investigation"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "FBC-WBC-th/uL" ]
     ] ) ;
     fhir:text [ fhir:v "Investigation requested" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:occurrence [
     a fhir:dateTime ;
     fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime
  ] ; # 
  fhir:authoredOn [ fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:locationReference ( [
     fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
     fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/ServiceRequest/ImagingServiceRequestExample> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "ImagingServiceRequestExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/imaging-request"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/imaging-request>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_ImagingServiceRequestExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest ImagingServiceRequestExample</b></p><a name=\"ImagingServiceRequestExample\"> </a><a name=\"hcImagingServiceRequestExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-imaging-request.html\">Imaging Request</a></p></div><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://fhir.health.gov.lk/ips/CodeSystem/cs-procedure-imaging X-Ray}\">Imaging requested</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>occurrence</b>: 2023-10-06 13:28:17-0500</p><p><b>authoredOn</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>locationReference</b>: <a href=\"Location-ProvidersLocationExample.html\">Location Name for the location</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-procedure-imaging"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "X-Ray" ]
     ] ) ;
     fhir:text [ fhir:v "Imaging requested" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:occurrence [
     a fhir:dateTime ;
     fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime
  ] ; # 
  fhir:authoredOn [ fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:locationReference ( [
     fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
     fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/ServiceRequest/ProcedureServiceRequestExample> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "ProcedureServiceRequestExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/procedures-request"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/procedures-request>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"ServiceRequest_ProcedureServiceRequestExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest ProcedureServiceRequestExample</b></p><a name=\"ProcedureServiceRequestExample\"> </a><a name=\"hcProcedureServiceRequestExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-procedures-request.html\">Procedure Request</a></p></div><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://fhir.health.gov.lk/ips/CodeSystem/cs-procedure Cleaning-and-Dressing}\">Cleaning and Dressing</span></p><p><b>subject</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>occurrence</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>locationReference</b>: <a href=\"Location-ProvidersLocationExample.html\">Location Name for the location</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-procedure"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "Cleaning-and-Dressing" ]
     ] ) ;
     fhir:text [ fhir:v "Cleaning and Dressing" ]
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:occurrence [
     a fhir:dateTime ;
     fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime
  ] ; # 
  fhir:requester [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:locationReference ( [
     fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
     fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Task/HHIMSReferralTaskExample> a fhir:Task ;
  fhir:id [ fhir:v "HHIMSReferralTaskExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/referral-task"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/referral-task>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_HHIMSReferralTaskExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Task HHIMSReferralTaskExample</b></p><a name=\"HHIMSReferralTaskExample\"> </a><a name=\"hcHHIMSReferralTaskExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-referral-task.html\">Referral Task</a></p></div><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>priority</b>: Routine</p><p><b>description</b>: some information regarding the need for the referral request, if any.</p><p><b>focus</b>: <a href=\"ServiceRequest-GeneralReferralServiceRequestExample.html\">ServiceRequest Patient referral</a></p><p><b>for</b>: <a href=\"Patient-PatientExample.html\">Mike John Smith (official) Male, DoB: 1983-05-22 ( Personal Health Number: personal health number)</a></p><p><b>encounter</b>: <a href=\"Encounter-TargetFacilityEncounterExample.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); period = 2022-12-01 --&gt; 2023-01-20; reasonCode = Myalgia</a></p><p><b>authoredOn</b>: 2023-10-06 13:28:17-0500</p><p><b>requester</b>: <a href=\"Practitioner-GeneralPractitionerExample.html\">Practitioner Tom Junes Smith </a></p><p><b>location</b>: <a href=\"Location-ProvidersLocationExample.html\">Location Name for the location</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:description [ fhir:v "some information regarding the need for the referral request, if any."] ; # 
  fhir:focus [
     fhir:link <http://fhir.health.gov.lk/ips/ServiceRequest/GeneralReferralServiceRequestExample> ;
     fhir:reference [ fhir:v "ServiceRequest/GeneralReferralServiceRequestExample" ]
  ] ; # 
  fhir:for [
     fhir:link <http://fhir.health.gov.lk/ips/Patient/PatientExample> ;
     fhir:reference [ fhir:v "Patient/PatientExample" ]
  ] ; # 
  fhir:encounter [
     fhir:link <http://fhir.health.gov.lk/ips/Encounter/TargetFacilityEncounterExample> ;
     fhir:reference [ fhir:v "Encounter/TargetFacilityEncounterExample" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2023-10-06T13:28:17-05:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:link <http://fhir.health.gov.lk/ips/Practitioner/GeneralPractitionerExample> ;
     fhir:reference [ fhir:v "Practitioner/GeneralPractitionerExample" ]
  ] ; # 
  fhir:location [
     fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
     fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] . # 

<http://hapi-fhir:8080/fhir/Practitioner/GeneralPractitionerExample> a fhir:Practitioner ;
  fhir:id [ fhir:v "GeneralPractitionerExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/practitioner"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/practitioner>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_GeneralPractitionerExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner GeneralPractitionerExample</b></p><a name=\"GeneralPractitionerExample\"> </a><a name=\"hcGeneralPractitionerExample\"> </a><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\"/><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>"^^rdf:XMLLiteral
  ] ; # 
  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" ]
  ] ) . # 

<http://hapi-fhir:8080/fhir/Location/ProvidersLocationExample> a fhir:Location ;
  fhir:id [ fhir:v "ProvidersLocationExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/providers-location"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/providers-location>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Location_ProvidersLocationExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Location ProvidersLocationExample</b></p><a name=\"ProvidersLocationExample\"> </a><a name=\"hcProvidersLocationExample\"> </a><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\"/><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 LK </p><p><b>managingOrganization</b>: <a href=\"Organization-OrganizationExample.html\">Organization Some Health Facility</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PLOC" ]
       ] ) ;
       fhir:text [ fhir:v "Provider location identifier" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/identifier/provider-location"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "Location-ID-1" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-identifier-types"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PLOC" ]
       ] ) ;
       fhir:text [ fhir:v "Provider location identifier" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/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 "LK" ]
  ] ; # 
  fhir:managingOrganization [
     fhir:link <http://fhir.health.gov.lk/ips/Organization/OrganizationExample> ;
     fhir:reference [ fhir:v "Organization/OrganizationExample" ]
  ] . # 

<http://hapi-fhir:8080/fhir/Organization/OrganizationExample> a fhir:Organization ;
  fhir:id [ fhir:v "OrganizationExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/organization"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/organization>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_OrganizationExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization OrganizationExample</b></p><a name=\"OrganizationExample\"> </a><a name=\"hcOrganizationExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-organization.html\">Organization</a></p></div><p><b>identifier</b>: Organization identifier/facility1</p><p><b>name</b>: Some Health Facility</p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "XX" ]
       ] ) ;
       fhir:text [ fhir:v "Organization identifier" ]
     ] ;
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/identifier/hin"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "facility1" ]
  ] ) ; # 
  fhir:name [ fhir:v "Some Health Facility"] . # 

<http://hapi-fhir:8080/fhir/Device/DeviceInformationExample> a fhir:Device ;
  fhir:id [ fhir:v "DeviceInformationExample"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.health.gov.lk/ips/StructureDefinition/device-information"^^xsd:anyURI ;
       fhir:link <http://fhir.health.gov.lk/ips/StructureDefinition/device-information>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Device_DeviceInformationExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Device DeviceInformationExample</b></p><a name=\"DeviceInformationExample\"> </a><a name=\"hcDeviceInformationExample\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-device-information.html\">Device Information</a></p></div><p><b>identifier</b>: <code>http://fhir.health.gov.lk/ips/identifier/system-id</code>/OpenMRS-1234-1</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 129465004}\">Medical record</span></p><h3>Versions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://fhir.health.gov.lk/ips/CodeSystem/cs-device-classification OpenMRS}\">OpenMRS</span></td><td>2.5.0</td></tr></table><p><b>owner</b>: <a href=\"Organization-OrganizationExample.html\">Organization Some Health Facility</a></p><p><b>location</b>: <a href=\"Location-ProvidersLocationExample.html\">Location Name for the location</a></p></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/identifier/system-id"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "OpenMRS-1234-1" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:type [
     fhir:coding ( [
       a sct:129465004 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "129465004" ]
     ] )
  ] ; # 
  fhir:version ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://fhir.health.gov.lk/ips/CodeSystem/cs-device-classification"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "OpenMRS" ]
       ] )
     ] ;
     fhir:value [ fhir:v "2.5.0" ]
  ] ) ; # 
  fhir:owner [
     fhir:link <http://fhir.health.gov.lk/ips/Organization/OrganizationExample> ;
     fhir:reference [ fhir:v "Organization/OrganizationExample" ]
  ] ; # 
  fhir:location [
     fhir:link <http://fhir.health.gov.lk/ips/Location/ProvidersLocationExample> ;
     fhir:reference [ fhir:v "Location/ProvidersLocationExample" ]
  ] . # 

# -------------------------------------------------------------------------------------

