WHO Immunization Implementation Guide
0.2.0 - ci-build

WHO Immunization Implementation Guide, 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-immunizations/ and changes regularly. See the Directory of published versions

: IMMZ.Helpers - TTL Representation

Draft as of 2026-07-07

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/IMMZ.Helpers> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "IMMZ.Helpers"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap IMMZ.Helpers</b></p><a name=\"IMMZ.Helpers\"> </a><a name=\"hcIMMZ.Helpers\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers<span style=\"color: navy\">\" = \"</span>IMMZ.Helpers<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Immunization - Transform QuestionnaireResponse to Logical Model Helper groups</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/questionnaireresponse.html\" title=\"QuestionnaireResponse\">http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse</a><span style=\"color: navy\">\" </span><b>alias </b>QResp <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/bundle.html\" title=\"Bundle\">http://hl7.org/fhir/StructureDefinition/Bundle</a><span style=\"color: navy\">\" </span><b>alias </b>Bundle <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>ItemToValue<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">item</span>, <b>target</b> <span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  item.answer first<b> as </b><span style=\"color: maroon\">answer</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    answer.value<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span>field.value = <span style=\"color: maroon\">content</span> <i>\"SetValue\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"FirstAnswer\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>ItemToCode<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">item</span>, <b>target</b> <span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  item.answer first<b> as </b><span style=\"color: maroon\">answer</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    answer.value<b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      coding.code<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span>field.value = <span style=\"color: maroon\">content</span> <i>\"SetCode\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"Coding\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"FirstAnswer\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>ItemToCoding<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">item</span>, <b>target</b> <span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  item.answer first<b> as </b><span style=\"color: maroon\">answer</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    answer.value<b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      coding.code<b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\"><b> -&gt; </b></span>field.code = <span style=\"color: maroon\">code</span> <i>\"SetCode\"</i><span style=\"color: navy\">;</span>#xD;\n      coding.system<b> as </b><span style=\"color: maroon\">system</span><span style=\"color: navy\"><b> -&gt; </b></span>field.system = <span style=\"color: maroon\">system</span> <i>\"SetSystem\"</i><span style=\"color: navy\">;</span>#xD;\n      coding.display<b> as </b><span style=\"color: maroon\">display</span><span style=\"color: navy\"><b> -&gt; </b></span>field.display = <span style=\"color: maroon\">display</span> <i>\"SetDisplay\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"Coding\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"FirstAnswer\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>D1andD13Questions<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">qr</span><span style=\"color: navy\"> : </span>QResp, <b>target</b> <span style=\"color: maroon\">immz</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'birthDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.birthDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"birthDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'completedThePrimaryVaccinationSeries'<span style=\"color: navy\"><b> -&gt; </b></span>immz.completedThePrimaryVaccinationSeries<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"completedThePrimaryVaccinationSeries\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'completedTheBoosterSeries'<span style=\"color: navy\"><b> -&gt; </b></span>immz.completedTheBoosterSeries<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"completedTheBoosterSeries\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'dateWhenPrimaryVaccinationSeriesWasCompleted'<span style=\"color: navy\"><b> -&gt; </b></span>immz.dateWhenPrimaryVaccinationSeriesWasCompleted<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"dateWhenPrimaryVaccinationSeriesWasCompleted\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'hivStatus'<span style=\"color: navy\"><b> -&gt; </b></span>immz.hivStatus<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"hivStatus\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfPoliovirusDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfPoliovirusDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfPoliovirusDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfJeDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfJeDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfJeDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfTbeDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfTbeDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfTbeDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfTyphoidDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfTyphoidDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfTyphoidDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfCholeraDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfCholeraDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfCholeraDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfMeningococcalDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfMeningococcalDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfMeningococcalDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfHepatitisADose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfHepatitisADose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfHepatitisADose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfHepatitisBDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfHepatitisBDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfHepatitisBDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'vaccineType'<span style=\"color: navy\"><b> -&gt; </b></span>immz.vaccineType<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"vaccineType\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'dateAndTimeOfVaccination'<span style=\"color: navy\"><b> -&gt; </b></span>immz.dateAndTimeOfVaccination<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"dateAndTimeOfVaccination\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'contactDate'<span style=\"color: navy\"><b> -&gt; </b></span>immz.contactDate<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"contactDate\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'ancContactNumber'<span style=\"color: navy\"><b> -&gt; </b></span>immz.ancContactNumber<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"ancContactNumber\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'doseNumber'<span style=\"color: navy\"><b> -&gt; </b></span>immz.doseNumber<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"doseNumber\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>D1Questions<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">qr</span><span style=\"color: navy\"> : </span>QResp, <b>target</b> <span style=\"color: maroon\">immz</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'pretermBirth'<span style=\"color: navy\"><b> -&gt; </b></span>immz.pretermBirth<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"pretermBirth\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'immunocompromised'<span style=\"color: navy\"><b> -&gt; </b></span>immz.immunocompromised<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"immunocompromised\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'currentlyOnArt'<span style=\"color: navy\"><b> -&gt; </b></span>immz.currentlyOnArt<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"currentlyOnArt\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'currentlyOnArt'<span style=\"color: navy\"><b> -&gt; </b></span>immz.currentlyOnArt<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"currentlyOnArt\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'typeOfTbInfectionTestPerformed'<span style=\"color: navy\"><b> -&gt; </b></span>immz.typeOfTbInfectionTestPerformed<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"typeOfTbInfectionTestPerformed\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'tbInfectionTestResult'<span style=\"color: navy\"><b> -&gt; </b></span>immz.tbInfectionTestResult<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"tbInfectionTestResult\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'immunologicallyStable'<span style=\"color: navy\"><b> -&gt; </b></span>immz.immunologicallyStable<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"immunologicallyStable\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'clinicallyWell'<span style=\"color: navy\"><b> -&gt; </b></span>immz.clinicallyWell<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"clinicallyWell\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'birthWeightInGrams'<span style=\"color: navy\"><b> -&gt; </b></span>immz.birthWeightInGrams<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"birthWeightInGrams\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'artStartDate'<span style=\"color: navy\"><b> -&gt; </b></span>immz.artStartDate<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"artStartDate\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'highRiskOfPneumococcalInfection'<span style=\"color: navy\"><b> -&gt; </b></span>immz.highRiskOfPneumococcalInfection<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"highRiskOfPneumococcalInfection\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'ageInMonthsWhenClientReceivedFirstMeningococcalDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.ageInMonthsWhenClientReceivedFirstMeningococcalDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"ageInMonthsWhenClientReceivedFirstMeningococcalDose\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'vnaLevel'<span style=\"color: navy\"><b> -&gt; </b></span>immz.vnaLevel<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"vnaLevel\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'riskOfOccupationalExposureToRabiesVirus'<span style=\"color: navy\"><b> -&gt; </b></span>immz.riskOfOccupationalExposureToRabiesVirus<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"riskOfOccupationalExposureToRabiesVirus\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'dengueSerostatus'<span style=\"color: navy\"><b> -&gt; </b></span>immz.dengueSerostatus<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"dengueSerostatus\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>D13Questions<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">qr</span><span style=\"color: navy\"> : </span>QResp, <b>target</b> <span style=\"color: maroon\">immz</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'immunizationEventStatus'<span style=\"color: navy\"><b> -&gt; </b></span>immz.immunizationEventStatus<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"immunizationEventStatus\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'reasonVaccineWasNotAdministered'<span style=\"color: navy\"><b> -&gt; </b></span>immz.reasonVaccineWasNotAdministered<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"reasonVaccineWasNotAdministered\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'vaccineBrand'<span style=\"color: navy\"><b> -&gt; </b></span>immz.vaccineBrand<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"vaccineBrand\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'liveVaccine'<span style=\"color: navy\"><b> -&gt; </b></span>immz.liveVaccine<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"liveVaccine\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'countryOfVaccination'<span style=\"color: navy\"><b> -&gt; </b></span>immz.countryOfVaccination<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"countryOfVaccination\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'administrativeArea'<span style=\"color: navy\"><b> -&gt; </b></span>immz.administrativeArea<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"administrativeArea\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'vaccineManufacturer'<span style=\"color: navy\"><b> -&gt; </b></span>immz.vaccineManufacturer<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"vaccineManufacturer\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'vaccineBatchNumber'<span style=\"color: navy\"><b> -&gt; </b></span>immz.vaccineBatchNumber<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"vaccineBatchNumber\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'vaccineMarketAuthorizationHolder'<span style=\"color: navy\"><b> -&gt; </b></span>immz.vaccineMarketAuthorizationHolder<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"vaccineMarketAuthorizationHolder\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'expirationDate'<span style=\"color: navy\"><b> -&gt; </b></span>immz.expirationDate<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"expirationDate\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'doseQuantity'<span style=\"color: navy\"><b> -&gt; </b></span>immz.doseQuantity<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"doseQuantity\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'healthWorkerIdentifier'<span style=\"color: navy\"><b> -&gt; </b></span>immz.healthWorkerIdentifier<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"healthWorkerIdentifier\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'totalDosesInSeries'<span style=\"color: navy\"><b> -&gt; </b></span>immz.totalDosesInSeries<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"totalDosesInSeries\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'diseaseTargeted'<span style=\"color: navy\"><b> -&gt; </b></span>immz.diseaseTargeted<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToCoding<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"diseaseTargeted\"</i><span style=\"color: navy\">;</span>#xD;\n  qr.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'dueDateOfNextDose'<span style=\"color: navy\"><b> -&gt; </b></span>immz.dueDateOfNextDose<b> as </b><span style=\"color: maroon\">field</span><b> then </b>ItemToValue<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">field</span><span style=\"color: navy\">)</span> <i>\"dueDateOfNextDose\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>MakeImmzObservation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">patient</span><span style=\"color: navy\"> : </span>Reference, <b>source</b> <span style=\"color: maroon\">immid</span>, <b>source</b> <span style=\"color: maroon\">code</span><span style=\"color: navy\"> : </span>Coding, <b>source</b> <span style=\"color: maroon\">cat</span><span style=\"color: navy\"> : </span>Coding, <b>source</b> <span style=\"color: maroon\">value</span>, <b>target</b> <span style=\"color: maroon\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  value<span style=\"color: navy\"><b> -&gt; </b></span> <b>uuid</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">oid</span><span style=\"color: navy\">, </span> bundle.entry<b> as </b><span style=\"color: maroon\">entry</span><span style=\"color: navy\">, </span> entry.fullUrl = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'urn:uuid:'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">oid</span><span style=\"color: navy\">)</span><span style=\"color: navy\">, </span> entry.request<b> as </b><span style=\"color: maroon\">request</span><span style=\"color: navy\">, </span> request.method = <span style=\"color: blue\">'PUT'</span><span style=\"color: navy\">, </span> request.url = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Observation/'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">oid</span><span style=\"color: navy\">)</span><span style=\"color: navy\">, </span> entry.resource = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Observation'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obs</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    value<span style=\"color: navy\"><b> -&gt; </b></span>obs.id = <span style=\"color: maroon\">oid</span> <i>\"SetId\"</i><span style=\"color: navy\">;</span>#xD;\n    immid<span style=\"color: navy\"><b> -&gt; </b></span> obs.partOf<b> as </b><span style=\"color: maroon\">partOf</span><span style=\"color: navy\">, </span> partOf.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'urn:uuid:'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">)</span> <i>\"SetPartOf\"</i><span style=\"color: navy\">;</span>#xD;\n    patient<span style=\"color: navy\"><b> -&gt; </b></span>obs.subject = <span style=\"color: maroon\">patient</span> <i>\"SetSubject\"</i><span style=\"color: navy\">;</span>#xD;\n    code<span style=\"color: navy\"><b> -&gt; </b></span>obs.code = <span style=\"color: maroon\">code</span> <i>\"SetCode\"</i><span style=\"color: navy\">;</span>#xD;\n    value<span style=\"color: navy\"><b> -&gt; </b></span>obs.value = <span style=\"color: maroon\">value</span> <i>\"SetValue\"</i><span style=\"color: navy\">;</span>#xD;\n    cat<span style=\"color: navy\"><b> -&gt; </b></span>obs.category = <span style=\"color: maroon\">cat</span> <i>\"SetCategory\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"CreateObservation\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>MakeObservation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">patient</span><span style=\"color: navy\"> : </span>Reference, <b>source</b> <span style=\"color: maroon\">code</span><span style=\"color: navy\"> : </span>Coding, <b>source</b> <span style=\"color: maroon\">cat</span><span style=\"color: navy\"> : </span>Coding, <b>source</b> <span style=\"color: maroon\">value</span>, <b>target</b> <span style=\"color: maroon\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  value<span style=\"color: navy\"><b> -&gt; </b></span> <b>uuid</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">oid</span><span style=\"color: navy\">, </span> bundle.entry<b> as </b><span style=\"color: maroon\">entry</span><span style=\"color: navy\">, </span> entry.fullUrl = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'urn:uuid:'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">oid</span><span style=\"color: navy\">)</span><span style=\"color: navy\">, </span> entry.request<b> as </b><span style=\"color: maroon\">request</span><span style=\"color: navy\">, </span> request.method = <span style=\"color: blue\">'PUT'</span><span style=\"color: navy\">, </span> request.url = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Observation/'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">oid</span><span style=\"color: navy\">)</span><span style=\"color: navy\">, </span> entry.resource = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Observation'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obs</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    value<span style=\"color: navy\"><b> -&gt; </b></span>obs.id = <span style=\"color: maroon\">oid</span> <i>\"SetId\"</i><span style=\"color: navy\">;</span>#xD;\n    patient<span style=\"color: navy\"><b> -&gt; </b></span>obs.subject = <span style=\"color: maroon\">patient</span> <i>\"SetSubject\"</i><span style=\"color: navy\">;</span>#xD;\n    code<span style=\"color: navy\"><b> -&gt; </b></span>obs.code = <span style=\"color: maroon\">code</span> <i>\"SetCode\"</i><span style=\"color: navy\">;</span>#xD;\n    value<span style=\"color: navy\"><b> -&gt; </b></span>obs.value = <span style=\"color: maroon\">value</span> <i>\"SetValue\"</i><span style=\"color: navy\">;</span>#xD;\n    cat<span style=\"color: navy\"><b> -&gt; </b></span>obs.category = <span style=\"color: maroon\">cat</span> <i>\"SetCategory\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"CreateObservation\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">typeof</span><span style=\"color: navy\"> : </span>Coding, <b>target</b> <span style=\"color: maroon\">ext</span><span style=\"color: navy\"> : </span>Extension<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  typeof<span style=\"color: navy\"><b> -&gt; </b></span>ext.url = <span style=\"color: blue\">'http://smart.who.int/immunizations/StructureDefinition/IMMZTypeOfDose'</span> <i>\"SetURL\"</i><span style=\"color: navy\">;</span>#xD;\n  typeof<span style=\"color: navy\"><b> -&gt; </b></span>ext.value = <span style=\"color: maroon\">typeof</span> <i>\"SetValue\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>MakeImmunization<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">patient</span><span style=\"color: navy\"> : </span>Reference, <b>source</b> <span style=\"color: maroon\">immid</span>, <b>source</b> <span style=\"color: maroon\">immz</span>, <b>target</b> <span style=\"color: maroon\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  immz.vaccineType<b> as </b><span style=\"color: maroon\">vaccineCode</span><span style=\"color: navy\"><b> -&gt; </b></span> bundle.entry<b> as </b><span style=\"color: maroon\">entry</span><span style=\"color: navy\">, </span> entry.fullUrl = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'urn:uuid:'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">)</span><span style=\"color: navy\">, </span> entry.request<b> as </b><span style=\"color: maroon\">request</span><span style=\"color: navy\">, </span> request.method = <span style=\"color: blue\">'PUT'</span><span style=\"color: navy\">, </span> request.url = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Immunization/'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">)</span><span style=\"color: navy\">, </span> entry.resource = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Immunization'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">imm</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    <span style=\"color: navy\">// </span><span style=\"color: green\">D1 and D13</span>#xD;\n    immid<span style=\"color: navy\"><b> -&gt; </b></span>imm.id = <span style=\"color: maroon\">immid</span> <i>\"SetId\"</i><span style=\"color: navy\">;</span>#xD;\n    patient<span style=\"color: navy\"><b> -&gt; </b></span>imm.patient = <span style=\"color: maroon\">patient</span> <i>\"SetPatient\"</i><span style=\"color: navy\">;</span>#xD;\n    vaccineCode<span style=\"color: navy\"><b> -&gt; </b></span>imm.vaccineCode = <span style=\"color: maroon\">vaccineCode</span> <i>\"vaccineCode\"</i><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfDose<b> as </b><span style=\"color: maroon\">typeOfDose</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.protocolApplied<b> as </b><span style=\"color: maroon\">pa</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      typeOfDose.code<b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\"><b> -&gt; </b></span>pa.series = <span style=\"color: maroon\">code</span> <i>\"SetSeriesToCode\"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">if display is missing</span>#xD;\n      typeOfDose.display<b> as </b><span style=\"color: maroon\">display</span><span style=\"color: navy\"><b> -&gt; </b></span>pa.series = <span style=\"color: maroon\">display</span> <i>\"SetSeriesToDisplay\"</i><span style=\"color: navy\">;</span>#xD;\n      immz.doseNumber<b> as </b><span style=\"color: maroon\">doseNumber</span><span style=\"color: navy\"><b> -&gt; </b></span>pa.doseNumber = <span style=\"color: maroon\">doseNumber</span> <i>\"SetDoseNumber\"</i><span style=\"color: navy\">;</span>#xD;\n      immz.totalDosesInSeries<b> as </b><span style=\"color: maroon\">totalDoses</span><span style=\"color: navy\"><b> -&gt; </b></span>pa.seriesDoses = <span style=\"color: maroon\">totalDoses</span><span style=\"color: navy\">;</span>#xD;\n      immz.diseaseTargeted<b> as </b><span style=\"color: maroon\">disease</span><span style=\"color: navy\"><b> -&gt; </b></span>pa.targetDisease = <span style=\"color: maroon\">disease</span><span style=\"color: navy\">;</span>#xD;\n      immz.dueDateOfNextDose<b> as </b><span style=\"color: maroon\">duedate</span><span style=\"color: navy\"><b> -&gt; </b></span> pa.extension<b> as </b><span style=\"color: maroon\">ext</span><span style=\"color: navy\">, </span> ext.url = <span style=\"color: blue\">'http://smart.who.int/immunizations/StructureDefinition/IMMZDueDateOfNextDose'</span><span style=\"color: navy\">, </span> ext.value = <span style=\"color: maroon\">duedate</span><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"protocolApplied\"</i><span style=\"color: navy\">;</span>#xD;\n    immz.dateAndTimeOfVaccination<b> as </b><span style=\"color: maroon\">occurrence</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.occurrence = <span style=\"color: maroon\">occurrence</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfPoliovirusDose<b> as </b><span style=\"color: maroon\">typeof</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><span style=\"color: maroon\">typeof</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ext</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfJeDose<b> as </b><span style=\"color: maroon\">typeof</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><span style=\"color: maroon\">typeof</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ext</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfTbeDose<b> as </b><span style=\"color: maroon\">typeof</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><span style=\"color: maroon\">typeof</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ext</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfTyphoidDose<b> as </b><span style=\"color: maroon\">typeof</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><span style=\"color: maroon\">typeof</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ext</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfCholeraDose<b> as </b><span style=\"color: maroon\">typeof</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><span style=\"color: maroon\">typeof</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ext</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfMeningococcalDose<b> as </b><span style=\"color: maroon\">typeof</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><span style=\"color: maroon\">typeof</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ext</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfHepatitisADose<b> as </b><span style=\"color: maroon\">typeof</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><span style=\"color: maroon\">typeof</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ext</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfHepatitisBDose<b> as </b><span style=\"color: maroon\">typeof</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then </b>TypeOfVaccineDose<span style=\"color: navy\">(</span><span style=\"color: maroon\">typeof</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ext</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">// </span><span style=\"color: green\">D1</span>#xD;\n    immz<span style=\"color: navy\"><b> -&gt; </b></span>imm.status = <span style=\"color: blue\">'completed'</span> <i>\"SetDefaultStatus\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">// </span><span style=\"color: green\">D13</span>#xD;\n    immz.immunizationEventStatus<b> as </b><span style=\"color: maroon\">status</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">status</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://smart.who.int/immunizations/ConceptMap/IMMZ.D.ConceptMap'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.reasonVaccineWasNotAdministered<b> as </b><span style=\"color: maroon\">reason</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.statusReason = <span style=\"color: maroon\">reason</span><span style=\"color: navy\">;</span>#xD;\n    immz.vaccineBrand<b> as </b><span style=\"color: maroon\">brand</span><span style=\"color: navy\"><b> -&gt; </b></span> imm.extension<b> as </b><span style=\"color: maroon\">ext</span><span style=\"color: navy\">, </span> ext.url = <span style=\"color: blue\">'http://smart.who.int/immunizations/StructureDefinition/IMMZVaccineBrand'</span><span style=\"color: navy\">, </span> ext.value = <span style=\"color: maroon\">brand</span><span style=\"color: navy\">;</span>#xD;\n    immz.liveVaccine<b> as </b><span style=\"color: maroon\">live</span><span style=\"color: navy\"><b> -&gt; </b></span> imm.extension<b> as </b><span style=\"color: maroon\">ext</span><span style=\"color: navy\">, </span> ext.url = <span style=\"color: blue\">'http://smart.who.int/immunizations/StructureDefinition/IMMZLiveVaccine'</span><span style=\"color: navy\">, </span> ext.value = <span style=\"color: maroon\">live</span><span style=\"color: navy\">;</span>#xD;\n    immz.countryOfVaccination<b> as </b><span style=\"color: maroon\">country</span><span style=\"color: navy\"><b> -&gt; </b></span> imm.extension<b> as </b><span style=\"color: maroon\">ext</span><span style=\"color: navy\">, </span> ext.url = <span style=\"color: blue\">'http://smart.who.int/immunizations/StructureDefinition/IMMZCountryOfVaccination'</span><span style=\"color: navy\">, </span> ext.value = <span style=\"color: maroon\">country</span><span style=\"color: navy\">;</span>#xD;\n    immz.administrativeArea<b> as </b><span style=\"color: maroon\">area</span><span style=\"color: navy\"><b> -&gt; </b></span> imm.extension<b> as </b><span style=\"color: maroon\">ext</span><span style=\"color: navy\">, </span> ext.url = <span style=\"color: blue\">'http://smart.who.int/immunizations/StructureDefinition/IMMZAdministrativeArea'</span><span style=\"color: navy\">, </span> ext.value = <span style=\"color: maroon\">area</span><span style=\"color: navy\">;</span>#xD;\n    immz.vaccineManufacturer<b> as </b><span style=\"color: maroon\">vman</span><span style=\"color: navy\"><b> -&gt; </b></span> imm.manufacturer<b> as </b><span style=\"color: maroon\">manufacturer</span><span style=\"color: navy\">, </span> manufacturer.identifier<b> as </b><span style=\"color: maroon\">identifier</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      vman.system<b> as </b><span style=\"color: maroon\">system</span><span style=\"color: navy\"><b> -&gt; </b></span>identifier.system = <span style=\"color: maroon\">system</span> <i>\"SetSystem\"</i><span style=\"color: navy\">;</span>#xD;\n      vman.code<b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\"><b> -&gt; </b></span>identifier.value = <span style=\"color: maroon\">code</span> <i>\"SetValue\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>#xD;\n    immz.vaccineBatchNumber<b> as </b><span style=\"color: maroon\">batch</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.lotNumber = <span style=\"color: maroon\">batch</span><span style=\"color: navy\">;</span>#xD;\n    immz.vaccineMarketAuthorizationHolder<b> as </b><span style=\"color: maroon\">market</span><span style=\"color: navy\"><b> -&gt; </b></span> imm.extension<b> as </b><span style=\"color: maroon\">ext</span><span style=\"color: navy\">, </span> ext.url = <span style=\"color: blue\">'http://smart.who.int/immunizations/StructureDefinition/IMMZMarketAuthorization'</span><span style=\"color: navy\">, </span> ext.value = <span style=\"color: maroon\">market</span><span style=\"color: navy\">;</span>#xD;\n    immz.expirationDate<b> as </b><span style=\"color: maroon\">expiration</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.expirationDate = <span style=\"color: maroon\">expiration</span><span style=\"color: navy\">;</span>#xD;\n    immz.doseQuantity<b> as </b><span style=\"color: maroon\">dosequantity</span><span style=\"color: navy\"><b> -&gt; </b></span>imm.doseQuantity = <span style=\"color: maroon\">dosequantity</span><span style=\"color: navy\">;</span>#xD;\n    immz.healthWorkerIdentifier<b> as </b><span style=\"color: maroon\">hw</span><span style=\"color: navy\"><b> -&gt; </b></span> imm.performer<b> as </b><span style=\"color: maroon\">performer</span><span style=\"color: navy\">, </span> performer.actor<b> as </b><span style=\"color: maroon\">actor</span><span style=\"color: navy\">, </span> actor.identifier<b> as </b><span style=\"color: maroon\">identifier</span><span style=\"color: navy\">, </span> identifier.value = <span style=\"color: maroon\">hw</span><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"MakeImmunization\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>D1andD13Observations<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">patient</span><span style=\"color: navy\"> : </span>Reference, <b>source</b> <span style=\"color: maroon\">immid</span>, <b>source</b> <span style=\"color: maroon\">immz</span>, <b>target</b> <span style=\"color: maroon\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  immz<span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/observation-category'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'survey'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Survey'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">survey</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    immz.birthDose<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE263'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Birth dose'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.completedThePrimaryVaccinationSeries<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE203'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Completed the primary vaccination series'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.completedTheBoosterSeries<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE257'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Completed the booster series'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.dateWhenPrimaryVaccinationSeriesWasCompleted<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE242'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Date when primary vaccination series was completed'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.hivStatus<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE204'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'HIV status'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.contactDate<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE201'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Contact date'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.ancContactNumber<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE202'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'ANC contact number'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"DefineCategory\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>D1Observations<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">patient</span><span style=\"color: navy\"> : </span>Reference, <b>source</b> <span style=\"color: maroon\">immid</span>, <b>source</b> <span style=\"color: maroon\">immz</span>, <b>target</b> <span style=\"color: maroon\">bundle</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  immz<span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/observation-category'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'survey'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Survey'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">survey</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    immz.pretermBirth<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE208'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Preterm birth'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.immunocompromised<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE209'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Immunocompromised'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.currentlyOnArt<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE210'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Currently on ART'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.typeOfTbInfectionTestPerformed<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE243'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Type of TB infection test performed'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.tbInfectionTestResult<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE246'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'TB infection test result'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.immunologicallyStable<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE249'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Immunologically stable'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.clinicallyWell<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE250'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Clinically well'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.birthWeightInGrams<b> as </b><span style=\"color: maroon\">value</span><span style=\"color: navy\"><b> -&gt; </b></span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span> content.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> content.code = <span style=\"color: blue\">'g'</span><span style=\"color: navy\">, </span> content.unit = <span style=\"color: blue\">'g'</span><span style=\"color: navy\">, </span> content.value = <span style=\"color: maroon\">value</span><span style=\"color: navy\">, </span> <b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'8339-4'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Birth weight Measured'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">bwloinc</span><span style=\"color: navy\">, </span> <b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE211'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Birth weight in grams'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">bwdak</span><span style=\"color: navy\">, </span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span> code.coding = <span style=\"color: maroon\">bwloinc</span><span style=\"color: navy\">, </span> code.coding = <span style=\"color: maroon\">bwdak</span><span style=\"color: navy\">, </span> <b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/observation-category'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'vital-signs'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Vital Signs'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vital</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vital</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.artStartDate<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE215'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'ART start date'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.highRiskOfPneumococcalInfection<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE251'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'High risk of pneumococcal infection'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.ageInMonthsWhenClientReceivedFirstMeningococcalDose<b> as </b><span style=\"color: maroon\">value</span><span style=\"color: navy\"><b> -&gt; </b></span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span> content.unit = <span style=\"color: blue\">'mo'</span><span style=\"color: navy\">, </span> content.value = <span style=\"color: maroon\">value</span><span style=\"color: navy\">, </span> <b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE236'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Age in months when client received first meningococcal dose'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.vnaLevel<b> as </b><span style=\"color: maroon\">value</span><span style=\"color: navy\"><b> -&gt; </b></span> <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span> content.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> content.code = <span style=\"color: blue\">'[IU]/mL'</span><span style=\"color: navy\">, </span> content.unit = <span style=\"color: blue\">'[IU]/mL'</span><span style=\"color: navy\">, </span> content.value = <span style=\"color: maroon\">value</span><span style=\"color: navy\">, </span> <b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE240'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'VNA level'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.riskOfOccupationalExposureToRabiesVirus<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE253'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Risk of occupational exposure to rabies virus'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n    immz.dengueSerostatus<b> as </b><span style=\"color: maroon\">content</span><span style=\"color: navy\"><b> -&gt; </b></span><b>c</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/immunizations/CodeSystem/IMMZ.D'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'DE241'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Dengue serostatus'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">code</span><b> then </b>MakeImmzObservation<span style=\"color: navy\">(</span><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">immid</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">survey</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">content</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">bundle</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"DefineCategory\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"
  ] ;
  fhir:StructureMap.url [ fhir:value "http://smart.who.int/immunizations/StructureMap/IMMZ.Helpers"] ;
  fhir:StructureMap.version [ fhir:value "0.2.0"] ;
  fhir:StructureMap.name [ fhir:value "IMMZ.Helpers"] ;
  fhir:StructureMap.status [ fhir:value "draft"] ;
  fhir:StructureMap.date [ fhir:value "2026-07-07T22:09:13+00:00"^^xsd:dateTime] ;
  fhir:StructureMap.publisher [ fhir:value "WHO"] ;
  fhir:StructureMap.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "WHO" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://who.int" ]
     ]
  ] ;
  fhir:StructureMap.description [ fhir:value "Immunization - Transform QuestionnaireResponse to Logical Model Helper groups"] ;
  fhir:StructureMap.structure [
     fhir:index 0 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "QResp" ]
  ], [
     fhir:index 1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Bundle" ]
  ] ;
  fhir:StructureMap.group [
     fhir:index 0 ;
     fhir:StructureMap.group.name [ fhir:value "ItemToValue" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "item" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "field" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "FirstAnswer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "answer" ] ;
         fhir:StructureMap.group.rule.source.listMode [ fhir:value "first" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "answer" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetValue" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "answer" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "field" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "content" ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:StructureMap.group.name [ fhir:value "ItemToCode" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "item" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "field" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "FirstAnswer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "answer" ] ;
         fhir:StructureMap.group.rule.source.listMode [ fhir:value "first" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "answer" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "Coding" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "answer" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "coding" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetCode" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "field" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "content" ]
             ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index 2 ;
     fhir:StructureMap.group.name [ fhir:value "ItemToCoding" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "item" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "field" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "FirstAnswer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "answer" ] ;
         fhir:StructureMap.group.rule.source.listMode [ fhir:value "first" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "answer" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "Coding" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "answer" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "coding" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetCode" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "field" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetSystem" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "system" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "field" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetDisplay" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "display" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "field" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
             ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index 3 ;
     fhir:StructureMap.group.name [ fhir:value "D1andD13Questions" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "qr" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "QResp" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "immz" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "birthDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'birthDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "birthDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "completedThePrimaryVaccinationSeries" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'completedThePrimaryVaccinationSeries'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "completedThePrimaryVaccinationSeries" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "completedTheBoosterSeries" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'completedTheBoosterSeries'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "completedTheBoosterSeries" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "dateWhenPrimaryVaccinationSeriesWasCompleted" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'dateWhenPrimaryVaccinationSeriesWasCompleted'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "dateWhenPrimaryVaccinationSeriesWasCompleted" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "hivStatus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'hivStatus'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "hivStatus" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfPoliovirusDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfPoliovirusDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfPoliovirusDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfJeDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfJeDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfJeDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfTbeDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfTbeDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfTbeDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfTyphoidDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfTyphoidDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfTyphoidDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfCholeraDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfCholeraDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfCholeraDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfMeningococcalDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfMeningococcalDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfMeningococcalDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfHepatitisADose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfHepatitisADose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfHepatitisADose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfHepatitisBDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfHepatitisBDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfHepatitisBDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "vaccineType" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'vaccineType'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "vaccineType" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 15 ;
       fhir:StructureMap.group.rule.name [ fhir:value "dateAndTimeOfVaccination" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'dateAndTimeOfVaccination'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "dateAndTimeOfVaccination" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 16 ;
       fhir:StructureMap.group.rule.name [ fhir:value "contactDate" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'contactDate'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "contactDate" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 17 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ancContactNumber" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'ancContactNumber'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "ancContactNumber" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 18 ;
       fhir:StructureMap.group.rule.name [ fhir:value "doseNumber" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'doseNumber'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "doseNumber" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ]
  ], [
     fhir:index 4 ;
     fhir:StructureMap.group.name [ fhir:value "D1Questions" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "qr" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "QResp" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "immz" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "pretermBirth" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'pretermBirth'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "pretermBirth" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "immunocompromised" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'immunocompromised'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "immunocompromised" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "currentlyOnArt" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'currentlyOnArt'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "currentlyOnArt" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "currentlyOnArt" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'currentlyOnArt'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "currentlyOnArt" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "typeOfTbInfectionTestPerformed" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'typeOfTbInfectionTestPerformed'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "typeOfTbInfectionTestPerformed" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "tbInfectionTestResult" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'tbInfectionTestResult'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "tbInfectionTestResult" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "immunologicallyStable" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'immunologicallyStable'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "immunologicallyStable" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "clinicallyWell" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'clinicallyWell'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "clinicallyWell" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "birthWeightInGrams" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'birthWeightInGrams'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "birthWeightInGrams" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "artStartDate" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'artStartDate'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "artStartDate" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "highRiskOfPneumococcalInfection" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'highRiskOfPneumococcalInfection'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "highRiskOfPneumococcalInfection" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ageInMonthsWhenClientReceivedFirstMeningococcalDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'ageInMonthsWhenClientReceivedFirstMeningococcalDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "ageInMonthsWhenClientReceivedFirstMeningococcalDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "vnaLevel" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'vnaLevel'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "vnaLevel" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "riskOfOccupationalExposureToRabiesVirus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'riskOfOccupationalExposureToRabiesVirus'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "riskOfOccupationalExposureToRabiesVirus" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "dengueSerostatus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'dengueSerostatus'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "dengueSerostatus" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ]
  ], [
     fhir:index 5 ;
     fhir:StructureMap.group.name [ fhir:value "D13Questions" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "qr" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "QResp" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "immz" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "immunizationEventStatus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'immunizationEventStatus'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "immunizationEventStatus" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reasonVaccineWasNotAdministered" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'reasonVaccineWasNotAdministered'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reasonVaccineWasNotAdministered" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "vaccineBrand" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'vaccineBrand'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "vaccineBrand" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "liveVaccine" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'liveVaccine'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "liveVaccine" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "countryOfVaccination" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'countryOfVaccination'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "countryOfVaccination" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "administrativeArea" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'administrativeArea'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "administrativeArea" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "vaccineManufacturer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'vaccineManufacturer'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "vaccineManufacturer" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "vaccineBatchNumber" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'vaccineBatchNumber'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "vaccineBatchNumber" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "vaccineMarketAuthorizationHolder" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'vaccineMarketAuthorizationHolder'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "vaccineMarketAuthorizationHolder" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "expirationDate" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'expirationDate'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "expirationDate" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "doseQuantity" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'doseQuantity'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "doseQuantity" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "healthWorkerIdentifier" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'healthWorkerIdentifier'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "healthWorkerIdentifier" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "totalDosesInSeries" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'totalDosesInSeries'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "totalDosesInSeries" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "diseaseTargeted" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'diseaseTargeted'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "diseaseTargeted" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToCoding" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "dueDateOfNextDose" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "qr" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = 'dueDateOfNextDose'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "dueDateOfNextDose" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "field" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ItemToValue" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "item" ;
           fhir:index 0
         ], [
           fhir:value "field" ;
           fhir:index 1
         ]
       ]
     ]
  ], [
     fhir:index 6 ;
     fhir:StructureMap.group.name [ fhir:value "MakeImmzObservation" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Reference" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "immid" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Coding" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "cat" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Coding" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "value" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "CreateObservation" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "value" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "oid" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "entry" ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "urn:uuid:" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "oid" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
         ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "oid" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetId" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "value" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "oid" ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetPartOf" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immid" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "partOf" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "partOf" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "urn:uuid:" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "immid" ]
           ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetSubject" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "patient" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "patient" ]
           ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetCode" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "code" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
           ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetValue" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "value" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "value" ]
           ]
         ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetCategory" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cat" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "category" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "cat" ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index 7 ;
     fhir:StructureMap.group.name [ fhir:value "MakeObservation" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Reference" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Coding" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "cat" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Coding" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "value" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "CreateObservation" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "value" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "oid" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "entry" ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "urn:uuid:" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "oid" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
         ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "oid" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetId" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "value" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "oid" ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetSubject" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "patient" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "patient" ]
           ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetCode" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "code" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
           ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetValue" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "value" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "value" ]
           ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetCategory" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cat" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "category" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "cat" ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index 8 ;
     fhir:StructureMap.group.name [ fhir:value "TypeOfVaccineDose" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "typeof" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Coding" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "ext" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Extension" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetURL" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "typeof" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/StructureDefinition/IMMZTypeOfDose" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "SetValue" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "typeof" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "typeof" ]
         ]
       ]
     ]
  ], [
     fhir:index 9 ;
     fhir:StructureMap.group.name [ fhir:value "MakeImmunization" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Reference" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "immid" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "immz" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "MakeImmunization" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "vaccineType" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vaccineCode" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "entry" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "urn:uuid:" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "immid" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Immunization/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "immid" ]
         ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "imm" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Immunization" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetId" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immid" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "immid" ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetPatient" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "patient" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "patient" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "patient" ]
           ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.name [ fhir:value "vaccineCode" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "vaccineCode" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "vaccineCode" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "vaccineCode" ]
           ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.name [ fhir:value "protocolApplied" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeOfDose" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "protocolApplied" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "pa" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetSeriesToCode" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "typeOfDose" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "pa" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "series" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "if display is missing" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetSeriesToDisplay" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "typeOfDose" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "display" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "pa" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "series" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetDoseNumber" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "doseNumber" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "doseNumber" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "pa" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "doseNumber" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "doseNumber" ]
             ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "totalDosesInSeries" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "totalDosesInSeries" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "totalDoses" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "pa" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "seriesDoses" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "totalDoses" ]
             ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.name [ fhir:value "diseaseTargeted" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "diseaseTargeted" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "disease" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "pa" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "targetDisease" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "disease" ]
             ]
           ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.name [ fhir:value "dueDateOfNextDose" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "dueDateOfNextDose" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "duedate" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "pa" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/StructureDefinition/IMMZDueDateOfNextDose" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "duedate" ]
             ]
           ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.name [ fhir:value "dateAndTimeOfVaccination" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "dateAndTimeOfVaccination" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "occurrence" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "occurrence" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "occurrence" ]
           ]
         ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfPoliovirusDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfPoliovirusDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeof" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "TypeOfVaccineDose" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "typeof" ;
             fhir:index 0
           ], [
             fhir:value "ext" ;
             fhir:index 1
           ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfJeDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfJeDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeof" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "TypeOfVaccineDose" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "typeof" ;
             fhir:index 0
           ], [
             fhir:value "ext" ;
             fhir:index 1
           ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfTbeDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfTbeDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeof" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "TypeOfVaccineDose" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "typeof" ;
             fhir:index 0
           ], [
             fhir:value "ext" ;
             fhir:index 1
           ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfTyphoidDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfTyphoidDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeof" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "TypeOfVaccineDose" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "typeof" ;
             fhir:index 0
           ], [
             fhir:value "ext" ;
             fhir:index 1
           ]
         ]
       ], [
         fhir:index 9 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfCholeraDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfCholeraDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeof" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "TypeOfVaccineDose" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "typeof" ;
             fhir:index 0
           ], [
             fhir:value "ext" ;
             fhir:index 1
           ]
         ]
       ], [
         fhir:index 10 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfMeningococcalDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfMeningococcalDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeof" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "TypeOfVaccineDose" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "typeof" ;
             fhir:index 0
           ], [
             fhir:value "ext" ;
             fhir:index 1
           ]
         ]
       ], [
         fhir:index 11 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfHepatitisADose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfHepatitisADose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeof" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "TypeOfVaccineDose" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "typeof" ;
             fhir:index 0
           ], [
             fhir:value "ext" ;
             fhir:index 1
           ]
         ]
       ], [
         fhir:index 12 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfHepatitisBDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfHepatitisBDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "typeof" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "TypeOfVaccineDose" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "typeof" ;
             fhir:index 0
           ], [
             fhir:value "ext" ;
             fhir:index 1
           ]
         ]
       ], [
         fhir:index 13 ;
         fhir:StructureMap.group.rule.name [ fhir:value "SetDefaultStatus" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "completed" ]
           ]
         ]
       ], [
         fhir:index 14 ;
         fhir:StructureMap.group.rule.name [ fhir:value "immunizationEventStatus" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "immunizationEventStatus" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "status" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/ConceptMap/IMMZ.D.ConceptMap" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "code" ]
           ]
         ]
       ], [
         fhir:index 15 ;
         fhir:StructureMap.group.rule.name [ fhir:value "reasonVaccineWasNotAdministered" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "reasonVaccineWasNotAdministered" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "reason" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "statusReason" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "reason" ]
           ]
         ]
       ], [
         fhir:index 16 ;
         fhir:StructureMap.group.rule.name [ fhir:value "vaccineBrand" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "vaccineBrand" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "brand" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/StructureDefinition/IMMZVaccineBrand" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "brand" ]
           ]
         ]
       ], [
         fhir:index 17 ;
         fhir:StructureMap.group.rule.name [ fhir:value "liveVaccine" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "liveVaccine" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "live" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/StructureDefinition/IMMZLiveVaccine" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "live" ]
           ]
         ]
       ], [
         fhir:index 18 ;
         fhir:StructureMap.group.rule.name [ fhir:value "countryOfVaccination" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "countryOfVaccination" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "country" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/StructureDefinition/IMMZCountryOfVaccination" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "country" ]
           ]
         ]
       ], [
         fhir:index 19 ;
         fhir:StructureMap.group.rule.name [ fhir:value "administrativeArea" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "administrativeArea" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "area" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/StructureDefinition/IMMZAdministrativeArea" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "area" ]
           ]
         ]
       ], [
         fhir:index 20 ;
         fhir:StructureMap.group.rule.name [ fhir:value "vaccineManufacturer" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "vaccineManufacturer" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vman" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "manufacturer" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "manufacturer" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetSystem" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vman" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "system" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SetValue" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "vman" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
             ]
           ]
         ]
       ], [
         fhir:index 21 ;
         fhir:StructureMap.group.rule.name [ fhir:value "vaccineBatchNumber" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "vaccineBatchNumber" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "batch" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "lotNumber" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "batch" ]
           ]
         ]
       ], [
         fhir:index 22 ;
         fhir:StructureMap.group.rule.name [ fhir:value "vaccineMarketAuthorizationHolder" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "vaccineMarketAuthorizationHolder" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "market" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/StructureDefinition/IMMZMarketAuthorization" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "market" ]
           ]
         ]
       ], [
         fhir:index 23 ;
         fhir:StructureMap.group.rule.name [ fhir:value "expirationDate" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "expirationDate" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "expiration" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "expirationDate" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "expiration" ]
           ]
         ]
       ], [
         fhir:index 24 ;
         fhir:StructureMap.group.rule.name [ fhir:value "doseQuantity" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "doseQuantity" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "dosequantity" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "doseQuantity" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "dosequantity" ]
           ]
         ]
       ], [
         fhir:index 25 ;
         fhir:StructureMap.group.rule.name [ fhir:value "healthWorkerIdentifier" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "healthWorkerIdentifier" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "hw" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "imm" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "performer" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "performer" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "actor" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "actor" ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "actor" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "hw" ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index 10 ;
     fhir:StructureMap.group.name [ fhir:value "D1andD13Observations" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Reference" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "immid" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "immz" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "DefineCategory" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "survey" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "survey" ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Survey" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "birthDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "birthDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE263" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Birth dose" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "completedThePrimaryVaccinationSeries" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "completedThePrimaryVaccinationSeries" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE203" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Completed the primary vaccination series" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.name [ fhir:value "completedTheBoosterSeries" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "completedTheBoosterSeries" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE257" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Completed the booster series" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.name [ fhir:value "dateWhenPrimaryVaccinationSeriesWasCompleted" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "dateWhenPrimaryVaccinationSeriesWasCompleted" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE242" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Date when primary vaccination series was completed" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.name [ fhir:value "hivStatus" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "hivStatus" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE204" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "HIV status" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.name [ fhir:value "contactDate" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "contactDate" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE201" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Contact date" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.name [ fhir:value "ancContactNumber" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "ancContactNumber" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE202" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ANC contact number" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ]
     ]
  ], [
     fhir:index 11 ;
     fhir:StructureMap.group.name [ fhir:value "D1Observations" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Reference" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "immid" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "immz" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "DefineCategory" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "survey" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "survey" ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Survey" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "pretermBirth" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "pretermBirth" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE208" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Preterm birth" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "immunocompromised" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "immunocompromised" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE209" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Immunocompromised" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.name [ fhir:value "currentlyOnArt" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "currentlyOnArt" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE210" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Currently on ART" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.name [ fhir:value "typeOfTbInfectionTestPerformed" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "typeOfTbInfectionTestPerformed" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE243" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Type of TB infection test performed" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.name [ fhir:value "tbInfectionTestResult" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "tbInfectionTestResult" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE246" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "TB infection test result" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.name [ fhir:value "immunologicallyStable" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "immunologicallyStable" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE249" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Immunologically stable" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.name [ fhir:value "clinicallyWell" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "clinicallyWell" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE250" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Clinically well" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.name [ fhir:value "birthWeightInGrams" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "birthWeightInGrams" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://unitsofmeasure.org" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "g" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "g" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "value" ]
           ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "bwloinc" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://loinc.org" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "8339-4" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Birth weight Measured" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "bwdak" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE211" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Birth weight in grams" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "bwloinc" ]
           ]
         ], [
           fhir:index 9 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "bwdak" ]
           ]
         ], [
           fhir:index 10 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "vital" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "vital-signs" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Vital Signs" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "vital" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.name [ fhir:value "artStartDate" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "artStartDate" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE215" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ART start date" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 9 ;
         fhir:StructureMap.group.rule.name [ fhir:value "highRiskOfPneumococcalInfection" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "highRiskOfPneumococcalInfection" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE251" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "High risk of pneumococcal infection" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 10 ;
         fhir:StructureMap.group.rule.name [ fhir:value "ageInMonthsWhenClientReceivedFirstMeningococcalDose" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "ageInMonthsWhenClientReceivedFirstMeningococcalDose" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "mo" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "value" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE236" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Age in months when client received first meningococcal dose" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 11 ;
         fhir:StructureMap.group.rule.name [ fhir:value "vnaLevel" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "vnaLevel" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://unitsofmeasure.org" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "[IU]/mL" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "[IU]/mL" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "content" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "value" ]
           ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE240" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "VNA level" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 12 ;
         fhir:StructureMap.group.rule.name [ fhir:value "riskOfOccupationalExposureToRabiesVirus" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "riskOfOccupationalExposureToRabiesVirus" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE253" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Risk of occupational exposure to rabies virus" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 13 ;
         fhir:StructureMap.group.rule.name [ fhir:value "dengueSerostatus" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "immz" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "dengueSerostatus" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "content" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://smart.who.int/immunizations/CodeSystem/IMMZ.D" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DE241" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Dengue serostatus" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "MakeImmzObservation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "patient" ;
             fhir:index 0
           ], [
             fhir:value "immid" ;
             fhir:index 1
           ], [
             fhir:value "code" ;
             fhir:index 2
           ], [
             fhir:value "survey" ;
             fhir:index 3
           ], [
             fhir:value "content" ;
             fhir:index 4
           ], [
             fhir:value "bundle" ;
             fhir:index 5
           ]
         ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/IMMZ.Helpers.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/StructureMap/IMMZ.Helpers.ttl> .