@@ -7,15 +7,15 @@ export default {
77 } ,
88 consent : {
99 created : ( { decision, parent } ) =>
10- `${ decision } by ${ parent . formatted . fullNameAndRelationship } ` ,
10+ `${ decision } by ${ parent . fullNameAndRelationship } ` ,
1111 updated : ( { decision, parent } ) =>
12- `${ decision } in updated response from ${ parent . formatted . fullNameAndRelationship } ` ,
12+ `${ decision } in updated response from ${ parent . fullNameAndRelationship } ` ,
1313 matched : ( { parent } ) =>
14- `Consent response from ${ parent . formatted . fullNameAndRelationship } manually matched with child record` ,
14+ `Consent response from ${ parent . fullNameAndRelationship } manually matched with child record` ,
1515 invalid : ( { parent } ) =>
16- `Consent response from ${ parent . formatted . fullNameAndRelationship } marked as invalid` ,
16+ `Consent response from ${ parent . fullNameAndRelationship } marked as invalid` ,
1717 withdrawn : ( { parent } ) =>
18- `Consent response from ${ parent . formatted . fullNameAndRelationship } withdrawn`
18+ `Consent response from ${ parent . fullNameAndRelationship } withdrawn`
1919 } ,
2020 gillick : {
2121 created : ( gillick ) => gillick . competent ,
@@ -25,44 +25,44 @@ export default {
2525 created : ( type ) => `${ type } added`
2626 } ,
2727 notify : {
28- invitedToClinic : ( parent ) =>
29- `Invitation to book a clinic appointment<br> sent to ${ parent . formatted . fullNameAndRelationship } , ${ parent . email || parent . tel } ` ,
30- invitedToClinicReminder : ( parent ) =>
31- `Reminder to book a clinic appointment<br> sent to ${ parent . formatted . fullNameAndRelationship } , ${ parent . email || parent . tel } ` ,
32- requestedConsent : ( parent ) =>
33- `Consent request<br> sent to ${ parent . formatted . fullNameAndRelationship } , ${ parent . email || parent . tel } ` ,
34- requestedConsentReminder : ( parent ) =>
35- `Reminder to give or refuse consent<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
36- consentGiven : ( parent ) =>
37- `Confirmation of consent given<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
38- consentGivenClinic : ( parent ) =>
39- `Confirmation of consent given (clinic booking needed)<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
40- consentGivenTriage : ( parent ) =>
41- `Confirmation of consent given (triage needed)<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
42- consentRefused : ( parent ) =>
43- `Confirmation of consent refused<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
44- consentUnknownContact : ( parent ) =>
45- `Unknown parent contact details warning<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
46- sessionReminder : ( parent ) =>
47- `Session reminder<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
48- triageDelayVaccination : ( parent ) =>
49- `Confirmation of triage decision (delay vaccination)<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
50- triageDoNotVaccinate : ( parent ) =>
51- `Confirmation of triage decision (unable to vaccinate)<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
52- triageInviteToClinic : ( parent ) =>
53- `Confirmation of triage decision (invite to clinic)<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
54- triageSafeToVaccinate : ( parent ) =>
55- `Confirmation of triage decision (safe to vaccinate)<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
56- triageSecondDose : ( parent ) =>
57- `Confirmation of triage decision (2nd dose will be given in school)<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
58- vaccinationAlreadyGiven : ( parent ) =>
59- `Confirmation of vaccination discovered since consent<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
60- vaccinationDeleted : ( parent ) =>
61- `Apology for sending an incorrect message<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
62- vaccinationGiven : ( parent ) =>
63- `Confirmation of vaccination<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } ` ,
64- vaccinationNotGiven : ( parent ) =>
65- `Confirmation of vaccination not given<br> sent to ${ parent . fullName } , ${ parent . email || parent . tel } `
28+ 'invite-clinic' : ( parent ) =>
29+ `Invitation to book a clinic appointment sent to ${ parent . fullNameAndRelationship } ` ,
30+ 'invite-clinic-reminder' : ( parent ) =>
31+ `Reminder to book a clinic appointment sent to ${ parent . fullNameAndRelationship } ` ,
32+ 'invite' : ( parent ) =>
33+ `Consent request sent to ${ parent . fullNameAndRelationship } ` ,
34+ 'invite-reminder' : ( parent ) =>
35+ `Reminder to give or refuse consent sent to ${ parent . fullNameAndRelationship } ` ,
36+ 'consent-given' : ( parent ) =>
37+ `Confirmation of consent given sent to ${ parent . fullNameAndRelationship } ` ,
38+ 'consent-given-clinic' : ( parent ) =>
39+ `Confirmation of consent given (clinic booking needed) sent to ${ parent . fullNameAndRelationship } ` ,
40+ 'consent-needs-triage' : ( parent ) =>
41+ `Confirmation of consent given (triage needed) sent to ${ parent . fullNameAndRelationship } ` ,
42+ 'consent-refused' : ( parent ) =>
43+ `Confirmation of consent refused sent to ${ parent . fullNameAndRelationship } ` ,
44+ 'consent-unknown-contact' : ( parent ) =>
45+ `Unknown parent contact details warning sent to ${ parent . fullNameAndRelationship } ` ,
46+ 'triage-delay-vaccination' : ( parent ) =>
47+ `Confirmation of triage decision (delay vaccination) sent to ${ parent . fullNameAndRelationship } ` ,
48+ 'triage-do-not-vaccinate' : ( parent ) =>
49+ `Confirmation of triage decision (unable to vaccinate) sent to ${ parent . fullNameAndRelationship } ` ,
50+ 'triage-invite-clinic' : ( parent ) =>
51+ `Confirmation of triage decision (invite to clinic) sent to ${ parent . fullNameAndRelationship } ` ,
52+ 'triage-vaccinate' : ( parent ) =>
53+ `Confirmation of triage decision (safe to vaccinate) sent to ${ parent . fullNameAndRelationship } ` ,
54+ 'triage-second-dose' : ( parent ) =>
55+ `Confirmation of triage decision (2nd dose will be given in school) sent to ${ parent . fullNameAndRelationship } ` ,
56+ 'record-reminder' : ( parent ) =>
57+ `Session reminder sent to ${ parent . fullNameAndRelationship } ` ,
58+ 'record-vaccination-already-given' : ( parent ) =>
59+ `Confirmation of vaccination discovered since consent sent to ${ parent . fullNameAndRelationship } ` ,
60+ 'record-vaccination-deleted' : ( parent ) =>
61+ `Apology for sending an incorrect message sent to ${ parent . fullNameAndRelationship } ` ,
62+ 'record-vaccinated' : ( parent ) =>
63+ `Confirmation of vaccination sent to ${ parent . fullNameAndRelationship } ` ,
64+ 'record-could-not-vaccinate' : ( parent ) =>
65+ `Confirmation of vaccination not given sent to ${ parent . fullNameAndRelationship } `
6666 } ,
6767 patient : {
6868 archived : ( archive ) => `Record archived: ${ archive . archiveReason } ` ,
0 commit comments