This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
(v4.0.1:
R4
-
Mixed
Normative
and
STU
3).
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
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
R3
R4
R3
FHIR
Infrastructure
Work
Group
|
Maturity Level : N/A |
| Security Category : Not Classified | Compartments : Not linked to any defined compartments |
R2
:
R3
Converson
:
R4
Conversion
maps
for
Binary.
Functional status for this map: 2 tests that all execute ok. All tests pass round-trip testing and all r3 resources are valid. ( see documentation)
map "http://hl7.org/fhir/StructureMap/Binary2to3" = "R2 to R3 Conversions for Binary" uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Binary" alias BinaryR2 as source uses "http://hl7.org/fhir/StructureDefinition/Binary" alias Binary as targetmap "http://hl7.org/fhir/StructureMap/Binary3to4" = "R3 to R4 Conversions for Binary"imports "http://hl7.org/fhir/StructureMap/primitives2to3" imports "http://hl7.org/fhir/StructureMap/Resource2to3"uses "http://hl7.org/fhir/3.0/StructureDefinition/Binary" alias BinaryR3 as source uses "http://hl7.org/fhir/StructureDefinition/Binary" alias Binary as targetgroup for type+types Binary extends Resource input src : BinaryR2 as source input tgt : Binary as targetimports "http://hl7.org/fhir/StructureMap/*3to4""Binary-contentType" : for src.contentType make tgt.contentType "Binary-content" : for src.content make tgt.contentgroup Binary(source src : BinaryR3, target tgt : Binary) extends Resource <<type+>> { src.contentType -> tgt.contentType; src.securityContext -> tgt.securityContext; src.content -> tgt.data; }endgroup
map "http://hl7.org/fhir/StructureMap/Binary3to2" = "R3 to R2 Conversion for Binary" uses "http://hl7.org/fhir/StructureDefinition/Binary" alias Binary as source uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Binary" alias BinaryR2 as targetmap "http://hl7.org/fhir/StructureMap/Binary4to3" = "R4 to R3 Conversion for Binary"imports "http://hl7.org/fhir/StructureMap/primitives3to2" imports "http://hl7.org/fhir/StructureMap/Resource3to2"uses "http://hl7.org/fhir/StructureDefinition/Binary" alias Binary as source uses "http://hl7.org/fhir/3.0/StructureDefinition/Binary" alias BinaryR3 as targetgroup for type+types Binary extends Resource input src : Binary as source input tgt : BinaryR2 as targetimports "http://hl7.org/fhir/StructureMap/*4to3""Binary-contentType" : for src.contentType make tgt.contentType "Binary-content" : for src.content make tgt.contentgroup Binary(source src : Binary, target tgt : BinaryR3) extends Resource <<type+>> { src.contentType -> tgt.contentType; src.securityContext -> tgt.securityContext; src.data -> tgt.content "content"; }endgroup