WHO Immunization Implementation Guide
0.1.0 - CI Build
WHO Immunization Implementation Guide, published by World Health Organization (WHO). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-immunizations and changes regularly. See the Directory of published versions
Official URL: http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD5LMToResources | Version: 0.1.0 | |||
Draft as of 2024-05-30 | Computable Name: IMMZD5LMToResources |
map "http://smart.who.int/ig/smart-immunizations/StructureMap/IMMZD5LMToResources" = "IMMZD5LMToResources" uses "http://smart.who.int/ig/smart-immunizations/StructureDefinition/IMMZD5CheckContraindications" alias IMMZD5 as source uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as target group IMMZD5ToBundle(source immz : IMMZD5, target bundle : Bundle) { immz -> bundle.type = 'collection' "SetCollection"; immz.patient as patient then { immz.contraindications as ci -> bundle.entry as entry, entry.resource = create('Condition') as condition then { patient -> condition.subject = patient "SetPatient"; ci -> condition.clinicalStatus = 'active' "SetStatus"; ci -> condition.code as code then { ci -> code.coding = ci "SetCoding"; } "SetCode"; } "SetCondition"; } "GetPatient"; }