This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
(v5.0.0-snapshot1:
R5
Snapshot
#1).
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
Patient
Care
Work
Group
|
Maturity Level : N/A | Standards Status : Informative | Security Category : Patient | Compartments : Practitioner |
R3 : R4 Conversion maps for Linkage.
Functional status for this map: 1 test that all execute ok. All tests pass round-trip testing and all r3 resources are valid. ( see documentation)
map "http://hl7.org/fhir/StructureMap/Linkage3to4" = "R3 to R4 Conversions for Linkage"
uses "http://hl7.org/fhir/3.0/StructureDefinition/Linkage" alias LinkageR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Linkage" alias Linkage as target
imports "http://hl7.org/fhir/StructureMap/*3to4"
group Linkage(source src : LinkageR3, target tgt : Linkage) extends DomainResource <<type+>> {
src.active -> tgt.active;
src.author -> tgt.author;
src.item as vs0 -> tgt.item as vt0 then linkage(vs0, vt0);
}
group linkage(source src, target tgt) extends BackboneElement {
src.type -> tgt.type;
src.resource -> tgt.resource;
}
map "http://hl7.org/fhir/StructureMap/Linkage4to3" = "R4 to R3 Conversion for Linkage"
uses "http://hl7.org/fhir/StructureDefinition/Linkage" alias Linkage as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Linkage" alias LinkageR3 as target
imports "http://hl7.org/fhir/StructureMap/*4to3"
group Linkage(source src : Linkage, target tgt : LinkageR3) extends DomainResource <<type+>> {
src.active -> tgt.active;
src.author -> tgt.author;
src.item as vs0 -> tgt.item as vt0 then linkage(vs0, vt0);
}
group linkage(source src, target tgt) extends BackboneElement {
src.type -> tgt.type;
src.resource -> tgt.resource;
}