Skip to content

Commit

Permalink
Add testing module to ensure HHA visits for RIF unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawalonoski committed Sep 5, 2023
1 parent 781b47f commit 5e97763
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/test/resources/module/test_hha.json
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
}

0 comments on commit 5e97763

Please sign in to comment.