WHO Clinical Care in Crisis Implementation Guide for Children
0.1.0 - ci-build

WHO Clinical Care in Crisis Implementation Guide for Children - Local Development build (v0.1.0). See the Directory of published versions

: anthrotest - XML Representation

Active as of 2023-10-04

Raw xml | Download



<Library xmlns="http://hl7.org/fhir">
  <id value="anthrotest"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>Related Artifacts</h2><table class="grid"><tr><td>depends-on</td><td><a href="Library-anthrobase.html">anthrobase</a></td></tr><tr><td>depends-on</td><td><code>http://fhir.org/guides/who/anc-cds/Library/FHIRHelpers</code></td></tr><tr><td>depends-on</td><td><code>https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/armcircumferenceforage</code></td></tr></table><h2>Parameters</h2><table class="grid"><tr><td>y</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>z</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>m</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>s</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>l</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>w</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>testComputeReverseZScore</td><td>out</td><td/><td/><td>decimal</td></tr><tr><td>testComputeZScore</td><td>out</td><td/><td/><td>decimal</td></tr><tr><td>testacanthroZscore</td><td>out</td><td/><td/><td>decimal</td></tr></table><h2>Contents</h2><p><code>text/cql</code></p><pre><code class="language-sql">library anthrotest version '1.0.4'
include anthrobase version '1.0.4' called anthrobase
include ArmCircumferenceForAge version '1.0.4' called acanthro
parameter y Decimal
parameter m Decimal
parameter l Decimal
parameter s Decimal
parameter z Decimal
parameter w Decimal

define testComputeZScore: 
    anthrobase.computeZScore(y, m, l, s)

define testComputeReverseZScore: 
    anthrobase.computeReverseZScore(z, m, l, s)

define testacanthroZscore:
    acanthro.generateZScoreArmCircumferenceForAge('female', y, w)
</code></pre></div>
  </text>
  <url
       value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/anthrotest"/>
  <version value="0.1.0"/>
  <name value="anthrotest"/>
  <title value="anthrotest"/>
  <status value="active"/>
  <type>
    <coding>
      <system value="http://hl7.org/fhir/ValueSet/library-type"/>
      <code value="logic-library"/>
    </coding>
  </type>
  <date value="2023-10-04T12:32:21+00:00"/>
  <publisher value="WHO"/>
  <contact>
    <name value="WHO"/>
    <telecom>
      <system value="url"/>
      <value value="http://who.int"/>
    </telecom>
  </contact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource
              value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/anthrobase"/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource value="http://fhir.org/guides/who/anc-cds/Library/FHIRHelpers"/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource
              value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/armcircumferenceforage"/>
  </relatedArtifact>
  <parameter>
    <name value="y"/>
    <use value="in"/>
    <type value="decimal"/>
  </parameter>
  <parameter>
    <name value="z"/>
    <use value="in"/>
    <type value="decimal"/>
  </parameter>
  <parameter>
    <name value="m"/>
    <use value="in"/>
    <type value="decimal"/>
  </parameter>
  <parameter>
    <name value="s"/>
    <use value="in"/>
    <type value="decimal"/>
  </parameter>
  <parameter>
    <name value="l"/>
    <use value="in"/>
    <type value="decimal"/>
  </parameter>
  <parameter>
    <name value="w"/>
    <use value="in"/>
    <type value="decimal"/>
  </parameter>
  <parameter>
    <name value="testComputeReverseZScore"/>
    <use value="out"/>
    <type value="decimal"/>
  </parameter>
  <parameter>
    <name value="testComputeZScore"/>
    <use value="out"/>
    <type value="decimal"/>
  </parameter>
  <parameter>
    <name value="testacanthroZscore"/>
    <use value="out"/>
    <type value="decimal"/>
  </parameter>
  <content id="ig-loader-anthrotest.cql">
    <contentType value="text/cql"/>
    <data
          value="bGlicmFyeSBhbnRocm90ZXN0IHZlcnNpb24gJzEuMC40JwppbmNsdWRlIGFudGhyb2Jhc2UgdmVyc2lvbiAnMS4wLjQnIGNhbGxlZCBhbnRocm9iYXNlCmluY2x1ZGUgQXJtQ2lyY3VtZmVyZW5jZUZvckFnZSB2ZXJzaW9uICcxLjAuNCcgY2FsbGVkIGFjYW50aHJvCnBhcmFtZXRlciB5IERlY2ltYWwKcGFyYW1ldGVyIG0gRGVjaW1hbApwYXJhbWV0ZXIgbCBEZWNpbWFsCnBhcmFtZXRlciBzIERlY2ltYWwKcGFyYW1ldGVyIHogRGVjaW1hbApwYXJhbWV0ZXIgdyBEZWNpbWFsCgpkZWZpbmUgdGVzdENvbXB1dGVaU2NvcmU6IAogICAgYW50aHJvYmFzZS5jb21wdXRlWlNjb3JlKHksIG0sIGwsIHMpCgpkZWZpbmUgdGVzdENvbXB1dGVSZXZlcnNlWlNjb3JlOiAKICAgIGFudGhyb2Jhc2UuY29tcHV0ZVJldmVyc2VaU2NvcmUoeiwgbSwgbCwgcykKCmRlZmluZSB0ZXN0YWNhbnRocm9ac2NvcmU6CiAgICBhY2FudGhyby5nZW5lcmF0ZVpTY29yZUFybUNpcmN1bWZlcmVuY2VGb3JBZ2UoJ2ZlbWFsZScsIHksIHcpCg=="/>
  </content>
</Library>