Tuesday, 22 April 2014

Surgical Synoptic Reporting – Integration

In my previous post, I outlined Nova Scotia’s implementation of Surgical Synoptic Reporting.  In this post, I want to talk about integration with the three Hospital Information Systems (HIS) used in the province.

Inbound

To recap we needed to support both ADT and scheduling workflows so we spent quite a bit of time talking to the various sites to fully understand how a patient would flow through the system.  With three different systems there was obviously going to be differences in the HL7 messages that each one produced.  At the end of this process we felt that we had captured all of the standard use cases as well as a good percent of edge cases.  There was always going to be some rare scenarios that we didn’t account for but we were confident that we track the patient the vast majority of the time.

The next step was to look at filtering the HL7 message so that we only received events that were relevant to us.  This was important not just for scalability and performance, but from a privacy perspective we shouldn’t see any messages for a patient encounter that is not related to a surgical event.  Privacy is taken very seriously in Nova Scotia, even within internal messages flowing around the health IT infrastructure.  In fact we cannot put anything into a production environment before the PIA is reviewed and approved.

We were able to fine grain the filtering based on a combination of

  • HL7 event types
  • HIS service types
  • Attending physician

So now, when the patient is scheduled, registered or admitted for a event we are interested in and for a surgeon participating in the Surgical Synoptic Reporting project we receive the HL7 message and can create or update the entry in the surgeon’s dashboard.

Outbound

After the surgeon completes the operative report the system needs to send it back to the originating HIS for filing in the patient’s record.  To achieve this we create an HL7 ORU message with the report in the OBX segment.  When the system receives the inbound message, we capture the sending facility as well as the visit information so we can include them in the outbound message.

Each of the three HIS require the report in a different format so we use the sending facility captured in the original message to work out which format we need to include in the ORU message.  The report is stored as discrete data in the synoptic system database.  We can then build a PDF and send it as base64 encoded to the McKesson HIS or as a MEDITECH Formatted Text document to the two flavours of MEDITECH.  The PDF uses generally available components to generate and encode the document however we had to write a custom .NET assembly to handle the conversion to a format the MEDITECH systems would understand.

Finally we also want to send the report to the family physician, the surgeon’s shadow file or a specialist (as decided by the surgeon).  We do this through the provincial faxing system although certainly at some future time we would like to electronically send the report to the family physician through one of the provincial physician EMRs.

In the next post I will talk about Health Systems Use.

No comments:

Post a Comment