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

: CHE.B18-2.Signs.2.m.m - XML Representation

Active as of 2023-10-04

Raw xml | Download



<Library xmlns="http://hl7.org/fhir">
  <id value="cheb182signs2mm"/>
  <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><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/chebase</code></td></tr><tr><td>depends-on</td><td><a href="Library-chevalueset.html">chevalueset</a></td></tr><tr><td>depends-on</td><td><a href="Library-b24combineddataelement.html">B24Combined.DataElement</a></td></tr><tr><td>depends-on</td><td><code>https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/chezscore</code></td></tr><tr><td>depends-on</td><td><code>https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforage</code></td></tr><tr><td>depends-on</td><td><a href="Library-anthrobase.html">anthrobase</a></td></tr><tr><td>depends-on</td><td><code>https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforlength</code></td></tr><tr><td>depends-on</td><td><code>https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforheight</code></td></tr><tr><td>depends-on</td><td><a href="Library-cheobservation.html">cheobservation</a></td></tr></table><h2>Parameters</h2><table class="grid"><tr><td>Age</td><td>out</td><td/><td/><td>Quantity</td></tr><tr><td>Weight (kilograms)</td><td>out</td><td/><td/><td>Quantity</td></tr><tr><td>YI severe classification other than severe dehydration</td><td>out</td><td/><td/><td>boolean</td></tr><tr><td>Diarrhoea</td><td>out</td><td/><td/><td>boolean</td></tr><tr><td>Breastfed</td><td>out</td><td/><td/><td>boolean</td></tr><tr><td>zwfa</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">/*
@author: Patrick Delcroix
@description: This library is part of the project CHE
*/
library cheb182signs2mm version '1.0.313+build.456'
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1' called FHIRHelpers 
include chebase version '1.0.313+build.456' called Base
include chevalueset version '1.0.313+build.456' called val
include b24combineddataelement version '1.0.313+build.456' called C
include chezscore version '1.0.313+build.456' called Z
include cheobservation version '1.0.313+build.456' called obs




context Patient


/* 
OBSdefine.CHE.B6.DE06 : Weight (kilograms)

*/
define &quot;OBSdefine.CHE.B6.DE06&quot;:
    Base.GetObsValue('CHE.B6.DE06')

/* 
OBSdefine.CHE.B11S1.DE01 : Diarrhoea

*/
define &quot;OBSdefine.CHE.B11S1.DE01&quot;:
    Base.GetObsValue('CHE.B11S1.DE01')

/* 
OBSdefine.CHE.B21S1.DE06 : Breastfed

*/
define &quot;OBSdefine.CHE.B21S1.DE06&quot;:
    Base.GetObsValue('CHE.B21S1.DE06')

/* 
Age : 
System.Quantity { value: AgeInDays()  , unit: 'days'}
*/
define &quot;Age&quot;:
    System.Quantity { value: AgeInDays()  , unit: 'days'}

/* 
Weight (kilograms) : 
o&quot;Weight (kilograms)&quot;
*/
define &quot;Weight (kilograms)&quot;:
    &quot;OBSdefine.CHE.B6.DE06&quot;

/* 
YI severe classification other than severe dehydration : 
C.&quot;YI Severe classification other than severe dehydration&quot;
*/
define &quot;YI severe classification other than severe dehydration&quot;:
    C.&quot;YI Severe classification other than severe dehydration&quot;

/* 
Diarrhoea : 
o&quot;Diarrhoea&quot;
*/
define &quot;Diarrhoea&quot;:
    &quot;OBSdefine.CHE.B11S1.DE01&quot;

/* 
Breastfed : 
o&quot;Breastfed&quot;
*/
define &quot;Breastfed&quot;:
    &quot;OBSdefine.CHE.B21S1.DE06&quot;

/* 
zwfa : 
Z.&quot;WAZ&quot;
*/
define &quot;zwfa&quot;:
    Z.&quot;WAZ&quot;

/* 
BackReference : 
back reference to resource
*/
define &quot;BackReference&quot;:
    Reference {reference: string { value: 'Questionnaire/che.b18-2.signs.2.m.m'}}
</code></pre></div>
  </text>
  <url
       value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/cheb182signs2mm"/>
  <identifier>
    <use value="official"/>
    <value value="che.b18-2.signs.2.m.m"/>
  </identifier>
  <version value="0.1.0"/>
  <name value="cheb182signs2mm"/>
  <title value="CHE.B18-2.Signs.2.m.m"/>
  <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="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/chebase"/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource
              value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/chevalueset"/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource
              value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/b24combineddataelement"/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource
              value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/chezscore"/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource
              value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforage"/>
  </relatedArtifact>
  <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="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforlength"/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource
              value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforheight"/>
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on"/>
    <resource
              value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/cheobservation"/>
  </relatedArtifact>
  <parameter>
    <name value="Age"/>
    <use value="out"/>
    <type value="Quantity"/>
  </parameter>
  <parameter>
    <name value="Weight (kilograms)"/>
    <use value="out"/>
    <type value="Quantity"/>
  </parameter>
  <parameter>
    <name value="YI severe classification other than severe dehydration"/>
    <use value="out"/>
    <type value="boolean"/>
  </parameter>
  <parameter>
    <name value="Diarrhoea"/>
    <use value="out"/>
    <type value="boolean"/>
  </parameter>
  <parameter>
    <name value="Breastfed"/>
    <use value="out"/>
    <type value="boolean"/>
  </parameter>
  <parameter>
    <name value="zwfa"/>
    <use value="out"/>
    <type value="decimal"/>
  </parameter>
  <content id="ig-loader-cheb182signs2mm.cql">
    <contentType value="text/cql"/>
    <data
          value="LyoKQGF1dGhvcjogUGF0cmljayBEZWxjcm9peApAZGVzY3JpcHRpb246IFRoaXMgbGlicmFyeSBpcyBwYXJ0IG9mIHRoZSBwcm9qZWN0IENIRQoqLwpsaWJyYXJ5IGNoZWIxODJzaWduczJtbSB2ZXJzaW9uICcxLjAuMzEzK2J1aWxkLjQ1NicKdXNpbmcgRkhJUiB2ZXJzaW9uICc0LjAuMScKaW5jbHVkZSBGSElSSGVscGVycyB2ZXJzaW9uICc0LjAuMScgY2FsbGVkIEZISVJIZWxwZXJzIAppbmNsdWRlIGNoZWJhc2UgdmVyc2lvbiAnMS4wLjMxMytidWlsZC40NTYnIGNhbGxlZCBCYXNlCmluY2x1ZGUgY2hldmFsdWVzZXQgdmVyc2lvbiAnMS4wLjMxMytidWlsZC40NTYnIGNhbGxlZCB2YWwKaW5jbHVkZSBiMjRjb21iaW5lZGRhdGFlbGVtZW50IHZlcnNpb24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