Skip to content

Commit 6294c6b

Browse files
authored
Merge pull request #28 from mlaletina95/target-constraint-smart-forms
Add target-constraint-smart-forms questionnaire
2 parents 7388c89 + dbaeb6c commit 6294c6b

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
resourceType: Questionnaire
2+
id: target-constraint-smart-forms
3+
name: target-constraint-smart-forms
4+
title: Target Constraint (Smart Forms)
5+
status: active
6+
url: "http://example.org/fhir/Questionnaire/target-constraint-smart-forms"
7+
meta:
8+
profile:
9+
- https://emr-core.beda.software/StructureDefinition/fhir-emr-questionnaire
10+
extension:
11+
- url: http://hl7.org/fhir/StructureDefinition/targetConstraint
12+
extension:
13+
- url: key
14+
valueId: bp-constraint
15+
- url: severity
16+
valueCode: warning
17+
- url: expression
18+
valueExpression:
19+
language: text/fhirpath
20+
expression: "%resource.item.where(linkId='systolic-blood-pressure').answer.value < %resource.item.where(linkId='diastolic-blood-pressure').answer.value"
21+
- url: human
22+
valueString: Systolic blood pressure should not be less than diastolic blood pressure.
23+
- url: location
24+
valueString: "Questionnaire.item.where(linkId='systolic-blood-pressure')"
25+
item:
26+
- linkId: target-constraint-simple-instructions
27+
text: Systolic blood pressure should not be less than diastolic blood pressure.
28+
type: display
29+
30+
- linkId: systolic-blood-pressure
31+
text: Systolic Blood Pressure
32+
type: integer
33+
34+
- linkId: diastolic-blood-pressure
35+
text: Diastolic Blood Pressure
36+
type: integer

0 commit comments

Comments
 (0)