Example Location/3ad0687e-f477-468c-afd5-fcc2bf897819 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
General location examples
@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:Bundle;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "3ad0687e-f477-468c-afd5-fcc2bf897819"]; #
fhir:Bundle.type [ fhir:value "collection"]; #
fhir:Bundle.entry [
fhir:index 0;
fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/Location/2" ];
fhir:Bundle.entry.resource <http://hl7.org/fhir/Location/2>
], [
fhir:index 1;
fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/Location/3" ];
fhir:Bundle.entry.resource <http://hl7.org/fhir/Location/3>
]] . #
<http://hl7.org/fhir/Location/2> a fhir:Location;
fhir:Resource.id [ fhir:value "2"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">USS Enterprise</div>"
]; #
fhir:Location.status [ fhir:value "active"]; #
fhir:Location.name [ fhir:value "USSS Enterprise-D"]; #
fhir:Location.mode [ fhir:value "instance"] . #
<http://hl7.org/fhir/Location/3> a fhir:Location;
fhir:Resource.id [ fhir:value "3"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">USSS Enterprise-D Sickbay</div>"
]; #
fhir:Location.status [ fhir:value "active"]; #
fhir:Location.name [ fhir:value "USSS Enterprise-D Sickbay"]; #
fhir:Location.mode [ fhir:value "instance"]; #
fhir:Location.partOf [
fhir:Reference.reference [ fhir:value "Location/2" ];
fhir:Reference.display [ fhir:value "USS Enterprise" ]
] . #
# - 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.