When integrated with EMRs like Epic, the Participant registration process can be configured to be done in a two-step process.
Handling Matches
User enters the patient identifier fields (like MRN) to search for matching participants.
OpenSpecimen displays matching participants from EMR
Data fetched from EMR will be displayed in read-only format
User selects the match and proceeds to the next step.
Handling No Match
If no match is found, then you have two options:
Let the user create a new participant (useful in cases where you recruit external patients)
Disable creating new participants (i.e. patient has to be in EMR)
Steps to Configure Two-step participant registration process
To configure two-step participant registration, you need to first configure the “spring bean name” for participant lookUp at the system level followed by JSON configuration.
A. Setting Spring bean name at the System level
You need to add the "spring bean name" to the 'Participants LookUp Workflow' in the system's setting to allow OpenSpecimen to LookUp participants on the staging table.
The fields that need to be used for lookup have to be set with property: "participantLookup": true on your JSON workflow. The JSON can be configured on any of the following levels: individual CP or system.
Steps to set up JSON configure at the CP level
Go to the CP overview page → More → Export Workflows.
Open the file on the editor of your choice → Set the property: "participantLookup": true for the fields that need to be used for lookup as shown below in the JSON example→ Save it.
Go back to the CP overview page → Import Workflows → Upload the updated file → Import.
Steps to set up JSON configure at the System level
Go to the Homepage → Settings → Search 'System Workflows' →Download the workflow.
Open the file on the editor of your choice → Set property: "participantLookup": true for the fields that need to be used for lookup as shown below in the JSON example→ Save it.
Go back to the “System WorkFlows” →Upload the updated file → Update.
Once all the configuration is complete. You can start registering the EMR participants from the staging table to the CP of your choice.
Steps to register EMR participants based on MRN and MRN site
Go to the CP List view page → Add Participant.
Enter the MRN site and MRN number for the participant → LookUp.
If a match is found, it will show a message saying ‘Following participant found. Please review the details and save'. You can review the details and click on 'Add Partcipant’ to register the participant.
If a match is not found, it will give an error saying 'No matching participant is found'.
Allow non-EMR patient registration
By default, users can ONLY register participants present in EMR. However, it is possible to allow users to register participants not present in EMR.
Steps to allow registration of non-EMR patients
When registration of non-EMR patients is not allowed