Skip to content

Commit

Permalink
Added dispensed dose end date in prep
Browse files Browse the repository at this point in the history
  • Loading branch information
melkam-mekonnen committed Dec 22, 2023
1 parent 1693e70 commit 7baee30
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/forms/followup/2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -9504,7 +9504,7 @@
"rendering": "eth-date",
"concept": "164384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
"readonly": "false",
"readonly": "true",
"hide": {
"hideWhenExpression": "artStarted !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
},
Expand Down
19 changes: 18 additions & 1 deletion src/forms/pre-exposure-followup/1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,23 @@
"hideWhenExpression": "followupStatus !== 'de4bd0d5-f826-4556-9e30-fa8e91c4c398' && followupStatus !== '488236af-a2fe-4b04-b62c-eabd27b05ea4' && followupStatus !== '166536AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
"label": "PrEP dose end date",
"type": "obs",
"required": false,
"id": "prepDoseEndDate",
"readonly": "true",
"questionOptions": {
"rendering": "date",
"concept": "1dcc457b-638c-4103-887b-4e8581e052f8",
"calculate": {
"calculateExpression": "CustomNextVisitDateCalc('followupDate','arvDispensedInDays')"
},
"conceptMappings": [],
"answers": []
},
"validators": []
},
{
"label": "Number of missed tablets in the past 30 days",
"type": "obs",
Expand Down Expand Up @@ -1174,7 +1191,7 @@
"concept": "c596f199-4d76-4eca-b3c4-ffa631c0aee9",
"weeksList": ""
},
"readonly": "false",
"readonly": "true",
"id": "nextVisitDate"
}
]
Expand Down

0 comments on commit 7baee30

Please sign in to comment.