Example
DeviceRequest/example
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Wheelchair
assignment
@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/DeviceRequest/example> a fhir:DeviceRequest;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource "example" </p></div><p><b>status</b>: completed</p><p><b>intent</b>: original-order</p><p><b>code</b>: <a href=\"device-example.html\">Device/example</a></p><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p></div>"
];
fhir:DeviceRequest.status [ fhir:value "completed"];
fhir:DeviceRequest.intent [ fhir:value "original-order"];
fhir:DeviceRequest.codeReference [
fhir:link <http://hl7.org/fhir/Device/example>;
fhir:Reference.reference [ fhir:value "Device/example" ]
];
fhir:DeviceRequest.subject [
fhir:link <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ]
] .
<http://hl7.org/fhir/Device/example> a fhir:Device .
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/DeviceRequest/example.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/DeviceRequest/example.ttl> .
[a fhir:DeviceRequest ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DeviceRequest</b><a name=\"example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource DeviceRequest "example" </p></div><p><b>status</b>: <span title=\" insert contents here \">completed</span></p><p><b>intent</b>: original-order</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a href=\"device-example.html\">Device/example</a></td></tr></table><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p></div>"
] ; # insert contents here
fhir:status [ fhir:v "completed"] ; #
fhir:intent [ fhir:v "original-order"] ; #
fhir:code [
fhir:reference [
fhir:reference [ fhir:v "Device/example" ]
]
] ; #
fhir:subject [
fhir:reference [ fhir:v "Patient/example" ]
]] . #
# -------------------------------------------------------------------------------------
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.