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
Active as of 2023-10-04 |
{
"resourceType" : "Library",
"id" : "zfunctions",
"text" : {
"status" : "generated",
"div" : "<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/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></table><h2>Parameters</h2><table class=\"grid\"><tr><td>dob</td><td>in</td><td/><td/><td>date</td></tr><tr><td>dob</td><td>in</td><td/><td/><td>date</td></tr><tr><td>sex</td><td>in</td><td/><td/><td>string</td></tr><tr><td>height</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>length</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>weight</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>zscore</td><td>in</td><td/><td/><td>decimal</td></tr><tr><td>WAZ</td><td>out</td><td/><td/><td>decimal</td></tr><tr><td>WLZ</td><td>out</td><td/><td/><td>decimal</td></tr><tr><td>WHZ</td><td>out</td><td/><td/><td>decimal</td></tr><tr><td>WA</td><td>out</td><td/><td/><td>decimal</td></tr><tr><td>WL</td><td>out</td><td/><td/><td>decimal</td></tr><tr><td>WH</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\">/*\n@author: Patrick Delcroix\n@description: This library is part of the project EmCare\n*/\nlibrary zfunctions version '1.0.313+build.456'\nusing FHIR version '4.0.1'\ninclude FHIRHelpers version '4.0.1' called FHIRHelpers \ninclude WeightForAge version '1.0.4' called wfa\ninclude WeightForLength version '1.0.4' called wfl\ninclude WeightForHeight version '1.0.4' called wfh\n\nparameter "sex" String\nparameter "dob" Date\nparameter "ageindays" Date\nparameter "height" Decimal\nparameter "length" Decimal\nparameter "weight" Decimal\nparameter "zscore" Decimal\n\ncontext Patient\n\ndefine "AgeInDays":\n case\n when Patient is not null then AgeInDays()\n when "dob" is not null then (difference in days between "dob" and Today())\n else "ageindays"\n end\n\ndefine "Sex":\n case\n when Patient is not null then Patient.gender.value\n else "sex"\n end\n\ndefine "WAZ":\n wfa.generateZScoreWeightForAge("Sex", "AgeInDays" , "weight")\n\ndefine "WA":\n wfa.generateWeightFromAge("Sex", "AgeInDays" , "zscore") \n\ndefine "WLZ":\n wfl.generateZScoreWeightForLength("Sex", "length" , "weight")\n\ndefine "WL":\n wfl.generateWeightFromLength("Sex", "length" , "zscore")\n\ndefine "WHZ":\n wfh.generateZScoreWeightForHeight("Sex", "height" , "weight")\n\ndefine "WH":\n wfh.generateWeightFromHeight("Sex", "height" , "zscore")</code></pre></div>"
},
"url" : "https://fhir.dk.swisstph-mis.ch/matchbox/fhir//Library/zfunctions",
"identifier" : [
{
"use" : "official",
"value" : "Zfunctions"
}
],
"version" : "0.1.0",
"name" : "zfunctions",
"title" : "Z.Functions",
"status" : "active",
"type" : {
"coding" : [
{
"system" : "http://hl7.org/fhir/ValueSet/library-type",
"code" : "logic-library"
}
]
},
"date" : "2023-10-04T12:32:21+00:00",
"publisher" : "WHO",
"contact" : [
{
"name" : "WHO",
"telecom" : [
{
"system" : "url",
"value" : "http://who.int"
}
]
}
],
"relatedArtifact" : [
{
"type" : "depends-on",
"resource" : "http://fhir.org/guides/who/anc-cds/Library/FHIRHelpers"
},
{
"type" : "depends-on",
"resource" : "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforage"
},
{
"type" : "depends-on",
"resource" : "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/anthrobase"
},
{
"type" : "depends-on",
"resource" : "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforlength"
},
{
"type" : "depends-on",
"resource" : "https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforheight"
}
],
"parameter" : [
{
"name" : "dob",
"use" : "in",
"type" : "date"
},
{
"name" : "dob",
"use" : "in",
"type" : "date"
},
{
"name" : "sex",
"use" : "in",
"type" : "string"
},
{
"name" : "height",
"use" : "in",
"type" : "decimal"
},
{
"name" : "length",
"use" : "in",
"type" : "decimal"
},
{
"name" : "weight",
"use" : "in",
"type" : "decimal"
},
{
"name" : "zscore",
"use" : "in",
"type" : "decimal"
},
{
"name" : "WAZ",
"use" : "out",
"type" : "decimal"
},
{
"name" : "WLZ",
"use" : "out",
"type" : "decimal"
},
{
"name" : "WHZ",
"use" : "out",
"type" : "decimal"
},
{
"name" : "WA",
"use" : "out",
"type" : "decimal"
},
{
"name" : "WL",
"use" : "out",
"type" : "decimal"
},
{
"name" : "WH",
"use" : "out",
"type" : "decimal"
}
],
"content" : [
{
"id" : "ig-loader-zfunctions.cql",
"contentType" : "text/cql",
"data" : "LyoKQGF1dGhvcjogUGF0cmljayBEZWxjcm9peApAZGVzY3JpcHRpb246IFRoaXMgbGlicmFyeSBpcyBwYXJ0IG9mIHRoZSBwcm9qZWN0IEVtQ2FyZQoqLwpsaWJyYXJ5IHpmdW5jdGlvbnMgdmVyc2lvbiAnMS4wLjMxMytidWlsZC40NTYnCnVzaW5nIEZISVIgdmVyc2lvbiAnNC4wLjEnCmluY2x1ZGUgRkhJUkhlbHBlcnMgdmVyc2lvbiAnNC4wLjEnIGNhbGxlZCBGSElSSGVscGVycyAKaW5jbHVkZSBXZWlnaHRGb3JBZ2UgdmVyc2lvbiAnMS4wLjQnIGNhbGxlZCB3ZmEKaW5jbHVkZSBXZWlnaHRGb3JMZW5ndGggdmVyc2lvbiAnMS4wLjQnIGNh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oKICAgIHdmbC5nZW5lcmF0ZVdlaWdodEZyb21MZW5ndGgoIlNleCIsICJsZW5ndGgiICwgInpzY29yZSIpCgpkZWZpbmUgIldIWiI6CiAgICB3ZmguZ2VuZXJhdGVaU2NvcmVXZWlnaHRGb3JIZWlnaHQoIlNleCIsICJoZWlnaHQiICwgIndlaWdodCIpCgpkZWZpbmUgIldIIjoKICAgIHdmaC5nZW5lcmF0ZVdlaWdodEZyb21IZWlnaHQoIlNleCIsICJoZWlnaHQiICwgInpzY29yZSIp"
}
]
}
IG © 2023+ WHO. Package smart-ig-che-cds#0.1.0 based on FHIR 4.0.1. Generated 2023-10-04
Links: Table of Contents |
QA Report
| Version History | License