From 75679cfe70267cbf61898a16a37e530ee6549d47 Mon Sep 17 00:00:00 2001 From: mmatheka <99263785+mmatheka@users.noreply.github.com> Date: Mon, 30 Sep 2024 19:20:50 +0300 Subject: [PATCH] Update Child welfare services discontinuation form with revised changes (#812) --- ...hild_Welfare_Services_Discontinuation.json | 659 +++++++++--------- 1 file changed, 336 insertions(+), 323 deletions(-) diff --git a/configuration/ampathforms/Child_Welfare_Services_Discontinuation.json b/configuration/ampathforms/Child_Welfare_Services_Discontinuation.json index a6ef7910..9227354a 100644 --- a/configuration/ampathforms/Child_Welfare_Services_Discontinuation.json +++ b/configuration/ampathforms/Child_Welfare_Services_Discontinuation.json @@ -1,339 +1,352 @@ { "name": "Child Welfare Services Discontinuation", "description": "Child Welfare Services Discontinuation", - "version": "1", + "version": "2.0", "published": true, "uuid": "1dd02c43-904b-4206-8378-7b1a8414c326", "retired": false, "encounter": "MCH Child Discontinuation", "meta": { - "programs": { - "uuid": "c2ecdf11-97cd-432a-a971-cfd9bd296b83", - "isEnrollment": false, - "discontinuationDateQuestionId": "" - } + "programs": { + "uuid": "c2ecdf11-97cd-432a-a971-cfd9bd296b83", + "isEnrollment": false, + "discontinuationDateQuestionId": "" + } }, "pages": [ - { - "label": "Child Welfare Services Discontinuation", - "sections": [ - { - "label": "Visit Details", - "isExpanded": "true", - "questions": [ - { - "label": "Discontinued Date:", - "type": "encounterDatetime", - "questionOptions": { - "rendering": "ui-select-extended" - }, - "validators": [ - { - "type": "date", - "allowFutureDates": "false" - } - ], - "id": "encDate" - }, - { - "label": "Provider:", - "type": "encounterProvider", - "questionOptions": { - "rendering": "ui-select-extended" - }, - "id": "encProvider " - }, - { - "label": "Location:", - "type": "encounterLocation", - "questionOptions": { - "rendering": "ui-select-extended" - }, - "id": "encLocation" - } - ] + { + "label": "Child Welfare Services Discontinuation", + "sections": [ + { + "label": "Visit Details", + "isExpanded": "true", + "questions": [ + { + "label": "Discontinued Date:", + "type": "encounterDatetime", + "questionOptions": { + "rendering": "ui-select-extended" }, - { - "label": "Child Services Discontinuation", - "isExpanded": "true", - "questions": [ - { - "label": "Reason", - "type": "obs", - "required": "true", - "questionOptions": { - "rendering": "select", - "concept": "161555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "answers": [ - { - "concept": "160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Died" - }, - { - "concept": "1267AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Completed" - }, - { - "concept": "159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Transferred Out" - }, - { - "concept": "5240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Lost to follow up" - }, - { - "concept": "1692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Discharged at 18 months" - } - ] - }, - "id": "idReason" - }, - { - "label": "Date of Death", - "type": "obs", - "id": "deathdate", - "questionOptions": { - "concept": "160649AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "rendering": "date" - }, - "hide": { - "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - }, - { - "label": "Death reason", - "type": "obs", - "required": "true", - "questionOptions": { - "rendering": "select", - "concept": "599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "answers": [ - { - "concept": "163324AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in TB" - }, - { - "concept": "116030AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in cancer" - }, - { - "concept": "160159AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other infectious and parasitic diseases" - }, - { - "concept": "160158AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Other HIV disease resulting in other diseases or conditions leading to death" - }, - { - "concept": "133478AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Other natural causes not directly related to HIV" - }, - { - "concept": "123812AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Non-natural causes" - }, - { - "concept": "1142917AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Unknown cause" - } - ] - }, - "id": "idDeathReason", - "hide": { - "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - }, - { - "label": "Specific cause of death", - "type": "obs", - "required": "true", - "questionOptions": { - "rendering": "select", - "concept": "1748AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "answers": [ - { - "concept": "165609AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "COVID-19 Complications" - }, - { - "concept": "145439AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Non-communicable diseases such as Diabetes and hypertension" - }, - { - "concept": "156673AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in mycobacterial infection" - }, - { - "concept": "155010AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in Kaposis sarcoma" - }, - { - "concept": "156667AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in Burkitts lymphoma" - }, - { - "concept": "115195AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other types of non-Hodgkin lymphoma" - }, - { - "concept": "157593AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other malignant neoplasms of lymphoid and haematopoietic and related tissue" - }, - { - "concept": "156672AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in multiple malignant neoplasms" - }, - { - "concept": "159988AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other malignant neoplasms" - }, - { - "concept": "5333AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other bacterial infections" - }, - { - "concept": "116031AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in unspecified malignant neoplasms" - }, - { - "concept": "123122AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other viral infections" - }, - { - "concept": "156669AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in cytomegaloviral disease" - }, - { - "concept": "156668AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in candidiasis" - }, - { - "concept": "5350AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other mycoses" - }, - { - "concept": "882AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in Pneumocystis jirovecii pneumonia - HIV disease resulting in Pneumocystis carinii pneumonia" - }, - { - "concept": "156671AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in multiple infections" - }, - { - "concept": "160159AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other infectious and parasitic diseases" - }, - { - "concept": "171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in unspecified infectious or parasitic disease - HIV disease resulting in infection NOS" - }, - { - "concept": "156670AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other specified diseases including encephalopathy or lymphoid interstitial pneumonitis or wasting syndrome and others" - }, - { - "concept": "160160AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in other conditions including acute HIV infection syndrome or persistent generalized lymphadenopathy or hematological and immunological abnormalities and others" - }, - { - "concept": "161548AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "HIV disease resulting in Unspecified HIV disease" - } - ] - }, - "id": "idDeathReasonSpecific", - "hide": { - "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - }, - { - "label": "Other natural causes:", - "type": "obs", - "id": "otherNaturalCauses", - "questionOptions": { - "concept": "162580AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "rendering": "text" - }, - "hide": { - "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - }, - { - "label": "Non-natural causes:", - "type": "obs", - "id": "nonNaturalCauses", - "questionOptions": { - "concept": "160218AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "rendering": "text" - }, - "hide": { - "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - }, - { - "label": "Transfer to Facility:", - "type": "obs", - "id": "transferToFacility", - "questionOptions": { - "concept": "159495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "rendering": "text" - }, - "hide": { - "hideWhenExpression": "idReason !== '159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - }, - { - "label": "Date Transferred Out", - "type": "obs", - "id": "dateTransferredOut", - "questionOptions": { - "concept": "160649AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "rendering": "date" - }, - "hide": { - "hideWhenExpression": "idReason !== '159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - }, - { - "label": "Transfer out verified?", - "type": "obs", - "id": "transferoutverified", - "questionOptions": { - "concept": "1285AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "rendering": "radio", - "answers": [ - { - "concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "No" - }, - { - "concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "label": "Yes" - } - ] - }, - "hide": { - "hideWhenExpression": "idReason !== '159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - }, - { - "label": "Date verified", - "type": "obs", - "id": "dateverified", - "questionOptions": { - "concept": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "rendering": "date" - }, - "hide": { - "hideWhenExpression": "transferoutverified !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" - } - } - ] + "validators": [ + { + "type": "date", + "allowFutureDates": "false" + } + ], + "id": "encDate" + }, + { + "label": "Provider:", + "type": "encounterProvider", + "questionOptions": { + "rendering": "ui-select-extended" + }, + "id": "encProvider " + }, + { + "label": "Location:", + "type": "encounterLocation", + "questionOptions": { + "rendering": "ui-select-extended" + }, + "id": "encLocation" + } + ] + }, + { + "label": "Child Services Discontinuation", + "isExpanded": "true", + "questions": [ + { + "label": "Reason", + "type": "obs", + "required": "true", + "questionOptions": { + "rendering": "select", + "concept": "161555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "answers": [ + { + "concept": "160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Died" + }, + { + "concept": "162050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Discharged to CCC " + }, + { + "concept": "159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Transferred Out" + }, + { + "concept": "5240AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Lost to follow up" + }, + { + "concept": "1692AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Discharged negative at 24 months" + } + ] + }, + "id": "idReason" + }, + { + "label": "CCC number", + "type": "obs", + "id": "cccNumber", + "questionOptions": { + "concept": "162053AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "rendering": "numeric" + }, + "hide": { + "hideWhenExpression": "idReason !== '162050AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Date of Death", + "type": "obs", + "id": "deathdate", + "questionOptions": { + "concept": "160649AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "rendering": "date" + }, + "hide": { + "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Death reason", + "type": "obs", + "required": "true", + "questionOptions": { + "rendering": "select", + "concept": "599AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "answers": [ + { + "concept": "163324AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in TB" + }, + { + "concept": "116030AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in cancer" + }, + { + "concept": "160159AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other infectious and parasitic diseases" + }, + { + "concept": "160158AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Other HIV disease resulting in other diseases or conditions leading to death" + }, + { + "concept": "133478AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Other natural causes not directly related to HIV" + }, + { + "concept": "123812AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Non-natural causes" + }, + { + "concept": "1142917AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Unknown cause" + } + ] + }, + "id": "idDeathReason", + "hide": { + "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Specific cause of death", + "type": "obs", + "required": "true", + "questionOptions": { + "rendering": "select", + "concept": "1748AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "answers": [ + { + "concept": "165609AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "COVID-19 Complications" + }, + { + "concept": "145439AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Non-communicable diseases such as Diabetes and hypertension" + }, + { + "concept": "156673AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in mycobacterial infection" + }, + { + "concept": "155010AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in Kaposis sarcoma" + }, + { + "concept": "156667AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in Burkitts lymphoma" + }, + { + "concept": "115195AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other types of non-Hodgkin lymphoma" + }, + { + "concept": "157593AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other malignant neoplasms of lymphoid and haematopoietic and related tissue" + }, + { + "concept": "156672AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in multiple malignant neoplasms" + }, + { + "concept": "159988AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other malignant neoplasms" + }, + { + "concept": "5333AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other bacterial infections" + }, + { + "concept": "116031AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in unspecified malignant neoplasms" + }, + { + "concept": "123122AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other viral infections" + }, + { + "concept": "156669AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in cytomegaloviral disease" + }, + { + "concept": "156668AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in candidiasis" + }, + { + "concept": "5350AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other mycoses" + }, + { + "concept": "882AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in Pneumocystis jirovecii pneumonia - HIV disease resulting in Pneumocystis carinii pneumonia" + }, + { + "concept": "156671AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in multiple infections" + }, + { + "concept": "160159AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other infectious and parasitic diseases" + }, + { + "concept": "171AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in unspecified infectious or parasitic disease - HIV disease resulting in infection NOS" + }, + { + "concept": "156670AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other specified diseases including encephalopathy or lymphoid interstitial pneumonitis or wasting syndrome and others" + }, + { + "concept": "160160AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in other conditions including acute HIV infection syndrome or persistent generalized lymphadenopathy or hematological and immunological abnormalities and others" + }, + { + "concept": "161548AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "HIV disease resulting in Unspecified HIV disease" + } + ] + }, + "id": "idDeathReasonSpecific", + "hide": { + "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Other natural causes:", + "type": "obs", + "id": "otherNaturalCauses", + "questionOptions": { + "concept": "162580AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "rendering": "text" + }, + "hide": { + "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Non-natural causes:", + "type": "obs", + "id": "nonNaturalCauses", + "questionOptions": { + "concept": "160218AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "rendering": "text" + }, + "hide": { + "hideWhenExpression": "idReason !== '160432AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Transfer to Facility:", + "type": "obs", + "id": "transferToFacility", + "questionOptions": { + "concept": "159495AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "rendering": "text" + }, + "hide": { + "hideWhenExpression": "idReason !== '159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Date Transferred Out", + "type": "obs", + "id": "dateTransferredOut", + "questionOptions": { + "concept": "160649AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "rendering": "date" + }, + "hide": { + "hideWhenExpression": "idReason !== '159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Transfer out verified?", + "type": "obs", + "id": "transferoutverified", + "questionOptions": { + "concept": "1285AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "rendering": "radio", + "answers": [ + + { + "concept": "1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "Yes" + }, + { + "concept": "1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "label": "No" + } + ] + }, + "hide": { + "hideWhenExpression": "idReason !== '159492AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" + } + }, + { + "label": "Date verified", + "type": "obs", + "id": "dateverified", + "questionOptions": { + "concept": "164133AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "rendering": "date" + }, + "hide": { + "hideWhenExpression": "transferoutverified !== '1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'" } + } ] - } + } + ] + } ], "processor": "EncounterFormProcessor", "referencedForms": [] -} \ No newline at end of file + } \ No newline at end of file