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 -------------------------------------------------------------------
<http://hl7.org/fhir/Location/ph> 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.physicalType [
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:link <http://hl7.org/fhir/Organization/f001>;
fhir:Reference.reference [ fhir:value "Organization/f001" ]
] .
<http://hl7.org/fhir/Organization/f001> a fhir:Organization .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Location/ph.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Location/ph.ttl> .
[a fhir:Location ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "ph"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Patient's Home</div>"
] ; #
fhir:status [ fhir:v "active"] ; #
fhir:name [ fhir:v "Patient's Home"] ; #
fhir:description [ fhir:v "Patient's Home"] ; #
fhir:mode [ fhir:v "kind"] ; #
fhir:type ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PTRES" ] ;
fhir:display [ fhir:v "Patient's Residence" ]
] )
] ) ; #
fhir:form [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/location-physical-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ho" ] ;
fhir:display [ fhir:v "House" ]
] )
] ; #
fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/f001" ]
]] . #
# -------------------------------------------------------------------------------------
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.