diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/CallTypeButtons.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/CallTypeButtons.json index 1e19cf1a7e..631f6feca8 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/CallTypeButtons.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/CallTypeButtons.json @@ -18,32 +18,26 @@ "category": "non-data" }, { - "name": "blank", - "label": "Blank", - "type": "button", - "category": "non-data" - }, - { - "name": "joke", - "label": "Joke", + "name": "hangup", + "label": "Hang up", "type": "button", "category": "non-data" }, { - "name": "hangup", - "label": "Hang up", + "name": "soft", + "label": "Soft", "type": "button", "category": "non-data" }, { - "name": "wrongnumber", - "label": "Wrong Number", + "name": "hard", + "label": "Hard", "type": "button", "category": "non-data" }, { - "name": "abusive", - "label": "Abusive", + "name": "connecting", + "label": "Connecting", "type": "button", "category": "non-data" } diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/CaseSections.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/CaseSections.json index c7a5394870..3f3a73e6cc 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/CaseSections.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/CaseSections.json @@ -7,17 +7,17 @@ "label": "Referral", "formPath": "caseForms/ReferralForm.json" }, - "household": { - "label": "Household Member", - "formPath": "caseForms/HouseholdForm.json" + "agency": { + "label": "Agency", + "formPath": "caseForms/AgencyForm.json" }, - "perpetrator": { - "label": "Perpetrator", - "formPath": "caseForms/PerpetratorForm.json" + "caseManagementPlan": { + "label": "Case Management Plan", + "formPath": "caseForms/CaseManagementPlanForm.json" }, - "incident": { - "label": "Incident", - "formPath": "caseForms/IncidentForm.json" + "dutyOfCare": { + "label": "Duty of Care", + "formPath": "caseForms/DutyOfCareForm.json" }, "document": { "label": "Document", diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/LayoutDefinitions.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/LayoutDefinitions.json index 872255f13e..c2194f8b5b 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/LayoutDefinitions.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/LayoutDefinitions.json @@ -1,99 +1,64 @@ { "contact": { - "callerInformation": { - }, - "childInformation": { - }, + "callerInformation": {}, + "childInformation": {}, "caseInformation": { - "splitFormAt": 8 + "splitFormAt": 10 } }, "case": { "sectionTypes": { - "household": { - "splitFormAt": 7, + "caseManagementPlan": { + "splitFormAt": 10, "caseHomeOrder": 1, "printOrder": 1, "previewFields": [ - "name", - "gender", - "age", - "relationshipToChild" - ], - "layout": { - "name": { - "widthRatio": 1.5, - "labelTemplateCode": "Case-PerpetratorName", - "valueTemplateCode": "Case-SectionList-PreviewNameValue" - }, - "age": { - "labelTemplateCode": "Case-PerpetratorAge" - }, - "gender": { - "labelTemplateCode": "Case-PerpetratorGender" - }, - "relationshipToChild": { - "labelTemplateCode": "Case-PerpetratorRelationship" - } - } + "datePlanPrepared", + "frequencyOfContact", + "keyInformation" + ] }, - "perpetrator": { + "agency": { "splitFormAt": 7, "caseHomeOrder": 2, "printOrder": 2, "previewFields": [ - "name", - "gender", - "age", - "relationshipToChild" + "personsName", + "position", + "agency" ], "layout": { - "name": { - "labelTemplateCode": "Case-PerpetratorName", - "valueTemplateCode": "Case-SectionList-PreviewNameValue" - }, - "age": { - "labelTemplateCode": "Case-PerpetratorAge" + "personsName": { + "includeLabel": true }, - "gender": { - "labelTemplateCode": "Case-PerpetratorGender" + "position": { + "includeLabel": true }, - "relationshipToChild": { - "labelTemplateCode": "Case-PerpetratorRelationship" + "agency": { + "includeLabel": true } } }, - "incident": { + "referral": { "previewFields": [ - "date", - "duration", - "location" + "referredTo" ], "layout": { - "date": { - "includeLabel": false, - "format": "date" - }, - "duration": { - "includeLabel": true - }, - "location": { + "referredTo": { "includeLabel": true } }, - "splitFormAt": 3, - "caseHomeOrder": 3, - "printOrder": 3 + "splitFormAt": 2, + "printOrder": 4, + "caseHomeLocation": "timeline" }, - "referral": { + "dutyOfCare": { "previewFields": [ - "referredTo" + "date", + "location" ], - "layout": { - "referredTo": {} - }, "splitFormAt": 2, - "printOrder": 4, + "printOrder": 3, "caseHomeLocation": "timeline" }, "document": { @@ -125,11 +90,13 @@ "printOrder": 5, "caseHomeLocation": "timeline", "printFormat": "list", - "previewFields": ["note"], + "previewFields": [ + "note" + ], "layout": { "note": {} } } } } -} +} \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/AgencyForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/AgencyForm.json new file mode 100644 index 0000000000..26fce42aec --- /dev/null +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/AgencyForm.json @@ -0,0 +1,62 @@ +[ + { + "name": "personsName", + "label": "Person's name", + "type": "input", + "isPII": false + }, + { + "name": "position", + "label": "Position", + "type": "input", + "isPII": false + }, + { + "name": "agency", + "label": "Agency", + "type": "input", + "isPII": false + }, + { + "name": "workersContactDetails", + "label": "Worker's contact details", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "permissionToContact", + "label": "Permission to contact", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Yes", + "label": "Yes" + }, + { + "value": "No", + "label": "No" + } + ] + }, + { + "name": "dateEntered", + "type": "date-input", + "isPII": false, + "label": "Date entered" + }, + { + "name": "notes", + "label": "Notes", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + } +] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/CaseManagementPlanForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/CaseManagementPlanForm.json new file mode 100644 index 0000000000..f3fd1759dd --- /dev/null +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/CaseManagementPlanForm.json @@ -0,0 +1,162 @@ +[ + { + "name": "datePlanPrepared", + "type": "date-input", + "isPII": false, + "label": "Date plan prepared" + }, + { + "name": "frequencyOfContact", + "label": "Frequency of contact", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Every day", + "label": "Every day" + }, + { + "value": "4x per week", + "label": "4x per week" + }, + { + "value": "3x per week", + "label": "3x per week" + }, + { + "value": "2x per week", + "label": "2x per week" + }, + { + "value": "1x per week", + "label": "1x per week" + }, + { + "value": "Fortnightly", + "label": "Fortnightly" + }, + { + "value": "Monthly", + "label": "Monthly" + }, + { + "value": "Sporadic", + "label": "Sporadic" + } + ] + }, + { + "name": "keyInformation", + "label": "Key Information for working with this client", + "type": "input", + "isPII": false + }, + { + "name": "contactedSince", + "type": "date-input", + "isPII": false, + "label": "Contacted since" + }, + { + "name": "mainContactPhoneemail", + "label": "Main contact phone/email", + "type": "input", + "isPII": false + }, + { + "name": "presentationformulationSummary", + "label": "Presentation/Formulation Summary:", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "pastBriefDetail", + "label": "Past - brief detail", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "presentBriefDetail", + "label": "Present - brief detail", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "history", + "label": "History", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "presentation", + "label": "Presentation", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "formulation", + "label": "Formulation", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "goals", + "label": "Goals", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "bestSupportForClient", + "label": "How can we best support/work with this client", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "limitationsForWorkingWithClient", + "label": "What are our limitations/boundaries/challenges for working with this client", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "otherConsiderations", + "label": "Other considerations", + "type": "textarea", + "isPII": false, + "rows": 8, + "width": 250 + }, + { + "name": "reviewDate", + "type": "date-input", + "isPII": false, + "label": "Review date" + }, + { + "name": "closedDate", + "type": "date-input", + "isPII": false, + "label": "Closed date" + } +] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/DutyOfCareForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/DutyOfCareForm.json new file mode 100644 index 0000000000..e76d051766 --- /dev/null +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/DutyOfCareForm.json @@ -0,0 +1,180 @@ +[ + { + "name": "otherInformationAboutTheClient", + "label": "Other Information about the Client", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "clientPresentation", + "label": "Client presentation", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "assessmentOfRisk", + "label": "Assessment of Risk", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Urgent", + "label": "Urgent" + }, + { + "value": "High", + "label": "High" + }, + { + "value": "Medium", + "label": "Medium" + }, + { + "value": "Low", + "label": "Low" + } + ] + }, + { + "name": "supervisorsAnalysis", + "label": "Supervisor's Analysis", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "planOfAction", + "label": "Plan of Action", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "immediateOutcome", + "label": "Immediate outcome (from Duty of Care process)", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "consultationDetails", + "label": "Barnardos Consultation - Date, Time and who consulted", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "agenciesInvolved", + "label": "Agencies Involved", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "informedUnitManager", + "label": "Informed unit manager?", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Yes", + "label": "Yes" + }, + { + "value": "No", + "label": "No" + } + ] + }, + { + "name": "whyNot", + "label": "Why not?", + "type": "input", + "isPII": false + }, + { + "name": "methodOfInforming", + "label": "Method of informing", + "type": "listbox-multiselect", + "isPII": false, + "options": [ + { + "value": "Conversation", + "label": "Conversation" + }, + { + "value": "Email", + "label": "Email" + }, + { + "value": "Instant Message", + "label": "Instant Message" + }, + { + "value": "Phone Call", + "label": "Phone Call" + } + ] + }, + { + "name": "furtherActionNeeded", + "label": "Further action needed", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "followUpRequired", + "label": "This D.O.C requires further follow up", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Yes", + "label": "Yes" + }, + { + "value": "No", + "label": "No" + } + ] + }, + { + "name": "notesFromFollowupAction", + "label": "Notes from follow-up action", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "furtherContactWithClientOrAgency", + "label": "Further contact with client or agency", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + } +] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/HouseholdForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/HouseholdForm.json deleted file mode 100644 index 8eecf0bc21..0000000000 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/HouseholdForm.json +++ /dev/null @@ -1,470 +0,0 @@ -[ - { - "name": "firstName", - "label": "First Name", - "type": "input", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "lastName", - "label": "Last Name", - "type": "input", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "relationshipToChild", - "label": "Relationship to child", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Caregiver", - "label": "Caregiver" - }, - { - "value": "Friend", - "label": "Friend" - }, - { - "value": "Grandparent", - "label": "Grandparent" - }, - { - "value": "Neighbour", - "label": "Neighbour" - }, - { - "value": "Parent", - "label": "Parent" - }, - { - "value": "Partner", - "label": "Partner" - }, - { - "value": "Person in a position of responsibility", - "label": "Person in a position of responsibility" - }, - { - "value": "Sibling", - "label": "Sibling" - }, - { - "value": "Stranger", - "label": "Stranger" - }, - { - "value": "Other", - "label": "Other" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "streetAddress", - "label": "Street Address", - "type": "input" - }, - { - "name": "province", - "label": "Province", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Central", - "label": "Central" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "district", - "label": "District", - "type": "dependent-select", - "dependsOn": "province", - "defaultOption": { - "value": "", - "label": "" - }, - "options": { - "District1": [ - { - "value": "Subdistrict1", - "label": "Subdistrict1" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "District2": [ - { - "value": "Subdistrict1", - "label": "Subdistrict1" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ] - }, - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "phone1", - "label": "Phone #1", - "type": "input" - }, - { - "name": "gender", - "label": "Gender", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Boy", - "label": "Boy" - }, - { - "value": "Girl", - "label": "Girl" - }, - { - "value": "Non-Binary", - "label": "Non-Binary" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "age", - "label": "Age", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "0", - "label": "0" - }, - { - "value": "1", - "label": "1" - }, - { - "value": "2", - "label": "2" - }, - { - "value": "3", - "label": "3" - }, - { - "value": "4", - "label": "4" - }, - { - "value": "5", - "label": "5" - }, - { - "value": "6", - "label": "6" - }, - { - "value": "7", - "label": "7" - }, - { - "value": "8", - "label": "8" - }, - { - "value": "9", - "label": "9" - }, - { - "value": "10", - "label": "10" - }, - { - "value": "11", - "label": "11" - }, - { - "value": "12", - "label": "12" - }, - { - "value": "13", - "label": "13" - }, - { - "value": "14", - "label": "14" - }, - { - "value": "15", - "label": "15" - }, - { - "value": "16", - "label": "16" - }, - { - "value": "17", - "label": "17" - }, - { - "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": "26", - "label": "26" - }, - { - "value": "27", - "label": "27" - }, - { - "value": "28", - "label": "28" - }, - { - "value": "29", - "label": "29" - }, - { - "value": "30", - "label": "30" - }, - { - "value": "31", - "label": "31" - }, - { - "value": "32", - "label": "32" - }, - { - "value": "33", - "label": "33" - }, - { - "value": "34", - "label": "34" - }, - { - "value": "35", - "label": "35" - }, - { - "value": "36", - "label": "36" - }, - { - "value": "37", - "label": "37" - }, - { - "value": "38", - "label": "38" - }, - { - "value": "39", - "label": "39" - }, - { - "value": "40", - "label": "40" - }, - { - "value": "41", - "label": "41" - }, - { - "value": "42", - "label": "42" - }, - { - "value": "43", - "label": "43" - }, - { - "value": "44", - "label": "44" - }, - { - "value": "45", - "label": "45" - }, - { - "value": "46", - "label": "46" - }, - { - "value": "47", - "label": "47" - }, - { - "value": "48", - "label": "48" - }, - { - "value": "49", - "label": "49" - }, - { - "value": "50", - "label": "50" - }, - { - "value": "51", - "label": "51" - }, - { - "value": "52", - "label": "52" - }, - { - "value": "53", - "label": "53" - }, - { - "value": "54", - "label": "54" - }, - { - "value": "55", - "label": "55" - }, - { - "value": "56", - "label": "56" - }, - { - "value": "57", - "label": "57" - }, - { - "value": "58", - "label": "58" - }, - { - "value": "59", - "label": "59" - }, - { - "value": "60", - "label": "60" - }, - { - "value": ">60", - "label": ">60" - }, - { - "value": "Unknown", - "label": "Unknown" - }, - { - "value": "Other", - "label": "Other" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "language", - "label": "Language", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "language1", - "label": "language1" - } - ] - }, - { - "name": "ethnicity", - "label": "Ethnicity", - "type": "input" - } -] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/IncidentForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/IncidentForm.json deleted file mode 100644 index 7a12c6df72..0000000000 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/IncidentForm.json +++ /dev/null @@ -1,101 +0,0 @@ -[ - { - "name": "date", - "label": "Date", - "type": "date-input", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "duration", - "label": "Duration", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Ongoing", - "label": "Ongoing" - }, - { - "value": "Once Off", - "label": "Once Off" - }, - { - "value": "Other", - "label": "Other" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "location", - "label": "Location", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Unknown", - "label": "Unknown" - }, - { - "value": "School", - "label": "School" - }, - { - "value": "Home", - "label": "Home" - }, - { - "value": "Institution", - "label": "Institution" - }, - { - "value": "Online", - "label": "Online" - }, - { - "value": "Public Place", - "label": "Public Place" - }, - { - "value": "Other", - "label": "Other" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "isCaregiverAware", - "label": "Is caregiver aware?", - "type": "mixed-checkbox" - }, - { - "name": "incidentWitnessed", - "label": "Was the incident witnessed by anyone?", - "type": "mixed-checkbox" - }, - { - "name": "abuseReportedElsewhere", - "label": "Has abuse been reported elsewhere?", - "type": "mixed-checkbox" - }, - { - "name": "whereElseBeenReported", - "label": "Where else the incident has been reported?", - "type": "mixed-checkbox" - } -] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/PerpetratorForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/PerpetratorForm.json deleted file mode 100644 index 8eecf0bc21..0000000000 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/caseForms/PerpetratorForm.json +++ /dev/null @@ -1,470 +0,0 @@ -[ - { - "name": "firstName", - "label": "First Name", - "type": "input", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "lastName", - "label": "Last Name", - "type": "input", - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "relationshipToChild", - "label": "Relationship to child", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Caregiver", - "label": "Caregiver" - }, - { - "value": "Friend", - "label": "Friend" - }, - { - "value": "Grandparent", - "label": "Grandparent" - }, - { - "value": "Neighbour", - "label": "Neighbour" - }, - { - "value": "Parent", - "label": "Parent" - }, - { - "value": "Partner", - "label": "Partner" - }, - { - "value": "Person in a position of responsibility", - "label": "Person in a position of responsibility" - }, - { - "value": "Sibling", - "label": "Sibling" - }, - { - "value": "Stranger", - "label": "Stranger" - }, - { - "value": "Other", - "label": "Other" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "streetAddress", - "label": "Street Address", - "type": "input" - }, - { - "name": "province", - "label": "Province", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Central", - "label": "Central" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "district", - "label": "District", - "type": "dependent-select", - "dependsOn": "province", - "defaultOption": { - "value": "", - "label": "" - }, - "options": { - "District1": [ - { - "value": "Subdistrict1", - "label": "Subdistrict1" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "District2": [ - { - "value": "Subdistrict1", - "label": "Subdistrict1" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ] - }, - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "phone1", - "label": "Phone #1", - "type": "input" - }, - { - "name": "gender", - "label": "Gender", - "type": "select", - "options": [ - { - "value": "", - "label": "" - }, - { - "value": "Boy", - "label": "Boy" - }, - { - "value": "Girl", - "label": "Girl" - }, - { - "value": "Non-Binary", - "label": "Non-Binary" - }, - { - "value": "Unknown", - "label": "Unknown" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "age", - "label": "Age", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "0", - "label": "0" - }, - { - "value": "1", - "label": "1" - }, - { - "value": "2", - "label": "2" - }, - { - "value": "3", - "label": "3" - }, - { - "value": "4", - "label": "4" - }, - { - "value": "5", - "label": "5" - }, - { - "value": "6", - "label": "6" - }, - { - "value": "7", - "label": "7" - }, - { - "value": "8", - "label": "8" - }, - { - "value": "9", - "label": "9" - }, - { - "value": "10", - "label": "10" - }, - { - "value": "11", - "label": "11" - }, - { - "value": "12", - "label": "12" - }, - { - "value": "13", - "label": "13" - }, - { - "value": "14", - "label": "14" - }, - { - "value": "15", - "label": "15" - }, - { - "value": "16", - "label": "16" - }, - { - "value": "17", - "label": "17" - }, - { - "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": "26", - "label": "26" - }, - { - "value": "27", - "label": "27" - }, - { - "value": "28", - "label": "28" - }, - { - "value": "29", - "label": "29" - }, - { - "value": "30", - "label": "30" - }, - { - "value": "31", - "label": "31" - }, - { - "value": "32", - "label": "32" - }, - { - "value": "33", - "label": "33" - }, - { - "value": "34", - "label": "34" - }, - { - "value": "35", - "label": "35" - }, - { - "value": "36", - "label": "36" - }, - { - "value": "37", - "label": "37" - }, - { - "value": "38", - "label": "38" - }, - { - "value": "39", - "label": "39" - }, - { - "value": "40", - "label": "40" - }, - { - "value": "41", - "label": "41" - }, - { - "value": "42", - "label": "42" - }, - { - "value": "43", - "label": "43" - }, - { - "value": "44", - "label": "44" - }, - { - "value": "45", - "label": "45" - }, - { - "value": "46", - "label": "46" - }, - { - "value": "47", - "label": "47" - }, - { - "value": "48", - "label": "48" - }, - { - "value": "49", - "label": "49" - }, - { - "value": "50", - "label": "50" - }, - { - "value": "51", - "label": "51" - }, - { - "value": "52", - "label": "52" - }, - { - "value": "53", - "label": "53" - }, - { - "value": "54", - "label": "54" - }, - { - "value": "55", - "label": "55" - }, - { - "value": "56", - "label": "56" - }, - { - "value": "57", - "label": "57" - }, - { - "value": "58", - "label": "58" - }, - { - "value": "59", - "label": "59" - }, - { - "value": "60", - "label": "60" - }, - { - "value": ">60", - "label": ">60" - }, - { - "value": "Unknown", - "label": "Unknown" - }, - { - "value": "Other", - "label": "Other" - } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } - }, - { - "name": "language", - "label": "Language", - "type": "select", - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "language1", - "label": "language1" - } - ] - }, - { - "name": "ethnicity", - "label": "Ethnicity", - "type": "input" - } -] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/customStrings/Substitutions.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/customStrings/Substitutions.json index b86e8c4b10..a066b6bb76 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/customStrings/Substitutions.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/customStrings/Substitutions.json @@ -1,667 +1,57 @@ { "en": { - "TaskHeaderLineTwitter": "@{{task.attributes.twitterUserHandle}}", - "ChatWelcomeText": "Conversation started", - "TaskHeaderEndCall": "Hang Up", - "TaskHeaderEndChat": "End Chat", - "TranslateButtonAriaLabel": "Change language", - "CloseButton": "Close", - "EditButton": "Edit", - "CancelButton": "Cancel", - "CallSummary-None": "- No call summary -", - "CallSummary-ViewFull": "See full record", - "CallSummary-MoreNotes": "more notes", - "CallSummary-ContactDate": "Contact Date", - "CallSummary-CallerName": "Caller Name", - "CallSummary-Counselor": "Counsellor: ", "CallType-child": "Client calling about self", "CallType-caller": "Someone calling about a client", - "CallType-silent": "Silent", - "CallType-blank": "Blank", - "CallType-joke": "Joke", - "CallType-hangup": "Hang up", - "CallType-wrongnumber": "Wrong Number", - "CallType-abusive": "Abusive", - "CallType-CloseContact": "Close Contact", - "CallTypeButtons-Categorize": "categorize this contact", - "CallTypeButtons-Or": "Or was this contact…", "ConnectDialog-Child": "Copy client information from this record to new contact?", - "ConnectDialog-Caller": "Copy caller information from this record to new contact?", - "QueueCard-WaitLabel": "Longest wait time:", - "QueueCard-None": "none", - "QueueCard-LessThanMinute": "less than a minute", - "QueueCard-OneMinute": "1 minute", - "QueueCard-Minutes": " minutes", - "QueueCard-Name": "Queue name", - "QueueIndex-ContactsWaiting": "Contacts waiting", - "AddButtons-Header": "Add...", - "OfflineContacts-Header": "Offline Contacts", - "NonDataCallTypeDialog-CloseConfirm": "Are you sure?", - "GeneralizedSearchForm-OptionalFilters": "Optional Filters", - "GeneralizedSearchForm-SearchTerm": "Search Term", - "GeneralizedSearchForm-Counselor": "Counsellor", - "GeneralizedSearchForm-DateFrom": "Date From", - "GeneralizedSearchForm-DateTo": "Date To", - "SearchContactsAndCases-Title": "Search", - "SearchContactsAndCases-TitleExistingCase": "Search for Cases", - "SearchForm-Name": "Name", - "SearchForm-First": "First", - "SearchForm-Last": "Last", - "SearchForm-Counselor": "Counsellor", - "SearchForm-DateRange": "Date Range", - "SearchForm-Start": "Start Date", - "SearchForm-End": "End Date", - "SearchForm-Phone": "Phone", - "SearchForm-Office": "Office", - "SearchForm-Button": "Search", - "SearchResultsIndex-Back": "Return to Search Criteria", - "SearchResultsIndex-BackToResults": "Return to Search Results", - "SearchResultsIndex-Result": " result", - "SearchResultsIndex-Results": " results", - "SearchResultsIndex-NonDataContacts": "Non-Data Contacts", - "SearchResultsIndex-Contacts": "Contacts", - "SearchResultsIndex-Cases": "Cases", - "SearchResultsIndex-ClosedCases": "Closed Cases", - "SearchResultsIndex-ViewContacts": "View Contacts", - "SearchResultsIndex-ViewCases": "View Cases", - "Contact-ViewButton": "View", - "SearchResultsIndex-SelectCase": "Select Case", - "SearchResultsIndex-NoCasesFound": "No Cases Found", - "SearchResultsIndex-NoContactsFound": "No Contacts Found", - "SearchResultsIndex-SearchAgainForCase": "Search again for a case", - "SearchResultsIndex-SearchAgainForContact": "Search again for a contact", - "SearchResultsIndex-SaveToNewCase": "save this contact to a new case", - "SearchResultsIndex-Or": "or", - "SearchResults-CounselorName":"Counselor Name:", - "SearchResults-FirstName":"First Name:", - "SearchResults-LastName":"Last Name:", - "SearchResults-PhoneNumber":"Phone Number:", - "SearchResults-DateFrom":"Date From:", - "SearchResults-DateTo":"Date To:", - "SearchResults-Contact": "1 Contact", - "SearchResults-Contacts": " Contacts", - "SearchResults-Case": "1 Case", - "SearchResults-Cases": " Cases", - "SearchResults-For": " for", - - - "StandaloneSearch-SideNav": "Search", - "CaseHeader-Opened": "Opened", - "CaseHeader-Updated": "Updated", - "CaseHeader-Closed": "Closed", - "CaseHeader-FollowUpDate": "Follow Up By", - "CaseHeader-Status": "Status", - "CaseHeader-ViewCase": "View Case", - "CaseHeader-ConnectToTaskContact": "Add to Case", - "CaseHeader-TaskContactConnected": "Added to Case", + "CaseHeader-CopyChildInfo": "Copy Client Information into Current Contact", - "CaseHeader-Copy": "Yes, copy", - "CaseHeader-Cancel": "Cancel", - "CaseHeader-Voided": "VOIDED", - "CaseHeader-NoData": "No Data", - "CaseHeader-Counsellor": "Counsellor", - "ReadMore": "see more", - "ReadLess": "see less", - "CaseSummary-NoSummaryProvided": "No Summary provided", - "CaseSummary-None": "- No case summary -", - "SectionEntry-Yes": "Yes", - "SectionEntry-No": "No", - "SharedStateSaveFormError": "The information stored in the form couldn't be saved. Task will be transferred anyway.", - "SharedStateLoadFormError": "The information stored in the form by previous counsellor couldn't be retrieved. Starting current task with clear contact form.", - "SharedStateSaveContactError": "Could not save pending contact at the Shared State.", - "TaskInfoPanel-AdditionalTaskContext": "Additional Task context", - "Transfer-TransferButton": "Transfer", - "Transfer-RefreshButton": "Refresh", - "Transfer-ErrorLoadingMessages": "Error loading messages. To retry loading them, refresh your browser", - "Transfer-AcceptTransferButton": "Accept Transfer", - "Transfer-RejectTransferButton": "Reject Transfer", - "TaskLineCallTransferWorker": "Transfer from {{task.incomingTransferObject.worker.fullName}} (direct)", - "TaskLineCallTransferQueue": "Transfer from {{task.incomingTransferObject.worker.fullName}} ({{task.incomingTransferObject.queue.name}})", - "Transfer-TaskLineCallReserved": "transfer from", - "Transfer-TaskLineChatReserved": "transfer from", - "Transfer-TaskLineChatLineReserved": "transfer from", - "Transfer-TaskLineChatMessengerReserved": "transfer from", - "Transfer-TaskLineChatSmsReserved": "transfer from", - "Transfer-TaskLineChatWhatsAppReserved": "transfer from", - "Transfer-Cold": "Cold", - "Transfer-Warm": "Warm", - "Transfer-FormNotEditable": "Form locked until transfer is completed.", - "Transfer-ChatWarmNotAllowed": "Warm transfer for chats is currently not supported.", - "Transfer-CannotTransferTooManyParticipants": "Cannot transfer while there are 3 or more participants", - "Transfer-Notifications-CantHangTransferInProgress": "Can't leave the call until the transfer is accepted or rejected.", - "BottomBar-Next": "Next", - "BottomBar-SaveAndAddToCase": "Save and Add to Case...", - "BottomBar-SaveContact": "Save", - "BottomBar-SaveCaseContact": "Save Contact", - "BottomBar-AddContactToNewCase": "Add to Case", - "BottomBar-AddedToCase": "Added to Case", - "BottomBar-OpenNewCase": "Open New Case", - "BottomBar-Cancel": "Cancel", - "BottomBar-CancelNewCaseAndClose": "Cancel Case and Return to Contact", - "BottomBar-SaveAndEnd": "Save and End", - "CaseSection-BottomBar-SaveAndAddAnother/note": "Save and Add Another Note", - "CaseSection-BottomBar-Save/note": "Save Note", - "CaseSection-BottomBar-SaveAndAddAnother/referral": "Save and Add Another Referral", - "CaseSection-BottomBar-Save/referral": "Save Referral", - "CaseSection-BottomBar-SaveAndAddAnother/perpetrator": "Save and Add Another Perpetrator", - "CaseSection-BottomBar-Save/perpetrator": "Save Perpetrator", - "CaseSection-BottomBar-SaveAndAddAnother/household": "Save and Add Another Member", - "CaseSection-BottomBar-Save/household": "Save Member", - "CaseSection-BottomBar-SaveAndAddAnother/incident": "Save and Add Another Incident", - "CaseSection-BottomBar-Save/incident": "Save Incident", - "BottomBar-SaveCaseSummary": "Save", - "CaseSection-BottomBar-SaveAndAddAnother/document": "Save and Upload Another Document", - "CaseSection-BottomBar-Save/document": "Save Document", - "CaseSection-BottomBar-SaveAndAddAnother/chicken": "boc boc!", - "CaseSection-BottomBar-Save/chicken": "boc!", - "BottomBar-Close": "Close", - "BottomBar-Update": "Update", - "Categories-Title": "Categorize this contact", - "TabbedForms-AddCallerInfoTab": "Caller", + + "CaseSection-BottomBar-SaveAndAddAnother/agency": "Save and Add Another Agency", + "CaseSection-BottomBar-Save/agency": "Save Agency", + "CaseSection-BottomBar-SaveAndAddAnother/caseManagementPlan": "Save and Add Another Case Management Plan", + "CaseSection-BottomBar-Save/caseManagementPlan": "Save Case Management Plan", + "CaseSection-BottomBar-SaveAndAddAnother/dutyOfCare": "Save and Add Another Duty of Care", + "CaseSection-BottomBar-Save/dutyOfCare": "Save Duty of Care", + "TabbedForms-AddChildInfoTab": "Client", - "TabbedForms-CategoriesTab": "Categories", - "TabbedForms-AddCaseInfoTab": "Summary", - "TabbedForms-AddContactInfoTab": "Contact", - "TabbedForms-BackButton": "Categorize Contact Type", - "TabbedForms-CSAMReportButton": "CSAM Report", - "TabbedForms-CSAMFileReportButton": "File CSAM Report", - "TabbedForms-CSAMResources": "Resources", - "TabbedForms-ExternalReports": "External Reports", + "TabbedForms-ReportsChildLink": "Create link for client", - "TabbedForms-ReportsCounselorReport": "Report as counselor", - "TabbedForms-NewCase": "New Case", - "TabbedForms-ExistingCase": "Existing Case", - "TabbedForms-ContactNotLoaded-Header": "Contact not loaded, no data can be recorded", - "TabbedForms-ContactNotLoaded-Retry": "Retry", - "TabbedForms-ContactNotLoaded-Finish": "End Without Saving", - "NotImplemented": "Not implemented yet!", - "Error-Backend": "Error from backend system.", - "Error-ContinueWithoutRecording": "Error from backend system. Are you sure you want to end the task without recording?", - "Error-Form": "There is a problem with your submission. Please check the form for errors.", - "Error-CategoryRequired": "Required #{{minSelections}} category minimum, #{{maxSelections}} categories maximum", - "Error-Unexpected": "Unexpected error has occurred", - "Forms-FileUpload-InvalidFileTypeError": "Invalid file type. Only PNG, JPG, JPEG, PDF, DOC, and DOCX files are allowed.", - "Forms-FileUpload-FileSizeError": "File exceeds max size.", - "Case-CaseNumber": "Case #", - "Case-Timeline-RecentTitle": "Recent Timeline", - "Case-Timeline-Title": "Timeline", - "Case-Timeline-PaginationDescription": "Showing {{from}}-{{to}} of {{total}}", - "Case-Timeline-OpenFullTimelineButton": "See All Timeline Items", - "Case-Timeline-DraftContactSummaryPlaceholder": "In Progress", - "Case-Timeline-ModalTitle": "Case #{{caseId}} Timeline", - "Case-SectionList-Title/perpetrator": "Perpetrators", - "Case-SectionList-Title/incident": "Incidents", - "Case-SectionList-Title/household": "Household Information", - "Case-SectionList-Title/document": "Documents", - "Case-SectionList-Title/chicken": "Chickens", - "Case-CaseSummarySection": "Case Summary", + "Case-CaseDetailsChildName": "Client Name", - "Case-CaseDetailsOwner": "Counsellor", - "Case-CaseDetailsDateOpened": "Opened", - "Case-CaseDetailsLastUpdated": "Last Updated / Closed", - "Case-CaseDetailsFollowUpDate": "Follow Up Date", - "Case-CaseDetailsStatusLabel": "Case Status", - "Case-CaseOverviewLabel": "Case Overview", - "Case-CaseDetailsStatusOpen": "Open", - "Case-SectionList-Add/referral": "Referral", - "Case-SectionList-Add/household": "Household Member", - "Case-SectionList-Add/perpetrator": "Perpetrator", - "Case-SectionList-Add/incident": "Incident", - "Case-SectionList-Add/document": "Document", - "Case-SectionList-Add/chicken": "Chicken", - "CaseSection-Add/note": "Add Note", - "CaseSection-Add/referral": "Add Referral", - "CaseSection-Add/household": "Add Household Member", - "CaseSection-Add/perpetrator": "Add Perpetrator", - "CaseSection-Add/incident": "Add Incident", - "CaseSection-Add/document": "Add Document", - "CaseSection-Add/chicken": "Add Chicken", - "CaseSection-Edit/note": "Edit Note", - "Case-DeleteDocument": "Delete", - "CaseSection-Edit/referral": "Edit Referral", - "CaseSection-Edit/household": "Edit Household Member", - "CaseSection-Edit/perpetrator": "Edit Perpetrator", - "CaseSection-Edit/incident": "Edit Incident", - "CaseSection-Edit/document": "Edit Document", - "CaseSection-Edit/chicken": "Bwaaak bocboc", - "Case-EditCaseSummary": "Edit Case Information", - "Case-EditCaseOverview": "Edit Case Overview", - "Case-AddNoteTypeHere": "Type here to add note...", - "Case-AddCaseSummaryHere": "Add case summary here...", - "Case-ActionHeaderAdded": "Added on {{date}} at {{time}} by {{counsellor}}", - "CSAMCLC-ActionHeaderAdded": "Added {{date}} at {{time}}    Counsellor: {{counsellor}}", - "Case-ActionHeaderUpdated": "Updated on {{date}} at {{time}} by {{counsellor}}", - "Case-ActionHeaderCounselor": "Counsellor:", - "Case-EditSummary-EditHistory-StatusUpdated": "Status updated from {{previousStatus}} to {{updatedStatus}} on {{date}} at {{time}} by {{counsellor}}", - "Case-CloseButton": "Close", - "Case-EditButton": "Edit", - "Case-PerpetratorName": "Name: ", - "Case-PerpetratorGender": "Gender: ", - "Case-PerpetratorAge": "Age: ", - "Case-PerpetratorRelationship": "Relationship to client: ", - "Case-SectionList-NoItems/perpetrator": "No Perpetrators Listed", - "Case-SectionList-NoItems/incident": "No Incidents Listed", - "Case-SectionList-Add/note": "Note", - "Case-SectionList-NoItems/household": "No Household Members Listed", - "Case-SectionList-NoItems/document": "No Documents Listed", - "Case-SectionList-NoItems/chicken": "No Chickens!", - "Case-SectionList-PreviewNameLabel": "Name", - "Case-SectionList-PreviewNameValue": "{{firstName}} {{lastName}}", - "Case-DocumentDate": "Date", - "Case-DocumentFileName": "File Name", - "Case-DocumentComments": "Comments", - "Case-Contact": "Contact", - "CaseSection-View-Title/household": "View Household Member", - "CaseSection-View-Title/incident": "View Incident", - "CaseSection-View-Title/perpetrator": "View Perpetrator", - "CaseSection-View-Title/document": "View Document", - "CaseSection-View-Title/chicken": "Boc!", - "CaseSection-View-Title/referral": "View Referral", - "CaseSection-View-Title/note": "View Note", - "Case-ReferralDate": "Date", - "Case-ReferralReferredTo": "Referred To...", - "Case-ReferralComments": "Comments", - "Case-Counsellor": "Counsellor", + + "Case-SectionList-Title/agency": "Agencies", + "Case-SectionList-Title/dutyOfCare": "Duty of Care", + "Case-SectionList-Title/caseManagementPlan": "Case Management Plan", + + "Case-SectionList-Add/caseManagementPlan": "Case Management Plan", + "Case-SectionList-Add/agency": "Agency", + "Case-SectionList-Add/dutyOfCare": "Duty of Care", + + + "CaseSection-Add/caseManagementPlan": "Add Case Management Plan", + "CaseSection-Add/agency": "Add Agency", + "CaseSection-Add/dutyOfCare": "Add Duty of Care", + + "CaseSection-Edit/caseManagementPlan": "Edit Case Management Plan", + "CaseSection-Edit/agency": "Edit Agency", + "CaseSection-Edit/dutyOfCare": "Edit Duty of Care", + + "Case-SectionList-NoItems/agency": "No Agencies Listed", + "Case-SectionList-NoItems/caseManagementPlan": "No Case Management Plan Listed", + "Case-SectionList-NoItems/dutyOfCare": "No Duty of Care Listed", + + "CaseSection-View-Title/caseManagementPlan": "View Case Management Plan", + "CaseSection-View-Title/dutyOfCare": "View Duty of Care", + "CaseSection-View-Title/agency": "View Agency", + "Case-ChildIsAtRisk": "Client is at risk", - "Case-CaseDetails": "Case Details", - "Case-CaseStatus": "Case Status", - "Case-CaseManager": "Case Manager", - "Case-Notes": "Notes", - "Case-ViewButton": "View", - - "SideNavCaseList": "Case List", - "CaseList-Cases": "Cases", - "CaseList-NoCases": "No cases found.", - "CaseList-Filters-CaseCount-Singular": "{{count}} case", - "CaseList-Filters-CaseCount-Plural": "{{count}} cases", - "CaseList-THCase": "Case", "CaseList-THChildName": "Client", - "CaseList-THSummary": "Summary", - "CaseList-THCounselor": "Counsellor", - "CaseList-THOpened": "Opened", - "CaseList-THUpdated": "Updated", - "CaseList-THFollowUp": "Follow Up", - "CaseList-THCategory": "Category", - "CaseList-ExpandButton": "Open case details", - "CaseList-PrevPage": "Previous page", - "CaseList-NextPage": "Next page", - "Table-FilterBy": "Filter by", - "CaseList-Filters-Status": "Status", - "CaseList-Filters-Counselor": "Counselor", - "CaseList-Filters-Categories": "Categories", - "CaseList-Filters-SearchForCounselor": "Search for counselor by name", - "CaseList-Filters-SearchByCategory": "Search by category", - "CaseList-Filters-ResetAllFilters": "Reset All Filters", - "CaseList-Filters-Apply": "Apply", - "CaseList-Filters-Clear": "Clear", - "CaseList-SomethingWentWrong": "Something went wrong while loading cases list. Please retry in a moment.", - "CaseList-Filters-DialogTitlePrefix": "Filter by:", - "CaseList-Filters-DateFiltersLabel": "Date Filters", - "CaseList-Filters-DateFilter-CreatedAt": "Opened", - "CaseList-Filters-DateFilter-UpdatedAt": "Updated", - "CaseList-Filters-DateFilter-FollowUpDate": "Follow Up", - "CaseList-Filters-DateFilter-CustomRange": "to", - "CaseList-Filters-DateFilter-CustomDateFrom": "Start Date", - "CaseList-Filters-DateFilter-CustomDateTo": "End Date", - "CaseList-Filters-DateFilterOptions-Today": "Today", - "CaseList-Filters-DateFilterOptions-Yesterday": "Yesterday", - "CaseList-Filters-DateFilterOptions-PastXDays": "Past {{days}} days", - "CaseList-Filters-DateFilterOptions-Tomorrow": "Tomorrow", - "CaseList-Filters-DateFilterOptions-NextXDays": "Next {{days}} days", - "CaseList-Filters-DateFilterOptions-WithoutDate": "No {{labelKey}}", - "CaseList-Filters-DateFilterOptions-CustomRange": "Custom", - "ContactPreview-CopyButton": "Copy information", - "ContactPreview-ExpandButton": "Open case details", - "ContactPreview-MoreOptionsButton": "More options", - "CallerForm-FirstName": "First name", - "CallerForm-LastName": "Last name", "CallerForm-RelationshipToChild": "Relationship to Client", - "CallerForm-Gender": "Gender", - "CallerForm-Age": "Age", - "CallerForm-Language": "Language", - "CallerForm-Nationality": "Nationality", - "CallerForm-Ethnicity": "Ethnicity", - "CallerForm-StreetAddress": "Street address", - "CallerForm-City": "City", - "CallerForm-State/County": "State/County", - "CallerForm-PostalCode": "Postal code", - "CallerForm-Phone#1": "Phone #1", - "CallerForm-Phone#2": "Phone #2", - "CallerSection-Name": "Name", "CallerSection-RelationshipToChild": "Relationship to Client", - "CallerSection-Address": "Address", - "CallerSection-Phone#1": "Phone #1", - "CallerSection-Phone#2": "Phone #2", - "CallerSection-Gender": "Gender", - "CallerSection-AgeRange": "Age Range", - "CallerSection-Language": "Language", - "CallerSection-Nationality": "Nationality", - "CallerSection-Ethnicity": "Ethnicity", - "ContactDetails-GeneralDetails": "General Details", - "ContactDetails-GeneralDetails-Channel": "Channel", - "ContactDetails-GeneralDetails-PhoneNumber": "Phone Number", - "ContactDetails-GeneralDetails-Email": "Email", - "ContactDetails-GeneralDetails-ConversationDuration": "Conversation Duration", - "ContactDetails-GeneralDetails-Counselor": "Counsellor", - "ContactDetails-GeneralDetails-DateTime": "Date/Time", - "ContactDetails-GeneralDetails-AddedBy": "Added By", - "ContactDetails-GeneralDetails-HangUpBy": "Who Hung Up", - "ContactDetails-GeneralDetails-HangUpBy/Customer": "Service User", - "ContactDetails-GeneralDetails-HangUpBy/Agent": "Counselor", - "ContactDetails-GeneralDetails-HangUpBy/Consult": "Consulting Counselor", - "ContactDetails-GeneralDetails-HangUpBy/Warm Transfer": "Transfer", - "ContactDetails-GeneralDetails-HangUpBy/Cold Transfer": "Transfer", - "ContactDetails-GeneralDetails-ContactSummary": "Contact Summary", - "ContactDetails-GeneralDetails-RepeatCaller": "Repeat Caller?", - "ContactDetails-GeneralDetails-ReferredTo": "Referred To", - "ContactDetails-GeneralDetails-ChildHearAboutUs": "How did the client hear about us?", - "ContactDetails-GeneralDetails-KeepConfidential": "Keep Confidential?", - "ContactDetails-GeneralDetails-OKToCall": "May social worker call/SMS?", "ContactDetails-GeneralDetails-DiscussRights": "Did you discuss rights with the client?", "ContactDetails-GeneralDetails-SolvedProblem": "Did the client feel we solved their problem?", "ContactDetails-GeneralDetails-WouldRecommend": "Would the client recommend us to a friend?", - "ContactDetails-GeneralDetails-externalReport": "Add CSAM Report", - "ContactDetails-GeneralDetails-ExternalReportsFiled": "External Report(s) Filed", - "ContactDetails-GeneralDetails-ResourcesReferrals": "Resource(s) Shared", - "ContactDetails-Transcript": "Transcript", - "ContactDetails-LoadTranscript-Button": "Load Transcript", - "ContactDetails-Recording": "Recording", - "ContactDetails-LoadRecording-Button": "Load Audio Recording", - "ContactDetails-ActionHeaderAdded": "Added on {{date}} at {{time}} by {{counsellor}}", - "ContactDetails-ActionHeaderUpdated": "Updated on {{date}} at {{time}} by {{counsellor}}", - "ContactDetails-NoCategoryProvided": "No category provided", - "ContactDetails-UnsavedContact": "Unsaved Contact", - "ContactDetails-NoConversationMediaNotification": "Transcript/Recording is not available. Transcript/Recording expire after 30 days for privacy and security reasons.", - "SectionName-CallerInformation": "Caller Information {{sectionNo}} of {{sectionCount}}", "SectionName-ChildInformation": "Client Information {{sectionNo}} of {{sectionCount}}", - "SectionName-Contact": "Contact", - "CasePrint-TabularSection-Header/household": "Household Member {{sectionNo}} of {{sectionCount}}", - "CasePrint-TabularSection-Header/perpetrator": "Perpetrator {{sectionNo}} of {{sectionCount}}", - "CasePrint-TabularSection-Header/incident": "Incident {{sectionNo}} of {{sectionCount}}", - "CasePrint-TabularSection-Header/referral": "Referral {{sectionNo}} of {{sectionCount}}", - "CasePrint-TabularSection-Header/chicken": "Chicken {{sectionNo}} of {{sectionCount}}", - "SectionName-Generic": "{{sectionLabel}} {{sectionNo}} of {{sectionCount}}", - "SectionName-Notes": "Notes", - "SectionName-CaseSummary": "Case Summary", - "TranscriptSection-PermanentError": "Something went wrong on our end. Please contact your support team or supervisor.", - "TranscriptSection-TemporaryError": "Something went wrong on our end. Please check again in a few minutes.", - "TranscriptSection-TranscriptNotAvailableCheckLater": "Transcript is not available. Please check back later.", - - "Contact-EditCaller": "Edit Caller Information", - "Contact-EditChild": "Edit Client Information", - "Contact-EditCategories": "Edit Categories", - "Contact-EditSummary": "Edit Summary", - "Contact-ExternalReport": "File External Report", - "Contact-DraftStatus": "In Progress", - "Contact-ResolvedStatus": "Contact has been saved", - "Contact-ConfirmFinalizeContactDialog-ConfirmButton": "Save and End Contact", - "Contact-ConfirmFinalizeContactDialog-Header": "Save and End Contact", - "Contact-ConfirmFinalizeContactDialog-Content": "Save contact and complete any ongoing task associated with it?", - "Contact-ConfirmRemoveTaskDialog-ConfirmButton": "Remove Task", - "Contact-ConfirmRemoveTaskDialog-Header": "Remove Task", - "Contact-ConfirmRemoveTaskDialog-Content": "An error occurred trying to complete the task associated with this contact. Do you want to try to remove the task instead? This will clear the task from the counsellors list but the data for this contact will not get stored in the insights reporting system if you do.", - - "ContactCopyButton": "Copy", - "ManualPullButtonText": "Another Task", - "NoTaskAssignableNotification": "No task assignable to you at the moment.", - "OfflineContactButtonText": "Offline Contact Record", - "ResumeContactButtonText": "Resume Offline Contact", - "CancelOfflineContact": "Cancel Offline Contact", - "YouMustBeAvailableToPerformThisOp": "You must be available to perform this operation.", - "RequiredFieldError": "This field is required.", - "NotURLFieldError": "This field only accepts URLs.", - "DateCantBeGreaterThanToday": "Date can't be greater than today.", - "DateCantBeLesserThanEpoch": "Date can't be lesser than 00:00:00 UTC on 1 January 1970.", - "DateToCantBeGreaterThanFrom": "End date can't be before start date.", - "TimeCantBeGreaterThanNow": "Time can't be greater than now.", - "NoCaseSummary": "No case summary", - "CannedResponses": "Canned Responses", - "OfflineContactFirstLine": "Offline Contact", - "OfflineContactSecondLine": "In progress", - "TaskList-AddOfflineContact-CreateError": "Error creating new offline contact", - "Category": "Category", - "Unknown": "Unknown", - "Anonymous": "Anonymous", - "PreviousContacts-ThereAre": "There are", - "PreviousContacts-ThereIs": "There is", - "PreviousContacts-Returned": "returned in this search.", - "PreviousContacts-PreviousContacts": "contacts", - "PreviousContacts-PreviousContact": "contact", - "PreviousContacts-Contact": "contact", - "PreviousContacts-Contacts": "contacts", - "PreviousContacts-Case": "case", - "PreviousContacts-Cases": "cases", - "PreviousContacts-Has": "has", - "PreviousContacts-And": "and", - "PreviousContacts-IPAddress": "IP address", - "PreviousContacts-EmailAddress": "email", - "PreviousContacts-PhoneNumber": "phone number", - "PreviousContacts-WhatsappNumber": "Whatsapp number", - "PreviousContacts-FacebookUser": "Facebook user", - "PreviousContacts-TelegramUser": "Telegram user", - "PreviousContacts-InstagramUser": "Instagram user", - "PreviousContacts-LineUser": "Line user", - "PreviousContacts-OnlyShowRecordsFrom": "Only show records from", - - "Profile-Title": "Client Profile", - "Profile-ClientTab": "Client", - "Profile-DetailsHeader-Overview": "Overview", - "Profile-DetailsHeader-Notes": "Notes", - "Profile-IdentifiersHeader": "Identifiers", - "Profile-NoIdentifiersFound": "No identifiers found", - "Profile-StatusHeader": "Status", - "Profile-NoStatusesListed": "None listed", - "Profile-EditHeader": "Edit Profile", - "Profile-EditNoteHeader": "Edit Note", - "Profile-EditButton": "Edit", - "Profile-Notes-No": "No", - "Profile-FlagEditHeader": "Edit Status and Blocking", - "Profile-NoContactsFound": "No Contacts Found", - "Profile-NoCasesFound": "No Cases Found", - "Profile-ViewClient": "View Client", - "Profile-ValidUntil": "until", - - "SideNavProfileList": "Client Profiles", - "Profile-Singular-Client": "client", - "ProfileList-Clients": "Clients", - "ProfileList-Count-Singular": "{{count}} client", - "ProfileList-Count-Plural": "{{count}} clients", - "ProfileList-THClient": "Client", - "ProfileList-THClientName": "Name", - "ProfileList-THStatus": "Status", - "ProfileList-THIdentifier": "Identifier(s)", - "ProfileList-THSummary": "Summary", - "ProfileList-NoClients": "No clients found.", - "ProfileList-Summary-None": "- No profile summary -", - "ProfileList-Status-None": "- No status -", - "ProfileList-ClientName-None": "- No name -", - - "UploadFile-ButtonText": "Upload File", - "DownloadFile-ButtonText": "Download File", - "CSAMReportForm-Header": "File a Report: Client Sexual Abuse Material", - "CSAMReportForm-WebsiteDetails": "Website details", - "CSAMReportForm-WebsiteDetailsDescription": "Please provide details where the material was discovered.
To report more than one website do a separate report.", - "CSAMReportForm-ContactDetails": "Contact details", - "CSAMReportForm-ContactDetailsDescription": "Reports can be filed anonymously or with contact details if the caller would like to follow up or be available to provide further details to IWF.", - "CSAMReportForm-LearnMore": "Learn more", - "CSAMReportForm-ContactDetailsInfo": "Contact details will be recorded on the IWF database for 3 months, and then will then be deleted in accordance with the UK Data Protection Act.", - "CSAMReportForm-ReportSent": "CSAM Report Sent!", - "CSAMReportForm-CopyCode": "Copy confirmation code for sharing", - "CSAMReportForm-Counsellor-Attachment": "CSAM report was filled", - "CSAMReportForm-Self-Attachment": "CSAM self-report link was generated", - "CSAMReportForm-ReportsSubmitted": "Reports Submitted", - "CSAMReportForm-SelectReportType": "Select CSAM report type", - "CSAMCLCReportForm-Header": "File External Report: CSAM - Create Link for Client", - "CSAMCLCReportForm-ChildAge": "What is client's age?", - "CSAMCLCReportForm-AgeVerified": "Has age of client been verified?", - "CSAMCLCReportForm-CopyLink": "Copy link to share with client. Link expires in 24 hours.", - "CSAMCLCReportForm-LinkReady": "CSAM self-report link is ready", - "SpecifyIfAnonymousOrNot": "Specify if this report is either anonymous or not", - "BottomBar-CreateLink": "Create Link", - "BottomBar-SendAnotherLink": "Create Another Link", - "BottomBar-SendReport": "Send Report", - "BottomBar-SendAnotherReport": "Send Another Report", - "BottomBar-CloseView": "Close View", - "CopyCode": "Copy Code", - "CopyLink": "Copy Link", - "Copied": "Copied!", - "BottomBar-SaveOnClose": "Save Changes?", - "BottomBar-DontSave": "No, Don't Save", - "BottomBar-Save": "Yes, Save", - "Toolkit-ConfirmTextOne": "You will be redirected to an external knowledge management system.", - "Toolkit-ConfirmTextTwo": "Are you sure you want to continue?", - - "MaskIdentifiers": "XXXXXX", - "UnmaskPhoneNumber": "Phone Number Revealed", - - "RecordingSection-Error": "Something went wrong on our end. Please contact your support team or supervisor.", - - "ReferrableResource-SideNav": "Resources", - "Resources-LoadResourceError": "Something went wrong trying to load this resource.", - "Resources-Search-FormTitle": "Resources", - "Resources-Search-ResultsTitle": "Search Results", - "Resources-Search-ResultsDescription": "Showing {{count}} results", - "Resources-Search-ResultsDescription-GeneralSearchTerm": " for \"{{generalSearchTerm}}\".", - "Resources-Search-ResultsDescription-MinimumAge": "Ages {{minEligibleAge}} or over.", - "Resources-Search-ResultsDescription-MaximumAge": "Ages {{maxEligibleAge}} or under.", - "Resources-Search-ResultsDescription-AgeRange": "Ages {{minEligibleAge}}-{{maxEligibleAge}}.", - "Resources-Search-ResultsDescription-InterpretationTranslationServicesAvailable": "Only with Interpretation / Translation Services Available.", - "Resources-Search-ResultsDescription-FeeStructure": "Cost: {{selections}}.", - "Resources-Search-ResultsDescription-HowServiceIsOffered": "Offered as {{selections}}.", - "Resources-Search-ResultsDescription-Location": "Located in {{location}}.", - "Search-ClearFormButton": "Clear", - "Resources-ResourceSearchError": "Something went wrong trying to search for resources.", - "Resources-Search-SearchTermHeader": "Search resource names, populations, services, languages served, etc.", - "Resources-Search-FilterHeader": "... and/or Filter", - "Resources-Search-Location": "Location", - "Resources-Search-Location-Province": "Province", - "Resources-Search-Location-Region": "Region", - "Resources-Search-Location-City": "City", - "Resources-Search-Age-Range": "Age Range", - "Resources-Search-Age-Range-Min": "Youngest", - "Resources-Search-Age-Range-Max": "Oldest", - "Resources-Search-InterpretationTranslationServicesAvailable": "Interpretation / Translation Services Available?", - "Resources-Search-InterpretationTranslationServicesAvailable-Checkbox": "Yes", - "Resources-Search-howServiceIsOffered": "How is this service offered?", - "Resources-Search-feeStructure": "Fee Structure", - "Resources-Search-targetPopulations": "Target Populations", - "Resources-Search-Preview-PrimaryAddress": "Primary Address", - "Resources-Search-Preview-AgesServed": "Ages Served", - "Resources-Search-Preview-OperatingHours": "Hours", - "Resources-View-ContactInfo": "Contact Info", - "Resources-View-MissingProperty": "Not Listed", - "Resources-View-OperatingHours": "Hours of Operation", - "Resources-View-Website": "Website", - "Resources-View-Details": "Details", - "Resources-View-Notes": "Notes", - "Resources-View-RecordType": "Record Type", - "Resources-View-Taxonomies": "Taxonomy Names", - "Resources-View-Sites": " ", - "Resources-View-PrivateInformationWarning": "This information is private. Do not share with client.", - "Resources-View-PrimaryAddress": "Primary Address", - "Resources-View-247": "Is Open 24/7?", - "Resources-View-TranslationServicesAvailable": "Interpretation/ Translation Services Available?", - "Resources-View-AgesServed": "Ages Served", - "Resources-View-TargetPopulation": "Target Population", - "Resources-View-FeeStructure": "Fee Structure", - "Resources-View-HowToAccessSupport": "How to Access Support", - "Resources-View-Accessibility": "Accessibility", - "Resources-View-ApplicationProcess": "Application Process", - "Resources-View-HowIsServiceOffered": "How is Service Offered", - "Resources-View-DocumentsRequired": "Documents Required", - "Resources-View-LanguagesServiced": "Languages Serviced", - "Resources-View-Coverage": "Coverage", - "Resources-View-Coverage-SeeSites": "(see individual sites)", - "Resources-View-Eligibility": "Eligibility", - "Resources-CopyId": "Copy ID", - "Resources-IdCopied": "Copied!", - "Forms-ResourceReferralsList-Add": "Add", - "Forms-ResourceReferralsList-Delete": "Delete", - - "Conference-AddConferenceCallParticipant": "Add Conference Call Participant", - "Conference-EnterPhoneNumber": "Enter phone number", - "Conference-DialButton": "Dial", - "Conference-Actions-Leave": "Leave Call", - "Conference-Actions-Hangup": "Hang Up", - "Conference-Actions-Mute": "Mute", - "Conference-Actions-Unmute": "Unmute", - "Conference-Actions-Add": "Conference", - "Conference-Actions-Dial": "Dial", - "Conference-Participant-Remove": "Remove Participant", - "Conference-Participant-Hold": "Hold Participant", - - "Conference-Wrapping-HangupBy/Customer": "Call Ended by Service User", - "Conference-Wrapping-HangupBy/Agent": "Call Ended by Counselor", - "Conference-Wrapping-HangupBy/Consult": "Call Ended by Consulting Counselor", - "Conference-Wrapping-HangupBy/Warm Transfer": "Call Ended by Transfer", - "Conference-Wrapping-HangupBy/Cold Transfer": "Call Ended by Transfer", - "Conference-Notifications-UnholdParticipants": "Can't leave conference because some participants are on hold. Please unhold and try again.", - "Conference-Notifications-ErrorAddingParticipant": "Something went wrong trying to add participant to the call, please try again.", - "Conference-Notifications-ErrorUpdatingParticipant": "Something went wrong trying to update the participant, please try again.", - "HangupCallLeaveTooltip": "Leave Call", - "NavigableContainer-BackButton": "Back", - "NavigableContainer-CloseButton": "Close", - - "CaseMerging-ContactAddedTo": "Contact added to", - "CaseMerging-AddContactToCase": "Add Contact to Case?", - "CaseMerging-RemoveFromCase": "Remove from Case", - "CaseMerging-ContactRemovedFromCase": "Contact removed from case", - "CaseMerging-CaseCreatedAndContactAdded": "Case #{{caseId}} created and contact added", - "CaseMerging-ContactAddedToExistingCase": "Contact added to Case #{{caseId}}", - "CaseMerging-CancelCase": "Cancel Case", - "CaseMerging-ContactUndoRemovedFromCase": "Undo", - - "TeamsView-NoSkills": "- No skills listed -", - "TeamsView-SkillsColumnTitle": "Skills", - "TeamsView-SkillsActionsButtonTitle": "Actions", - "TeamsView-EnableSkills": "Enable Skills...", - "TeamsView-DisableSkills": "Disable Skills...", - "TeamsView-AssignSkills": "Assign Skills...", - "TeamsView-UnassignSkills": "Unassign Skills...", - "TeamsView-ModalContinueButton": "Continue with these changes?", - "TeamsView-Enable": "enable", - "TeamsView-Disable": "disable", - "TeamsView-Assign": "assign", - "TeamsView-Unassign": "unassign", - "TeamsView-EnableFor": "enable for", - "TeamsView-DisableFor": "disable for", - "TeamsView-AssignFor": "assign for", - "TeamsView-UnassignFor": "unassign for", - "TeamsView-SelectSkillsHeader": "Select skills to", - "TeamsView-SelectSkillsPrimaryButton": "Next", - "TeamsView-ConfirmUpdateHeader": "Confirm and Save", - "TeamsView-ConfirmUpdatePrimaryButton": "Confirm and Save", - "TeamsView-Counsellor": "counsellor", - "TeamsView-Counsellors": "counsellors", - "TeamsView-CancelDialogHeader": "Discard changes?", - "TeamsView-CancelDialogContent": "Your changes will be discarded.", - - "MainHeader-Translator-RefreshRequiredNotification": "Refresh page to apply", - "MainHeader-Translator-SelectionNotification": "You have selected {{localeSelection}}", - "MainHeader-Translator-RefreshWarningNotification": "Refreshing will disconnect any active voice and video calls.", - "MainHeader-Translator-MenuTitle": "Language Preference", - - "Switchboard-NoQueuesSwitchboarded": "No queues are currently being switchboarded", - "Switchboard-QueueSwitchboardedStatus": "{{queueName}} queue is currently being switchboarded by {{supervisorName}} since {{startDate}} at {{startTime}}", - "Switchboard-SelectQueueModalTitle": "Select queue to switchboard", - "Switchboard-StatusActive": "Switchboarding: In Progress", - "Switchboard-StatusInactive": "Switchboarding: Off", - "Switchboard-ConfirmTurnOffSwitchboard": "Are you sure you want to turn off switchboarding?", - "Switchboard-ActivateSwitchboarding": "Activate switchboarding", - "Switchboard-ModalTitleTurnOffSwitchboard": "Turn Off Switchboarding", - "Switchboard-ButtonTurnOffSwitchboard": "Turn Off", - "Switchboard-PleaseSelectQueue": "Please select a queue first", - - "ContactForms-TextArea-GenerateSummary": "Generate Summary", - "ContactForms-TextArea-LoadingSummary": "Loading", - - "LlmAssistant-Notifications-SummaryGenerationError": "There was an error generating the summary: {{errorMessage}}", - - "AgentDesktop-KeyboardShortcuts-ToggleDialpad": "Toggle Dialpad", - - "Modals-ConfirmDialog-ConfirmButton": "OK", - "Modals-CloseDialog-CancelButton": "Cancel", - "Modals-CloseDialog-DiscardButton": "Discard", - "BrowserNotification-ChatMessage-MaskedTitle": "New message" + "Contact-EditChild": "Edit Client Information" } } diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/CallerInformationTab.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/CallerInformationTab.json index 1ec7a1fb6a..ef10b24d8a 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/CallerInformationTab.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/CallerInformationTab.json @@ -233,6 +233,78 @@ "label": "Street Address", "type": "input" }, + { + "name": "city", + "label": "City", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Auckland", + "label": "Auckland" + }, + { + "value": "Wellington", + "label": "Wellington" + }, + { + "value": "Christchurch", + "label": "Christchurch" + }, + { + "value": "Hamilton", + "label": "Hamilton" + }, + { + "value": "Napier-Hastings", + "label": "Napier-Hastings" + }, + { + "value": "Tauranga", + "label": "Tauranga" + }, + { + "value": "Dunedin", + "label": "Dunedin" + }, + { + "value": "Palmerston North", + "label": "Palmerston North" + }, + { + "value": "Nelson", + "label": "Nelson" + }, + { + "value": "Rotorua", + "label": "Rotorua" + }, + { + "value": "New Plymouth", + "label": "New Plymouth" + }, + { + "value": "Whangārei", + "label": "Whangārei" + }, + { + "value": "Invercargill", + "label": "Invercargill" + }, + { + "value": "Whanganui", + "label": "Whanganui" + }, + { + "value": "Gisborne", + "label": "Gisborne" + } + ] + }, { "name": "district", "label": "District", @@ -1040,10 +1112,6 @@ "value": "New Zealand European", "label": "New Zealand European" }, - { - "value": "New Zealand European", - "label": "New Zealand European" - }, { "value": "British and Irish", "label": "British and Irish" @@ -1244,10 +1312,6 @@ "value": "New Zealand European", "label": "New Zealand European" }, - { - "value": "New Zealand European", - "label": "New Zealand European" - }, { "value": "British and Irish", "label": "British and Irish" @@ -1429,10 +1493,6 @@ { "name": "phone1", "label": "Phone", - "type": "input", - "required": { - "value": true, - "message": "RequiredFieldError" - } + "type": "input" } ] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/CaseInformationTab.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/CaseInformationTab.json index 647add1146..692094b0b2 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/CaseInformationTab.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/CaseInformationTab.json @@ -1,4 +1,155 @@ [ + { + "name": "theme", + "label": "Risk Theme", + "type": "select", + "isPII": false, + "defaultOption": { + "value": "Unknown", + "label": "" + }, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Violence", + "label": "Violence" + }, + { + "value": "Self-harming behaviour", + "label": "Self-harming behaviour" + }, + { + "value": "Suicide", + "label": "Suicide" + } + ] + }, + { + "name": "severity", + "label": "Risk Theme Severity", + "type": "dependent-select", + "isPII": false, + "dependsOn": "theme", + "defaultOption": { + "value": "Unknown", + "label": "" + }, + "options": { + "Violence": [ + { + "value": "1. Concern for other ", + "label": "1. Concern for other " + }, + { + "value": "2. Seeking information ", + "label": "2. Seeking information " + }, + { + "value": "3. Historic", + "label": "3. Historic" + }, + { + "value": "4. Isolated incident", + "label": "4. Isolated incident" + }, + { + "value": "5. Occasional violence", + "label": "5. Occasional violence" + }, + { + "value": "6. Regular violence", + "label": "6. Regular violence" + }, + { + "value": "7. Severe distress/harm", + "label": "7. Severe distress/harm" + }, + { + "value": "8. Other", + "label": "8. Other" + }, + { + "value": "9. Unknown", + "label": "9. Unknown" + } + ], + "Self-harming behaviour": [ + { + "value": "1. Concern for other", + "label": "1. Concern for other" + }, + { + "value": "2. Seeking info/thinking about SH", + "label": "2. Seeking info/thinking about SH" + }, + { + "value": "3. Contacted WU to reduce current urge", + "label": "3. Contacted WU to reduce current urge" + }, + { + "value": "4. Isolated incident ", + "label": "4. Isolated incident " + }, + { + "value": "5. Occasional", + "label": "5. Occasional" + }, + { + "value": "6. Frequent but not severe", + "label": "6. Frequent but not severe" + }, + { + "value": "7. Chronic/severe ", + "label": "7. Chronic/severe " + }, + { + "value": "8. Other ", + "label": "8. Other " + }, + { + "value": "9. Unknown", + "label": "9. Unknown" + } + ], + "Suicide": [ + { + "value": "1. Concern for other ", + "label": "1. Concern for other " + }, + { + "value": "2. Seeking information ", + "label": "2. Seeking information " + }, + { + "value": "3. Suicidal thoughts or fears ", + "label": "3. Suicidal thoughts or fears " + }, + { + "value": "4. Chronic Suicidal thoughts or fears", + "label": "4. Chronic Suicidal thoughts or fears" + }, + { + "value": "5. Immediate intention ", + "label": "5. Immediate intention " + }, + { + "value": "6. Current attempt ", + "label": "6. Current attempt " + }, + { + "value": "7. Recent/Frequent attempts", + "label": "7. Recent/Frequent attempts" + }, + { + "value": "8. Other", + "label": "8. Other" + } + ] + } + }, { "name": "otherActions", "label": "Other Actions", @@ -111,14 +262,6 @@ } ] }, - { - "name": "contactSummary", - "label": "Contact Summary", - "type": "textarea", - "isPII": false, - "rows": 10, - "width": 150 - }, { "name": "overallOutcome", "label": "From your perspective, what was the overall outcome?", @@ -234,47 +377,229 @@ "label": "Background", "type": "textarea", "isPII": false, - "rows": 10, - "width": 150 + "rows": 5, + "width": 250 }, { "name": "presentation", "label": "Presentation", "type": "textarea", "isPII": false, - "rows": 10, - "width": 150 + "rows": 5, + "width": 250 }, { "name": "formulation", "label": "Formulation", "type": "textarea", "isPII": false, - "rows": 10, - "width": 150 + "rows": 5, + "width": 250 }, { "name": "goalsIdentified", "label": "Goals Identified", "type": "textarea", "isPII": false, - "rows": 10, - "width": 150 + "rows": 5, + "width": 250 }, { "name": "actionsOrOutcomes", "label": "Actions or Outcomes", "type": "textarea", "isPII": false, - "rows": 10, - "width": 150 + "rows": 5, + "width": 250 }, { "name": "other", "label": "Other", "type": "textarea", "isPII": false, - "rows": 10, - "width": 150 + "rows": 5, + "width": 250, + "description": { + "title": "Duty of Care", + "content": "The below fields need to be capture if there is a Duty of Care case" + } + }, + { + "name": "otherInformationAboutTheClient", + "label": "Other Information about the Client", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "clientPresentation", + "label": "Client presentation", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "assessmentOfRisk", + "label": "Assessment of Risk", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Urgent", + "label": "Urgent" + }, + { + "value": "High", + "label": "High" + }, + { + "value": "Medium", + "label": "Medium" + }, + { + "value": "Low", + "label": "Low" + } + ] + }, + { + "name": "supervisorsAnalysis", + "label": "Supervisor's Analysis", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "planOfAction", + "label": "Plan of Action", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "immediateOutcome", + "label": "Immediate outcome (from Duty of Care process)", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "consultationDetails", + "label": "Barnardos Consultation - Date, Time and who consulted", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "agenciesInvolved", + "label": "Agencies Involved", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "informedUnitManager", + "label": "Informed unit manager?", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Yes", + "label": "Yes" + }, + { + "value": "No", + "label": "No" + } + ] + }, + { + "name": "whyNot", + "label": "Why not?", + "type": "input", + "isPII": false + }, + { + "name": "methodOfInforming", + "label": "Method of informing", + "type": "listbox-multiselect", + "isPII": false, + "options": [ + { + "value": "Conversation", + "label": "Conversation" + }, + { + "value": "Email", + "label": "Email" + }, + { + "value": "Instant Message", + "label": "Instant Message" + }, + { + "value": "Phone Call", + "label": "Phone Call" + } + ] + }, + { + "name": "furtherActionNeeded", + "label": "Further action needed", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "followUpRequired", + "label": "This D.O.C requires further follow up", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Yes", + "label": "Yes" + }, + { + "value": "No", + "label": "No" + } + ] + }, + { + "name": "notesFromFollowupAction", + "label": "Notes from follow-up action", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 + }, + { + "name": "furtherContactWithClientOrAgency", + "label": "Further contact with client or agency", + "type": "textarea", + "isPII": false, + "rows": 5, + "width": 250 } ] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/ChildInformationTab.json b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/ChildInformationTab.json index 1d6733b286..8ed054868f 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/ChildInformationTab.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/nzba/v1/tabbedForms/ChildInformationTab.json @@ -201,10 +201,6 @@ "value": "New Zealand European", "label": "New Zealand European" }, - { - "value": "New Zealand European", - "label": "New Zealand European" - }, { "value": "British and Irish", "label": "British and Irish" @@ -405,10 +401,6 @@ "value": "New Zealand European", "label": "New Zealand European" }, - { - "value": "New Zealand European", - "label": "New Zealand European" - }, { "value": "British and Irish", "label": "British and Irish" @@ -593,6 +585,78 @@ "type": "input", "isPII": false }, + { + "name": "city", + "label": "City", + "type": "select", + "isPII": false, + "options": [ + { + "value": "Unknown", + "label": "" + }, + { + "value": "Auckland", + "label": "Auckland" + }, + { + "value": "Wellington", + "label": "Wellington" + }, + { + "value": "Christchurch", + "label": "Christchurch" + }, + { + "value": "Hamilton", + "label": "Hamilton" + }, + { + "value": "Napier-Hastings", + "label": "Napier-Hastings" + }, + { + "value": "Tauranga", + "label": "Tauranga" + }, + { + "value": "Dunedin", + "label": "Dunedin" + }, + { + "value": "Palmerston North", + "label": "Palmerston North" + }, + { + "value": "Nelson", + "label": "Nelson" + }, + { + "value": "Rotorua", + "label": "Rotorua" + }, + { + "value": "New Plymouth", + "label": "New Plymouth" + }, + { + "value": "Whangārei", + "label": "Whangārei" + }, + { + "value": "Invercargill", + "label": "Invercargill" + }, + { + "value": "Whanganui", + "label": "Whanganui" + }, + { + "value": "Gisborne", + "label": "Gisborne" + } + ] + }, { "name": "district", "label": "District", @@ -827,10 +891,6 @@ "value": "Taupo district", "label": "Taupo district" }, - { - "value": "Unknown", - "label": "Unknown" - }, { "value": "Hauraki district", "label": "Hauraki district" @@ -910,8 +970,16 @@ { "value": "Wanganui district", "label": "Wanganui district" + }, + { + "value": "Unknown", + "label": "Unknown" } - ] + ], + "required": { + "value": true, + "message": "RequiredFieldError" + } }, { "name": "region", @@ -1380,80 +1448,12 @@ "label": "Whanganui" } ] + }, + "required": { + "value": true, + "message": "RequiredFieldError" } }, - { - "name": "city", - "label": "City", - "type": "select", - "isPII": false, - "options": [ - { - "value": "Unknown", - "label": "" - }, - { - "value": "Auckland", - "label": "Auckland" - }, - { - "value": "Wellington", - "label": "Wellington" - }, - { - "value": "Christchurch", - "label": "Christchurch" - }, - { - "value": "Hamilton", - "label": "Hamilton" - }, - { - "value": "Napier-Hastings", - "label": "Napier-Hastings" - }, - { - "value": "Tauranga", - "label": "Tauranga" - }, - { - "value": "Dunedin", - "label": "Dunedin" - }, - { - "value": "Palmerston North", - "label": "Palmerston North" - }, - { - "value": "Nelson", - "label": "Nelson" - }, - { - "value": "Rotorua", - "label": "Rotorua" - }, - { - "value": "New Plymouth", - "label": "New Plymouth" - }, - { - "value": "Whangārei", - "label": "Whangārei" - }, - { - "value": "Invercargill", - "label": "Invercargill" - }, - { - "value": "Whanganui", - "label": "Whanganui" - }, - { - "value": "Gisborne", - "label": "Gisborne" - } - ] - }, { "name": "personalEmail", "label": "Personal Email",