WHO SMART Guideline: Surveillance and Outbreak Toolkit
0.2.1 - CI Build International flag

WHO SMART Guideline: Surveillance and Outbreak Toolkit, published by WHO. This is not an authorized publication; it is the continuous build for version 0.2.1. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-ot and changes regularly. See the Directory of published versions

: null - XML Representation

Draft as of 2023-11-07

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="AFROMRCIFQuestionnaireToResources"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><pre class="fml">
<b>map</b><span style="color: navy"> &quot;</span>http://worldhealthorganization.github.io/smart-ot/StructureMap/AFROMRCIFQuestionnaireToResources<span style="color: navy">&quot; = &quot;</span>AFROMRCIFQuestionnaireToResources<span style="color: navy">&quot;

</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>QuestionnaireResponse <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>MeaslesCIFBundle <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span><a href="StructureMap-AFROMRCIFLogicalModelToResources.html" title="AFROMRCIFLogicalModelToResources">http://worldhealthorganization.github.io/smart-ot/StructureMap/AFROMRCIFLogicalModelToResources</a><span style="color: navy">&quot;
</span><b>imports</b><span style="color: navy"> &quot;</span><a href="StructureMap-AFROMRCIFQuestionnaireToLogicalModel.html" title="AFROMRCIFQuestionnaireToLogicalModel">http://worldhealthorganization.github.io/smart-ot/StructureMap/AFROMRCIFQuestionnaireToLogicalModel</a><span style="color: navy">&quot;
</span>
<b>group </b>MeaslesQuestionnaireToResources<span style="color: navy">(</span><b>source</b> <span style="color: maroon">qr</span><span style="color: navy"> : </span>QuestionnaireResponse, <b>target</b> <span style="color: maroon">bundleCif</span><span style="color: navy"> : </span>MeaslesCIFBundle<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://worldhealthorganization.github.io/smart-ot/StructureDefinition/AFROMRCIF'</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><span style="color: maroon">model</span><b> then </b>MRCIFQuestionnaireToLogicalModel<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><span style="color: maroon">bundleCif</span><b> then </b>MRCIFLogicalModelToResources<span style="color: navy">(</span><span style="color: maroon">model</span><span style="color: navy">, </span><span style="color: maroon">bundleCif</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://worldhealthorganization.github.io/smart-ot/StructureMap/AFROMRCIFQuestionnaireToResources"/>
  <version value="0.2.1"/>
  <name value="AFROMRCIFQuestionnaireToResources"/>
  <status value="draft"/>
  <date value="2023-11-07T05:59:29+00:00"/>
  <publisher value="WHO"/>
  <contact>
    <name value="WHO"/>
    <telecom>
      <system value="url"/>
      <value value="http://who.int"/>
    </telecom>
  </contact>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url
         value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
    <mode value="source"/>
    <alias value="QuestionnaireResponse"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/Bundle"/>
    <mode value="target"/>
    <alias value="MeaslesCIFBundle"/>
  </structure>
  <import
          value="http://worldhealthorganization.github.io/smart-ot/StructureMap/AFROMRCIFLogicalModelToResources"/>
  <import
          value="http://worldhealthorganization.github.io/smart-ot/StructureMap/AFROMRCIFQuestionnaireToLogicalModel"/>
  <group>
    <name value="MeaslesQuestionnaireToResources"/>
    <typeMode value="none"/>
    <input>
      <name value="qr"/>
      <type value="QuestionnaireResponse"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="bundleCif"/>
      <type value="MeaslesCIFBundle"/>
      <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://worldhealthorganization.github.io/smart-ot/StructureDefinition/AFROMRCIF"/>
        </parameter>
      </target>
      <rule>
        <name value="QRtoLM"/>
        <source>
          <context value="qr"/>
        </source>
        <target>
          <contextType value="variable"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="model"/>
          </parameter>
        </target>
        <dependent>
          <name value="MRCIFQuestionnaireToLogicalModel"/>
          <variable value="qr"/>
          <variable value="model"/>
        </dependent>
      </rule>
      <rule>
        <name value="LMtoBundle"/>
        <source>
          <context value="qr"/>
        </source>
        <target>
          <contextType value="variable"/>
          <transform value="copy"/>
          <parameter>
            <valueId value="bundleCif"/>
          </parameter>
        </target>
        <dependent>
          <name value="MRCIFLogicalModelToResources"/>
          <variable value="model"/>
          <variable value="bundleCif"/>
        </dependent>
      </rule>
    </rule>
  </group>
</StructureMap>