Matt is an Avid Reader. No contributions for 2024.
Without a doubt, there will be something to
share on the Community in 2025!
User bio

Matthew Spielman
Manager, Product Management
HealthShare
Tel: +1 (617) 621 0600
One Memorial Drive
Cambridge, MA 02142-1358
United States
Member since Feb 24, 2016
Replies:

It is not 100% clear to me what is causing your problem but one issue with your code that I foresee is resiliency around image sizes. You are using a lot of string processing to handle images which is very risky. If your image file size exceeds the length of a string, you will run into <MAXSTRING> errors and other problems. Particularly since this isn't human-readable text that you will need to do things like $ZCVT or $REPLACE, I suggest refactoring your code to handle this data as streams.

Another option to consider is at the time the EQ edge gets the fetch request, do a synchronous PatientSearchRequest to the hub for the demographics of the patient. Then transform that data into SDA. Unfortunately, while there is an existing XSLT to go from SDA to a PatientSearchRequest (csp/xslt/SDA3/SDA-to-MPIUpdatePatient.xsl), there is not a transform the other direction so you will need to build something..

Certifications & Credly badges:
Matt has no Certifications & Credly badges yet.
Global Masters badges:
Matt has no Global Masters badges yet.
Followers:
Matt has no followers yet.
Following:
Matt has not followed anybody yet.