Environment: Mirth 1.5, Windows Server 2000 SP4, Microsoft SQL Server 2000 SP3, Java Runtime v1.6.0 (build 1.6.0_01-b06)
File Reader to Database Channel
=============
Sorry for the multiple edits but the forum page is stripping off the backslash.
~ separating multiple diagnosis code as part of DFT P03 (Post Detail Financial Transaction message)
is getting replaced with a backslash R backslash
E.g.:
Diagnosis code returned by SELECT statment from database is: 153.3~197.7
DFT P03 message output is: 153.3 [backslash] R [backslash]197.7
Tried string replace inside a JavaScript transformer step with the same result.
When I turn off "Use Strict Parser", the channel gets deployed but when it tries to generate the message, I get exception:
HL7 Template:
Thanks in advance!
Post edited by: nshaik, at: 07/25/2007 09:28
Post edited by: nshaik, at: 07/25/2007 09:31
Post edited by: nshaik, at: 07/25/2007 09:31
Post edited by: nshaik, at: 07/25/2007 09:33
Post edited by: nshaik, at: 07/25/2007 09:35
Post edited by: nshaik, at: 07/25/2007 09:36
File Reader to Database Channel
=============
Sorry for the multiple edits but the forum page is stripping off the backslash.
~ separating multiple diagnosis code as part of DFT P03 (Post Detail Financial Transaction message)
is getting replaced with a backslash R backslash
E.g.:
Diagnosis code returned by SELECT statment from database is: 153.3~197.7
DFT P03 message output is: 153.3 [backslash] R [backslash]197.7
Tried string replace inside a JavaScript transformer step with the same result.
When I turn off "Use Strict Parser", the channel gets deployed but when it tries to generate the message, I get exception:
Can't parse message beginning MSH|^~&|TEST_DEST|TEST1|TEST2||CurSystemD
at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:140)
at com.webreach.mirth.model.converters.ER7Serializer. toXML(ER7Serializer.java:99)
at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:140)
at com.webreach.mirth.model.converters.ER7Serializer. toXML(ER7Serializer.java:99)
MSH|^~&|TEST_DEST|TEST1|TEST2||CurSystemDate||DFT^ P03|MessageControlID|P|2.3|||
EVN|P03|RecordedDateTime||01|
PID|1||PatientAccount|
FT1|1|TransactionID||TransactionDate||CG|Procedure Code|TransactionDesc||1||||||AssignedPatientLocati on||O|DiagnosisCode|PhysicianID^PhysicianLastName^ PhysicianFirstName^PhysicianMiddleName|||||Procedu reCode||
EVN|P03|RecordedDateTime||01|
PID|1||PatientAccount|
FT1|1|TransactionID||TransactionDate||CG|Procedure Code|TransactionDesc||1||||||AssignedPatientLocati on||O|DiagnosisCode|PhysicianID^PhysicianLastName^ PhysicianFirstName^PhysicianMiddleName|||||Procedu reCode||
Post edited by: nshaik, at: 07/25/2007 09:28
Post edited by: nshaik, at: 07/25/2007 09:31
Post edited by: nshaik, at: 07/25/2007 09:31
Post edited by: nshaik, at: 07/25/2007 09:33
Post edited by: nshaik, at: 07/25/2007 09:35
Post edited by: nshaik, at: 07/25/2007 09:36