From: Shrock, C. <Sh...@in...> - 2004-10-28 19:48:59
|
Thank you, Nico. I base64 encoded the actual message to avoid munching....the message didn't have multiple segments when I sent the original email :) copy-n-paste into TestPanel after decoding it to see what I mean. TVNIfF5+XCZ8QURNfFNITXxBTEx8QUxMfDIwMDQxMDI3MTQ0Mnx8QURUXkE xM3xBRE0tSFVCLjEuNDgwOTN8RHwyLjEKRVZOfEExM3x8fHxUV0IKUElEfD F8WjQ5MzV8WjAwMDAwNDk4M3x8VEVTVFNITV5UV0JeXl5efE5JTkVUWU5JT kUsQUdFTlR8MTk2MjEyMTJ8TXxEQU5HRVJeTklDS15eXl58MXw3ODU2IFcg RUFTVF5eU1BPS0FORV5XQV45OTIwOHxTUE8tV0F8NTA5IDc4OS0wOTc4fDU wOSA0NzQtMzEzMXx8RHxBR3xaMDAwMDYxNTF8ODkwLTIzLTQ1NjgKUFYxfD F8RXxaLkJMVV5efEVNfHx8QkFCTEFeQmFiYl5MYXJyeV5eXl58RUFSQVJeR WFybF5BcnRodXJeRF5eXnx8fHx8fEF8fHx8RVJ8fE1TQ1Z8fHx8fHx8fHx8 fHx8fHx8fHx8U0hNfHxSRUd8fHwyMDA0MTAyNzE0MjMKSU4xfDF8TVNDfHx NU0MgUFJFTUVSQXxQTyBCT1ggMzA0OF5eU1BPS0FORV5XQV45OTIyMC0zMD Q4fHw1MDkgNTM2LTQ1MDB8fHx8fDIwMDQxMjAxfDIwMDkxMjAzfHx8VEVTV FNITV5UV0JeXl5efFNQfHx8fHx8fHx8fHx8fHx8fHx8MzIxNjU0OTg3fDEy MzQ1Njc4OQpHVDF8MXx8VEVTVFNITV5UV0JeXl5efHw3ODU2IFcgRUFTVF5 eU1BPS0FORV5XQV45OTIwOHw1MDkgNzg5LTA5Nzh8fHx8fFNQfDg5MC0yMy 00NTY4fHx8fFNITUN8VyAxMDEgOFRILCBCT1ggVEFDIEYtOV5eU1BPS0FOR V5XQV45OTIyMHw1MDkgNDc0LTMxMzF8fEZUCkRHMXwxfFRYfHxURVNURU1Q QVRIIElOVEVSRkFDRQpaVjF8Xl5eXnxBQUxTVUVeQWFsZ2FyZF5TdWVeXl5 efERBQlJBXkRhYmFsb3NeUm9kb2xmb15BXl5efHx8fHxQVE5eREFEXl5eXn xGQXw3NTMxIE4gU09VVEheXlNQT0tBTkVeV0FeOTkyMDN8NzU4IDYzMi00N TEyfFRFU1RFUnxURVNURVJ8U0FDUkVEIEhFQVJUIE1FRElDQUwgQ0VOVEVS fFcgMTAxIDhUSCwgQk9YIFRBQyBGLTleXlNQT0tBTkVeV0FeOTkyMjA= -----Original Message----- From: ni...@sk... [mailto:ni...@sk...] Sent: Thursday, October 28, 2004 11:58 AM To: hl7...@li... Subject: RE: RE: [HAPI-devel] Peculiar parse of a valid HL7 message in TestPan Hi Court, I don't have the documentation of HL7 v2.1 but I'm afraid that your message is not correct. Normally you can only have 1 PID segment and 1 PV1 segment in a A05 message (at least in v2.5). I think that's the cause of the strange behaviour of HAPI... Best Regards Nico _____ I found that in this particular case, the order of the segments matters. The DG1 segment was being recognized were is existed in the message, but a placeholder was being put immediately following the PV1 segment where hl7api thought it should be. My next question is where is this structure defined and can it be relaxed as I am receiving messages from another interface and can't control the order of the segments? Thank you, Court -----Original Message----- From: Shrock, Court [mailto:Sh...@in...] Sent: Thursday, October 28, 2004 10:47 AM To: 'hl7...@li...' Subject: [HAPI-devel] Peculiar parse of a valid HL7 message in TestPanel When using the HL7 message below, the TestPanel parses the message with 2 DG1 segments, the first being an empty node and the second containing the actual data. This is curious because a call to terser.get("/DG1-2") and terser.get("/DG1-4") return nothing wi! th this particular message. I have noticed that is doesn't just happen with the DG1 segments either. I've seen happen with the PV1 segments as well. Any ideas/leads from an experienced hand? Thanks, Court MSH|^~\\\\&|ADM|SHM|ALL|ALL|200410271610||ADT^A05|ADM-HUB.1.48134|D|2.1 EVN|A05||||TWB PID|1|Z4935|Z000004983||TESTSHM^TWB^^^^|NINETYNINE,AGENT|19621212|M|DANG PID|1|Z4935|Z000004983||ER^N ICK^^^^|1|7856 W EAST^^SPOKANE^WA^99208|SPO-WA|509 789-0978|509 474-3131||D|AG|Z00006154|890-23-4568 NK1|1|NOK MOM |MO|4523 N SOUTH^^SPOKANE^WA^99205|890 123-4568 PV1|1|P|Z.7S^^|EL|||MABRO^Mabunga^Rogelio^^^^|NADDA^Nadig^Daniel^^^^||ME PV1|1|P|DN|| ||A|||LABSY^Labes^Sylvia^^^^|IN||MSCV|||||||||||||||||||SHM||PRE|||20041 ||A|||0281 610 IN1|1|MSC||MSC PREMERA|PO BOX 3048^^SPOKANE^WA^99220-3048||509 536-4500|||||20041201|20091203|||TESTSHM^TWB^^^^|SP||||||||||||||||||321 536-4500|||||20041201|20091203|||6549 87|123456789 GT1|1||TESTSHM^TWB^^^^||7856 W EAST^^SPOKANE^WA^99208|509 789-0978|||||SP|890-23-4568||||SHMC|W 101 8TH, BOX TAC F-9^^SPOKANE^WA^99220|509 474-3131||FT DG1|1|TX||test a23 ZV1|^^^^|AALSUE^Aalgard^Sue^^^^|DABRA^Dabalos^Rodolfo^A^^^|||||PTN^DAD^^ ZV1|^^|F A|7531 N SOUTH^^SPOKANE^WA^99203|758 632-4512|TESTER|TESTER|SACRED HEART MEDICAL CENTER|W 101 8TH, BOX TAC F-9^^SPOKANE^WA^99220 ------------------------------------------------------- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ _______________________________________________ Hl7api-devel mailing list Hl7...@li... https://lists.sourceforge.net/lists/listinfo/hl7api-devel ------------------------------------------------------- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ _______________________________________________ Hl7api-devel mailing list Hl7...@li... https://lists.sourceforge.net/lists/listinfo/hl7api-devel |