Creating Dictionaries and Anonymisation
What are dictionaries:
Dictionaries are a tool that allows you to either replace some data with other data or to append data with more data.
A good and common workflow example of this is to add a counter to anonymise names in a study.
How to add a counter to anonymize names using dictionaries
Go into the administration tab, click more and then Dictionaries.
Click the blue New Dictionary button located in the top right underneath the sign out button.
Give the dictionary an appropriate name and set the object to Study.
Set the field you wish to update. This must be done in a JSON format as pictured below. In this case we want to lookup and replace our patient name field.
Click the blue Add entry button.
In the box that has now appeared you will want to add the following Regex line. This will ensure that everything in the patient name field is selected.
Tick the Regular expression tick box to the right of the field you've just written in. This tells the platform that the text you have just entered is in Regex format.
To the right of the tick box there will be another field to populate. This is the field that will apply the counter. An example of which is shown in the image below.
This field is written in JSON format. So it starts with [". This is then followed by the text "ANON_" which can be whatever you wish to prepend the study name with. This is then followed by the counter condition itself "__COUNTER-" and further followed by the number format you wish to use which in this case "00001__". Put it all together and you get ["ANON___COUNTER-00001__"]