This page is part of the FHIR Specification (v3.0.2: STU 3). 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
FHIR Infrastructure Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Not linked to any defined compartments |
R2 : R3 Converson maps for Subscription.
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/Subscription2to3" = "R2 to R3 Conversions for Subscription"
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Subscription" alias SubscriptionR2 as source
uses "http://hl7.org/fhir/StructureDefinition/Subscription" alias Subscription as target
imports "http://hl7.org/fhir/StructureMap/primitives2to3"
imports "http://hl7.org/fhir/StructureMap/DomainResource2to3"
imports "http://hl7.org/fhir/StructureMap/ContactPoint2to3"
imports "http://hl7.org/fhir/StructureMap/Coding2to3"
group for type+types Subscription extends DomainResource
input src : SubscriptionR2 as source
input tgt : Subscription as target
"Subscription-criteria" : for src.criteria make tgt.criteria
"Subscription-contact" : for src.contact make tgt.contact
"Subscription-reason" : for src.reason make tgt.reason
"Subscription-status" : for src.status make tgt.status
"Subscription-error" : for src.error make tgt.error
"Subscription-channel" : for src.channel as vs0 make tgt.channel as vt0 then {
"Subscription.channel-type" : for vs0.type make vt0.type
"Subscription.channel-endpoint" : for vs0.endpoint make vt0.endpoint
"Subscription.channel-payload" : for vs0.payload make vt0.payload
"Subscription.channel-header" : for vs0.header make vt0.header
}
"Subscription-end" : for src.end make tgt.end
"Subscription-tag" : for src.tag make tgt.tag
endgroup
map "http://hl7.org/fhir/StructureMap/Subscription3to2" = "R3 to R2 Conversion for Subscription"
uses "http://hl7.org/fhir/StructureDefinition/Subscription" alias Subscription as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Subscription" alias SubscriptionR2 as target
imports "http://hl7.org/fhir/StructureMap/primitives3to2"
imports "http://hl7.org/fhir/StructureMap/DomainResource3to2"
imports "http://hl7.org/fhir/StructureMap/ContactPoint3to2"
imports "http://hl7.org/fhir/StructureMap/Coding3to2"
group for type+types Subscription extends DomainResource
input src : Subscription as source
input tgt : SubscriptionR2 as target
"Subscription-criteria" : for src.criteria make tgt.criteria
"Subscription-contact" : for src.contact make tgt.contact
"Subscription-reason" : for src.reason make tgt.reason
"Subscription-status" : for src.status make tgt.status
"Subscription-error" : for src.error make tgt.error
"Subscription-channel" : for src.channel as vs0 make tgt.channel as vt0 then {
"Subscription.channel-type" : for vs0.type make vt0.type
"Subscription.channel-endpoint" : for vs0.endpoint make vt0.endpoint
"Subscription.channel-payload" : for vs0.payload make vt0.payload
"Subscription.channel-header" : for vs0.header make vt0.header
}
"Subscription-end" : for src.end make tgt.end
"Subscription-tag" : for src.tag make tgt.tag
endgroup