Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gliffy
imageAttachmentIdatt478609425
baseUrlhttps://openspecimen.atlassian.net/wiki
macroId65c0d71a-f9fe-4772-997f-d68f82b2b419
nameEMR Integrationb
diagramAttachmentIdatt478609420
containerId101286018
timestamp1649122074125

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

...

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

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

    Image Modified

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.

...

Expand
titleSet up JSON configure for a specific CP
  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

Expand
titleSet up JSON configure for a specific CP
  1. Go to the Homepage → Settings → Search 'System Workflows' →Download the workflow.

    Image Modified
  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

...

Expand
titleSteps to register EMR participants
  1. Go to the CP List view page → Add Participant.

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

    Image Modified
  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.

    Image Modified
  4. If a match is not found, it will give an error saying 'No matching participant is found'.

    Image Modified

Allow non-EMR patient registration

...

Expand
titleSteps to allow registration of non-EMR patients
  1. Go to Homepage → Settings → Search 'Add Participant on No Match'.

    Image Modified
  2. Select property ‘Add Participant on No Match' →  Select 'Enabled’ → 'Update'.

Image Removed
  1. Image Added

When registration of non-EMR patients is not allowed

...

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