@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.dha.go.ke/erx/Location/example-location-knh-pharmacy> a fhir:Location ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-location-knh-pharmacy"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Location example-location-knh-pharmacy</b></p><a name=\"example-location-knh-pharmacy\"> </a><a name=\"hcexample-location-knh-pharmacy\"> </a><p><b>identifier</b>: <a href=\"NamingSystem-ns-location-code.html\" title=\"Facility-level sub-location code (e.g., pharmacy, ward, outpatient department). Scoped within the facility MFL code.\">KenyaLocationCode</a>/KNH-PHARM-01</p><p><b>name</b>: KNH Outpatient Pharmacy</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode PHARM}\">Pharmacy</span></p><p><b>address</b>: Ground Floor, Main Block Nairobi KE </p><p><b>managingOrganization</b>: <a href=\"Organization-example-organization-knh.html\">Organization Kenyatta National Hospital</a></p></div>"
  ] ;
  fhir:Location.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://ilm-hie.dha.go.ke/fhir/NamingSystem/location-code" ] ;
     fhir:Identifier.value [ fhir:value "KNH-PHARM-01" ]
  ] ;
  fhir:Location.name [ fhir:value "KNH Outpatient Pharmacy"] ;
  fhir:Location.type [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
       fhir:Coding.code [ fhir:value "PHARM" ] ;
       fhir:Coding.display [ fhir:value "Pharmacy" ]
     ]
  ] ;
  fhir:Location.address [
     fhir:Address.line [
       fhir:value "Ground Floor, Main Block" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Nairobi" ] ;
     fhir:Address.country [ fhir:value "KE" ]
  ] ;
  fhir:Location.managingOrganization [
     fhir:link <https://fhir.dha.go.ke/erx/Organization/example-organization-knh> ;
     fhir:Reference.reference [ fhir:value "Organization/example-organization-knh" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.dha.go.ke/erx/Location/example-location-knh-pharmacy.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

