Example
SupplyDelivery/pumpdelivery
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Delivery
of
an
insulin
pump
@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/SupplyDelivery/pumpdelivery> a fhir:SupplyDelivery;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "pumpdelivery"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"
];
fhir:SupplyDelivery.identifier [
fhir:index 0;
fhir:Identifier.value [ fhir:value "98398459409" ];
fhir:Identifier.assigner [
fhir:Reference.display [ fhir:value "SupplierDeliveryNr" ]
]
];
fhir:SupplyDelivery.status [ fhir:value "in-progress"];
fhir:SupplyDelivery.patient [
fhir:Reference.display [ fhir:value "Mr. Belpit" ]
];
fhir:SupplyDelivery.supplier [
fhir:Reference.display [ fhir:value "ACME distribution" ]
];
fhir:SupplyDelivery.destination [
fhir:Reference.display [ fhir:value "Home care dept" ]
];
fhir:SupplyDelivery.receiver [
fhir:index 0;
fhir:Reference.display [ fhir:value "Nurse Smith" ]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/SupplyDelivery/pumpdelivery.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/SupplyDelivery/pumpdelivery.ttl> .
[a fhir:SupplyDelivery ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "pumpdelivery"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"
] ; #
fhir:identifier ( [
fhir:value [ fhir:v "98398459409" ] ; # from Element: extension
fhir:assigner [
fhir:display [ fhir:v "SupplierDeliveryNr" ]
] # 0..1 The value that is unique
] ) ; # insert contents here
fhir:status [ fhir:v "in-progress"] ; #
fhir:patient [
fhir:display [ fhir:v "Mr. Belpit" ]
] ; #
fhir:supplier [
fhir:display [ fhir:v "ACME distribution" ]
] ; #
fhir:destination [
fhir:display [ fhir:v "Home care dept" ]
] ; #
fhir:receiver ( [
fhir:display [ fhir:v "Nurse Smith" ]
] )] . #
# -------------------------------------------------------------------------------------
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.