This
page
is
part
of
the
FHIR
Specification
(v3.0.2:
STU
3).
(v3.5.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
:
R4
Conversion
maps
for
SupplyRequest.
Functional
status
for
this
map:
1
test
that
all
of
which
1
fail
to
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/SupplyRequest3to4" = "R3 to R4 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 targetimports "http://hl7.org/fhir/StructureMap/*2to3"uses "http://hl7.org/fhir/3.0/StructureDefinition/SupplyRequest" alias SupplyRequestR3 as source uses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" alias SupplyRequest as targetgroup for type+types SupplyRequest extends DomainResource input src : SupplyRequestR2 as sourceimports "http://hl7.org/fhir/StructureMap/*3to4" group SupplyRequest extends DomainResource input src : SupplyRequestR3 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.identifier": for src.identifier make tgt.identifier "SupplyRequest.status": for src.status make tgt.status "SupplyRequest.category": for src.category make tgt.category "SupplyRequest.priority": for src.priority make tgt.priority "SupplyRequest.item": for src.item make tgt.item "SupplyRequest.quantity": for src.quantity make tgt.quantity "SupplyRequest.parameter": for src.parameter as s make tgt.parameter as t then SupplyRequestParameter(s,t) "SupplyRequest.occurrence": for src.occurrence make tgt.occurrence "SupplyRequest.authoredOn": for src.authoredOn make tgt.authoredOn "SupplyRequest.requester": for src.requester make tgt.requester "SupplyRequest.supplier": for src.supplier make tgt.supplier "SupplyRequest.reasonCode": for src.reasonCode make tgt.reasonCode "SupplyRequest.reasonReference": for src.reasonReference make tgt.reasonReference "SupplyRequest.deliverFrom": for src.deliverFrom make tgt.deliverFrom "SupplyRequest.deliverTo": for src.deliverTo make tgt.deliverTo endgroupgroup srWhen extends BackboneElement input src as source input tgt as target"SupplyRequest.when-schedule" : for src.schedule make tgt.occurrence endgroupgroup SupplyRequestParameter extends BackboneElement input src : SupplyRequestR3 as source input tgt : SupplyRequest as target "SupplyRequest.parameter.code": for src.code make tgt.code "SupplyRequest.parameter.value": for src.value make tgt.value endgroup
map "http://hl7.org/fhir/StructureMap/SupplyRequest3to2" = "R3 to R2 Conversion for SupplyRequest"map "http://hl7.org/fhir/StructureMap/SupplyRequest4to3" = "R4 to R3 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 targetimports "http://hl7.org/fhir/StructureMap/*3to2"uses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" alias SupplyRequest as source uses "http://hl7.org/fhir/3.0/StructureDefinition/SupplyRequest" alias SupplyRequestR3 as targetgroup for type+types SupplyRequest extends DomainResource input src : SupplyRequest as source input tgt : SupplyRequestR2 as targetimports "http://hl7.org/fhir/StructureMap/*4to3""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 endgroupgroup sprRequest extends BackboneElement input src as source input tgt as target"SupplyRequest.source-agent" : for src.avent make tgt.sourcegroup SupplyRequest extends DomainResource input src : SupplyRequestR3 as source input tgt : SupplyRequest as target "SupplyRequest.identifier": for src.identifier make tgt.identifier "SupplyRequest.status": for src.status make tgt.status "SupplyRequest.category": for src.category make tgt.category "SupplyRequest.priority": for src.priority make tgt.priority "SupplyRequest.item": for src.item make tgt.item "SupplyRequest.quantity": for src.quantity make tgt.quantity "SupplyRequest.parameter": for src.parameter as s make tgt.parameter as t then SupplyRequestParameter(s,t) "SupplyRequest.occurrence": for src.occurrence make tgt.occurrence "SupplyRequest.authoredOn": for src.authoredOn make tgt.authoredOn "SupplyRequest.requester": for src.requester make tgt.requester "SupplyRequest.supplier": for src.supplier make tgt.supplier "SupplyRequest.reasonCode": for src.reasonCode make tgt.reasonCode "SupplyRequest.reasonReference": for src.reasonReference make tgt.reasonReference "SupplyRequest.deliverFrom": for src.deliverFrom make tgt.deliverFrom "SupplyRequest.deliverTo": for src.deliverTo make tgt.deliverTo endgroup group SupplyRequestParameter extends BackboneElement input src : SupplyRequestR3 as source input tgt : SupplyRequest as target "SupplyRequest.parameter.code": for src.code make tgt.code "SupplyRequest.parameter.value": for src.value make tgt.value endgroup