This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0-ballot:
R5
Ballot
-
STU
see
ballot
notes
).
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:
R4B
R4
Status:
draft.
Extension
maintained
by:
Health
Level
Seven,
Inc.
-
FHIR
WG
A
plan,
proposal
or
order
that
is
fulfilled
in
whole
or
in
part
by
this
event.
Context
of
Use:
Use
on
Element
ID
Condition
Condition,
Element
ID
ChargeItem,
Element
ID
ClinicalImpression,
Element
ID
Composition,
Element
ID
Consent,
Element
ID
Coverage,
Element
ID
DetectedIssue,
Element
ID
DocumentManifest,
Element
ID
EpisodeOfCare,
Element
ID
ExplanationOfBenefit,
Element
ID
FamilyMemberHistory,
Element
ID
ImmunizationEvaluation,
Element
ID
InventoryReport,
Element
ID
MedicationUsage,
Element
ID
PaymentNotice
or
Element
ID
PaymentReconciliation
URL
=
http://hl7.org/fhir/StructureDefinition/event-basedOn
basedOn:
A
plan,
proposal
or
order
that
is
fulfilled
in
whole
or
in
part
by
this
event.
Use
on
Element
ID
Condition
Condition,
Element
ID
ChargeItem,
Element
ID
ClinicalImpression,
Element
ID
Composition,
Element
ID
Consent,
Element
ID
Coverage,
Element
ID
DetectedIssue,
Element
ID
DocumentManifest,
Element
ID
EpisodeOfCare,
Element
ID
ExplanationOfBenefit,
Element
ID
FamilyMemberHistory,
Element
ID
ImmunizationEvaluation,
Element
ID
InventoryReport,
Element
ID
MedicationUsage,
Element
ID
PaymentNotice
or
Element
ID
PaymentReconciliation
URL
=
http://hl7.org/fhir/StructureDefinition/event-basedOn
basedOn:
A
plan,
proposal
or
order
that
is
fulfilled
in
whole
or
in
part
by
this
event.
Use
on
Element
ID
Condition
Condition,
Element
ID
ChargeItem,
Element
ID
ClinicalImpression,
Element
ID
Composition,
Element
ID
Consent,
Element
ID
Coverage,
Element
ID
DetectedIssue,
Element
ID
DocumentManifest,
Element
ID
EpisodeOfCare,
Element
ID
ExplanationOfBenefit,
Element
ID
FamilyMemberHistory,
Element
ID
ImmunizationEvaluation,
Element
ID
InventoryReport,
Element
ID
MedicationUsage,
Element
ID
PaymentNotice
or
Element
ID
PaymentReconciliation
URL
=
http://hl7.org/fhir/StructureDefinition/event-basedOn
basedOn:
A
plan,
proposal
or
order
that
is
fulfilled
in
whole
or
in
part
by
this
event.
Use
on
Element
ID
Condition
Condition,
Element
ID
ChargeItem,
Element
ID
ClinicalImpression,
Element
ID
Composition,
Element
ID
Consent,
Element
ID
Coverage,
Element
ID
DetectedIssue,
Element
ID
DocumentManifest,
Element
ID
EpisodeOfCare,
Element
ID
ExplanationOfBenefit,
Element
ID
FamilyMemberHistory,
Element
ID
ImmunizationEvaluation,
Element
ID
InventoryReport,
Element
ID
MedicationUsage,
Element
ID
PaymentNotice
or
Element
ID
PaymentReconciliation
URL
=
http://hl7.org/fhir/StructureDefinition/event-basedOn
basedOn:
A
plan,
proposal
or
order
that
is
fulfilled
in
whole
or
in
part
by
this
event.
Use
on
Element
ID
Condition
Condition,
Element
ID
ChargeItem,
Element
ID
ClinicalImpression,
Element
ID
Composition,
Element
ID
Consent,
Element
ID
Coverage,
Element
ID
DetectedIssue,
Element
ID
DocumentManifest,
Element
ID
EpisodeOfCare,
Element
ID
ExplanationOfBenefit,
Element
ID
FamilyMemberHistory,
Element
ID
ImmunizationEvaluation,
Element
ID
InventoryReport,
Element
ID
MedicationUsage,
Element
ID
PaymentNotice
or
Element
ID
PaymentReconciliation
<!-- basedOn -->
<extension xmlns="http://hl7.org/fhir"
url="http://hl7.org/fhir/StructureDefinition/event-basedOn" >
<!-- from Element: extension -->
<</valueReference>
<valueReference><!--I 1..1Reference(Resource)Value of extension --></valueReference>
</extension>
JSON
Template
{ // basedOn
// from Element: extension
"extension" : [ // sliced by value:url in the specified order, Open ]
// extension: Extension: Prohibited
"url" : "http://hl7.org/fhir/StructureDefinition/event-basedOn", //R! "
"valueReference" : { Reference(Resource) } //IR!Value of extension
}
Constraints
ele-1
:
All
FHIR
elements
must
have
a
@value
or
children
unless
an
empty
Parameters
resource
(xpath:
@value|f:*|h:div|self::f:Parameters
@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],
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
)