generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-careflow-validation.yaml
52 lines (51 loc) · 1.22 KB
/
example-careflow-validation.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
cases:
- title: Logic test 2
description: |
This is a test case that checks if the logic is correct.
activities:
- type: form
name: phq9
questions:
- key: PHQ9_Q01
value: '0'
- key: PHQ9_Q02
value: '0'
- key: PHQ9_Q03
value: '0'
- key: PHQ9_Q04
value: '0'
- key: PHQ9_Q05
value: '0'
- key: PHQ9_Q06
value: '0'
- key: PHQ9_Q07
value: '0'
- key: PHQ9_Q08
value: '0'
- key: PHQ9_Q09
value: '0'
- type: checklist
name: checky
- type: checklist
name: checky cheese
validate:
- type: step
name: step 1
action: ACTIVATE
- type: step
name: step 1
action: COMPLETE
- type: step
name: PHQ-9 over 10
action: DISCARDED
- type: careflow
action: COMPLETE
- type: step
name: Baseline Datapoint
action: ACTIVATE
- type: track
name: triggered by a datapoint
action: ACTIVATE
baseline_datapoints:
- definition_id: aqhlL6q_ywoY
value: any string will do...