SMART Product Dataset for Prequalified Vaccines
0.1.0 - release

This page is part of the SMART Product Dataset for Prequalified Vaccines (v0.1.0: Releases Draft) 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

StructureMap: PreQualDBtoProductLM

Official URL: http://smart.who.int/icvp/StructureMap/PreQualDBtoProductLM Version: 0.1.0
Draft as of 2025-07-01 Computable Name: PreQualDBtoProductLM
/// url = 'http://smart.who.int/icvp/StructureMap/PreQualDBtoProductLM'
/// name = 'PreQualDBtoProductLM'
/// status = 'draft'

uses "http://smart.who.int/icvp/StructureDefinition/PreQualDBwithIds" alias PreQualDB as source
uses "http://smart.who.int/icvp/StructureDefinition/Product" alias Product as target

group PreQualDBtoProductLM(source prequal : PreQualDB, target product : Product) {
  prequal.number as number -> product.number = number "set prod num";
  prequal.commercialName as name -> product.name = name "set prod name";
  prequal.index as index -> product.identifier = id('https://extranet.who.int/prequal/vaccines/prequalified-vaccines', index) "set product id";
  prequal.numDoses as numDoses then {
    product.doseQuantity as dq -> dq.value = numDoses "set number of doses";
  } "set num dose";
  product.unitOfUse as uou then {
    uou.coding as coding -> coding.code = 'doses' "set doses unit";
  } "set num doses";
  prequal.manufacturerReference as manufacturerReference -> product.manufacturer = manufacturerReference "set manufacturer reference";
  prequal.manufacturer as manufacturer then {
    product.manufacturer as man -> man.text = manufacturer "set mnf";
  } "set man";
  prequal.vaxTypeCode as vaxTypeCode -> product.classification = vaxTypeCode "set vaccine type as product clasification";
  prequal.presentation as presentation -> product.dosageForm = presentation "set presentation";
}