OpenSpecimen allows OpenSpecimenallows locking of participant fields when participant details coming from multiple sources like EPIC, RedCap etc. In such cases, you might want to make sure that data in OpenSpecimen is presented only OpenSpecimenis presentedonly in read-only mode.
Below are the steps to configure the fields which user wants to lock:
...
- Open system-workflows.json in any text editor of choice
At the end of the file, add below section:
Code Block { "name": "locked-fields", "data": { "participant": { "<External data source name>": [ "cpr.participant.firstName", "cpr.participant.lastName", "cpr.participant.middleName", "cpr.participant.birthDate", "cpr.participant.gender", "cpr.participant.pmis", "cpr.participant.ethnicity", "cpr.participant.races", "cpr.participant.empi", "cpr.participant.vitalStatus", "cpr.participant.deathDate", "cpr.participant.uid" ] } } } Note: Please replace '<External data source name>' with the actual name of the source as configured. E.g. EPIC.
- After the changes, the system workflow JSON will look like the attached file
View file name system-workflows.json height 250 - Upload the updated JSON file at "Settings→Biospecimen→ System Workflows"
- Test that the locking of fields is done properly based on the "external data source name".