eHR Interface Processors

The eHR interface processes the BODs received from Clinical Bridge depending on the value in the MessageType element of the BOD. The processors for the eHR interface are shown in this table.

eHR Processor Description Trigger Event
Admit/Update Patient Information Adds the patient to the database or updates existing patient information. A01, A04, A05, A08, A28
Change Patient Type

A06: Change an Outpatient to an Inpatient.

A07: Change an Inpatient to an Outpatient.

A06, A07
Cancel Patient Admit Cancels the patient admission. A11
Discharge Patient Discharges an admitted patient. A03
Cancel Discharge Cancels a discharge message. A13
Transfer Patient Transfers a patient from one unit to another. A02

Temporary Transfer

Tracks patient transfers

A09 – Patient Departing - Tracking.

A10 – Patient Arriving – Tracking.

A09, A10
Swap Beds Similar to a transfer, but for beds. A17
Cancel Transfer Cancels a transfer message. A12
Merge Patients and Encounters Merges patient information. A18, A34, A36, A40
Merge Encounters Merges patient encounters. A35, A41
Move Account Information Moves a patient encounter to the specified new patient ID. A44
Sign In Flags the patient as signed-in after a leave of absence. A22
Sign Out Flags the patient as signed-out when they go on a leave of absence. A21
Score Workload Scores the workload of a patient for a specific intervention. R01

Each eHR processor has a set of required fields when processing the BOD. If any of the required fields are missing, the processor produces an error message, “The required field/s are not provided in the message.” The table shows the required fields for each processor.

eHR Processor Required Field or Fields
All MessageType

Admit/Update Patient Information

EventDate

HospitalPatientID

LastName – only for A01

FirstName – only for A01

EncounterNumber – only for A01

Unit – only for A01

PatientType – only for A01

AdmitDate – only for A01

Change Patient Type

HospitalPatientID

EncounterNumber

EventDate

Unit

PatientType

Cancel Patient Admit

HospitalPatientID

EncounterNumber

EventDate

Discharge Patient

HospitalPatientID

EncounterNumber

DischargeDate – contains EventDate if DischargeDate in message is blank

Cancel Discharge

HospitalPatientID

EncounterNumber

EventDate

Transfer Patient

HospitalPatientID

EncounterNumber

EventDate

DepartingUnit

PatientType

Temporary Transfer

HospitalPatientID

EncounterNumber

EventDate

Unit

PatientType

At least one of these:
  • DepartingUnit
  • TempReceivingUnit
  • TempDepartingUnit

Swap Beds

HospitalPatientID

EncounterNumber

EventDate

Unit

Room

Bed

PatientType

DepartingUnit

Cancel Transfer

HospitalPatientID

EncounterNumber

EventDate

Unit

Merge Patients and Encounters HospitalPatientID
Merge Encounters

HospitalPatientID

EncounterNumber

PriorEncounterNumber

Move Account Information

HospitalPatientID

EncounterNumber

MergeHospitalPatientID

Sign In

HospitalPatientID

EncounterNumber

EventDate

Unit

Sign Out

HospitalPatientID

EncounterNumber

EventDate

Unit

Score Workload

HospitalPatientID

EncounterNumber

Unit

DocumentationDateTime

PrimaryIntervention