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
Bodystructure-example-fetus.ttl
Example
BodyStructure/fetus
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
This
example
demonstrates
using
the
bodystructure
resource
to
identify
a
fetus
within
systems
that
choose
not
to
treat
a
fetus
as
a
Patient
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/BodyStructure/fetus> a fhir:BodyStructure;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "fetus"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: fetus</p><p><b>identifier</b>: 12345</p><p><b>location</b>: Fetus <span>(Details : {SNOMED CT code '83418008' = 'Fetus', given as 'Entire fetus (body structure)'})</span></p><p><b>description</b>: EDD 1/1/2017 confirmation by LMP</p><p><b>patient</b>: <a>Patient/example</a></p></div>"
];
fhir:BodyStructure.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://goodhealth.org/bodystructure/identifiers" ];
fhir:Identifier.value [ fhir:value "12345" ]
];
fhir:BodyStructure.location [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:83418008;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "83418008" ];
fhir:Coding.display [ fhir:value "Entire fetus (body structure)" ]
];
fhir:CodeableConcept.text [ fhir:value "Fetus" ]
];
fhir:BodyStructure.description [ fhir:value "EDD 1/1/2017 confirmation by LMP"];
fhir:BodyStructure.patient [
fhir:link <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ]
] .
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/BodyStructure/fetus.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/BodyStructure/fetus.ttl> .
[a fhir:BodyStructure ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "fetus"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: BodyStructure</b><a name=\"fetus\"> </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 BodyStructure "fetus" </p></div><p><b>identifier</b>: id: 12345</p><h3>IncludedStructures</h3><table class=\"grid\"><tr><td>-</td><td><b>Structure</b></td></tr><tr><td>*</td><td>Fetus <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#83418008 "Entire fetus (body structure)")</span></td></tr></table><p><b>description</b>: EDD 1/1/2017 confirmation by LMP</p><p><b>patient</b>: <a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</p></div>"
] ; #
fhir:identifier ( [
fhir:system [ fhir:v "http://goodhealth.org/bodystructure/identifiers"^^xsd:anyURI ] ;
fhir:value [ fhir:v "12345" ]
] ) ; #
fhir:includedStructure ( [
fhir:structure [
fhir:coding ( [
a sct:83418008 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "83418008" ] ;
fhir:display [ fhir:v "Entire fetus (body structure)" ]
] ) ;
fhir:text [ fhir:v "Fetus" ]
]
] ) ; #
fhir:description [ fhir:v "EDD 1/1/2017 confirmation by LMP"] ; #
fhir:patient [
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.