WHO SMART Guidelines - Measles Immunization
0.1.0 - ci-build

WHO SMART Guidelines - Measles Immunization, published by WHO. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-example-immz and changes regularly. See the Directory of published versions

: null - XML Representation

Draft as of 2024-08-12

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="IMMZD4QRToResources"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap IMMZD4QRToResources</b></p><a name="IMMZD4QRToResources"> </a><a name="hcIMMZD4QRToResources"> </a><a name="IMMZD4QRToResources-en-US"> </a><pre class="fml">
<b>map</b><span style="color: navy"> &quot;</span>http://smart.who.int/immunizations-measles/StructureMap/IMMZD4QRToResources<span style="color: navy">&quot; = &quot;</span>IMMZD4QRToResources<span style="color: navy">&quot;

</span><span style="color: navy">// </span><span style="color: green">Immunization - Administer Vaccine - Extract QuestionnaireResponse to resources</span>

<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/questionnaireresponse.html" title="QuestionnaireResponse">http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse</a><span style="color: navy">&quot; </span><b>alias </b>QResp <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="StructureDefinition-IMMZD4CheckContraindicationsMeasles.html" title="IMMZ.D4 Check Contraindications for Measles">http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD4CheckContraindicationsMeasles</a><span style="color: navy">&quot; </span><b>alias </b>IMMZD4 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/bundle.html" title="Bundle">http://hl7.org/fhir/StructureDefinition/Bundle</a><span style="color: navy">&quot; </span><b>alias </b>Bundle <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span><a href="StructureMap-IMMZD4QRToLM.html" title="IMMZD4QRToLM">http://smart.who.int/immunizations-measles/StructureMap/IMMZD4QRToLM</a><span style="color: navy">&quot;
</span><b>imports</b><span style="color: navy"> &quot;</span><a href="StructureMap-IMMZD4LMToResources.html" title="IMMZD4LMToResources">http://smart.who.int/immunizations-measles/StructureMap/IMMZD4LMToResources</a><span style="color: navy">&quot;
</span>
<b>group </b>QRespToBundle<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">bundle</span><span style="color: navy"> : </span>Bundle<span style="color: navy">)</span><span style="color: navy"> {
</span>  qr<span style="color: navy"><b> -&gt; </b></span><b>create</b><span style="color: navy">(</span><span style="color: blue">'http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD4CheckContraindicationsMeasles'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">model</span><b> then</b><span style="color: navy"> {
</span>    qr<span style="color: navy"><b> -&gt; </b></span>model<b> then </b>QRespToIMMZD4<span style="color: navy">(</span><span style="color: maroon">qr</span><span style="color: navy">, </span><span style="color: maroon">model</span><span style="color: navy">)</span> <i>&quot;QRtoLM&quot;</i><span style="color: navy">;</span>
    qr<span style="color: navy"><b> -&gt; </b></span>bundle<b> then </b>IMMZD4ToBundle<span style="color: navy">(</span><span style="color: maroon">model</span><span style="color: navy">, </span><span style="color: maroon">bundle</span><span style="color: navy">)</span> <i>&quot;LMtoBundle&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;QRtoBundle&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <url
       value="http://smart.who.int/immunizations-measles/StructureMap/IMMZD4QRToResources"/>
  <version value="0.1.0"/>
  <name value="IMMZD4QRToResources"/>
  <status value="draft"/>
  <date value="2024-08-12T09:03:21+00:00"/>
  <publisher value="WHO"/>
  <contact>
    <name value="WHO"/>
    <telecom>
      <system value="url"/>
      <value value="http://who.int"/>
    </telecom>
  </contact>
  <description
               value="Immunization - Administer Vaccine - Extract QuestionnaireResponse to resources"/>
  <structure>
    <url
         value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
    <mode value="source"/>
    <alias value="QResp"/>
  </structure>
  <structure>
    <url
         value="http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD4CheckContraindicationsMeasles"/>
    <mode value="source"/>
    <alias value="IMMZD4"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
    <mode value="target"/>
    <alias value="Bundle"/>
  </structure>
  <import
          value="http://smart.who.int/immunizations-measles/StructureMap/IMMZD4QRToLM"/>
  <import
          value="http://smart.who.int/immunizations-measles/StructureMap/IMMZD4LMToResources"/>
  <group>
    <name value="QRespToBundle"/>
    <typeMode value="none"/>
    <input>
      <name value="qr"/>
      <type value="QResp"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="bundle"/>
      <type value="Bundle"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="QRtoBundle"/>
      <source>
        <context value="qr"/>
      </source>
      <target>
        <contextType value="variable"/>
        <variable value="model"/>
        <transform value="create"/>
        <parameter>
          <valueString
                       value="http://smart.who.int/immunizations-measles/StructureDefinition/IMMZD4CheckContraindicationsMeasles"/>
        </parameter>
      </target>
      <rule>
        <name value="QRtoLM"/>
        <source>
          <context value="qr"/>
        </source>
        <target>
          <context value="model"/>
          <contextType value="variable"/>
        </target>
        <dependent>
          <name value="QRespToIMMZD4"/>
          <variable value="qr"/>
          <variable value="model"/>
        </dependent>
      </rule>
      <rule>
        <name value="LMtoBundle"/>
        <source>
          <context value="qr"/>
        </source>
        <target>
          <context value="bundle"/>
          <contextType value="variable"/>
        </target>
        <dependent>
          <name value="IMMZD4ToBundle"/>
          <variable value="model"/>
          <variable value="bundle"/>
        </dependent>
      </rule>
    </rule>
  </group>
</StructureMap>