Messages are exchanged between the EHR and Patient Portal via a secure HL7 data interchange. The results are then processed via standard Allscripts stored procedures into the EHR. This integration adds a dynamic new piece of functionality to the EHR system in general, allowing patient and provider communication via the EHR..