@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.acmeexample.org.uk/PatientCareCoordination/Location/HospitalSite> a fhir:Location ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "HospitalSite"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/Location" ;
       fhir:index -1 ;
       fhir:link <https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/Location>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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 HospitalSite</b></p><a name=\"HospitalSite\"> </a><a name=\"hcHospitalSite\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-Location.html\">Location</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Example Hospital Site (Hospital) (https://fhir.nhs.uk/Id/ods-site-code#ODS Organisation Site Code#R0A09)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"The status of the location\">Status:</td><td>Active</td><td style=\"background-color: #f3f5da\" title=\"The physical form of the location (e.g. building, room, vehicle, road)\">Form:</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/location-physical-type si}\">Site</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The type of function performed at the location\">Type:</td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-RoleCode HOSP}\">Hospital</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The organization responsible for the provisioning and upkeep of the location\">Managed By:</td><td colspan=\"3\"><a href=\"Organization-R0A.html\">Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></td></tr></table></div>"
  ] ;
  fhir:Location.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-site-code" ] ;
     fhir:Identifier.value [ fhir:value "R0A09" ]
  ] ;
  fhir:Location.status [ fhir:value "active"] ;
  fhir:Location.name [ fhir:value "Example Hospital Site"] ;
  fhir:Location.type [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ] ;
       fhir:Coding.code [ fhir:value "HOSP" ] ;
       fhir:Coding.display [ fhir:value "Hospital" ]
     ]
  ] ;
  fhir:Location.physicalType [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/location-physical-type" ] ;
       fhir:Coding.code [ fhir:value "si" ] ;
       fhir:Coding.display [ fhir:value "Site" ]
     ]
  ] ;
  fhir:Location.managingOrganization [
     fhir:link <https://fhir.acmeexample.org.uk/PatientCareCoordination/Organization/R0A> ;
     fhir:Reference.reference [ fhir:value "Organization/R0A" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
       fhir:Identifier.value [ fhir:value "R0A" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.acmeexample.org.uk/PatientCareCoordination/Location/HospitalSite.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

