Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Two step participant registration process

Introduction

When integrated with EMRs like Epic, the Participant registration process can be configured to be done in a two-step process.

Handling Matches

  1. User enters the patient identifier fields (like MRN) to search for matching participants.

  2. OpenSpecimen displays matching participants from EMR

  3. Data fetched from EMR will be displayed in read-only format

  4. User selects the match and proceeds to the next step.

Handling No Match

If no match is found, then you have two options:

  1. Let the user create a new participant (useful in cases where you recruit external patients)

  2. 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.

  1. Go to Homepage → Settings → Search 'LookUp'.

  2. Select property 'Participants LookUp Workflow ' →  Add value 'bean: stagedParticipantsDbLookup' → 'Update'.

B. JSON Configuration

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

  1. Go to the CP overview page → More → Export Workflows.

  2. 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.

  3. Go back to the CP overview page → Import Workflows → Upload the updated file → Import.

Steps to set up JSON configure at the System level

  1. Go to the Homepage → Settings → Search 'System Workflows' →Download the workflow.

  2. 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.

  3. Go back to the “System WorkFlows” →Upload the updated file → Update.

JSON Example

Lookup JSON for MRN and MRN Site

[ { "name" : "dictionary", "view" : null, "ctrl" : null, "data" : { "fields" : [ { "name" : "cpr.participant.pmis", "type" : "collection", "participantLookup" : true, "fields" : [ { "name" : "siteName", "caption" : "MRN Site", "type" : "dropdown", "multiple" : false, "optional" : true, "participantLookup" : true, "listSource" : { "apiUrl" : "sites", "displayProp" : "name", "selectProp" : "name", "queryParams" : { "dynamic" : { "operation" : "op" }, "static": { "listAll": true }, "search" : "name" } } }, { "name" : "mrn", "caption" : "MRN", "type" : "text", "optional" : true } ] }, { "name" : "cpr.registrationDate", "caption" : "Registration Date", "type" : "date", "optional" : false, "defaultValue" : "current_date" }, ......... .........

 

Sample JSON

Lookup JSON for eMPI and Registration Site

[ { "name":"dictionary", "data":{ "fields":[ { "name":"cpr.participant.empi", "caption":"Master Patient Index", "type":"text", "participantLookup":true, "optional":true, "showIf":{ "rules":[ { "field":"mpiFmt", "op":"not_exist" } ] } }, { "name":"cpr.site", "caption":"Registration Site", "type":"dropdown", "participantLookup":true, "optional":true, "listSource":{ "apiUrl":"collection-protocols/{{cp.id}}/sites", "displayProp":"name", "selectProp":"name", "queryParams":{ } } }, { "name":"cpr.registrationDate", "caption":"Registration Date", "type":"date", "optional":false, "defaultValue":"current_date" }, { "name":"cpr.externalSubjectId", "caption":"External Subject ID", "type":"text", "optional":true }, ......... .........

 

Sample JSON

Steps to lookup and register the EMR participants

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

  1. Go to the CP List view page → Add Participant.

  2. Enter the MRN site and MRN number for the participant → LookUp.

  3. 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.

  4. 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

When registration of non-EMR patients is allowed

 

Locking the retrieved fields

You can make data pulled from EMR "read-only".  Refer this page to lock the participant fields.

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com