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.B24.DE02.FluidTest - XML Representation

Active as of 2023-10-04

Raw xml | Download



<Library xmlns="http://hl7.org/fhir">
  <id value="cheb24de02fluidtest"/>
  <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-cheobservation.html">cheobservation</a></td></tr></table><h2>Parameters</h2><table class="grid"><tr><td>CHE.B7.DE09</td><td>out</td><td/><td/><td>boolean</td></tr><tr><td>CHE.B7.DE10</td><td>out</td><td/><td/><td>code</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 cheb24de02fluidtest 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 cheobservation version '1.0.313+build.456' called obs




context Patient


/* 
OBSdefine.CHE.B7.DE09 : Not able to drink or breastfeed

*/
define &quot;OBSdefine.CHE.B7.DE09&quot;:
    Base.GetObsValue('CHE.B7.DE09')

/* 
OBSdefine.CHE.B7.DE10 : Vomiting

*/
define &quot;OBSdefine.CHE.B7.DE10&quot;:
    Base.GetObsValue('CHE.B7.DE10')

/* 
CHE.B7.DE09 : 
Coalesce( o&quot;Not able to drink or breastfeed&quot; , false)
*/
define &quot;CHE.B7.DE09&quot;:
    Coalesce( &quot;OBSdefine.CHE.B7.DE09&quot; , false)

/* 
Not able to drink or breastfeed : CHE.B7.DE09
Alias
*/
define &quot;Not able to drink or breastfeed&quot;:
    &quot;CHE.B7.DE09&quot;

/* 
CHE.B7.DE10 : 
o&quot;Vomiting&quot;
*/
define &quot;CHE.B7.DE10&quot;:
    &quot;OBSdefine.CHE.B7.DE10&quot;

/* 
Vomiting : CHE.B7.DE10
Alias
*/
define &quot;Vomiting&quot;:
    &quot;CHE.B7.DE10&quot;

/* 
BackReference : 
back reference to resource
*/
define &quot;BackReference&quot;:
    Reference {reference: string { value: 'Questionnaire/che.b24.de02.fluidtest'}}
</code></pre></div>
  </text>
  <url
       value="https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/cheb24de02fluidtest"/>
  <identifier>
    <use value="official"/>
    <value value="che.b24.de02.fluidtest"/>
  </identifier>
  <version value="0.1.0"/>
  <name value="cheb24de02fluidtest"/>
  <title value="CHE.B24.DE02.FluidTest"/>
  <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/cheobservation"/>
  </relatedArtifact>
  <parameter>
    <name value="CHE.B7.DE09"/>
    <use value="out"/>
    <type value="boolean"/>
  </parameter>
  <parameter>
    <name value="CHE.B7.DE10"/>
    <use value="out"/>
    <type value="code"/>
  </parameter>
  <content id="ig-loader-cheb24de02fluidtest.cql">
    <contentType value="text/cql"/>
    <data
          value="LyoKQGF1dGhvcjogUGF0cmljayBEZWxjcm9peApAZGVzY3JpcHRpb246IFRoaXMgbGlicmFyeSBpcyBwYXJ0IG9mIHRoZSBwcm9qZWN0IENIRQoqLwpsaWJyYXJ5IGNoZWIyNGRlMDJmbHVpZHRlc3QgdmVyc2lvbiAnMS4wLjMxMytidWlsZC40NTYnCnVzaW5nIEZISVIgdmVyc2lvbiAnNC4wLjEnCmluY2x1ZGUgRkhJUkhlbHBlcnMgdmVyc2lvbiAnNC4wLjEnIGNhbGxlZCBGSElSSGVscGVycyAKaW5jbHVkZSBjaGViYXNlIHZlcnNpb24gJzEuMC4zMTMrYnVpbGQuNDU2JyBjYWxsZWQgQmFzZQppbmNsdWRlIGNoZXZhbHVlc2V0IHZlcnNpb24gJzEuMC4zMTMrYnVpbGQuNDU2JyBjYWxsZWQgdmFsCmluY2x1ZGUgY2hlb2JzZXJ2YXRpb24gdmVyc2lvbiAnMS4wLjMxMytidWlsZC40NTYnIGNhbGxlZCBvYnMKCgoKCmNvbnRleHQgUGF0aWVudAoKCi8qIApPQlNkZWZpbmUuQ0hFLkI3LkRFMDkgOiBOb3QgYWJsZSB0byBkcmluayBvciBicmVhc3RmZWVkCgoqLwpkZWZpbmUgIk9CU2RlZmluZS5DSEUuQjcuREUwOSI6CiAgICBCYXNlLkdldE9ic1ZhbHVlKCdDSEUuQjcuREUwOScpCgovKiAKT0JTZGVmaW5lLkNIRS5CNy5ERTEwIDogVm9taXRpbmcKCiovCmRlZmluZSAiT0JTZGVmaW5lLkNIRS5CNy5ERTEwIjoKICAgIEJhc2UuR2V0T2JzVmFsdWUoJ0NIRS5CNy5ERTEwJykKCi8qIApDSEUuQjcuREUwOSA6IApDb2FsZXNjZSggbyJOb3QgYWJsZSB0byBkcmluayBvciBicmVhc3RmZWVkIi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