-
Notifications
You must be signed in to change notification settings - Fork 659
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add testing module to ensure HHA visits for RIF unit tests.
- Loading branch information
1 parent
781b47f
commit 5e97763
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"name": "test_hha", | ||
"remarks": [ | ||
"Test module." | ||
], | ||
"states": { | ||
"Initial": { | ||
"type": "Initial", | ||
"direct_transition": "Wait until 65" | ||
}, | ||
"Wait until 65": { | ||
"type": "Guard", | ||
"allow": { | ||
"condition_type": "Age", | ||
"operator": ">=", | ||
"quantity": 65, | ||
"unit": "years", | ||
"value": 0 | ||
}, | ||
"direct_transition": "Schedule Visit" | ||
}, | ||
"Home Health Visit": { | ||
"type": "Encounter", | ||
"encounter_class": "home", | ||
"reason": "", | ||
"telemedicine_possibility": "none", | ||
"codes": [ | ||
{ | ||
"system": "SNOMED-CT", | ||
"code": 439708006, | ||
"display": "Home visit (procedure)" | ||
} | ||
], | ||
"direct_transition": "Nursing_Care" | ||
}, | ||
"Nursing_Care": { | ||
"type": "Procedure", | ||
"codes": [ | ||
{ | ||
"system": "SNOMED-CT", | ||
"code": "410401003", | ||
"display": "Nursing care/supplementary surveillance (regime/therapy)" | ||
} | ||
], | ||
"direct_transition": "End Visit" | ||
}, | ||
"End Visit": { | ||
"type": "EncounterEnd", | ||
"direct_transition": "Schedule Visit" | ||
}, | ||
"Schedule Visit": { | ||
"type": "Delay", | ||
"distribution": { | ||
"kind": "UNIFORM", | ||
"parameters": { | ||
"high": 52, | ||
"low": 26 | ||
} | ||
}, | ||
"unit": "weeks", | ||
"direct_transition": "Home Health Visit" | ||
} | ||
}, | ||
"gmf_version": 2 | ||
} |