Skip to content

Sinekhaya/tz/form update #2945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hrm-form-definitions/form-definitions/tz/v1/CaseStatus.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"open": {
"value": "open",
"label": "Open",
"value": "ongoing",
"label": "Ongoing",
"color": "green",
"transitions": [
"closed"
Expand All @@ -12,7 +12,7 @@
"label": "Closed",
"color": "red",
"transitions": [
"open"
"ongoing"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"CallerInformationTab":[]
},
"preEngagement":{
"ChildInformationTab":["age", "gender", "firstName"],
"ChildInformationTab":["age", "gender", "firstName", "location"],
"CallerInformationTab":[],
"CaseInformationTab":[]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@
"name": "age",
"label": "Age",
"type": "select",
"unknownOption": "Unknown",
"unknownOption": "",
"options": [
{
"value": "Unknown",
"value": "",
"label": ""
},
{
Expand Down Expand Up @@ -198,10 +198,42 @@
"label": "18"
},
{
"value": ">18",
"label": ">18"
"value": "19",
"label": "19"
},
{
"value": "20",
"label": "20"
},
{
"value": "21",
"label": "21"
},
{
"value": "22",
"label": "22"
},
{
"value": "23",
"label": "23"
},
{
"value": "24",
"label": "24"
},
{
"value": "25",
"label": "25"
},
{
"value": ">25",
"label": ">25"
}
]
],
"required": {
"value": true,
"message": "RequiredFieldError"
}
},
{
"name": "language",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@
"name": "age",
"label": "Age",
"type": "select",
"unknownOption": "Unknown",
"unknownOption": "",
"options": [
{
"value": "Unknown",
"value": "",
"label": ""
},
{
Expand Down Expand Up @@ -206,10 +206,42 @@
"label": "18"
},
{
"value": ">18",
"label": ">18"
"value": "19",
"label": "19"
},
{
"value": "20",
"label": "20"
},
{
"value": "21",
"label": "21"
},
{
"value": "22",
"label": "22"
},
{
"value": "23",
"label": "23"
},
{
"value": "24",
"label": "24"
},
{
"value": "25",
"label": "25"
},
{
"value": ">25",
"label": ">25"
}
]
],
"required": {
"value": true,
"message": "RequiredFieldError"
}
},
{
"name": "language",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,24 @@
"label": "Religious leader"
},
{
"value": "Other",
"label": "Other"
"value": "Local Government Authorities",
"label": "Local Government Authorities"
},
{
"value": "Gender Desk",
"label": "Gender Desk"
},
{
"value": "One-Stop Center (OSC)",
"label": "One-Stop Center (OSC)"
},
{
"value": "Women & Children Coordinator (WCC)",
"label": "Women & Children Coordinator (WCC)"
},
{
"value": "Sheha",
"label": "Sheha"
}
],
"required": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@
"name": "age",
"label": "Age",
"type": "select",
"unknownOption": "Unknown",
"unknownOption": "",
"options": [
{
"value": "Unknown",
"value": "",
"label": ""
},
{
Expand Down Expand Up @@ -210,10 +210,42 @@
"label": "18"
},
{
"value": ">18",
"label": ">18"
"value": "19",
"label": "19"
},
{
"value": "20",
"label": "20"
},
{
"value": "21",
"label": "21"
},
{
"value": "22",
"label": "22"
},
{
"value": "23",
"label": "23"
},
{
"value": "24",
"label": "24"
},
{
"value": "25",
"label": "25"
},
{
"value": ">25",
"label": ">25"
}
]
],
"required": {
"value": true,
"message": "RequiredFieldError"
}
},
{
"name": "language",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,37 +9,77 @@
}
},
{
"name": "repeatCaller",
"label": "Repeat Caller?",
"type": "mixed-checkbox"
"name": "signPosting",
"label": "Signposting",
"type": "select",
"options": [
{
"value": "Clinic",
"label": "Clinic"
},
{
"value": "Hospital",
"label": "Hospital"
},
{
"value": "Social Welfare",
"label": "Social Welfare"
},
{
"value": "Police",
"label": "Police"
},
{
"value": "Religious leader",
"label": "Religious leader"
},
{
"value": "Local Government Authorities",
"label": "Local Government Authorities"
},
{
"value": "Gender Desk",
"label": "Gender Desk"
},
{
"value": "One-Stop Center (OSC)",
"label": "One-Stop Center (OSC)"
},
{
"value": "Women & Children Coordinator (WCC)",
"label": "Women & Children Coordinator (WCC)"
},
{
"value": "Sheha",
"label": "Sheha"
}
]
},
{
"name": "actionTaken",
"label": "Action Taken",
"name": "urgencyLevel",
"label": "Level of Urgency",
"type": "select",
"options": [
{
"value": "Unknown",
"label": " "
"value": "",
"label": ""
},
{
"value": "Action taken",
"label": "Action taken"
"value": "Level 1",
"label": "Level 1"
},
{
"value": "Other",
"label": "Other"
"value": "Level 2",
"label": "Level 2"
},
{
"value": "Level 3",
"label": "Level 3"
}
]
},
{
"name": "okForCaseWorkerToCall",
"label": "Ok for case worker to call?",
"type": "mixed-checkbox"
},
{
"name": "didYouDiscussRightsWithTheChild",
"label": "Did you discuss rights with the child?",
"type": "mixed-checkbox"
],
"required": {
"value": true,
"message": "RequiredFieldError"
}
}
]
Loading
Loading