Skip to content

Commit

Permalink
Add dental cleaning prior to kidney transplant.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawalonoski committed Sep 5, 2023
1 parent d8b3fd5 commit f829bb8
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions src/main/resources/modules/kidney_transplant.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
},
"unit": "years",
"direct_transition": "Transplant Encounter"
"direct_transition": "Initiate Dental Cleaning"
},
"Reset Kidney Damage": {
"type": "SetAttribute",
Expand Down Expand Up @@ -221,7 +221,8 @@
"display": "Awaiting transplantation of kidney (situation)"
}
],
"direct_transition": "Referral"
"direct_transition": "Referral",
"assign_to_attribute": "kidney_transplant_dental_reason"
},
"Wait for Consultation": {
"type": "Delay",
Expand Down Expand Up @@ -2151,6 +2152,40 @@
"type": "ConditionEnd",
"direct_transition": "Begin Post Surgical Stay",
"referenced_by_attribute": "dialysis_reason"
},
"Initiate Dental Cleaning": {
"type": "SetAttribute",
"attribute": "dental_referral",
"direct_transition": "Wait for Cleaning",
"value_attribute": "kidney_transplant_dental_reason"
},
"Wait for Cleaning": {
"type": "Delay",
"distribution": {
"kind": "UNIFORM",
"parameters": {
"high": 7,
"low": 1
}
},
"unit": "days",
"direct_transition": "Check Cleaning Status"
},
"Check Cleaning Status": {
"type": "Simple",
"conditional_transition": [
{
"transition": "Wait for Cleaning",
"condition": {
"condition_type": "Attribute",
"attribute": "dental_referral",
"operator": "is not nil"
}
},
{
"transition": "Transplant Encounter"
}
]
}
},
"gmf_version": 2
Expand Down

0 comments on commit f829bb8

Please sign in to comment.