This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
(v3.3.0:
R4
Ballot
2).
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
Orders
and
Observations
Work
Group
|
Maturity Level : N/A | Ballot Status : Informative | Compartments : Device , Patient , Practitioner , RelatedPerson |
R2
:
R3
Converson
Conversion
maps
for
SupplyRequest.
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/SupplyRequest2to3" = "R2 to R3 Conversions for SupplyRequest"map "http://hl7.org/fhir/StructureMap/SupplyRequest2to3" = "R2 to R3 Conversions for SupplyRequest"uses "http://hl7.org/fhir/DSTU2/StructureDefinition/SupplyRequest" alias SupplyRequestR2 as source uses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" alias SupplyRequest as targetuses "http://hl7.org/fhir/DSTU2/StructureDefinition/SupplyRequest" alias SupplyRequestR2 as source uses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" alias SupplyRequest as targetimports "http://hl7.org/fhir/StructureMap/*2to3"imports "http://hl7.org/fhir/StructureMap/*2to3" group for type+types SupplyRequest extends DomainResource input src : SupplyRequestR2 as source input tgt : SupplyRequest as target"SupplyRequest-patient" : for src.patient as v make tgt.extension as t, t.url = 'http://hl7.org/fhir/SupplyRequest-r2-patient', t.value = v "SupplyRequest-source" : for src.source as v make tgt.requester as r, r.agent as v "SupplyRequest-date" : for src.date make tgt.authoredOn "SupplyRequest-identifier" : for src.identifier make tgt.identifier "SupplyRequest-status" : for src.status make tgt.status "SupplyRequest-kind" : for src.kind make tgt.category "SupplyRequest-orderedItem" : for src.orderedItem make tgt.orderedItem "SupplyRequest-supplier" : for src.supplier make tgt.supplier "SupplyRequest-reason" : for src.reason make tgt.reason "SupplyRequest-when" : for src.when as vs0 then srWhen(vs0, tgt)"SupplyRequest-patient" : for src.patient as v make tgt.extension as t, t.url = 'http://hl7.org/fhir/SupplyRequest-r2-patient', t.value = v "SupplyRequest-source" : for src.source as v make tgt.requester as r, r.agent as v "SupplyRequest-date" : for src.date make tgt.authoredOn "SupplyRequest-identifier" : for src.identifier make tgt.identifier "SupplyRequest-status" : for src.status make tgt.status "SupplyRequest-kind" : for src.kind make tgt.category "SupplyRequest-orderedItem" : for src.orderedItem make tgt.orderedItem "SupplyRequest-supplier" : for src.supplier make tgt.supplier "SupplyRequest-reason" : for src.reason make tgt.reason "SupplyRequest-when" : for src.when as vs0 then srWhen(vs0, tgt) endgroup group srWhen extends BackboneElement input src as source input tgt as target"SupplyRequest.when-schedule" : for src.schedule make tgt.occurrence"SupplyRequest.when-schedule" : for src.schedule make tgt.occurrence endgroup
map "http://hl7.org/fhir/StructureMap/SupplyRequest3to2" = "R3 to R2 Conversion for SupplyRequest"map "http://hl7.org/fhir/StructureMap/SupplyRequest3to2" = "R3 to R2 Conversion for SupplyRequest"uses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" alias SupplyRequest as source uses "http://hl7.org/fhir/DSTU2/StructureDefinition/SupplyRequest" alias SupplyRequestR2 as targetuses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" alias SupplyRequest as source uses "http://hl7.org/fhir/DSTU2/StructureDefinition/SupplyRequest" alias SupplyRequestR2 as targetimports "http://hl7.org/fhir/StructureMap/*3to2"imports "http://hl7.org/fhir/StructureMap/*3to2" group for type+types SupplyRequest extends DomainResource input src : SupplyRequest as source input tgt : SupplyRequestR2 as target"SupplyRequest-patient" : for src.extension as e where e.url = 'http://hl7.org/fhir/SupplyRequest-r2-patient' make tgt.patient = (e.value) "SupplyRequest-source" : for src.requester as v then sprRequest(v, tgt) "SupplyRequest-date" : for src.authoredOn make tgt.date "SupplyRequest-identifier" : for src.identifier make tgt.identifier "SupplyRequest-status" : for src.status make tgt.status "SupplyRequest-kind" : for src.category make tgt.kind "SupplyRequest-orderedItem" : for src.orderedItem make tgt.orderedItem "SupplyRequest-supplier" : for src.supplier make tgt.supplier "SupplyRequest-reason" : for src.reason make tgt.reason "SupplyRequest-when" : for src.occurrence as vs0 make tgt.when as vt0, vt0.schedule = vs0"SupplyRequest-patient" : for src.extension as e where e.url = 'http://hl7.org/fhir/SupplyRequest-r2-patient' make tgt.patient = (e.value) "SupplyRequest-source" : for src.requester as v then sprRequest(v, tgt) "SupplyRequest-date" : for src.authoredOn make tgt.date "SupplyRequest-identifier" : for src.identifier make tgt.identifier "SupplyRequest-status" : for src.status make tgt.status "SupplyRequest-kind" : for src.category make tgt.kind "SupplyRequest-orderedItem" : for src.orderedItem make tgt.orderedItem "SupplyRequest-supplier" : for src.supplier make tgt.supplier "SupplyRequest-reason" : for src.reason make tgt.reason "SupplyRequest-when" : for src.occurrence as vs0 make tgt.when as vt0, vt0.schedule = vs0 endgroup group sprRequest extends BackboneElement input src as source input tgt as target"SupplyRequest.source-agent" : for src.avent make tgt.source"SupplyRequest.source-agent" : for src.avent make tgt.source endgroup