This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
Continuous
Integration
Build
of
available
versions,
see
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
Medicationexample1.ttl
Example
Medication/medicationexample1
(Turtle)
Raw
Turtle
,
JSON-LD
(+
also
see
Turtle/RDF
Format
Specification
)
Name
element
only
populated
-
Amoxicillin
250mg/5ml
Suspension
@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/Medication/medicationexample1> a fhir:Medication;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "medicationexample1"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Amoxicillin 250mg/5ml Suspension</div>"
];
fhir:Medication.code [
fhir:CodeableConcept.text [ fhir:value "Amoxicillin 250mg/5ml Suspension" ]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/Medication/medicationexample1.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://hl7.org/fhir/STU3/Medication/medicationexample1.ttl> .
<http://hl7.org/fhir/Medication/medicationexample1> a fhir:Medication ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "medicationexample1"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Amoxicillin 250mg/5ml Suspension</div>"^^rdf:XMLLiteral ]
] ; # this example includes the code text element only
fhir:code [
fhir:text [ fhir:v "Amoxicillin 250mg/5ml Suspension" ]
] . #
# -------------------------------------------------------------------------------------
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.