This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Patient-example-dicom.ttl
Example
Patient/dicom
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Taken
from
a
DICOM
sample
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/Patient/dicom> a fhir:Patient;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "dicom"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"> Patient MINT_TEST, ID = MINT1234. Age = 56y, Size =\n 1.83m, Weight = 72.58kg </div>"
];
fhir:DomainResource.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://nema.org/fhir/extensions#0010:1010" ];
fhir:Extension.valueQuantity [
fhir:Quantity.value [ fhir:value "56"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "Y" ]
<http://hl7.org/fhir/Patient/dicom> a fhir:Patient ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "dicom"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"> Patient MINT_TEST, ID = MINT1234. Age = 56y, Size =\n 1.83m, Weight = 72.58kg </div>"^^rdf:XMLLiteral ]
] ; #
fhir:extension ( [
fhir:url [
fhir:v "http://nema.org/fhir/extensions#0010:1010"^^xsd:anyURI ;
fhir:l <http://nema.org/fhir/extensions#0010:1010>
] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "56"^^xsd:decimal ] ;
fhir:unit [ fhir:v "Y" ]
]
], [
fhir:index 1;
fhir:Extension.url [ fhir:value "http://nema.org/fhir/extensions#0010:1020" ];
fhir:Extension.valueQuantity [
fhir:Quantity.value [ fhir:value "1.83"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "m" ]
] [
fhir:url [
fhir:v "http://nema.org/fhir/extensions#0010:1020"^^xsd:anyURI ;
fhir:l <http://nema.org/fhir/extensions#0010:1020>
] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v 1.83 ] ;
fhir:unit [ fhir:v "m" ]
]
], [
fhir:index 2;
fhir:Extension.url [ fhir:value "http://nema.org/fhir/extensions#0010:1030" ];
fhir:Extension.valueQuantity [
fhir:Quantity.value [ fhir:value "72.58"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "kg" ]
] [
fhir:url [
fhir:v "http://nema.org/fhir/extensions#0010:1030"^^xsd:anyURI ;
fhir:l <http://nema.org/fhir/extensions#0010:1030>
] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v 72.58 ] ;
fhir:unit [ fhir:v "kg" ]
]
];
fhir:Patient.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://nema.org/examples/patients" ];
fhir:Identifier.value [ fhir:value "MINT1234" ]
];
fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
fhir:Patient.name [
fhir:index 0;
fhir:HumanName.family [ fhir:value "MINT_TEST" ]
];
fhir:Patient.gender [
fhir:value "male";
fhir:Element.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://nema.org/examples/extensions#gender" ];
fhir:Extension.valueCoding [
fhir:Coding.system [ fhir:value "http://nema.org/examples/gender" ];
fhir:Coding.code [ fhir:value "M" ]
] ) ; #
fhir:identifier ( [
fhir:system [
fhir:v "http://nema.org/examples/patients"^^xsd:anyURI ;
fhir:l <http://nema.org/examples/patients>
] ;
fhir:value [ fhir:v "MINT1234" ]
] ) ; #
fhir:active [ fhir:v true] ; #
fhir:name ( [
fhir:family [ fhir:v "MINT_TEST" ]
] ) ; #
fhir:gender [
fhir:v "male" ;
fhir:extension ( [
fhir:url [
fhir:v "http://nema.org/examples/extensions#gender"^^xsd:anyURI ;
fhir:l <http://nema.org/examples/extensions#gender>
] ;
fhir:value [
a fhir:Coding ;
fhir:system [
fhir:v "http://nema.org/examples/gender"^^xsd:anyURI ;
fhir:l <http://nema.org/examples/gender>
] ;
fhir:code [ fhir:v "M" ]
]
]
];
fhir:Patient.managingOrganization [
fhir:link <http://hl7.org/fhir/Organization/1>;
fhir:Reference.reference [ fhir:value "Organization/1" ]
] .
] )
] ; #
fhir:managingOrganization [
fhir:l <http://hl7.org/fhir/Organization/1> ;
fhir:reference [ fhir:v "Organization/1" ]
] . #
<http://hl7.org/fhir/Organization/1> a fhir:Organization .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Patient/dicom.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Patient/dicom.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.