-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KHP3-3757 Add program discontinuation section in vmmc discontinuation… (
#123)
- Loading branch information
1 parent
b16e05a
commit 8bd90f1
Showing
1 changed file
with
131 additions
and
124 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 |
---|---|---|
@@ -1,125 +1,132 @@ | ||
{ | ||
"name": "VMMC Discontinuation Form", | ||
"description": "VMMC Discontinuation Form", | ||
"version": "1", | ||
"published": true, | ||
"uuid": "bc6a9e7d-58f7-43c0-8334-d8011fef4000", | ||
"retired": false, | ||
"encounter": "VMMC Discontinuation", | ||
"pages": [ | ||
{ | ||
"label": "VMMC Discontinuation Form", | ||
"sections": [ | ||
{ | ||
"label": "Encounter Details", | ||
"isExpanded": "true", | ||
"questions": [ | ||
{ | ||
"label": "Date:", | ||
"type": "encounterDatetime", | ||
"questionOptions": { | ||
"rendering": "ui-select-extended" | ||
}, | ||
"id": "encDate", | ||
"validators": [ | ||
{ | ||
"type": "date", | ||
"allowFutureDates": "false" | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "Provider:", | ||
"type": "encounterProvider", | ||
"questionOptions": { | ||
"rendering": "ui-select-extended" | ||
}, | ||
"id": "encProvider " | ||
}, | ||
{ | ||
"label": "Location:", | ||
"type": "encounterLocation", | ||
"questionOptions": { | ||
"rendering": "ui-select-extended" | ||
}, | ||
"id": "encLocation" | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "Details", | ||
"isExpanded": "true", | ||
"questions": [ | ||
{ | ||
"label": "Discontinuation date", | ||
"type": "obs", | ||
"questionOptions": { | ||
"rendering": "date", | ||
"concept": "164384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | ||
}, | ||
"id": "discontinue-date", | ||
"validators": [ | ||
{ | ||
"type": "date", | ||
"allowFutureDates": "false" | ||
}, | ||
{ | ||
"type": "js_expression", | ||
"failsWhenExpression": "(new moment(encDate)).isBefore((new moment(myValue)), 'day'))", | ||
"message": "Discontinuation date should not be before the encounter date." | ||
} | ||
], | ||
"required": "true" | ||
}, | ||
{ | ||
"label": "Reason:", | ||
"type": "obs", | ||
"questionOptions": { | ||
"rendering": "select", | ||
"concept": "161555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"answers": [ | ||
{ | ||
"concept": "162130AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Patient has healed" | ||
}, | ||
{ | ||
"concept": "112992AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "STI" | ||
}, | ||
{ | ||
"concept": "159766AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Client has condition hindering them from going through VMMC" | ||
}, | ||
{ | ||
"concept": "159808AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Consent is not provided" | ||
}, | ||
{ | ||
"concept": "159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Transferred Out" | ||
}, | ||
{ | ||
"concept": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Died" | ||
}, | ||
{ | ||
"concept": "138405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Newly Diagnosed HIV" | ||
}, | ||
{ | ||
"concept": "160067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Assent is not provided" | ||
} | ||
] | ||
}, | ||
"id": "idReason", | ||
"required": "true" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"processor": "EncounterFormProcessor", | ||
"referencedForms": [] | ||
} | ||
"name": "VMMC Discontinuation Form", | ||
"description": "VMMC Discontinuation Form", | ||
"version": "1", | ||
"published": true, | ||
"uuid": "bc6a9e7d-58f7-43c0-8334-d8011fef4000", | ||
"retired": false, | ||
"encounter": "VMMC Discontinuation", | ||
"meta": { | ||
"programs": { | ||
"uuid": "228538f4-cad9-476b-84c3-ab0086150bcc", | ||
"isEnrollment": false, | ||
"discontinuationDateQuestionId": "discontinueDate" | ||
} | ||
}, | ||
"pages": [ | ||
{ | ||
"label": "VMMC Discontinuation Form", | ||
"sections": [ | ||
{ | ||
"label": "Encounter Details", | ||
"isExpanded": "true", | ||
"questions": [ | ||
{ | ||
"label": "Date:", | ||
"type": "encounterDatetime", | ||
"questionOptions": { | ||
"rendering": "ui-select-extended" | ||
}, | ||
"id": "encDate", | ||
"validators": [ | ||
{ | ||
"type": "date", | ||
"allowFutureDates": "false" | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "Provider:", | ||
"type": "encounterProvider", | ||
"questionOptions": { | ||
"rendering": "ui-select-extended" | ||
}, | ||
"id": "encProvider " | ||
}, | ||
{ | ||
"label": "Location:", | ||
"type": "encounterLocation", | ||
"questionOptions": { | ||
"rendering": "ui-select-extended" | ||
}, | ||
"id": "encLocation" | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "Details", | ||
"isExpanded": "true", | ||
"questions": [ | ||
{ | ||
"label": "Discontinuation date", | ||
"type": "obs", | ||
"questionOptions": { | ||
"rendering": "date", | ||
"concept": "164384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" | ||
}, | ||
"id": "discontinueDate", | ||
"validators": [ | ||
{ | ||
"type": "date", | ||
"allowFutureDates": "false" | ||
}, | ||
{ | ||
"type": "js_expression", | ||
"failsWhenExpression": "(new moment(encDate)).isBefore((new moment(myValue)), 'day'))", | ||
"message": "Discontinuation date should not be before the encounter date." | ||
} | ||
], | ||
"required": "true" | ||
}, | ||
{ | ||
"label": "Reason:", | ||
"type": "obs", | ||
"questionOptions": { | ||
"rendering": "select", | ||
"concept": "161555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"answers": [ | ||
{ | ||
"concept": "162130AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Patient has healed" | ||
}, | ||
{ | ||
"concept": "112992AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "STI" | ||
}, | ||
{ | ||
"concept": "159766AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Client has condition hindering them from going through VMMC" | ||
}, | ||
{ | ||
"concept": "159808AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Consent is not provided" | ||
}, | ||
{ | ||
"concept": "159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Transferred Out" | ||
}, | ||
{ | ||
"concept": "160034AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Died" | ||
}, | ||
{ | ||
"concept": "138405AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Newly Diagnosed HIV" | ||
}, | ||
{ | ||
"concept": "160067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Assent is not provided" | ||
} | ||
] | ||
}, | ||
"id": "idReason", | ||
"required": "true" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"processor": "EncounterFormProcessor", | ||
"referencedForms": [] | ||
} |