OpenSpecimen allows locking of participant fields, when participant details coming from multiple sources like EPIC, RedCap etc. Below are the steps to configure the fields which user wants to lock:
- Download current system workflowfromSettings→Biospecimen→ System Workflows→ system-workflows.json
- Open system-workflows.json in any text editor of choice
At the end of the file, add below section:
{ "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" ] } } } Note: Please replace '<External data source name>' with the actual name of the source as configured.
- After the changes the system workflow jsonwill look like the attached file
- Upload the updatedjson file at Settings→Biospecimen→ System Workflows