This page is part of the FHIR Specification (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
Patient Administration Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Patient, Practitioner |
R3 : R4 Conversion maps for EpisodeOfCare.
Functional status for this map: 1 test that all execute ok. 1 fail round-trip testing and 1 r3 resources are invalid (0 errors). (see documentation)
map "http://hl7.org/fhir/StructureMap/EpisodeOfCare3to4" = "R3 to R4 Conversions for EpisodeOfCare" uses "http://hl7.org/fhir/3.0/StructureDefinition/EpisodeOfCare" alias EpisodeOfCareR3 as source uses "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" alias EpisodeOfCare as target imports "http://hl7.org/fhir/StructureMap/*3to4" group EpisodeOfCare extends DomainResource input src : EpisodeOfCareR3 as source input tgt : EpisodeOfCare as target "EpisodeOfCare.identifier" : for src.identifier as vs make tgt.identifier as vt "EpisodeOfCare.status" : for src.status as vs make tgt.status as vt "EpisodeOfCare.statusHistory" : for src.statusHistory as vs0 make tgt.statusHistory as vt0 then { "EpisodeOfCare.statusHistory.status" : for vs0.status as vs make vt0.status as vt "EpisodeOfCare.statusHistory.period" : for vs0.period as vs make vt0.period as vt } "EpisodeOfCare.type" : for src.type as vs make tgt.type as vt "EpisodeOfCare.patient" : for src.patient as vs make tgt.patient as vt "EpisodeOfCare.managingOrganization" : for src.managingOrganization as vs make tgt.managingOrganization as vt "EpisodeOfCare.period" : for src.period as vs make tgt.period as vt "EpisodeOfCare.referralRequest" : for src.referralRequest as vs make tgt.referralRequest as vt "EpisodeOfCare.careManager" : for src.careManager as vs make tgt.careManager as vt "EpisodeOfCare.team" : for src.team as vs make tgt.team as vt "EpisodeOfCare.account" : for src.account as vs make tgt.account as vt endgroup
map "http://hl7.org/fhir/StructureMap/EpisodeOfCare4to3" = "R4 to R3 Conversion for EpisodeOfCare" uses "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" alias EpisodeOfCare as source uses "http://hl7.org/fhir/3.0/StructureDefinition/EpisodeOfCare" alias EpisodeOfCareR3 as target imports "http://hl7.org/fhir/StructureMap/*4to3" group EpisodeOfCare extends DomainResource input src : EpisodeOfCare as source input tgt : EpisodeOfCareR3 as target "EpisodeOfCare.identifier" : for src.identifier as vs make tgt.identifier as vt "EpisodeOfCare.status" : for src.status as vs make tgt.status as vt "EpisodeOfCare.statusHistory" : for src.statusHistory as vs0 make tgt.statusHistory as vt0 then { "EpisodeOfCare.statusHistory.status" : for vs0.status as vs make vt0.status as vt "EpisodeOfCare.statusHistory.period" : for vs0.period as vs make vt0.period as vt } "EpisodeOfCare.type" : for src.type as vs make tgt.type as vt "EpisodeOfCare.patient" : for src.patient as vs make tgt.patient as vt "EpisodeOfCare.managingOrganization" : for src.managingOrganization as vs make tgt.managingOrganization as vt "EpisodeOfCare.period" : for src.period as vs make tgt.period as vt "EpisodeOfCare.referralRequest" : for src.referralRequest as vs make tgt.referralRequest as vt "EpisodeOfCare.careManager" : for src.careManager as vs make tgt.careManager as vt "EpisodeOfCare.team" : for src.team as vs make tgt.team as vt "EpisodeOfCare.account" : for src.account as vs make tgt.account as vt endgroup