Skip to content

Commit 451400a

Browse files
committed
HIV guard change.
1 parent e4c096b commit 451400a

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

src/main/resources/modules/hiv_diagnosis.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"states": {
77
"Initial": {
88
"type": "Initial",
9-
"direct_transition": "Diagnosis Check"
9+
"direct_transition": "Wait until 1979"
1010
},
1111
"Terminal": {
1212
"type": "Terminal"
@@ -264,9 +264,19 @@
264264
}
265265
},
266266
{
267-
"transition": "Terminal"
267+
"transition": "Wait_Until_Next_Diagnosis_Check"
268268
}
269269
]
270+
},
271+
"Wait until 1979": {
272+
"type": "Guard",
273+
"allow": {
274+
"condition_type": "Date",
275+
"operator": ">=",
276+
"year": 1979,
277+
"value": 0
278+
},
279+
"direct_transition": "Diagnosis Check"
270280
}
271281
},
272282
"gmf_version": 2

0 commit comments

Comments
 (0)