diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/CallTypeButtons.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/CallTypeButtons.json index af5e499468..8fc3a42672 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/CallTypeButtons.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/CallTypeButtons.json @@ -1,7 +1,7 @@ [ { "name": "child", - "label": "Inbound", + "label": "Inbound/Outbound", "type": "button", "category": "data" }, diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/CaseSections.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/CaseSections.json index 1c697b6aa7..49132811db 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/CaseSections.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/CaseSections.json @@ -3,18 +3,6 @@ "label": "Note", "formPath": "caseForms/NoteForm.json" }, - "referral": { - "label": "Referral", - "formPath": "caseForms/ReferralForm.json" - }, - "household": { - "label": "Household Member", - "formPath": "caseForms/HouseholdForm.json" - }, - "perpetrator": { - "label": "Perpetrator", - "formPath": "caseForms/PerpetratorForm.json" - }, "incident": { "label": "Incident", "formPath": "caseForms/IncidentForm.json" @@ -22,9 +10,5 @@ "document": { "label": "Document", "formPath": "caseForms/DocumentForm.json" - }, - "chicken": { - "label": "Chicken", - "formPath": "caseForms/ChickenForm.json" } } \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/LayoutDefinitions.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/LayoutDefinitions.json index cf45b838c4..a38867f46f 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/LayoutDefinitions.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/LayoutDefinitions.json @@ -11,63 +11,11 @@ }, "case": { "sectionTypes": { - "household": { - "splitFormAt": 7, - "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" - } - } - }, - "perpetrator": { - "splitFormAt": 7, - "caseHomeOrder": 2, - "printOrder": 2, - "previewFields": [ - "name", - "gender", - "age", - "relationshipToChild" - ], - "layout": { - "name": { - "labelTemplateCode": "Case-PerpetratorName", - "valueTemplateCode": "Case-SectionList-PreviewNameValue" - }, - "age": { - "labelTemplateCode": "Case-PerpetratorAge" - }, - "gender": { - "labelTemplateCode": "Case-PerpetratorGender" - }, - "relationshipToChild": { - "labelTemplateCode": "Case-PerpetratorRelationship" - } - } - }, + "incident": { "previewFields": [ "date", - "duration", + "incidentType", "location" ], "layout": { @@ -75,31 +23,17 @@ "includeLabel": false, "format": "date" }, - "duration": { - "includeLabel": true - }, - "location": { + "incidentType": { "includeLabel": true } }, - "caseHomeOrder": 3, - "printOrder": 3, - "splitFormAt": 3 - }, - "referral": { - "previewFields": [ - "referredTo" - ], - "layout": { - "referredTo": {} - }, - "splitFormAt": 2, - "printOrder": 4, - "caseHomeLocation": "timeline" + "caseHomeOrder": 1, + "printOrder": 1, + "splitFormAt": 4 }, "document": { "splitFormAt": 1, - "caseHomeOrder": 5, + "caseHomeOrder": 2, "printFormat": "hidden", "previewFields": [ "createdAt", @@ -130,20 +64,6 @@ "layout": { "note": {} } - }, - "chicken": { - "previewFields": [ - "boc" - ], - "layout": { - "boc": { - "includeLabel": true - } - }, - "caseHomeOrder": 2, - "splitFormAt": 2, - "printOrder": 0, - "printFormat": "list" } } } diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/CaseOverview.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/CaseOverview.json index 297658c72c..6df186c396 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/CaseOverview.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/CaseOverview.json @@ -1,64 +1,60 @@ [ { "name": "status", - "label": "Case Status", + "label": "Status", "type": "select", "isPII": false }, { "name": "childIsAtRisk", - "label": "Child is at risk", + "label": "Profiles have been blocked", "type": "checkbox", "isPII": false }, { "name": "followUpDate", - "label": "Follow Up Date", + "label": "Date of Report", "type": "date-input", "isPII": false }, - { - "name": "reportDate", - "label": "Date of Report", - "type": "date-input", + "name": "linkedProfileName", + "label": "Linked Profile Name", + "type": "textarea", + "rows": 1, + "width": 300, "isPII": false }, { "name": "summary", - "label": "Case Summary", - "placeholder": "No case summary", + "label": "Summary", "type": "textarea", "rows": 5, "width": 300, "isPII": true }, - { - "name": "operatingArea", - "label": "Operating Area", - "type": "select", - "options": [ - { "value": "", "label": "" }, - { "value": "East", "label": "East" }, - { "value": "Harbor", "label": "Harbor" }, - { "value": "Hollywood", "label": "Hollywood" }, - { "value": "Metro", "label": "Metro" }, - { "value": "Pacific", "label": "Pacific" }, - { "value": "South LA", "label": "South LA" }, - { "value": "Valley", "label": "Valley" } - ], - "isPII": false - }, { "name": "priority", "label": "Priority", "type": "select", + "isPII": false, "options": [ - { "value": "", "label": "" }, - { "value": "High", "label": "High" }, - { "value": "Medium", "label": "Medium" }, - { "value": "Low", "label": "Low" } - ], - "isPII": false + { + "value": "Unknown", + "label": "" + }, + { + "value": "High", + "label": "High" + }, + { + "value": "Medium", + "label": "Medium" + }, + { + "value": "Low", + "label": "Low" + } + ] } -] \ No newline at end of file +] diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/ChickenForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/ChickenForm.json deleted file mode 100644 index 3de1c598a2..0000000000 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/ChickenForm.json +++ /dev/null @@ -1,21 +0,0 @@ -[ - { - "name": "boc", - "label": "Boc", - "type": "select", - "options": [ - { "value": "", "label": "" }, - { "value": "Boc", "label": "Boc" }, - { "value": "Bwaaaaak", "label": "Bwaaaaak" }, - { "value": "BocARGHHH", "label": "BocARGHHH" } - ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - } -] - - - - - - diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/HouseholdForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/HouseholdForm.json deleted file mode 100644 index 81666ebb60..0000000000 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/HouseholdForm.json +++ /dev/null @@ -1,185 +0,0 @@ -[ - { - "name": "firstName", - "type": "input", - "label": "First Name", - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": true - }, - { - "name": "lastName", - "type": "input", - "label": "Last Name", - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": true - }, - { - "name": "relationshipToChild", - "type": "select", - "label": "Relationship to Child", - "options": [ - { "value": "", "label": "" }, - { "value": "Peer", "label": "Peer" }, - { "value": "Caregiver", "label": "Caregiver" }, - { "value": "Partner", "label": "Partner" }, - { "value": "OtherAdultKnownToChild", "label": "Other adult known to the child" }, - { "value": "Sibling", "label": "Sibling(s)" }, - { "value": "Stranger", "label": "Stranger" }, - { "value": "Person in a position of responsibility", "label": "Person in a position of responsibility" }, - { "value": "Other", "label": "Other" }, - { "value": "Unknown", "label": "Unknown" } - ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "streetAddress", - "label": "Street Address", - "type": "input", - "isPII": true - }, - { - "name": "province", - "label": "Province", - "type": "select", - "options": [ - { "value": "", "label": "" }, - { "value": "Northern", "label": "Northern" }, - { "value": "Eastern", "label": "Eastern" }, - { "value": "Western", "label": "Western" }, - { "value": "Southern", "label": "Southern" } - ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "district", - "label": "District", - "type": "dependent-select", - "dependsOn": "province", - "defaultOption": { "value": "", "label": "" }, - "options": { - "Northern": [ - { "value": "District A", "label": "District A" }, - { "value": "District B", "label": "District B" }, - { "value": "District C", "label": "District C" } - ], - "Eastern": [ - { "value": "District A", "label": "District A" }, - { "value": "District B", "label": "District B" }, - { "value": "District C", "label": "District C" } - ], - "Western": [ - { "value": "District A", "label": "District A" }, - { "value": "District B", "label": "District B" }, - { "value": "District C", "label": "District C" } - ], - "Southern": [ - { "value": "District A", "label": "District A" }, - { "value": "District B", "label": "District B" }, - { "value": "District C", "label": "District C" } - ] - }, - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "postalCode", - "label": "Postal Code", - "type": "input", - "isPII": false - }, - { - "name": "phone1", - "label": "Phone #1", - "type": "input", - "isPII": true - }, - { - "name": "phone2", - "label": "Phone #2", - "type": "input", - "isPII": true - }, - { - "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" }, - "isPII": false - }, - { - "name": "age", - "label": "Age", - "type": "select", - "options": [ - { "value": "", "label": "" }, - { "value": "Unborn", "label": "Unborn" }, - { "value": "0", "label": "0" }, - { "value": "01", "label": "1" }, - { "value": "02", "label": "2" }, - { "value": "03", "label": "3" }, - { "value": "04", "label": "4" }, - { "value": "05", "label": "5" }, - { "value": "06", "label": "6" }, - { "value": "07", "label": "7" }, - { "value": "08", "label": "8" }, - { "value": "09", "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": ">25", "label": ">25" }, - { "value": "Unknown", "label": "Unknown" }, - { "value": "Other", "label": "Other" } - ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "language", - "label": "Language", - "type": "select", - "options": [ - { "value": "Unknown", "label": "" }, - { "value": "Hausa", "label": "Hausa" }, - { "value": "English", "label": "English" }, - { "value": "Xhosa", "label": "Xhosa" }, - { "value": "Bemba", "label": "Bemba" }, - { "value": "Other", "label": "Other" } - ] , - "isPII": false - }, - { - "name": "ethnicity", - "label": "Ethnicity", - "type": "input", - "isPII": false - }, - { - "name": "copyToPerpetrator", - "label": "This household member is also a perpetrator", - "type": "copy-to", - "target": "perpetrator", - "isPII": false - } -] diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/IncidentForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/IncidentForm.json index 3892f06a25..2e258fc8f8 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/IncidentForm.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/IncidentForm.json @@ -2,69 +2,321 @@ { "name": "date", "type": "date-input", - "label": "Date of Incident", - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false + "isPII": false, + "label": "Date", + "required": { + "value": true, + "message": "RequiredFieldError" + } }, { - "name": "duration", - "label": "Duration", + "name": "time", + "label": "Time", "type": "select", + "isPII": false, "options": [ - { "value": "", "label": "" }, - { "value": "Ongoing", "label": "Ongoing" }, - { "value": "Once Off", "label": "Once Off" }, - { "value": "Other", "label": "Other" } + { + "value": "", + "label": "" + }, + { + "value": "12:00 AM", + "label": "12:00 AM" + }, + { + "value": "12:30 AM", + "label": "12:30 AM" + }, + { + "value": "1:00 AM", + "label": "1:00 AM" + }, + { + "value": "1:30 AM", + "label": "1:30 AM" + }, + { + "value": "2:00 AM", + "label": "2:00 AM" + }, + { + "value": "2:30 AM", + "label": "2:30 AM" + }, + { + "value": "3:00 AM", + "label": "3:00 AM" + }, + { + "value": "3:30 AM", + "label": "3:30 AM" + }, + { + "value": "4:00 AM", + "label": "4:00 AM" + }, + { + "value": "4:30 AM", + "label": "4:30 AM" + }, + { + "value": "5:00 AM", + "label": "5:00 AM" + }, + { + "value": "5:30 AM", + "label": "5:30 AM" + }, + { + "value": "6:00 AM", + "label": "6:00 AM" + }, + { + "value": "6:30 AM", + "label": "6:30 AM" + }, + { + "value": "7:00 AM", + "label": "7:00 AM" + }, + { + "value": "7:30 AM", + "label": "7:30 AM" + }, + { + "value": "8:00 AM", + "label": "8:00 AM" + }, + { + "value": "8:30 AM", + "label": "8:30 AM" + }, + { + "value": "9:00 AM", + "label": "9:00 AM" + }, + { + "value": "9:30 AM", + "label": "9:30 AM" + }, + { + "value": "10:00 AM", + "label": "10:00 AM" + }, + { + "value": "10:30 AM", + "label": "10:30 AM" + }, + { + "value": "11:00 AM", + "label": "11:00 AM" + }, + { + "value": "11:30 AM", + "label": "11:30 AM" + }, + { + "value": "12:00 PM", + "label": "12:00 PM" + }, + { + "value": "12:30 PM", + "label": "12:30 PM" + }, + { + "value": "1:00 PM", + "label": "1:00 PM" + }, + { + "value": "1:30 PM", + "label": "1:30 PM" + }, + { + "value": "2:00 PM", + "label": "2:00 PM" + }, + { + "value": "2:30 PM", + "label": "2:30 PM" + }, + { + "value": "3:00 PM", + "label": "3:00 PM" + }, + { + "value": "3:30 PM", + "label": "3:30 PM" + }, + { + "value": "4:00 PM", + "label": "4:00 PM" + }, + { + "value": "4:30 PM", + "label": "4:30 PM" + }, + { + "value": "5:00 PM", + "label": "5:00 PM" + }, + { + "value": "5:30 PM", + "label": "5:30 PM" + }, + { + "value": "6:00 PM", + "label": "6:00 PM" + }, + { + "value": "6:30 PM", + "label": "6:30 PM" + }, + { + "value": "7:00 PM", + "label": "7:00 PM" + }, + { + "value": "7:30 PM", + "label": "7:30 PM" + }, + { + "value": "8:00 PM", + "label": "8:00 PM" + }, + { + "value": "8:30 PM", + "label": "8:30 PM" + }, + { + "value": "9:00 PM", + "label": "9:00 PM" + }, + { + "value": "9:30 PM", + "label": "9:30 PM" + }, + { + "value": "10:00 PM", + "label": "10:00 PM" + }, + { + "value": "10:30 PM", + "label": "10:30 PM" + }, + { + "value": "11:00 PM", + "label": "11:00 PM" + }, + { + "value": "11:30 PM", + "label": "11:30 PM" + } ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false + "required": { + "value": true, + "message": "RequiredFieldError" + } }, { - "name": "location", - "label": "Location", + "name": "serviceChannel", + "label": "Service Channel", "type": "select", + "isPII": false, "options": [ - { "value": "", "label": "" }, - { "value": "HomeOwn", "label": "Home (own)" }, - { "value": "HomeOther", "label": "Home (other)" }, - { "value": "EducationalEstablishment", "label": "Educational establishment" }, - { "value": "Institution", "label": "Institution" }, - { "value": "Public place", "label": "Public place" }, - { "value": "Online", "label": "Online" }, - { "value": "Other", "label": "Other" }, - { "value": "Unknown", "label": "Unknown" } + { + "value": "", + "label": "" + }, + { + "value": "Phone", + "label": "Phone" + }, + { + "value": "Text", + "label": "Text" + } ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "isCaregiverAware", - "label": "Is caregiver aware?", - "type": "mixed-checkbox", - "isPII": false + "required": { + "value": true, + "message": "RequiredFieldError" + } }, { - "name": "incidentWitnessed", - "label": "Was the incident witnessed by anyone?", - "type": "mixed-checkbox", + "name": "wasIncidentReportedToLeadership", + "label": "Was incident reported to leadership? ", + "type": "checkbox", "isPII": false }, { - "name": "abuseReportedElsewhere", - "label": "Has abuse been reported elsewhere?", - "type": "mixed-checkbox", - "isPII": false + "name": "incidentType", + "label": "Incident Type", + "type": "listbox-multiselect", + "isPII": false, + "options": [ + { + "value": "Multiple Hangups", + "label": "Multiple Hangups" + }, + { + "value": "Excessive Calling", + "label": "Excessive Calling" + }, + { + "value": "Verbal Abuse", + "label": "Verbal Abuse" + }, + { + "value": "Inappropriate Sexual Content", + "label": "Inappropriate Sexual Content" + }, + { + "value": "Sexual Gratification", + "label": "Sexual Gratification" + }, + { + "value": "Under 18", + "label": "Under 18" + }, + { + "value": "Currently Blocked On Another Number", + "label": "Currently Blocked On Another Number" + }, + { + "value": "Other", + "label": "Other" + } + ] }, { - "name": "whereElseBeenReported", - "label": "Where else the incident has been reported?", - "type": "input", - "isPII": false + "name": "agentResponse", + "label": "Agent Response", + "type": "listbox-multiselect", + "isPII": false, + "options": [ + { + "value": "Set Strong & Specific Boundaries", + "label": "Set Strong & Specific Boundaries" + }, + { + "value": "Redirect Conversation", + "label": "Redirect Conversation" + }, + { + "value": "Provided Warnings for Inappropriate Behavior(s)", + "label": "Provided Warnings for Inappropriate Behavior(s)" + }, + { + "value": "Provided Resources", + "label": "Provided Resources" + }, + { + "value": "Terminated Call", + "label": "Terminated Call" + }, + { + "value": "Blocked Caller", + "label": "Blocked Caller" + } + ] } -] - - - - - - +] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/PerpetratorForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/PerpetratorForm.json deleted file mode 100644 index 0b6044343a..0000000000 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/PerpetratorForm.json +++ /dev/null @@ -1,219 +0,0 @@ -[ - { - "name": "firstName", - "type": "input", - "label": "First Name", - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": true - }, - { - "name": "lastName", - "type": "input", - "label": "Last Name", - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": true - }, - { - "name": "relationshipToChild", - "type": "select", - "label": "Relationship to child", - "options": [ - { "value": "", "label": "" }, - { "value": "Peer", "label": "Peer" }, - { "value": "Caregiver", "label": "Caregiver" }, - { "value": "Partner", "label": "Partner" }, - { "value": "OtherAdultKnownToTheChild", "label": "Other adult known to the child" }, - { "value": "Sibling", "label": "Sibling(s)" }, - { "value": "Stranger", "label": "Stranger" }, - { "value": "Person in a position of responsibility", "label": "Person in a position of responsibility" }, - { "value": "Other", "label": "Other" }, - { "value": "Unknown", "label": "Unknown" } - ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "streetAddress", - "label": "Street Address", - "type": "input", - "isPII": true - }, - { - "name": "province", - "label": "Province", - "type": "select", - "options": [ - { "value": "", "label": "" }, - { "value": "Northern", "label": "Northern" }, - { "value": "Eastern", "label": "Eastern" }, - { "value": "Western", "label": "Western" }, - { "value": "Southern", "label": "Southern" } - ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "district", - "label": "District", - "type": "dependent-select", - "dependsOn": "province", - "defaultOption": { "value": "", "label": "" }, - "options": { - "Northern": [ - { "value": "District A", "label": "District A" }, - { "value": "District B", "label": "District B" }, - { "value": "District C", "label": "District C" } - ], - "Eastern": [ - { "value": "District A", "label": "District A" }, - { "value": "District B", "label": "District B" }, - { "value": "District C", "label": "District C" } - ], - "Western": [ - { "value": "District A", "label": "District A" }, - { "value": "District B", "label": "District B" }, - { "value": "District C", "label": "District C" } - ], - "Southern": [ - { "value": "District A", "label": "District A" }, - { "value": "District B", "label": "District B" }, - { "value": "District C", "label": "District C" } - ] - }, - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "postalCode", - "label": "Postal Code", - "type": "input", - "isPII": false - }, - { - "name": "phone1", - "label": "Phone #1", - "type": "input", - "isPII": true - }, - { - "name": "phone2", - "label": "Phone #2", - "type": "input", - "isPII": true - }, - { - "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" }, - "isPII": false - }, - { - "name": "age", - "label": "Age", - "type": "select", - "options": [ - { "value": "", "label": "" }, - { "value": "0", "label": "0" }, - { "value": "01", "label": "1" }, - { "value": "02", "label": "2" }, - { "value": "03", "label": "3" }, - { "value": "04", "label": "4" }, - { "value": "05", "label": "5" }, - { "value": "06", "label": "6" }, - { "value": "07", "label": "7" }, - { "value": "08", "label": "8" }, - { "value": "09", "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" }, - "isPII": false - }, - { - "name": "language", - "label": "Language", - "type": "select", - "options": [ - { "value": "Unknown", "label": "" }, - { "value": "Hausa", "label": "Hausa" }, - { "value": "English", "label": "English" }, - { "value": "Xhosa", "label": "Xhosa" }, - { "value": "Bemba", "label": "Bemba" }, - { "value": "Other", "label": "Other" } - ] , - "isPII": false - }, - { - "name": "ethnicity", - "label": "Ethnicity", - "type": "input", - "isPII": false - }, - { - "name": "copyToHousehold", - "label": "This perpetrator is also a household member", - "type": "copy-to", - "target": "household", - "isPII": false - } -] diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/ReferralForm.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/ReferralForm.json deleted file mode 100644 index 7fee5f18f6..0000000000 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/caseForms/ReferralForm.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "name": "date", - "type": "date-input", - "label": "Date", - "required": { "value": true, "message": "RequiredFieldError" }, - "metadata": { - "eventTimestampSource": true - }, - "isPII": false - }, - { - "name": "referredTo", - "label": "Referred To", - "type": "select", - "options": [ - { "value": "", "label": "" }, - { "value": "OSC", "label": "OSC" }, - { "value": "DREAMS", "label": "DREAMS" }, - { "value": "Clinic", "label": "Clinic" }, - { "value": "Hospital", "label": "Hospital" }, - { "value": "Social Welfare", "label": "Social Welfare" }, - { "value": "National Prosecutions Authority", "label": "National Prosecutions Authority" }, - { "value": "Police (CPU)", "label": "Police (CPU)" }, - { "value": "Police (VSU)", "label": "Police (VSU)" }, - { "value": "Chief/Head man", "label": "Chief/Head man" }, - { "value": "Head teacher", "label": "Head teacher" }, - { "value": "Religious leader", "label": "Religious leader" }, - { "value": "Other", "label": "Other" } - ], - "required": { "value": true, "message": "RequiredFieldError" }, - "isPII": false - }, - { - "name": "comments", - "label": "Comments", - "type": "textarea", - "rows": 25, - "width": 300, - "isPII": false - } -] \ No newline at end of file diff --git a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/customStrings/Substitutions.json b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/customStrings/Substitutions.json index d18acd41ed..53fc99c538 100644 --- a/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/customStrings/Substitutions.json +++ b/lambdas/packages/hrm-form-definitions/form-definitions/usnc/v1/customStrings/Substitutions.json @@ -43,7 +43,7 @@ "GeneralizedSearchForm-DateFrom": "Date From", "GeneralizedSearchForm-DateTo": "Date To", "SearchContactsAndCases-Title": "Search", - "SearchContactsAndCases-TitleExistingCase": "Search for Cases", + "SearchContactsAndCases-TitleExistingCase": "Search for Linked Profiles", "SearchForm-Name": "Name", "SearchForm-First": "First", "SearchForm-Last": "Last", @@ -60,17 +60,17 @@ "SearchResultsIndex-Results": " results", "SearchResultsIndex-NonDataContacts": "Non-Data Contacts", "SearchResultsIndex-Contacts": "Contacts", - "SearchResultsIndex-Cases": "Cases", - "SearchResultsIndex-ClosedCases": "Closed Cases", + "SearchResultsIndex-Cases": "Linked Profiles", + "SearchResultsIndex-ClosedCases": "Closed Linked Profiles", "SearchResultsIndex-ViewContacts": "View Contacts", - "SearchResultsIndex-ViewCases": "View Cases", + "SearchResultsIndex-ViewCases": "View Linked Profiles", "Contact-ViewButton": "View", - "SearchResultsIndex-SelectCase": "Select Case", - "SearchResultsIndex-NoCasesFound": "No Cases Found", + "SearchResultsIndex-SelectCase": "Select Linked Profile", + "SearchResultsIndex-NoCasesFound": "No Linked Profiles Found", "SearchResultsIndex-NoContactsFound": "No Contacts Found", - "SearchResultsIndex-SearchAgainForCase": "Search again for a case", + "SearchResultsIndex-SearchAgainForCase": "Search again for a linked profile", "SearchResultsIndex-SearchAgainForContact": "Search again for a contact", - "SearchResultsIndex-SaveToNewCase": "save this contact to a new case", + "SearchResultsIndex-SaveToNewCase": "save this contact to a new linked profile", "SearchResultsIndex-Or": "or", "SearchResults-CounselorName": "Supporter Name:", "SearchResults-FirstName": "First Name:", @@ -80,8 +80,8 @@ "SearchResults-DateTo": "Date To:", "SearchResults-Contact": "1 Contact", "SearchResults-Contacts": " Contacts", - "SearchResults-Case": "1 Case", - "SearchResults-Cases": " Cases", + "SearchResults-Case": "1 Linked Profile", + "SearchResults-Cases": " Linked Profiles", "SearchResults-For": " for", "StandaloneSearch-SideNav": "Search", "CaseHeader-Opened": "Opened", @@ -89,9 +89,9 @@ "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-ViewCase": "View Linked Profile", + "CaseHeader-ConnectToTaskContact": "Add to Linked Profile", + "CaseHeader-TaskContactConnected": "Added to Linked Profile", "CaseHeader-CopyChildInfo": "Copy Support Seeker Information into Current Contact", "CaseHeader-Copy": "Yes, copy", "CaseHeader-Cancel": "Cancel", @@ -101,7 +101,7 @@ "ReadMore": "see more", "ReadLess": "see less", "CaseSummary-NoSummaryProvided": "No Summary provided", - "CaseSummary-None": "- No case summary -", + "CaseSummary-None": "- No linked profile summary -", "SectionEntry-Yes": "Yes", "SectionEntry-No": "No", "SharedStateSaveFormError": "The information stored in the form couldn't be saved. Task will be transferred anyway.", @@ -128,14 +128,14 @@ "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-SaveAndAddToCase": "Save and Add to Linked Profile...", "BottomBar-SaveContact": "Save", "BottomBar-SaveCaseContact": "Save Contact", - "BottomBar-AddContactToNewCase": "Add to Case", - "BottomBar-AddedToCase": "Added to Case", - "BottomBar-OpenNewCase": "Open New Case", + "BottomBar-AddContactToNewCase": "Add to Linked Profile", + "BottomBar-AddedToCase": "Added to Linked Profile", + "BottomBar-OpenNewCase": "Open New Linked Profile", "BottomBar-Cancel": "Cancel", - "BottomBar-CancelNewCaseAndClose": "Cancel Case and Return to Contact", + "BottomBar-CancelNewCaseAndClose": "Cancel Linked Profile and Return to Contact", "BottomBar-SaveAndEnd": "Save and End", "CaseSection-BottomBar-SaveAndAddAnother/note": "Save and Add Another Note", "CaseSection-BottomBar-Save/note": "Save Note", @@ -167,8 +167,8 @@ "TabbedForms-ExternalReports": "External Reports", "TabbedForms-ReportsChildLink": "Create link for support seeker", "TabbedForms-ReportsCounselorReport": "Report as supporter", - "TabbedForms-NewCase": "New Case", - "TabbedForms-ExistingCase": "Existing Case", + "TabbedForms-NewCase": "New Linked Profile", + "TabbedForms-ExistingCase": "Existing Linked Profile", "TabbedForms-ContactNotLoaded-Header": "Contact not loaded, no data can be recorded", "TabbedForms-ContactNotLoaded-Retry": "Retry", "TabbedForms-ContactNotLoaded-Finish": "End Without Saving", @@ -180,26 +180,26 @@ "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-CaseNumber": "Linked Profile #", "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-Timeline-ModalTitle": "Linked Profile #{{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-CaseSummarySection": "Linked Profile Summary", "Case-CaseDetailsChildName": "Support Seeker Name", "Case-CaseDetailsOwner": "Supporter", "Case-CaseDetailsDateOpened": "Opened", "Case-CaseDetailsLastUpdated": "Last Updated / Closed", "Case-CaseDetailsFollowUpDate": "Follow Up Date", - "Case-CaseDetailsStatusLabel": "Case Status", - "Case-CaseOverviewLabel": "Case Overview", + "Case-CaseDetailsStatusLabel": "Linked Profile Status", + "Case-CaseOverviewLabel": "Linked Profile Overview", "Case-CaseDetailsStatusOpen": "Open", "Case-SectionList-Add/referral": "Referral", "Case-SectionList-Add/household": "Household Member", @@ -222,10 +222,10 @@ "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-EditCaseSummary": "Edit Linked Profile Information", + "Case-EditCaseOverview": "Edit Linked Profile Overview", "Case-AddNoteTypeHere": "Type here to add note...", - "Case-AddCaseSummaryHere": "Add case summary here...", + "Case-AddCaseSummaryHere": "Add linked profile summary here...", "Case-ActionHeaderAdded": "Added on {{date}} at {{time}} by {{counsellor}}", "CSAMCLC-ActionHeaderAdded": "Added {{date}} at {{time}}    Supporter: {{counsellor}}", "Case-ActionHeaderUpdated": "Updated on {{date}} at {{time}} by {{counsellor}}", @@ -261,17 +261,17 @@ "Case-ReferralComments": "Comments", "Case-Counsellor": "Supporter", "Case-ChildIsAtRisk": "Support Seeker is at risk", - "Case-CaseDetails": "Case Details", - "Case-CaseStatus": "Case Status", - "Case-CaseManager": "Case Manager", + "Case-CaseDetails": "Linked Profile Details", + "Case-CaseStatus": "Linked Profile Status", + "Case-CaseManager": "Linked Profile 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", + "SideNavCaseList": "Linked Profile List", + "CaseList-Cases": "Linked Profiles", + "CaseList-NoCases": "No linked profiles found.", + "CaseList-Filters-CaseCount-Singular": "{{count}} linked profile", + "CaseList-Filters-CaseCount-Plural": "{{count}} linked profiles", + "CaseList-THCase": "Linked Profile", "CaseList-THChildName": "Support Seeker", "CaseList-THSummary": "Summary", "CaseList-THCounselor": "Supporter", @@ -279,7 +279,7 @@ "CaseList-THUpdated": "Updated", "CaseList-THFollowUp": "Follow Up", "CaseList-THCategory": "Category", - "CaseList-ExpandButton": "Open case details", + "CaseList-ExpandButton": "Open linked profile details", "CaseList-PrevPage": "Previous page", "CaseList-NextPage": "Next page", "Table-FilterBy": "Filter by", @@ -291,7 +291,7 @@ "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-SomethingWentWrong": "Something went wrong while loading linked profiles list. Please retry in a moment.", "CaseList-Filters-DialogTitlePrefix": "Filter by:", "CaseList-Filters-DateFiltersLabel": "Date Filters", "CaseList-Filters-DateFilter-CreatedAt": "Opened", @@ -308,7 +308,7 @@ "CaseList-Filters-DateFilterOptions-WithoutDate": "No {{labelKey}}", "CaseList-Filters-DateFilterOptions-CustomRange": "Custom", "ContactPreview-CopyButton": "Copy information", - "ContactPreview-ExpandButton": "Open case details", + "ContactPreview-ExpandButton": "Open linked profile details", "ContactPreview-MoreOptionsButton": "More options", "CallerForm-FirstName": "First name", "CallerForm-LastName": "Last name", @@ -379,7 +379,7 @@ "CasePrint-TabularSection-Header/chicken": "Chicken {{sectionNo}} of {{sectionCount}}", "SectionName-Generic": "{{sectionLabel}} {{sectionNo}} of {{sectionCount}}", "SectionName-Notes": "Notes", - "SectionName-CaseSummary": "Case Summary", + "SectionName-CaseSummary": "Linked Profile 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.", @@ -409,7 +409,7 @@ "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", + "NoCaseSummary": "No linked profile summary", "CannedResponses": "Canned Responses", "OfflineContactFirstLine": "Offline Contact", "OfflineContactSecondLine": "In progress", @@ -424,8 +424,8 @@ "PreviousContacts-PreviousContact": "contact", "PreviousContacts-Contact": "contact", "PreviousContacts-Contacts": "contacts", - "PreviousContacts-Case": "case", - "PreviousContacts-Cases": "cases", + "PreviousContacts-Case": "linked profile", + "PreviousContacts-Cases": "linked profiles", "PreviousContacts-Has": "has", "PreviousContacts-And": "and", "PreviousContacts-IPAddress": "IP address", @@ -437,8 +437,8 @@ "PreviousContacts-InstagramUser": "Instagram user", "PreviousContacts-LineUser": "Line user", "PreviousContacts-OnlyShowRecordsFrom": "Only show records from", - "Profile-Title": "Client Profile", - "Profile-ClientTab": "Client", + "Profile-Title": "Peer Profile", + "Profile-ClientTab": "Peer ", "Profile-DetailsHeader-Overview": "Overview", "Profile-DetailsHeader-Notes": "Notes", "Profile-IdentifiersHeader": "Identifiers", @@ -451,20 +451,20 @@ "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-NoCasesFound": "No Linked Profiles Found", + "Profile-ViewClient": "View Peer ", "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", + "SideNavProfileList": "Peer Profiles", + "Profile-Singular-Client": "peer ", + "ProfileList-Clients": "Peer s", + "ProfileList-Count-Singular": "{{count}} peer ", + "ProfileList-Count-Plural": "{{count}} peer s", + "ProfileList-THClient": "Peer ", "ProfileList-THClientName": "Name", "ProfileList-THStatus": "Status", "ProfileList-THIdentifier": "Identifier(s)", "ProfileList-THSummary": "Summary", - "ProfileList-NoClients": "No clients found.", + "ProfileList-NoClients": "No peer s found.", "ProfileList-Summary-None": "- No profile summary -", "ProfileList-Status-None": "- No status -", "ProfileList-ClientName-None": "- No name -", @@ -589,12 +589,12 @@ "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-AddContactToCase": "Add Contact to Linked Profile?", + "CaseMerging-RemoveFromCase": "Remove from Linked Profile", + "CaseMerging-ContactRemovedFromCase": "Contact removed from linked profile", + "CaseMerging-CaseCreatedAndContactAdded": "Linked Profile #{{caseId}} created and contact added", + "CaseMerging-ContactAddedToExistingCase": "Contact added to Linked Profile #{{caseId}}", + "CaseMerging-CancelCase": "Cancel Linked Profile", "CaseMerging-ContactUndoRemovedFromCase": "Undo", "TeamsView-NoSkills": "- No skills listed -", "TeamsView-SkillsColumnTitle": "Skills",