Thursday, August 23, 2012

Microsoft XDS.b Solution Accelerator Patient Identity Feed woes


Recently in the lab we setup the XDS.b solution accelerator (http://ihe.codeplex.com). Overall the software works however we've identified some problems with the HL7v3 messaging that is returned from the Registry actor.

A little backstory first: I've been asked to teach the Mohawk course for electronic health records, and part of this teaching is a series of hands-on labs which students use tools to communicate with standards based health software packages. One of these labs is an IHE XDS.b lab. One of the servers uses OpenXDS, and the Microsoft XDS.b solution accelerator was used to illustrate different software using the same standard.

Anyways, we have a PIX Manager reference implementation in our lab and I wanted to setup the manager to act as an identity source to the XDS registry (via ITI-44 messaging rather than the ITI-46 notification system). I had this working however I noticed that when I sent messages after 12 minutes past the hour Everest's TS type would throw an FormatException, usually these read:
The date "20124002154000" is not a recognized date/time

Which looked a little suspicious, after some digging in the XDS.b solution accelerator's code I found this line in the PatientIdentityFeedLogic.cs:

public static readonly string PATIENT_ACK_DATETIME_FORMAT = "yyyymmddhhmm";

Which needs to be corrected to :

public static readonly string PATIENT_ACK_DATETIME_FORMAT = "yyyyMMddhhmm";

Not sure how this was missed at connectathon however it was causing issues with the PIX manager. After the change, the XDS Registry works!

Anyways, to anyone thinking of deploying the Microsoft XDS.b solution accelerator should change this line prior to deployment. Additionally, use the instructions in the latest Sync package as these are correct.

No comments:

Post a Comment