This
page
is
part
of
the
Snapshot
#3
for
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
R5
,
released
to
support
Connectathon
32
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R4B
R4
|
|
|
Standards Status : Informative |
|
Summary
Name
Flags
Card.
Type
Description
&
Constraints
replaces
0..*
canonical
Raw
XML
(
Resource
)
URL
=
http://hl7.org/fhir/StructureDefinition/replaces
replaces:
Indicates
a
resource
that
this
resource
is
replacing.
Use
on
Element
ID
ActivityDefinition,
Element
ID
CapabilityStatement,
Element
ID
ChargeItemDefinition,
Element
ID
CodeSystem,
Element
ID
CompartmentDefinition,
Element
ID
ConceptMap,
Element
ID
EffectEvidenceSynthesis,
Element
ID
EventDefinition,
Element
ID
Evidence,
Element
ID
EvidenceVariable,
Element
ID
ExampleScenario,
Element
ID
GraphDefinition,
Element
ID
ImplementationGuide,
Element
ID
Library,
Element
ID
Measure,
Element
ID
MessageDefinition,
Element
ID
NamingSystem,
Element
ID
OperationDefinition,
Element
ID
PlanDefinition,
Element
ID
Questionnaire,
Element
ID
ResearchDefinition,
Element
ID
ResearchElementDefinition,
Element
ID
RiskEvidenceSynthesis,
Element
ID
SearchParameter,
Element
ID
StructureDefinition,
Element
ID
StructureMap,
Element
ID
TerminologyCapabilities,
Element
ID
TestScript
or
Element
ID
ValueSet
Documentation
for
this
format
Full
Structure
Name
Flags
Card.
Type
Description
&
Constraints
extension
0..*
Extension
URL
=
http://hl7.org/fhir/StructureDefinition/replaces
replaces:
Indicates
a
resource
that
this
resource
is
replacing.
Use
on
Element
ID
ActivityDefinition,
Element
ID
CapabilityStatement,
Element
ID
ChargeItemDefinition,
Element
ID
CodeSystem,
Element
ID
CompartmentDefinition,
Element
ID
ConceptMap,
Element
ID
EffectEvidenceSynthesis,
Element
ID
EventDefinition,
Element
ID
Evidence,
Element
ID
EvidenceVariable,
Element
ID
ExampleScenario,
Element
ID
GraphDefinition,
Element
ID
ImplementationGuide,
Element
ID
Library,
Element
ID
Measure,
Element
ID
MessageDefinition,
Element
ID
NamingSystem,
Element
ID
OperationDefinition,
Element
ID
PlanDefinition,
Element
ID
Questionnaire,
Element
ID
ResearchDefinition,
Element
ID
ResearchElementDefinition,
Element
ID
RiskEvidenceSynthesis,
Element
ID
SearchParameter,
Element
ID
StructureDefinition,
Element
ID
StructureMap,
Element
ID
TerminologyCapabilities,
Element
ID
TestScript
or
Element
ID
ValueSet
extension
I
0..0
url
1..1
uri
"http://hl7.org/fhir/StructureDefinition/replaces"
value[x]
I
1..1
canonical
form
(
Resource
+
also
see
XML
Format
Specification
)
Value
of
extension
Documentation
for
this
format
XML
Template
<!-- replaces -->
< xmlns="http://hl7.org/fhir"
url="" >
<!-- from Element:
<
</extension>
JSON
Template
Summary
Name
Flags
Card.
Type
Description
&
Constraints
replaces
0..*
canonical
(
Resource
)
URL
=
http://hl7.org/fhir/StructureDefinition/replaces
replaces:
Indicates
a
resource
that
this
resource
is
replacing.
Use
on
Element
ID
ActivityDefinition,
Element
ID
CapabilityStatement,
Element
ID
ChargeItemDefinition,
Element
ID
CodeSystem,
Element
ID
CompartmentDefinition,
Element
ID
ConceptMap,
Element
ID
EffectEvidenceSynthesis,
Element
ID
EventDefinition,
Element
ID
Evidence,
Element
ID
EvidenceVariable,
Element
ID
ExampleScenario,
Element
ID
GraphDefinition,
Element
ID
ImplementationGuide,
Element
ID
Library,
Element
ID
Measure,
Element
ID
MessageDefinition,
Element
ID
NamingSystem,
Element
ID
OperationDefinition,
Element
ID
PlanDefinition,
Element
ID
Questionnaire,
Element
ID
ResearchDefinition,
Element
ID
ResearchElementDefinition,
Element
ID
RiskEvidenceSynthesis,
Element
ID
SearchParameter,
Element
ID
StructureDefinition,
Element
ID
StructureMap,
Element
ID
TerminologyCapabilities,
Element
ID
TestScript
or
Element
ID
ValueSet
Documentation
Definition
for
this
format
Full
Structure
Value
SetConceptMapRelationship
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],
Usage
note:
every
effort
has
been
made
to
ensure
that
the
examples
are
correct
and
useful,
but
they
are
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
)
normative
part
of
the
specification.