...
.type
set tologic-library
.parameter[0]
.use
set toin
for input.type
set toQuestionnaireResponse
.parameter[1]
.use
set toout
for output.type
set toCodeableConcept
The Library rule sets examines the answers of the QuestionnaireResponse and determines the corresponding SituationQuality Coding(s).
...
Prerequisite to submitting the Observation, the QuestionnaireResponse for the said Questionnaire would be passed as parameter to the evaluate
operation on the Library, returning one or more Coding for UsageQuality. The returned Coding(s) would then be carried to Observation.ehealth-quality
.
The Library type, input and input output are identical to that of Library for Calculating Situation Quality, and the rule differs in that the resulting Coding specifies UsageQuality.
Library for Calculating
...
Body Mass Index
The Library for calculating the body mass index (BMI) is intended for providing an Observation with the BMI which can defined as an ActivityDefinition with associated reference ranges. Given an Observation of height and an Observation of weight as parameters, the evaluate
operation returns a Quantity which can be set as the BMI Observation’s Observation.valueQuantity
.
The Library has:
.type
set tologic-library
.parameter[0]
.use
set toin
for input.type
set toObservation
.parameter[1]
.use
set toin
for input.type
set toObservation
.parameter[2]
.use
set toout
for output.type
set toQuantity
Expand | ||
---|---|---|
| ||
|