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:
R4B
R4
R3
R2
Content
Detailed
Descriptions
Mappings
XML
JSON
Example
MedicationAdministration/medadmin0308
(JSON)
Extension:
location
Patient
Care
Responsible
Owner:
Pharmacy
Work
Group
|
Maturity
Level
:
1
Standards
Status
:
Informative
|
Use
Context
Compartments
:
Any
Encounter
,
Group
,
Patient
|
URL
for
this
extension:
http://hl7.org/fhir/StructureDefinition/openEHR-location
Status:
draft.
Extension
maintained
by:
Health
Level
Seven,
Inc
/
openEHR
project
The
anatomical
location
/
body
site(s)
where
the
symptoms
manifested.
Context
of
Use:
Use
on
Element
ID
AllergyIntolerance.reaction
Extension
Content
-
Summary
Narrative
Full
Structure
-
XML
-
JSON
-
All
TTL
Summary
Name
Flags
Card.
Type
Description
&
Constraints
location
0..*
CodeableConcept
URL
=
http://hl7.org/fhir/StructureDefinition/openEHR-location
location:
The
anatomical
location
/
body
site(s)
where
the
symptoms
manifested.
Binding:
SNOMED
CT
Body
Structures
(
extensible
)
Use
on
Element
ID
AllergyIntolerance.reaction
Documentation
for
this
format
Full
Structure
Name
Flags
Card.
Type
Description
&
Constraints
extension
0..*
Extension
URL
=
http://hl7.org/fhir/StructureDefinition/openEHR-location
location:
The
anatomical
location
/
body
site(s)
where
the
symptoms
manifested.
Use
on
Element
ID
AllergyIntolerance.reaction
extension
I
0..0
url
1..1
uri
"http://hl7.org/fhir/StructureDefinition/openEHR-location"
value[x]
I
1..1
CodeableConcept
Value
of
extension
Binding:
SNOMED
CT
Body
Structures
(
extensible
)
Documentation
for
this
format
XML
Template
<!-- location -->
< xmlns="http://hl7.org/fhir"
url="" >
<!-- from Element:
<</valueCodeableConcept>
</extension>
Raw
JSON
Template
{ //
// from Element:
" ]
"
"
}
Summary
Name
Flags
Card.
Type
Description
&
Constraints
location
0..*
CodeableConcept
URL
=
http://hl7.org/fhir/StructureDefinition/openEHR-location
location:
The
anatomical
location
/
body
site(s)
where
the
symptoms
manifested.
Binding:
SNOMED
CT
Body
Structures
(
extensible
)
Use
on
Element
ID
AllergyIntolerance.reaction
Documentation
for
this
format
Full
Structure
Name
Flags
Card.
Type
Description
&
Constraints
extension
0..*
Extension
URL
=
http://hl7.org/fhir/StructureDefinition/openEHR-location
location:
The
anatomical
location
/
body
site(s)
where
the
symptoms
manifested.
Use
on
Element
ID
AllergyIntolerance.reaction
extension
I
0..0
url
1..1
uri
"http://hl7.org/fhir/StructureDefinition/openEHR-location"
value[x]
I
1..1
CodeableConcept
Value
of
extension
Binding:
SNOMED
CT
Body
Structures
canonical
form
(
extensible
+
also
see
JSON
Format
Specification
)
Documentation
for
this
format
XML
Template
<!-- location -->
< xmlns="http://hl7.org/fhir"
url="" >
<!-- from Element:
<</valueCodeableConcept>
</extension>
JSON
Template
Subcutaneous
Injection
-
Insulin
-
Lantus
{ //
// from Element:
" ]
"
"
{
"resourceType" : "MedicationAdministration",
"id" : "medadmin0308",
"status" : "completed",
"medication" : {
"concept" : {
"coding" : [{
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"code" : "285018",
"display" : "insulin glargine 100 UNT/ML Injectable Solution [Lantus]"
}]
}
},
"subject" : {
"reference" : "Patient/pat1",
"display" : "Donald Duck"
},
"occurrencePeriod" : {
"start" : "2015-01-15T04:30:00+01:00",
"end" : "2015-01-15T14:30:00+01:00"
},
"performer" : [{
"actor" : {
"reference" : {
"reference" : "Practitioner/f007",
"display" : "Patrick Pump"
}
}
}],
"request" : {
"reference" : "MedicationRequest/medrx0320"
},
"dosage" : {
"text" : "20 Units SC before breakfast",
"route" : {
"coding" : [{
"system" : "http://snomed.info/sct",
"code" : "263887005",
"display" : "Subcutaneous (qualifier value)"
}]
},
"dose" : {
"value" : 20,
"unit" : "U",
"system" : "http://unitsofmeasure.org",
"code" : "U"
}
}
}
Constraints
ele-1
:
All
FHIR
elements
must
have
a
@value
or
children
(xpath:
@value|f:*|h:div
)
ext-1
:
Must
have
either
extensions
or
value[x],
not
both
(xpath:
exists(f:extension)!=exists(f:*[starts-with(local-name(.),
'value')])
)
ele-1
:
On
Extension.extension:
All
FHIR
elements
must
have
a
@value
or
children
(xpath
on
Extension.extension:
@value|f:*|h:div
)
ext-1
:
On
Extension.extension:
Must
have
either
extensions
or
value[x],
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
not
both
(xpath
on
Extension.extension:
exists(f:extension)!=exists(f:*[starts-with(local-name(.),
"value")])
)
ele-1
:
On
Extension.value[x]:
All
FHIR
elements
must
have
a
@value
or
children
(xpath
on
Extension.value[x]:
@value|f:*|h:div
)
normative
part
of
the
specification.