This applies to the integration with any EMR like Epic, Cerner, Velos, etc which can send HL7 messages.
EMR sends HL7 messages (ADT) to OpenSpecimen to add/edit patients on a preconfigured port
OpenSpecimen processes the incoming messages, cleanses, and stores the resulting patient and visit records in the staging table.
When an end-user does a search on MRN, OpenSpecimen searches the staging table and display the registration form with the prefilled patient information. When a match is not found, the registration form is blank/empty.
The records from the staging table are purged after every 90 days. The retention period is configurable.