WHO SMART Guidelines - Measles Immunization
0.1.0 - ci-build

WHO SMART Guidelines - Measles Immunization, published by 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-example-immz and changes regularly. See the Directory of published versions

StructureMap:

Official URL: http://smart.who.int/immunizations-measles/StructureMap/IMMZD4QRToLM Version: 0.1.0
Draft as of 2024-08-12 Computable Name: IMMZD4QRToLM

Immunization - Administer Vaccine - Extract QuestionnaireResponse to logical model

Generated Narrative: StructureMap IMMZD4QRToLM

map "http://smart.who.int/immunizations-measles/StructureMap/IMMZD4QRToLM" = "IMMZD4QRToLM"

// Immunization - Administer Vaccine - Extract QuestionnaireResponse to logical model

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QResp as source
uses "http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD4CheckContraindicationsMeasles" alias IMMZD4 as target

group QRespToIMMZD4(source qr : QResp, target immz : IMMZD4) {
  qr.subject as patient -> immz.patient = patient "SetPatient";
  qr.item as item where linkId = 'contraindications' then {
    item.answer as answer then {
      answer.value as val -> immz.contraindications = val "SetContraindication";
    } "SetContraindicationAnswer";
  } "processItems";
}