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

This is the continuous build for version 1.0.0. This version is based on the current content of https://github.com/WorldHealthOrganization/ddcc and changes regularly.

StructureMap: BundleVSToAddBundle

Official URL: http://smart.who.int/ddcc/StructureMap/BundleVSToAddBundle Version: 1.0.0
Draft as of 2024-04-24 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";