Example Location/ph (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Patient's Home which can be used for remote encounters
@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 -------------------------------------------------------------------
[a fhir:Location;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "ph"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Patient's Home</div>"
]; #
fhir:Location.status [ fhir:value "active"]; #
fhir:Location.name [ fhir:value "Patient's Home"]; #
fhir:Location.description [ fhir:value "Patient's Home"]; #
fhir:Location.mode [ fhir:value "kind"]; #
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 "PTRES" ];
fhir:Coding.display [ fhir:value "Patient's Residence" ]
]
]; #
fhir:Location.form [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/location-physical-type" ];
fhir:Coding.code [ fhir:value "ho" ];
fhir:Coding.display [ fhir:value "House" ]
]
]; #
fhir:Location.managingOrganization [
fhir:Reference.reference [ fhir:value "Organization/f001" ]
]] . #
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.