Skip to content

Commit

Permalink
KHP3-3872 Add kp discontinuation form (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau authored Jul 12, 2023
1 parent cc36d6e commit b16e05a
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 116 deletions.
116 changes: 0 additions & 116 deletions configuration/ampathforms/KP_Client_Discontinuation

This file was deleted.

116 changes: 116 additions & 0 deletions configuration/ampathforms/KP_Client_Discontinuation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"name": "KP Client Discontinuation",
"description": "KP Discontinuation",
"version": "1",
"published": true,
"uuid": "1f76643e-2495-11e9-ab14-d663bd873d93 ",
"retired": false,
"encounter": "KP Discontinuation",
"meta": {
"programs": {
"uuid": "7447305a-18a7-11e9-ab14-d663bd873d93",
"isEnrollment": false,
"discontinuationDateQuestionId": "encDate"
}
},
"pages": [
{
"label": "Discontinue KP Client",
"sections": [
{
"label": "Discontinue KP Client",
"isExpanded": "true",
"questions": [
{
"label": "Date:",
"type": "encounterDatetime",
"questionOptions": {
"rendering": "ui-select-extended"
},
"id": "encDate"
},
{
"label": "Reason:",
"type": "obs",
"id": "KpidReason",
"questionOptions": {
"concept": "161555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "select",
"answers": [
{
"concept": "159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Transferred Out"
},
{
"concept": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Died"
},
{
"concept": "5240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Lost to Follow"
},
{
"concept": "819AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Cannot afford Treatment"
},
{
"concept": "5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Other"
},
{
"concept": "1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"label": "Unknown"
}
]
}
},
{
"label": "If Patient Died, please provide Date of Death if Known:",
"type": "obs",
"id": "discontinueDate",
"questionOptions": {
"concept": "1543AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "date"
},
"validators": [
{
"type": "date",
"allowFutureDates": "false"
}
],
"hide": {
"hideWhenExpression": "KpidReason !== '160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
"label": "(If transferred out) Transfer to Facility:",
"type": "obs",
"id": "kpTToUt",
"questionOptions": {
"concept": "159495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "text"
},
"hide": {
"hideWhenExpression": "KpidReason !== '159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
},
{
"label": "Date Transferred Out:",
"type": "obs",
"questionOptions": {
"concept": "160649AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"rendering": "date"
},
"id": "TTouTDate",
"hide": {
"hideWhenExpression": "KpidReason !== '159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'"
}
}
]
}
]
}
],
"processor": "EncounterFormProcessor",
"referencedForms": []
}

0 comments on commit b16e05a

Please sign in to comment.