SMART Product Dataset for Prequalified Vaccines
0.2.0 - ci-build

SMART Product Dataset for Prequalified Vaccines, published by WHO. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-pcmt-vaxprequal/ and changes regularly. See the Directory of published versions

StructureMap: PreQualDBtoProductLM

Official URL: http://smart.who.int/icvp/StructureMap/PreQualDBtoProductLM Version: 0.2.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";
}