FHIR Extensions Pack v5.1.0-snapshot1 (2024-03-12)

This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: N/A Compartments: N/A

Following are maps for converting between the equivalent R4B data type and this R5 data type.

Maps to ProductShelfLife

FML Conversion for ProductShelfLife: R5 to R4 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/ProductShelfLife5to4'
/// name = 'ProductShelfLife5to4'
/// title = 'FML Conversion for ProductShelfLife: R5 to R4'
/// status = 'active'

uses "http://hl7.org/fhir/StructureDefinition/ProductShelfLife" alias ProductShelfLifeR5 as source
uses "http://hl7.org/fhir/4.0/StructureDefinition/ProductShelfLife" alias ProductShelfLifeR4 as target

imports "http://hl7.org/fhir/StructureMap/*5to4"

group ProductShelfLife(source src : ProductShelfLifeR5, target tgt : ProductShelfLifeR4) extends Element <<type+>> {
  src.modifierExtension -> tgt.modifierExtension;
  src.type -> tgt.type;
  src.period : Duration -> tgt.period;
  src.specialPrecautionsForStorage -> tgt.specialPrecautionsForStorage; // src.period : string -> tgt.period;
}

FML Conversion for ProductShelfLife: R5 to R4B (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/ProductShelfLife5to4B'
/// name = 'ProductShelfLife5to4B'
/// title = 'FML Conversion for ProductShelfLife: R5 to R4B'
/// status = 'active'

uses "http://hl7.org/fhir/StructureDefinition/ProductShelfLife" alias ProductShelfLifeR5 as source
uses "http://hl7.org/fhir/4.3/StructureDefinition/ProductShelfLife" alias ProductShelfLifeR4B as target

imports "http://hl7.org/fhir/StructureMap/*5to4B"

group ProductShelfLife(source src : ProductShelfLifeR5, target tgt : ProductShelfLifeR4B) extends Element <<type+>> {
  src.modifierExtension -> tgt.modifierExtension;
  src.type -> tgt.type;
  src.period : Duration -> tgt.period;
  src.specialPrecautionsForStorage -> tgt.specialPrecautionsForStorage; // src.period : string -> tgt.period;
}

Maps from ProductShelfLife

FML Conversion for ProductShelfLife: R4B to R5 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/ProductShelfLife4Bto5'
/// name = 'ProductShelfLife4Bto5'
/// title = 'FML Conversion for ProductShelfLife: R4B to R5'
/// status = 'active'

uses "http://hl7.org/fhir/4.3/StructureDefinition/ProductShelfLife" alias ProductShelfLifeR4B as source
uses "http://hl7.org/fhir/StructureDefinition/ProductShelfLife" alias ProductShelfLifeR5 as target

imports "http://hl7.org/fhir/StructureMap/*4Bto5"

group ProductShelfLife(source src : ProductShelfLifeR4B, target tgt : ProductShelfLifeR5) extends Element <<type+>> {
  src.modifierExtension -> tgt.modifierExtension;
  src.type -> tgt.type;
  src.period : Quantity -> tgt.period;
  src.specialPrecautionsForStorage -> tgt.specialPrecautionsForStorage; // src.period : string -> tgt.period;
}

FML Conversion for ProductShelfLife: R4 to R5 (Ready for Use/Trial Use)

/// url = 'http://hl7.org/fhir/StructureMap/ProductShelfLife4to5'
/// name = 'ProductShelfLife4to5'
/// title = 'FML Conversion for ProductShelfLife: R4 to R5'
/// status = 'active'

uses "http://hl7.org/fhir/4.0/StructureDefinition/ProductShelfLife" alias ProductShelfLifeR4 as source
uses "http://hl7.org/fhir/StructureDefinition/ProductShelfLife" alias ProductShelfLifeR5 as target

imports "http://hl7.org/fhir/StructureMap/*4to5"

group ProductShelfLife(source src : ProductShelfLifeR4, target tgt : ProductShelfLifeR5) extends Element <<type+>> {
  src.modifierExtension -> tgt.modifierExtension;
  src.type -> tgt.type;
  src.period : Quantity -> tgt.period;
  src.specialPrecautionsForStorage -> tgt.specialPrecautionsForStorage; // src.period : string -> tgt.period;
}