WHO Digital Documentation of COVID-19 Certificates (DDCC)
1.0.0 - CI Build International flag

WHO Digital Documentation of COVID-19 Certificates (DDCC) - Local Development build (v1.0.0). See the Directory of published versions

StructureMap: BundleVSToAddBundle

Official URL: http://smart.who.int/ddcc/StructureMap/BundleVSToAddBundle Version: 1.0.0
Draft as of 2024-01-19 Computable Name: BundleVSToAddBundle
map "http://smart.who.int/ddcc/StructureMap/BundleVSToAddBundle" = "BundleVSToAddBundle"


uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias DDCCBundle as source
uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias AddBundle as target

imports "http://smart.who.int/ddcc/StructureMap/CoreDataSetVSToAddBundle"

group BundleVSToAddBundle(source ddccbundle : DDCCBundle, target bundle : AddBundle) {
  ddccbundle.entry first as ddcc -> bundle then CoreDataSetVSToAddBundle(ddcc, bundle) "get first entry from bundle";
}