This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
(v5.0.0:
R5
-
Mixed
Normative
and
STU
)
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Patient-glossy-example.ttl
Example
Patient/glossy
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Example
for
glossy
@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/Patient/glossy> a fhir:Patient;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "glossy"];
fhir:Resource.meta [
fhir:Meta.lastUpdated [ fhir:value "2014-11-13T11:41:00+11:00"^^xsd:dateTime ]
];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Henry Levin the 7th</p>\n <p>MRN: 123456. Male, 24-Sept 1932</p>\n </div>"
];
fhir:DomainResource.extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://example.org/StructureDefinition/trials" ];
fhir:Extension.valueCode [ fhir:value "renal" ]
];
fhir:Patient.identifier [
fhir:index 0;
fhir:Identifier.use [ fhir:value "usual" ];
fhir:Identifier.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
fhir:Coding.code [ fhir:value "MR" ]
]
];
fhir:Identifier.system [ fhir:value "http://www.goodhealth.org/identifiers/mrn" ];
fhir:Identifier.value [ fhir:value "123456" ]
];
fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
fhir:Patient.name [
fhir:index 0;
fhir:HumanName.family [ fhir:value "Levin" ];
fhir:HumanName.given [
fhir:value "Henry";
fhir:index 0
];
fhir:HumanName.suffix [
fhir:value "The 7th";
fhir:index 0
]
];
fhir:Patient.gender [ fhir:value "male"];
fhir:Patient.birthDate [ fhir:value "1932-09-24"^^xsd:date];
fhir:Patient.generalPractitioner [
fhir:index 0;
fhir:link <http://hl7.org/fhir/Practitioner/example>;
fhir:Reference.reference [ fhir:value "Practitioner/example" ];
fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
];
fhir:Patient.managingOrganization [
fhir:link <http://hl7.org/fhir/Organization/2>;
fhir:Reference.reference [ fhir:value "Organization/2" ];
fhir:Reference.display [ fhir:value "Good Health Clinic" ]
] .
<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .
<http://hl7.org/fhir/Organization/2> a fhir:Organization .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Patient/glossy.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/Patient/glossy.ttl> .
[a fhir:Patient ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "glossy"] ; #
fhir:meta [
fhir:lastUpdated [ fhir:v "2014-11-13T11:41:00+11:00"^^xsd:dateTime ]
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Henry Levin the 7th</p>\n <p>MRN: 123456. Male, 24-Sept 1932</p>\n </div>"
] ; #
fhir:extension ( [
fhir:url [ fhir:v "http://example.org/StructureDefinition/trials"^^xsd:anyURI ] ;
fhir:value [ fhir:v "renal" ]
] ) ; #
fhir:identifier ( [
fhir:use [ fhir:v "usual" ] ;
fhir:type [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MR" ]
] )
] ;
fhir:system [ fhir:v "http://www.goodhealth.org/identifiers/mrn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "123456" ]
] ) ; #
fhir:active [ fhir:v "true"^^xsd:boolean] ; #
fhir:name ( [
fhir:family [ fhir:v "Levin" ] ;
fhir:given ( [ fhir:v "Henry" ] ) ;
fhir:suffix ( [ fhir:v "The 7th" ] )
] ) ; #
fhir:gender [ fhir:v "male"] ; #
fhir:birthDate [ fhir:v "1932-09-24"^^xsd:date] ; #
fhir:generalPractitioner ( [
fhir:reference [ fhir:v "Practitioner/example" ] ;
fhir:display [ fhir:v "Dr Adam Careful" ]
] ) ; #
fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/2" ] ;
fhir:display [ fhir:v "Good Health Clinic" ]
]] . #
# -------------------------------------------------------------------------------------
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.