From cc36d6e1d96b81b54d846bda0ddf43b071630f62 Mon Sep 17 00:00:00 2001 From: CynthiaKamau Date: Wed, 12 Jul 2023 14:44:01 +0300 Subject: [PATCH] KHP3-3873 Add prep client discontinuation information (#127) --- .../PrEP_Client_Discontinuation.json | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/configuration/ampathforms/PrEP_Client_Discontinuation.json b/configuration/ampathforms/PrEP_Client_Discontinuation.json index 220f5826..301d71f2 100644 --- a/configuration/ampathforms/PrEP_Client_Discontinuation.json +++ b/configuration/ampathforms/PrEP_Client_Discontinuation.json @@ -6,6 +6,13 @@ "uuid": "467c4cc3-25eb-4330-9cf6-e41b9b14cc10", "retired": false, "encounter": "PrEP Client Discontinuation", + "meta": { + "programs": { + "uuid": "214cad1c-bb62-4d8e-b927-810a046daf62", + "isEnrollment": false, + "discontinuationDateQuestionId": "encDate" + } + }, "pages": [ { "label": "PrEP Discontinuation", @@ -20,7 +27,13 @@ "questionOptions": { "rendering": "ui-select-extended" }, - "id": "encDate" + "id": "encDate", + "validators": [ + { + "type": "date", + "allowFutureDates": "false" + } + ] }, { "label": "Provider:", @@ -123,7 +136,13 @@ "rendering": "date", "concept": "162549AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }, - "id": "lastPrepDoseDate" + "id": "lastPrepDoseDate", + "validators": [ + { + "type": "date", + "allowFutureDates": "false" + } + ] } ] }