This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
Public Health and Emergency Response Work Group | Maturity Level: N/A | Standards Status: Informative | Security Category: N/A | Compartments: N/A |
Following are maps for converting between the equivalent R4B resource and this R5 resource.
/// url = 'http://hl7.org/fhir/StructureMap/Immunization5to4' /// name = 'Immunization5to4' /// title = 'FML Conversion for Immunization: R5 to R4' /// status = 'active' uses "http://hl7.org/fhir/StructureDefinition/Immunization" alias ImmunizationR5 as source uses "http://hl7.org/fhir/4.0/StructureDefinition/Immunization" alias ImmunizationR4 as target imports "http://hl7.org/fhir/StructureMap/*5to4" group Immunization(source src : ImmunizationR5, target tgt : ImmunizationR4) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status -> tgt.status; // src.basedOn -> tgt.basedOn; src.statusReason -> tgt.statusReason; src.vaccineCode -> tgt.vaccineCode; src.manufacturer -> tgt.manufacturer; // src.administeredProduct -> tgt.administeredProduct; src.lotNumber -> tgt.lotNumber; src.expirationDate -> tgt.expirationDate; src.patient -> tgt.patient; src.encounter -> tgt.encounter; src.occurrence : dateTime -> tgt.occurrence; // src.supportingInformation -> tgt.supportingInformation; src.occurrence : string -> tgt.occurrence; src.primarySource -> tgt.primarySource; src.location -> tgt.location; // src.informationSource -> tgt.informationSource; src.site -> tgt.site; src.route -> tgt.route; src.doseQuantity -> tgt.doseQuantity; src.performer as s -> tgt.performer as t then ImmunizationPerformer(s, t); src.note -> tgt.note; src.reason -> tgt.reasonCode; src.reason -> tgt.reasonReference; src.isSubpotent -> tgt.isSubpotent; src.subpotentReason -> tgt.subpotentReason; src.programEligibility as s -> tgt then { s.program -> tgt.programEligibility; }; src.fundingSource -> tgt.fundingSource; src.reaction as s -> tgt.reaction as t then ImmunizationReaction(s, t); src.protocolApplied as s -> tgt.protocolApplied as t then ImmunizationProtocolApplied(s, t); } group ImmunizationPerformer(source src, target tgt) extends BackboneElement { src.function -> tgt.function; src.actor -> tgt.actor; } // group ImmunizationProgramEligibility(source src, target tgt) extends BackboneElement { // src.program -> tgt.program; // src.programStatus -> tgt.programStatus; // } group ImmunizationReaction(source src, target tgt) extends BackboneElement { src.date -> tgt.date; src.manifestation -> tgt.detail; src.reported -> tgt.reported; } group ImmunizationProtocolApplied(source src, target tgt) extends BackboneElement { src.series -> tgt.series; src.authority -> tgt.authority; src.targetDisease -> tgt.targetDisease; src.doseNumber -> tgt.doseNumber; src.seriesDoses -> tgt.seriesDoses; }
/// url = 'http://hl7.org/fhir/StructureMap/Immunization5to4B' /// name = 'Immunization5to4B' /// title = 'FML Conversion for Immunization: R5 to R4B' /// status = 'active' uses "http://hl7.org/fhir/StructureDefinition/Immunization" alias ImmunizationR5 as source uses "http://hl7.org/fhir/4.3/StructureDefinition/Immunization" alias ImmunizationR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group Immunization(source src : ImmunizationR5, target tgt : ImmunizationR4B) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status -> tgt.status; // src.basedOn -> tgt.basedOn; src.statusReason -> tgt.statusReason; src.vaccineCode -> tgt.vaccineCode; src.manufacturer -> tgt.manufacturer; // src.administeredProduct -> tgt.administeredProduct; src.lotNumber -> tgt.lotNumber; src.expirationDate -> tgt.expirationDate; src.patient -> tgt.patient; src.encounter -> tgt.encounter; src.occurrence : dateTime -> tgt.occurrence; // src.supportingInformation -> tgt.supportingInformation; src.occurrence : string -> tgt.occurrence; src.primarySource -> tgt.primarySource; src.location -> tgt.location; // src.informationSource -> tgt.informationSource; src.site -> tgt.site; src.route -> tgt.route; src.doseQuantity -> tgt.doseQuantity; src.performer as s -> tgt.performer as t then ImmunizationPerformer(s, t); src.note -> tgt.note; src.reason -> tgt.reasonCode; src.reason -> tgt.reasonReference; src.isSubpotent -> tgt.isSubpotent; src.subpotentReason -> tgt.subpotentReason; src.programEligibility as s -> tgt then { s.program -> tgt.programEligibility; }; src.fundingSource -> tgt.fundingSource; src.reaction as s -> tgt.reaction as t then ImmunizationReaction(s, t); src.protocolApplied as s -> tgt.protocolApplied as t then ImmunizationProtocolApplied(s, t); } group ImmunizationPerformer(source src, target tgt) extends BackboneElement { src.function -> tgt.function; src.actor -> tgt.actor; } // group ImmunizationProgramEligibility(source src, target tgt) extends BackboneElement { // src.program -> tgt.program; // src.programStatus -> tgt.programStatus; // } group ImmunizationReaction(source src, target tgt) extends BackboneElement { src.date -> tgt.date; src.manifestation -> tgt.detail; src.reported -> tgt.reported; } group ImmunizationProtocolApplied(source src, target tgt) extends BackboneElement { src.series -> tgt.series; src.authority -> tgt.authority; src.targetDisease -> tgt.targetDisease; src.doseNumber -> tgt.doseNumber; src.seriesDoses -> tgt.seriesDoses; }
/// url = 'http://hl7.org/fhir/StructureMap/Immunization4Bto5' /// name = 'Immunization4Bto5' /// title = 'FML Conversion for Immunization: R4B to R5' /// status = 'active' uses "http://hl7.org/fhir/4.3/StructureDefinition/Immunization" alias ImmunizationR4B as source uses "http://hl7.org/fhir/StructureDefinition/Immunization" alias ImmunizationR5 as target imports "http://hl7.org/fhir/StructureMap/*4Bto5" group Immunization(source src : ImmunizationR4B, target tgt : ImmunizationR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status -> tgt.status; // src.basedOn -> tgt.basedOn; src.statusReason -> tgt.statusReason; src.vaccineCode -> tgt.vaccineCode; src.manufacturer -> tgt.manufacturer; // src.administeredProduct -> tgt.administeredProduct; src.lotNumber -> tgt.lotNumber; src.expirationDate -> tgt.expirationDate; src.patient -> tgt.patient; src.encounter -> tgt.encounter; src.occurrence : dateTime -> tgt.occurrence; // src.supportingInformation -> tgt.supportingInformation; src.occurrence : string -> tgt.occurrence; src.primarySource -> tgt.primarySource; src.location -> tgt.location; // src.informationSource -> tgt.informationSource; src.site -> tgt.site; src.route -> tgt.route; src.doseQuantity -> tgt.doseQuantity; src.performer as s -> tgt.performer as t then ImmunizationPerformer(s, t); src.note -> tgt.note; src.reasonCode -> tgt.reason; src.reasonReference -> tgt.reason; src.isSubpotent -> tgt.isSubpotent; src.subpotentReason -> tgt.subpotentReason; src.programEligibility as s -> tgt.programEligibility as t, t.program = s; src.fundingSource -> tgt.fundingSource; src.reaction as s -> tgt.reaction as t then ImmunizationReaction(s, t); src.protocolApplied as s -> tgt.protocolApplied as t then ImmunizationProtocolApplied(s, t); } group ImmunizationPerformer(source src, target tgt) extends BackboneElement { src.function -> tgt.function; src.actor -> tgt.actor; } // group ImmunizationProgramEligibility(source src, target tgt) extends BackboneElement { // src.program -> tgt.program; // src.programStatus -> tgt.programStatus; // } group ImmunizationReaction(source src, target tgt) extends BackboneElement { src.date -> tgt.date; src.detail -> tgt.manifestation; src.reported -> tgt.reported; } group ImmunizationProtocolApplied(source src, target tgt) extends BackboneElement { src.series -> tgt.series; src.authority -> tgt.authority; src.targetDisease -> tgt.targetDisease; src.doseNumber : string -> tgt.doseNumber; src.seriesDoses : string -> tgt.seriesDoses; }
/// url = 'http://hl7.org/fhir/StructureMap/Immunization4to5' /// name = 'Immunization4to5' /// title = 'FML Conversion for Immunization: R4 to R5' /// status = 'active' uses "http://hl7.org/fhir/4.0/StructureDefinition/Immunization" alias ImmunizationR4 as source uses "http://hl7.org/fhir/StructureDefinition/Immunization" alias ImmunizationR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group Immunization(source src : ImmunizationR4, target tgt : ImmunizationR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status -> tgt.status; // src.basedOn -> tgt.basedOn; src.statusReason -> tgt.statusReason; src.vaccineCode -> tgt.vaccineCode; src.manufacturer -> tgt.manufacturer; // src.administeredProduct -> tgt.administeredProduct; src.lotNumber -> tgt.lotNumber; src.expirationDate -> tgt.expirationDate; src.patient -> tgt.patient; src.encounter -> tgt.encounter; src.occurrence : dateTime -> tgt.occurrence; // src.supportingInformation -> tgt.supportingInformation; src.occurrence : string -> tgt.occurrence; src.primarySource -> tgt.primarySource; src.location -> tgt.location; // src.informationSource -> tgt.informationSource; src.site -> tgt.site; src.route -> tgt.route; src.doseQuantity -> tgt.doseQuantity; src.performer as s -> tgt.performer as t then ImmunizationPerformer(s, t); src.note -> tgt.note; src.reasonCode -> tgt.reason; src.reasonReference -> tgt.reason; src.isSubpotent -> tgt.isSubpotent; src.subpotentReason -> tgt.subpotentReason; src.programEligibility as s -> tgt.programEligibility as t, t.program = s; src.fundingSource -> tgt.fundingSource; src.reaction as s -> tgt.reaction as t then ImmunizationReaction(s, t); src.protocolApplied as s -> tgt.protocolApplied as t then ImmunizationProtocolApplied(s, t); } group ImmunizationPerformer(source src, target tgt) extends BackboneElement { src.function -> tgt.function; src.actor -> tgt.actor; } // group ImmunizationProgramEligibility(source src, target tgt) extends BackboneElement { // src.program -> tgt.program; // src.programStatus -> tgt.programStatus; // } group ImmunizationReaction(source src, target tgt) extends BackboneElement { src.date -> tgt.date; src.detail -> tgt.manifestation; src.reported -> tgt.reported; } group ImmunizationProtocolApplied(source src, target tgt) extends BackboneElement { src.series -> tgt.series; src.authority -> tgt.authority; src.targetDisease -> tgt.targetDisease; src.doseNumber : string -> tgt.doseNumber; src.seriesDoses : string -> tgt.seriesDoses; }