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

Library: CHE.B10-16.Signs.2m.p

Official URL: https://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/cheb1016signs2mp Version: 0.1.0
Active as of 2023-10-04 Computable Name: cheb1016signs2mp
Other Identifiers: id: che.b10-16.signs.2m.p (use: OFFICIAL)

Related Artifacts

depends-onhttp://fhir.org/guides/who/anc-cds/Library/FHIRHelpers
depends-onhttps://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/chebase
depends-onchevalueset
depends-onB24Combined.DataElement
depends-onhttps://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/chezscore
depends-onhttps://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforage
depends-onanthrobase
depends-onhttps://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforlength
depends-onhttps://fhir.dk.swisstph-mis.ch/matchbox/fhir/Library/weightforheight
depends-oncheobservation

Parameters

Coughoutboolean
Difficulty Breathingoutboolean
Danger Signsoutboolean
Feveroutboolean
Diarrhoeaoutboolean
Ear Problemoutboolean
Ear dischargeoutboolean
Skin problemoutboolean

Contents

text/cql

/*
@author: Patrick Delcroix
@description: This library is part of the project CHE
*/
library cheb1016signs2mp 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 cheobservation version '1.0.313+build.456' called obs




context Patient


/* 
OBSdefine.CHE.B10S1.DE05 : Cough

*/
define "OBSdefine.CHE.B10S1.DE05":
    Base.GetObsValue('CHE.B10S1.DE05')

/* 
OBSdefine.CHE.B10S1.DE01 : Difficulty Breathing

*/
define "OBSdefine.CHE.B10S1.DE01":
    Base.GetObsValue('CHE.B10S1.DE01')

/* 
OBSdefine.CHE.B11S1.DE01 : Diarrhoea

*/
define "OBSdefine.CHE.B11S1.DE01":
    Base.GetObsValue('CHE.B11S1.DE01')

/* 
OBSdefine.CHE.B13S1.DE01 : Ear Problem

*/
define "OBSdefine.CHE.B13S1.DE01":
    Base.GetObsValue('CHE.B13S1.DE01')

/* 
OBSdefine.CHE.B13S1.DE03 : Ear discharge

*/
define "OBSdefine.CHE.B13S1.DE03":
    Base.GetObsValue('CHE.B13S1.DE03')

/* 
OBSdefine.CHE.B14S1.DE02 : Skin Problem

*/
define "OBSdefine.CHE.B14S1.DE02":
    Base.GetObsValue('CHE.B14S1.DE02')

/* 
Cough : 
o"Cough"
*/
define "Cough":
    "OBSdefine.CHE.B10S1.DE05"

/* 
Difficulty Breathing : 
o"Difficulty Breathing"
*/
define "Difficulty Breathing":
    "OBSdefine.CHE.B10S1.DE01"

/* 
Danger Signs : 
C."Danger Signs"
*/
define "Danger Signs":
    C."Danger Signs"

/* 
Fever : 
C."Fever"
*/
define "Fever":
    C."Fever"

/* 
Diarrhoea : 
o"Diarrhoea"
*/
define "Diarrhoea":
    "OBSdefine.CHE.B11S1.DE01"

/* 
Ear Problem : 
o"Ear Problem"
*/
define "Ear Problem":
    "OBSdefine.CHE.B13S1.DE01"

/* 
Ear discharge : 
o"Ear discharge"
*/
define "Ear discharge":
    "OBSdefine.CHE.B13S1.DE03"

/* 
Skin problem : 
o"Skin Problem"
*/
define "Skin problem":
    "OBSdefine.CHE.B14S1.DE02"

/* 
BackReference : 
back reference to resource
*/
define "BackReference":
    Reference {reference: string { value: 'Questionnaire/che.b10-16.signs.2m.p'}}