...
system
:urn:oid:1.2.208.184.100.1
code
:RAL
orGAL
, for red alarm absolute reference range and yellow alarm absolute reference range, respectively.
Other reference range types, such as relative reference ranges, may be handled by another rule. If no absolute reference range is found, the rule causes creation of a single Task asking the clinician to assess the observation.
...
Info |
---|
Example relative reference range as -5 percentage point with reference base 90% for oxygen saturation measurement The oxygen saturation measurement unit is expressed as percent ( A red alarm relative reference range given as -5 percentage point would be given by a SimpleQuantity for the reference range’s low element with:
Thus, the rule would treat an Observation with value 85% as a red alarm case for this relative reference range and current choice of reference base with value 90%. |
Assessment of TeleCare Nord COPD Questionnaire
This Library contains a rule that performs assessment of a QuestionnaireResponse which answers the Questionnaire TeleCare Nord COPD Questionnaire.
The rule contains two sets of question/answer value pairs:
A red trigger set of question/answer pairs
A yellow trigger set of question/answer pairs
During processing of the rule, all questions and answers in the QuestionnaireResponse are traversed and checked whether each particular question/answer pair is defined as a red and yellow trigger, respectively. When this is the case, the question/answer pair is added to internal bookkeeping in the form of a triggered red set and triggered yellow set, respectively. Ultimately, the triggered sets determine a priority as follows:
In case the triggered red set contains at least one question/answer pair, the priority is set to
asap
In case the triggered red set is empty and the triggered yellow set contains at least one question/answer pair, the priority is set to
urgent
Otherwise, the priority is set to
routine
The Library has:
.type
set toautomated-processing
.parameter
.use
set toin
for input.type
set toQuestionnaireResponse
.parameter
.use
set toin
for input.type
set toQuestionnaire
.parameter
.use
set toin
for input.type
set toProcedureRequest
The Library rule sets up instructions that causes production of:
A ClinicalImpresssion:
.finding
as follows:If the triggered red set is not empty, a
finding.item
with a Coding:system
=http://ehealth.sundhed.dk/cs/clinicalimpression-finding-codes
code
=red-question-answer
display
=Rød spørgsmål/svar-kombination fundet i spørgeskemabesvarelse
If the triggered yellow set is not empty, a
finding.item
with a Coding:system
=http://ehealth.sundhed.dk/cs/clinicalimpression-finding-codes
code
=yellow-question-answer
display
=Gul spørgsmål/svar-kombination fundet i spørgeskemabesvarelse
If both triggered sets are empty, a
finding.item
with a Coding:system
=http://ehealth.sundhed.dk/cs/clinicalimpression-finding-codes
code
=green-question-answer
display
=Grøn spørgsmål/svar-kombination fundet i spørgeskemabesvarelse. Når anført som opsummering for hel spørgeskemabesvarelse er der ikke fundet røde eller gule spørgsmål/svar-kombinationer
A Task related to the ClinicalImpression with:
priority
set to the priority value determined above.
Library Resources for Calculation-type Rules
...