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.
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.
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 :)
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.
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