You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Personal Demographics Service (PDS) personalisation fields
22
27
23
28
NHS Notify uses the [Personal Demographics Service (PDS)](https://digital.nhs.uk/services/personal-demographics-service) to find and populate certain personalisation fields for each recipient. This happens automatically when you [tell us who you want to message]({% link pages/using-nhs-notify/tell-us-who-you-want-to-message.md %}) using recipients' NHS numbers.
@@ -26,20 +31,15 @@ You can use the following PDS personalisation fields in your templates:
26
31
27
32
- fullName
28
33
- firstName
29
-
- middleNames
30
34
- lastName
31
-
- namePrefix
32
-
- nameSuffix
33
35
- nhsNumber
34
36
- date
35
37
36
38
Any placeholders in your content need to match the PDS personalisation fields.
37
39
38
-
## Providing your own personalisation data
40
+
## Custom personalisation fields
39
41
40
-
You can provide your own personalisation data.
41
-
42
-
Do not send us personalisation data that's already available in PDS. We'll use the PDS data over your own data in this case.
42
+
You can add custom personalisation fields that use your own personalisation data.
43
43
44
44
### If you're using NHS Notify API
45
45
@@ -64,3 +64,56 @@ For example, if you wanted to include 'practice' as a personalisation field, the
The data used in your personalisation fields can affect the formatting and length of your messages. This could make some messages cost more than expected.
71
+
72
+
You'll need to provide example data if you're using custom personalisation fields. This is so that we can show you what your templates will look like with different lengths of data in your personalisation fields.
73
+
74
+
Download and complete our [example personalisation data spreadsheet]({% link assets/personalisationexampledata/personalisation-example-data-nhs-notify.xlsx %}).
75
+
76
+
The placeholders in your content must match the fields in the 'personalisation field' column.
77
+
78
+
You'll need to provide short, medium and long lengths of example data for each of your personalisation fields.
79
+
80
+
For example, if you had ((hospital_address_line)) as a personalisation field, you might choose the following example data:
81
+
82
+
{% include components/inset-text.html
83
+
text='
84
+
85
+
- Hospital A - short length
86
+
- Hospital ABCDE - medium length
87
+
- Hospital ABCDEFGHIJKLMN - long length'
88
+
%}
89
+
90
+
It's up to you to decide how many characters to use for the different lengths.
91
+
92
+
If your data will be a fixed length for a particular personalisation field, use 3 different examples of the same length.
93
+
94
+
Your example data does not need to be real data.
95
+
96
+
### Fields to avoid for custom personalisation
97
+
98
+
If you want to use custom personalisation, do not use the following placeholders:
0 commit comments