Question Lawrence Williams · Aug 23, 2019

CSV to HL7 transform test problem

I am putting together a new interface to take in a CSV file and output an HL7 message.

I have used the record mapper to create the source class and I am putting together the transform, but when trying to test it I am not seeing the data populate the HL7 as intended.

Also.... if I put a <DatofBirth> in the tester, it shows up in the HL7 as I would expect..... that's what really has me scratching my head here.

Comments

Christopher Eslinger · Aug 23, 2019

I believe you may be missing a counter variable which you could test by simply putting a 1 in the property shown in your first screenshot i.e.

target.{PID.PatientName(1).FamilyName}

Also, for ease of reading I generally convert the field names to the corresponding location so if desired the above could be

target.{PID.5(1).1}

I hope this helps.

0
Lawrence Williams  Aug 23, 2019 to Christopher Eslinger

That was it... thank you Christopher !!   And thank you for your suggestion about the field names, makes perfect sense and I will follow that recommendation :)

0
Leon Wilson · Aug 7, 2020

Good afternoon,

Could you please let me know what kind of DocType you used to the transformation, and this is for the record mapper and not for the HL7.

I am receiving the following error with in the production process.

.....ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zOnRequest+1 ^EnsLib.MsgRouter.VDocRoutingEngine.1 *DocType.......

Your help would be super appreciated.

0
Leon Wilson  Aug 10, 2020 to Leon Wilson

Not too worry I figured the issue out and resolved the error.

instead of using this class

EnsLib.HL7.MsgRouter.RoutingEngine

you need to use this class.

EnsLib.MsgRouter.RoutingEngine

0