You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(4) |
May
(5) |
Jun
(6) |
Jul
(3) |
Aug
(13) |
Sep
(28) |
Oct
(33) |
Nov
(8) |
Dec
(1) |
2003 |
Jan
(6) |
Feb
(2) |
Mar
|
Apr
(25) |
May
(21) |
Jun
(13) |
Jul
(12) |
Aug
(14) |
Sep
(6) |
Oct
(6) |
Nov
(16) |
Dec
(6) |
2004 |
Jan
(5) |
Feb
(7) |
Mar
(13) |
Apr
(17) |
May
(24) |
Jun
(14) |
Jul
(14) |
Aug
(8) |
Sep
(3) |
Oct
(8) |
Nov
(14) |
Dec
(26) |
2005 |
Jan
(18) |
Feb
(12) |
Mar
(29) |
Apr
(9) |
May
(4) |
Jun
(12) |
Jul
(17) |
Aug
(9) |
Sep
(12) |
Oct
|
Nov
(12) |
Dec
|
2006 |
Jan
(46) |
Feb
(18) |
Mar
(11) |
Apr
(13) |
May
(12) |
Jun
(27) |
Jul
(34) |
Aug
(45) |
Sep
(27) |
Oct
(13) |
Nov
(26) |
Dec
(22) |
2007 |
Jan
(21) |
Feb
(29) |
Mar
(32) |
Apr
(6) |
May
(11) |
Jun
(13) |
Jul
(14) |
Aug
(11) |
Sep
(15) |
Oct
(7) |
Nov
(30) |
Dec
(16) |
2008 |
Jan
(11) |
Feb
(14) |
Mar
(5) |
Apr
(18) |
May
(12) |
Jun
(11) |
Jul
(5) |
Aug
(12) |
Sep
(3) |
Oct
(2) |
Nov
(15) |
Dec
(2) |
2009 |
Jan
(18) |
Feb
(6) |
Mar
(9) |
Apr
(10) |
May
(29) |
Jun
(16) |
Jul
(44) |
Aug
(49) |
Sep
(14) |
Oct
(21) |
Nov
(11) |
Dec
(22) |
2010 |
Jan
(12) |
Feb
(13) |
Mar
(5) |
Apr
(6) |
May
(15) |
Jun
(15) |
Jul
(14) |
Aug
(20) |
Sep
(17) |
Oct
(36) |
Nov
(19) |
Dec
(7) |
2011 |
Jan
(8) |
Feb
(14) |
Mar
(21) |
Apr
(12) |
May
(6) |
Jun
(12) |
Jul
(17) |
Aug
(6) |
Sep
(13) |
Oct
(15) |
Nov
(26) |
Dec
(9) |
2012 |
Jan
(25) |
Feb
(13) |
Mar
(31) |
Apr
(10) |
May
(16) |
Jun
(21) |
Jul
(61) |
Aug
(38) |
Sep
(16) |
Oct
(13) |
Nov
(37) |
Dec
(26) |
2013 |
Jan
(20) |
Feb
(26) |
Mar
(34) |
Apr
(32) |
May
(27) |
Jun
(56) |
Jul
(16) |
Aug
(38) |
Sep
(35) |
Oct
(17) |
Nov
(11) |
Dec
(7) |
2014 |
Jan
(36) |
Feb
(13) |
Mar
(25) |
Apr
|
May
(27) |
Jun
(33) |
Jul
(34) |
Aug
|
Sep
(4) |
Oct
(11) |
Nov
(42) |
Dec
(2) |
2015 |
Jan
(5) |
Feb
(6) |
Mar
(11) |
Apr
(3) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(5) |
Sep
(5) |
Oct
(5) |
Nov
(8) |
Dec
(19) |
2016 |
Jan
(8) |
Feb
(12) |
Mar
(6) |
Apr
(5) |
May
(5) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(9) |
Oct
(1) |
Nov
(2) |
Dec
(5) |
2017 |
Jan
(2) |
Feb
|
Mar
(3) |
Apr
(6) |
May
(8) |
Jun
(7) |
Jul
(14) |
Aug
(10) |
Sep
(6) |
Oct
(2) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(9) |
Mar
(2) |
Apr
(3) |
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
(8) |
Sep
(4) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
2019 |
Jan
(10) |
Feb
(2) |
Mar
(6) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(5) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2020 |
Jan
(9) |
Feb
|
Mar
|
Apr
(6) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(9) |
Oct
(1) |
Nov
(11) |
Dec
|
2021 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2023 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(2) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
From: James A. <ja...@ja...> - 2014-07-16 15:55:23
|
Hi Rishi, This is really more of a question for OpenMRS. HL7 v2 is unfortunately not really a 100% "plug and play" standard, so just having technically valid HL7 content rarely means that you can be sure you have met the needs of any given application. In other worse, there are many fields in your message that aren't there (and that's perfectly fine according to the HL7 specification) but that are required to meet a specific need in your receiving system. I would start by looking in the logs of the receiving system to see if it sheds any light on why it's rejecting the message. Cheers, James On Wed, Jul 16, 2014 at 11:04 AM, Rishi Baijal <ris...@ii...> wrote: > I have an application that posts HL7 messages to OpenMRS. The message > built is as follows: > > > MSH|^~\&|MedAssist|OpenMRS|AUSDVA|OpenMRS|20140716150602||ORU^R01|20140716150602|P|2.5|1 > PID|||2||Patient^John > OBR|1||1234^SensorReading|88304 > OBX||NM|1||45||||||C > OBX||NM|2||34||||||C > OBX||NM|3||23||||||C > > I have passed this message through an online HL7 validator and it comes > clean without any error messages. Now, when I post this message, it is > placed in the "HL7 queued messages" queue. However, it never exits this > queue. On the console, I get the following exception: > ERROR - TimerSchedulerTask.run(54) |2014-07-15 16:16:30,198| FATAL ERROR: > Task [class org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper] > failed due to exception > [org.springframework.transaction.UnexpectedRollbackException] > > org.springframework.transaction.UnexpectedRollbackException: Transaction > rolled back because it has been marked as rollback-only > > The full stack trace can be found here: http://pastebin.com/KzVFewy8 > > I thought the reason for this was because some fields in the HL7 message > were null. However, I then tried posting this sample message: > > > MSH|^~\&|FORMENTRY|AMRS|HL7LISTENER|AMRS|20050217152845||ORU^R01|AMRS20050217152845|P|2.5|1||||||||1^AMRS-ELDORET\^[ > http://schemas.openmrs.org/2006/FormEntry/formId]\^URI > > PID||1^\^^AMRS|1MT^9^M10||Patient^Jonny^Dee{^}{^}DR|Patient^Momma^Thee^\^MS|20040101000000^Y|M||B|555 > Johnson Road^Apt.555^Indianapolis^IN^46202^USA|||||||||||Indianapolis, > IN|||||||||||||||||TRIBE CODE > > > PV1|1|O|^^^^^^^^^1^AMRS|2|||1^Mamlin^Joseph^^^^^^^^8^M10^^AMRS|||||||||||||||||||||||||||||||||||||20050217140000|||||||V > > ORC|RE||||||||20050221130000|1^Enterer^Ima^^^^^AMRS > > OBR|1|||1238^MEDICAL RECORD OBSERVATIONS^DCT > > OBX|1|CE|1082^REVIEW OF SYSTEMS, CENTRAL NERVOUS > SYSTEM^DCT||207^DEPRESSION^DCT||||||F|||20050217204000 > > OBX|2|SN|5497^CD4 COUNT^DCT||<^10|cells/mm3|10-1500|L|||F|||20050217204000 > > OBX|3|NM|5089^WEIGHT (KG)^DCT||25|kg|20-300|L|||F|||20050217204000 > > OBX|4|TS|1191^HISTORICAL DRUG STOP > DATE^DCT||20050101||||||F|||20050217204000 > > I get the same error with the sample message. It is placed in the "HL7 > queued messages" queue and it never gets out. On the console, I get the > UnexpectedRollbackException. Clearly, this is not supposed to happen. I > tried restarting the scheduler, but even that did not seem to work. > > Q1. Why does the message not exit the queue? Is this normal behaviour? (I > really doubt it is) > > Q2. Is there a problem with either of the two messages? If not, then why > is it stuck in the queue just like my message? > > Q3. What should I do to get this transaction to work? > > > > -- > Regards, > Rishi Baijal. > 2012084. > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: James A. <ja...@ja...> - 2014-07-16 15:52:01
|
Ah, if you're dealing with the .NET library (NHapi) this is actually not the right list. Despite our similar names, the two projects are fairly unrelated these days. I believe NHapi has a web forum somewhere (at least they did at one point), it might be worth asking this question there. Cheers, James On Wed, Jul 16, 2014 at 11:40 AM, Sheridan Paul (RBV) NHS Christie Tr < Pau...@ch...> wrote: > Thanks for this, seems that this aspect of hapi didn’t make it into the > .net port – I’ll keep digging, thanks. > > > > P. > > > > *From:* James Agnew [mailto:ja...@ja...] > *Sent:* 15 July 2014 17:07 > *To:* Sheridan Paul (RBV) NHS Christie Tr > *Cc:* hl7...@li... > *Subject:* Re: [HAPI-devel] Implementing Zxx segments on A05 > > > > Hi Paul, > > > > Not to worry, dealing with Z-segments is fairly common but not entirely > intuitive at first. > > > > You'll find a complete example here: > http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CustomModelClasses.html > > > > Basically, there are two ways to do it, one uses custom message types and > give static binding, the other uses dynamic binding but it easier to code. > > > > Cheers, > > James > > > > On Tue, Jul 15, 2014 at 8:36 AM, Sheridan Paul (RBV) NHS Christie Tr < > Pau...@ch...> wrote: > > (Sorry if this is a common request – new to the list) > > > > Our ADT Feed gives us A05 messages with custom ‘ZU3’ segments – This > doesn’t seem to be supported in the A05 class in nHapi. – Does anyone know > of an example of where Zxx segments have been successfully applied to other > message types? > > > > Thanks, > > > > Paul. > > > > To download our 20:20 Vision strategy, please visit > http://www.christie.nhs.uk/2020 > > > This e-mail and any files transmitted with it are confidential and solely > for the use of the intended recipient. > If you have received this e-mail in error you should not disseminate, > distribute or copy it. > Please notify the sender immediately and delete this e-mail from your > system. > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > > > To download our 20:20 Vision strategy, please visit > http://www.christie.nhs.uk/2020 > > > This e-mail and any files transmitted with it are confidential and solely > for the use of the intended recipient. > If you have received this e-mail in error you should not disseminate, > distribute or copy it. > Please notify the sender immediately and delete this e-mail from your > system. > |
From: Sheridan P. (R. N. C. T. <Pau...@ch...> - 2014-07-16 15:40:15
|
Thanks for this, seems that this aspect of hapi didn’t make it into the .net port – I’ll keep digging, thanks. P. From: James Agnew [mailto:ja...@ja...] Sent: 15 July 2014 17:07 To: Sheridan Paul (RBV) NHS Christie Tr Cc: hl7...@li... Subject: Re: [HAPI-devel] Implementing Zxx segments on A05 Hi Paul, Not to worry, dealing with Z-segments is fairly common but not entirely intuitive at first. You'll find a complete example here: http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CustomModelClasses.html Basically, there are two ways to do it, one uses custom message types and give static binding, the other uses dynamic binding but it easier to code. Cheers, James On Tue, Jul 15, 2014 at 8:36 AM, Sheridan Paul (RBV) NHS Christie Tr <Pau...@ch...<mailto:Pau...@ch...>> wrote: (Sorry if this is a common request – new to the list) Our ADT Feed gives us A05 messages with custom ‘ZU3’ segments – This doesn’t seem to be supported in the A05 class in nHapi. – Does anyone know of an example of where Zxx segments have been successfully applied to other message types? Thanks, Paul. To download our 20:20 Vision strategy, please visit http://www.christie.nhs.uk/2020 This e-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you have received this e-mail in error you should not disseminate, distribute or copy it. Please notify the sender immediately and delete this e-mail from your system. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Hl7api-devel mailing list Hl7...@li...<mailto:Hl7...@li...> https://lists.sourceforge.net/lists/listinfo/hl7api-devel To download our 20:20 Vision strategy, please visit http://www.christie.nhs.uk/2020 This e-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you have received this e-mail in error you should not disseminate, distribute or copy it. Please notify the sender immediately and delete this e-mail from your system. |
From: Rishi B. <ris...@ii...> - 2014-07-16 15:31:42
|
I have an application that posts HL7 messages to OpenMRS. The message built is as follows: MSH|^~\&|MedAssist|OpenMRS|AUSDVA|OpenMRS|20140716150602||ORU^R01|20140716150602|P|2.5|1 PID|||2||Patient^John OBR|1||1234^SensorReading|88304 OBX||NM|1||45||||||C OBX||NM|2||34||||||C OBX||NM|3||23||||||C I have passed this message through an online HL7 validator and it comes clean without any error messages. Now, when I post this message, it is placed in the "HL7 queued messages" queue. However, it never exits this queue. On the console, I get the following exception: ERROR - TimerSchedulerTask.run(54) |2014-07-15 16:16:30,198| FATAL ERROR: Task [class org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper] failed due to exception [org.springframework.transaction.UnexpectedRollbackException] org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only The full stack trace can be found here: http://pastebin.com/KzVFewy8 I thought the reason for this was because some fields in the HL7 message were null. However, I then tried posting this sample message: MSH|^~\&|FORMENTRY|AMRS|HL7LISTENER|AMRS|20050217152845||ORU^R01|AMRS20050217152845|P|2.5|1||||||||1^AMRS-ELDORET\^[ http://schemas.openmrs.org/2006/FormEntry/formId]\^URI PID||1^\^^AMRS|1MT^9^M10||Patient^Jonny^Dee{^}{^}DR|Patient^Momma^Thee^\^MS|20040101000000^Y|M||B|555 Johnson Road^Apt.555^Indianapolis^IN^46202^USA|||||||||||Indianapolis, IN|||||||||||||||||TRIBE CODE PV1|1|O|^^^^^^^^^1^AMRS|2|||1^Mamlin^Joseph^^^^^^^^8^M10^^AMRS|||||||||||||||||||||||||||||||||||||20050217140000|||||||V ORC|RE||||||||20050221130000|1^Enterer^Ima^^^^^AMRS OBR|1|||1238^MEDICAL RECORD OBSERVATIONS^DCT OBX|1|CE|1082^REVIEW OF SYSTEMS, CENTRAL NERVOUS SYSTEM^DCT||207^DEPRESSION^DCT||||||F|||20050217204000 OBX|2|SN|5497^CD4 COUNT^DCT||<^10|cells/mm3|10-1500|L|||F|||20050217204000 OBX|3|NM|5089^WEIGHT (KG)^DCT||25|kg|20-300|L|||F|||20050217204000 OBX|4|TS|1191^HISTORICAL DRUG STOP DATE^DCT||20050101||||||F|||20050217204000 I get the same error with the sample message. It is placed in the "HL7 queued messages" queue and it never gets out. On the console, I get the UnexpectedRollbackException. Clearly, this is not supposed to happen. I tried restarting the scheduler, but even that did not seem to work. Q1. Why does the message not exit the queue? Is this normal behaviour? (I really doubt it is) Q2. Is there a problem with either of the two messages? If not, then why is it stuck in the queue just like my message? Q3. What should I do to get this transaction to work? -- Regards, Rishi Baijal. 2012084. |
From: James A. <ja...@ja...> - 2014-07-15 18:33:25
|
That's probably a factory method that was added to HAPI in a version later than 2.2. Get your parser using whatever means you've been using elsewhere in your code. Cheers, James On Tue, Jul 15, 2014 at 1:06 PM, Sara Fatima <sar...@gm...> wrote: > Hi James, > > Thank you for the guidelines. I will surely let you know how I progress > with sending to OpenHIE. > While using this > <http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html> example, I > am facing an error. I am unable to resolve the below line: > >> Parser parser = PipeParser.getInstanceWithNoValidation(); > > > Could you tell me where I could be going wrong? > > > > Regards > Sara Fatima > > > > On Tue, Jul 15, 2014 at 9:41 PM, James Agnew <ja...@ja...> wrote: > >> Hi Sara, >> >> HTTP support is currently in a separate JAR which you can include in your >> pom.xml and use. Here is a fairly complete set of instructions: >> http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html >> >> Note though that HTTP support is a relatively new thing- It's not even >> yet approved formally by HL7. This doesn't mean that there is anything >> wrong with using it (we use it for lots of production applications >> ourselves) but it does mean that there are probably some differences in >> people's implementations. I'm not aware of anyone using it to talk to >> OpenHIE so I'd love to hear about your results. >> >> Cheers, >> James >> >> >> On Tue, Jul 15, 2014 at 10:11 AM, Sara Fatima <sar...@gm...> >> wrote: >> >>> Hi all, >>> >>> I am working on sending PIX message to OpenHIE >>> <https://wiki.ohie.org/display/documents/Home>. I have created the hl7 >>> message as per the PIX standards and verified the message by sending it to >>> Gazelle Simulator. But the simulator receives it over MLLP. But now to send >>> it to OpenHIE I need to send over HTTP. Could someone guide me with any >>> sample which sends PIX (ie. hl7 A01 type message) message over HTTP. I am >>> using HAPI 2.0. >>> >>> Regards >>> Sara Fatima >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Want fast and easy access to all the code in your enterprise? Index and >>> search up to 200,000 lines of code with a free copy of Black Duck >>> Code Sight - the same software that powers the world's largest code >>> search on Ohloh, the Black Duck Open Hub! Try it now. >>> http://p.sf.net/sfu/bds >>> _______________________________________________ >>> Hl7api-devel mailing list >>> Hl7...@li... >>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >>> >>> >> > |
From: Sara F. <sar...@gm...> - 2014-07-15 17:06:20
|
Hi James, Thank you for the guidelines. I will surely let you know how I progress with sending to OpenHIE. While using this <http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html> example, I am facing an error. I am unable to resolve the below line: > Parser parser = PipeParser.getInstanceWithNoValidation(); Could you tell me where I could be going wrong? Regards Sara Fatima On Tue, Jul 15, 2014 at 9:41 PM, James Agnew <ja...@ja...> wrote: > Hi Sara, > > HTTP support is currently in a separate JAR which you can include in your > pom.xml and use. Here is a fairly complete set of instructions: > http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html > > Note though that HTTP support is a relatively new thing- It's not even yet > approved formally by HL7. This doesn't mean that there is anything wrong > with using it (we use it for lots of production applications ourselves) but > it does mean that there are probably some differences in people's > implementations. I'm not aware of anyone using it to talk to OpenHIE so I'd > love to hear about your results. > > Cheers, > James > > > On Tue, Jul 15, 2014 at 10:11 AM, Sara Fatima <sar...@gm...> > wrote: > >> Hi all, >> >> I am working on sending PIX message to OpenHIE >> <https://wiki.ohie.org/display/documents/Home>. I have created the hl7 >> message as per the PIX standards and verified the message by sending it to >> Gazelle Simulator. But the simulator receives it over MLLP. But now to send >> it to OpenHIE I need to send over HTTP. Could someone guide me with any >> sample which sends PIX (ie. hl7 A01 type message) message over HTTP. I am >> using HAPI 2.0. >> >> Regards >> Sara Fatima >> >> >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Hl7api-devel mailing list >> Hl7...@li... >> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >> >> > |
From: James A. <ja...@ja...> - 2014-07-15 16:11:31
|
Hi Sara, HTTP support is currently in a separate JAR which you can include in your pom.xml and use. Here is a fairly complete set of instructions: http://hl7api.sourceforge.net/hapi-hl7overhttp/doc_hapi.html Note though that HTTP support is a relatively new thing- It's not even yet approved formally by HL7. This doesn't mean that there is anything wrong with using it (we use it for lots of production applications ourselves) but it does mean that there are probably some differences in people's implementations. I'm not aware of anyone using it to talk to OpenHIE so I'd love to hear about your results. Cheers, James On Tue, Jul 15, 2014 at 10:11 AM, Sara Fatima <sar...@gm...> wrote: > Hi all, > > I am working on sending PIX message to OpenHIE > <https://wiki.ohie.org/display/documents/Home>. I have created the hl7 > message as per the PIX standards and verified the message by sending it to > Gazelle Simulator. But the simulator receives it over MLLP. But now to send > it to OpenHIE I need to send over HTTP. Could someone guide me with any > sample which sends PIX (ie. hl7 A01 type message) message over HTTP. I am > using HAPI 2.0. > > Regards > Sara Fatima > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: James A. <ja...@ja...> - 2014-07-15 16:07:22
|
Hi Paul, Not to worry, dealing with Z-segments is fairly common but not entirely intuitive at first. You'll find a complete example here: http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CustomModelClasses.html Basically, there are two ways to do it, one uses custom message types and give static binding, the other uses dynamic binding but it easier to code. Cheers, James On Tue, Jul 15, 2014 at 8:36 AM, Sheridan Paul (RBV) NHS Christie Tr < Pau...@ch...> wrote: > (Sorry if this is a common request – new to the list) > > > > Our ADT Feed gives us A05 messages with custom ‘ZU3’ segments – This > doesn’t seem to be supported in the A05 class in nHapi. – Does anyone know > of an example of where Zxx segments have been successfully applied to other > message types? > > > > Thanks, > > > > Paul. > > > > To download our 20:20 Vision strategy, please visit > http://www.christie.nhs.uk/2020 > > > This e-mail and any files transmitted with it are confidential and solely > for the use of the intended recipient. > If you have received this e-mail in error you should not disseminate, > distribute or copy it. > Please notify the sender immediately and delete this e-mail from your > system. > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: Sara F. <sar...@gm...> - 2014-07-15 14:11:57
|
Hi all, I am working on sending PIX message to OpenHIE <https://wiki.ohie.org/display/documents/Home>. I have created the hl7 message as per the PIX standards and verified the message by sending it to Gazelle Simulator. But the simulator receives it over MLLP. But now to send it to OpenHIE I need to send over HTTP. Could someone guide me with any sample which sends PIX (ie. hl7 A01 type message) message over HTTP. I am using HAPI 2.0. Regards Sara Fatima |
From: Sheridan P. (R. N. C. T. <Pau...@ch...> - 2014-07-15 12:53:24
|
(Sorry if this is a common request - new to the list) Our ADT Feed gives us A05 messages with custom 'ZU3' segments - This doesn't seem to be supported in the A05 class in nHapi. - Does anyone know of an example of where Zxx segments have been successfully applied to other message types? Thanks, Paul. To download our 20:20 Vision strategy, please visit http://www.christie.nhs.uk/2020 This e-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you have received this e-mail in error you should not disseminate, distribute or copy it. Please notify the sender immediately and delete this e-mail from your system. |
From: Rishi B. <ris...@ii...> - 2014-07-12 21:51:27
|
I am trying to encode an HL7 message of the type ORU_R01 using the HAPI 2.0 library. I have followed the tutorials given in the HAPI documentation and according to that, I have populated the required fields of the ORU_R01 message. Now, I want to post this message using the following link: http://localhost:8080/openmrs/remotecommunication/postHl7.form I am using the following message for testing: MSH|^~\\&|TestSendingSystem|OpenMRS|PAMSimulator|IHE|20140713015152||ORU^R01|20140713015152|P|2.5|1 PID|||1 OBR|1||1234^SensorReading|88304 OBX|0|NM|1||a OBX|1|NM|2||b OBX|2|NM|3||c I have properly ensured that all the parameters are correct. Once I have posted the HL7 message, I start the HL7 task from the scheduler. Then I go to the admin page and click on "Manage HL7 errors" in order to see if the message arrives there. I get the following stack trace: ca.uhn.hl7v2.HL7Exception: HL7 encoding not supported ... Caused by: ca.uhn.hl7v2.parser.EncodingNotSupportedException: Can't parse message beginning MSH|^~\ at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:140). (The full stack trace is here: http://pastebin.com/ZnbFqfWC). What could the error be? -- Regards, Rishi Baijal. 2012084. |
From: James A. <ja...@ja...> - 2014-07-10 14:02:05
|
Is the SRR message you are returning fully valid? I.e. does it have an MSA segment that indicates the control ID of the message it is a response to? If so, can you post the error you are sending here? Cheers, James On Thu, Jul 10, 2014 at 9:30 AM, Abhishek Modi <abs...@gm...> wrote: > Hi James, > > I have two applications lets say A & B. So, I send an appointment request > in the form of SRM_S01 message from A. Now B's server listens to the SRM > message. Now the handler for SRM message implements the > ReceivingApplication interface. In the processMessage function of > ReceivingApplication I can return any Message type. So I should be able to > return a SRR message. But when I do that, I get error. Returning an ACK > works fine. > > > On Thu, Jul 10, 2014 at 6:30 PM, James Agnew <ja...@ja...> wrote: > >> Hi Abhishek, >> >> I'm not sure I understand your issue- Are you building the client, or the >> server, or both? To have a different message returned, you need to modify >> the server to return that message. HAPI's client will simply return >> whatever it gets back. >> >> Cheers, >> James >> >> >> On Thu, Jul 10, 2014 at 6:57 AM, Abhishek Modi <abs...@gm...> >> wrote: >> >>> I'm using SRM_S01 messages for booking appointments. >>> >>> The Listener on the other sides receiver the SRM message and returns an >>> ACK message in response. Is there a way to return a SRR message instead of >>> ACK? >>> >>> Regards >>> Abhishek Modi >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Open source business process management suite built on Java and Eclipse >>> Turn processes into business applications with Bonita BPM Community >>> Edition >>> Quickly connect people, data, and systems into organized workflows >>> Winner of BOSSIE, CODIE, OW2 and Gartner awards >>> http://p.sf.net/sfu/Bonitasoft >>> _______________________________________________ >>> Hl7api-devel mailing list >>> Hl7...@li... >>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >>> >>> >> > |
From: Abhishek M. <abs...@gm...> - 2014-07-10 13:30:24
|
Hi James, I have two applications lets say A & B. So, I send an appointment request in the form of SRM_S01 message from A. Now B's server listens to the SRM message. Now the handler for SRM message implements the ReceivingApplication interface. In the processMessage function of ReceivingApplication I can return any Message type. So I should be able to return a SRR message. But when I do that, I get error. Returning an ACK works fine. On Thu, Jul 10, 2014 at 6:30 PM, James Agnew <ja...@ja...> wrote: > Hi Abhishek, > > I'm not sure I understand your issue- Are you building the client, or the > server, or both? To have a different message returned, you need to modify > the server to return that message. HAPI's client will simply return > whatever it gets back. > > Cheers, > James > > > On Thu, Jul 10, 2014 at 6:57 AM, Abhishek Modi <abs...@gm...> > wrote: > >> I'm using SRM_S01 messages for booking appointments. >> >> The Listener on the other sides receiver the SRM message and returns an >> ACK message in response. Is there a way to return a SRR message instead of >> ACK? >> >> Regards >> Abhishek Modi >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Hl7api-devel mailing list >> Hl7...@li... >> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >> >> > |
From: James A. <ja...@ja...> - 2014-07-10 13:00:32
|
Hi Abhishek, I'm not sure I understand your issue- Are you building the client, or the server, or both? To have a different message returned, you need to modify the server to return that message. HAPI's client will simply return whatever it gets back. Cheers, James On Thu, Jul 10, 2014 at 6:57 AM, Abhishek Modi <abs...@gm...> wrote: > I'm using SRM_S01 messages for booking appointments. > > The Listener on the other sides receiver the SRM message and returns an > ACK message in response. Is there a way to return a SRR message instead of > ACK? > > Regards > Abhishek Modi > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: Abhishek M. <abs...@gm...> - 2014-07-10 10:57:42
|
I'm using SRM_S01 messages for booking appointments. The Listener on the other sides receiver the SRM message and returns an ACK message in response. Is there a way to return a SRR message instead of ACK? Regards Abhishek Modi |
From: Eric P. <eri...@in...> - 2014-06-27 06:30:10
|
Dear Sara Fatima please click on the menu "HL7 Messages" in the top bar. You will then see all the messages received by the simulators. Yours is : http://gazelle.ihe.net/PatientManager/message.seam?id=9757 There please look at the errors in your message in order to fix it. Your message being incorrect it is rejected, then not processed and the patient not inserted into the database. The first error is that your message is using version 2.5.1, we are expecting 2.5 as specified by the TF (http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_TF_Vol2b.pdf) Hope this helps Best regards Eric On 27 juin 2014, at 08:07, Sara Fatima wrote: > Hi Eric, > > Thank you for the guidelines. I followed your suggestions and added the missing fields in the HL7 message, this is the new message which is now created. > > MSH|^~\&|TestSendingSystem|OpenMRS|PAMSimulator|IHE|||ADT^A28^ADT_A05|20140627113226|P|2.5.1|123 > EVN||20140627113226|||||OpenMRS > PID||62|~62||kapoor^ram|^India||||^BV|&address^^city^state^34566^country|||||^DIVORCED|||||||Hyd|||^India > > On sending this message to the PAMSimulator, I am getting below response, > MSH|^~\&|PAMSimulator|IHE|TestSendingSystem|OpenMRS|20140627080226||ACK^A28^ACK|20140627080226|P|2.5 > MSA|AE|20140627113226 > ERR|||207|E||||Message structure is not the one expected, event A28 should use ADT_A05 > > If the message is sent successfully then it should be found here. But here I cannot see the patient which I created, is it because of the Error field which is received as response? > > > Thanks & Regards > Sara Fatima > > > > On Thu, Jun 26, 2014 at 4:23 PM, Eric Poiseau <eri...@in...> wrote: > Sara Fatima > > You MSH is invalid. Please correct it as follow : > MSH.9.1 is missing > MSH4 is missing.... > EVN segment is missing .... > > MSH|^~\&|TestSendingSystem|Put something here|PAMSimulator|here also|201406261200||ADT^A05^ADT_A05|20140626150246|P|2.5|123 > PID||71|||Barber^Steve|||||^ABVGJ|&13 Park Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian > > I have started to use the Gazelle HL7 validator to fix your message please find the outcome at the following URL ; > > http://gazelle.ihe.net/EVSClient/hl7v2Result.seam?&oid=1.3.6.1.4.1.12559.11.1.2.1.4.66000 > > Let us know if you have further questions > > Best regards > > > > Eric Poiseau > IHE Europe Technical Project Manager > Gazelle Project Leader > INRIA Rennes > Campus Universitaire de Beaulieu > F-35042 Rennes Cedex FRANCE > Tel: +33 2 99 84 74 58 > Cell: +33 6 85 97 01 26 > http://www.ihe-europe.net follow us on linkedIn > > > > On 26 juin 2014, at 11:48, Sara Fatima wrote: > >> Hi, >> >> I am working on sending the HL7 message to PAM simulator, but I am facing the below error. I am unable to resolve this. >> ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value "MSH": Matches the regular expression (\+|\-)?\d*\.?\d*: Segment: ERR Field #2 >> at ca.uhn.hl7v2.model.AbstractPrimitive.setValue(AbstractPrimitive.java:89) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:408) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:351) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:1119) >> >> I am using this sample as helper code. I have committed the code to Git hub, for you to have a look. >> Here is where I am creating the HL7 message, and this is the code which I am using to send message to the PAMSimulator. >> >> This is the message which I am sending, >> MSH|^~\&|TestSendingSystem||PAMSimulator||||^A05^ADT A05|20140626150246|P|2.5.1|123 >> PID||71|||Barber^Steve|||||^ABVGJ|&13 Park Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian >> >> Thanks & Regards >> Sara Fatima >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft_______________________________________________ >> Hl7api-devel mailing list >> Hl7...@li... >> https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: Sara F. <sar...@gm...> - 2014-06-27 06:07:36
|
Hi Eric, Thank you for the guidelines. I followed your suggestions and added the missing fields in the HL7 message, this is the new message which is now created. MSH|^~\&|TestSendingSystem|OpenMRS|PAMSimulator|IHE|||ADT^A28^ADT_A05|20140627113226|P|2.5.1|123 > EVN||20140627113226|||||OpenMRS > > PID||62|~62||kapoor^ram|^India||||^BV|&address^^city^state^34566^country|||||^DIVORCED|||||||Hyd|||^India On sending this message to the PAMSimulator, I am getting below response, > > MSH|^~\&|PAMSimulator|IHE|TestSendingSystem|OpenMRS|20140627080226||ACK^A28^ACK|20140627080226|P|2.5 > MSA|AE|20140627113226 > ERR|||207|E||||Message structure is not the one expected, event A28 should > use ADT_A05 If the message is sent successfully then it should be found here <http://gazelle.ihe.net/PatientManager/patient/allPatients.seam?title=gazelle.simulator.pam.patientsReceivedByPDC&actor=PDC&cid=7786>. But here I cannot see the patient which I created, is it because of the Error field which is received as response? Thanks & Regards Sara Fatima On Thu, Jun 26, 2014 at 4:23 PM, Eric Poiseau <eri...@in...> wrote: > Sara Fatima > > You MSH is invalid. Please correct it as follow : > MSH.9.1 is missing > MSH4 is missing.... > EVN segment is missing .... > > MSH|^~\&|TestSendingSystem|*Put something here*|PAMSimulator|*here also* > |201406261200||ADT^A05^ADT_A05|20140626150246|P|2.5|123 > PID||71|||Barber^Steve|||||^ABVGJ|&13 Park > Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian > > I have started to use the Gazelle HL7 validator to fix your message please > find the outcome at the following URL ; > > > http://gazelle.ihe.net/EVSClient/hl7v2Result.seam?&oid=1.3.6.1.4.1.12559.11.1.2.1.4.66000 > > Let us know if you have further questions > > Best regards > > > > Eric Poiseau > *IHE Europe Technical Project Manager* > Gazelle Project Leader > INRIA Rennes > Campus Universitaire de Beaulieu > F-35042 Rennes Cedex FRANCE > Tel: +33 2 99 84 74 58 <//+33299847458> > Cell: +33 6 85 97 01 26 <//%20+33685970126> > http://www.ihe-europe.net follow us on *linkedIn* > <http://www.linkedin.com/company/ihe-europe> > > > > On 26 juin 2014, at 11:48, Sara Fatima wrote: > > Hi, > > I am working on sending the HL7 message to PAM simulator > <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>, but I am > facing the below error. I am unable to resolve this. > >> ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value >> "MSH": Matches the regular expression (\+|\-)?\d*\.?\d*: Segment: ERR Field >> #2 >> at >> ca.uhn.hl7v2.model.AbstractPrimitive.setValue(AbstractPrimitive.java:89) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:408) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:351) >> at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:1119) > > > I am using this sample > <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> as > helper code. I have committed the code to Git hub > <https://github.com/saramirza14/openmrs-module-IHEInteroperability/tree/hapi/api>, > for you to have a look. > Here is where > <https://github.com/saramirza14/openmrs-module-IHEInteroperability/blob/hapi/api/src/main/java/org/openmrs/module/IHEInteroperability/CreateMessageUtility.java> I > am creating the HL7 message, and this is the code > <https://github.com/saramirza14/openmrs-module-IHEInteroperability/blob/hapi/api/src/main/java/org/openmrs/module/IHEInteroperability/SendMessageUtility.java> which > I am using to send message to the PAMSimulator. > > This is the message which I am sending, > >> MSH|^~\&|TestSendingSystem||PAMSimulator||||^A05^ADT >> A05|20140626150246|P|2.5.1|123 >> PID||71|||Barber^Steve|||||^ABVGJ|&13 Park >> Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian > > > Thanks & Regards > Sara Fatima > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > > http://p.sf.net/sfu/Bonitasoft_______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > > |
From: Eric P. <eri...@in...> - 2014-06-26 10:53:55
|
Sara Fatima You MSH is invalid. Please correct it as follow : MSH.9.1 is missing MSH4 is missing.... EVN segment is missing .... MSH|^~\&|TestSendingSystem|Put something here|PAMSimulator|here also|201406261200||ADT^A05^ADT_A05|20140626150246|P|2.5|123 PID||71|||Barber^Steve|||||^ABVGJ|&13 Park Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian I have started to use the Gazelle HL7 validator to fix your message please find the outcome at the following URL ; http://gazelle.ihe.net/EVSClient/hl7v2Result.seam?&oid=1.3.6.1.4.1.12559.11.1.2.1.4.66000 Let us know if you have further questions Best regards Eric Poiseau IHE Europe Technical Project Manager Gazelle Project Leader INRIA Rennes Campus Universitaire de Beaulieu F-35042 Rennes Cedex FRANCE Tel: +33 2 99 84 74 58 Cell: +33 6 85 97 01 26 http://www.ihe-europe.net follow us on linkedIn On 26 juin 2014, at 11:48, Sara Fatima wrote: > Hi, > > I am working on sending the HL7 message to PAM simulator, but I am facing the below error. I am unable to resolve this. > ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value "MSH": Matches the regular expression (\+|\-)?\d*\.?\d*: Segment: ERR Field #2 > at ca.uhn.hl7v2.model.AbstractPrimitive.setValue(AbstractPrimitive.java:89) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:408) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:351) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:1119) > > I am using this sample as helper code. I have committed the code to Git hub, for you to have a look. > Here is where I am creating the HL7 message, and this is the code which I am using to send message to the PAMSimulator. > > This is the message which I am sending, > MSH|^~\&|TestSendingSystem||PAMSimulator||||^A05^ADT A05|20140626150246|P|2.5.1|123 > PID||71|||Barber^Steve|||||^ABVGJ|&13 Park Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian > > Thanks & Regards > Sara Fatima > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft_______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel |
From: Sara F. <sar...@gm...> - 2014-06-26 09:49:02
|
Hi, I am working on sending the HL7 message to PAM simulator <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>, but I am facing the below error. I am unable to resolve this. > ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value > "MSH": Matches the regular expression (\+|\-)?\d*\.?\d*: Segment: ERR Field > #2 > at ca.uhn.hl7v2.model.AbstractPrimitive.setValue(AbstractPrimitive.java:89) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:408) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:351) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:1119) I am using this sample <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> as helper code. I have committed the code to Git hub <https://github.com/saramirza14/openmrs-module-IHEInteroperability/tree/hapi/api>, for you to have a look. Here is where <https://github.com/saramirza14/openmrs-module-IHEInteroperability/blob/hapi/api/src/main/java/org/openmrs/module/IHEInteroperability/CreateMessageUtility.java> I am creating the HL7 message, and this is the code <https://github.com/saramirza14/openmrs-module-IHEInteroperability/blob/hapi/api/src/main/java/org/openmrs/module/IHEInteroperability/SendMessageUtility.java> which I am using to send message to the PAMSimulator. This is the message which I am sending, > MSH|^~\&|TestSendingSystem||PAMSimulator||||^A05^ADT > A05|20140626150246|P|2.5.1|123 > PID||71|||Barber^Steve|||||^ABVGJ|&13 Park > Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian Thanks & Regards Sara Fatima |
From: Sara F. <sar...@gm...> - 2014-06-24 05:13:05
|
Hi Christian, Thank you. Now I have omitted the Application, and I have set the host and port as per the PAMSimulator specifications. Now I am working with the below code snippet to send the message. However I am getting UndeclaredThrowableException. int port = 10010; // The port to listen on > LowerLayerProtocol llp = LowerLayerProtocol.makeLLP(); > PipeParser parser = new PipeParser(); // The message parser > SimpleServer server = new SimpleServer(port, llp, parser); > server.start(); > // Create a message to send > Parser p = new GenericParser(); > Message adt = p.parse(hl7Message); > // The connection hub connects to listening servers > ConnectionHub connectionHub = ConnectionHub.getInstance(); > // A connection object represents a socket attached to an HL7 > server > Connection connection = connectionHub > .attach("131.254.209.20", port, new PipeParser(), > MinLowerLayerProtocol.class); > // The initiator is used to transmit unsolicited messages > Initiator initiator = connection.getInitiator(); > Message response = initiator.sendAndReceive(adt); > String responseString = parser.encode(response); > // Close the connection and server > connection.close(); > server.stop(); > return responseString; This is the HL7 message which I am passing, > MSH|^~\&|TestSendingSystem||||||^A05^ADT A05|6/24/14 10:39 AM||2.5.1|123 > PID||71|||Barber^Steve|||||^ABVGJ|&13 Park > Street^^Ina^ANB^7899^INHJ|||||^MARRIED|||||||Hyd|||^Indian This is the error which I am facing. > SEVERE: Servlet.service() for servlet [openmrs] in context with path > [/openmrs] threw exception [Request processing failed; nested exception is > java.lang.reflect.UndeclaredThrowableException] with root cause > ca.uhn.hl7v2.model.DataTypeException: Failed validation rule for value > "MSH": Matches the regular expression (\+|\-)?\d*\.?\d*: Segment: ERR Field > #2 > at ca.uhn.hl7v2.model.AbstractPrimitive.setValue(AbstractPrimitive.java:89) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:408) > at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:351) Thanks & Regards Sara Fatima On Tue, Jun 24, 2014 at 12:35 AM, Christian Ohr <chr...@gm...> wrote: > The PAMSimulator at gazelle.ihe.net is your server and will receive your > requests. You simply don't need an Application, because this is part of the > server-side API of HAPI. You only need the client (i.e. ConnectionHub > etc.). Or am I misunderstanding you? > > Christian > > > 2014-06-23 17:52 GMT+02:00 Sara Fatima <sar...@gm...>: > > Hi Christian >> >> Thank you. I understand that I need to change the host and port as per >> the PAMSimulator specification. However in the below lines of code, >> >> SimpleServer server = new SimpleServer(port, llp, parser); >>> Application handler = new ExampleReceiverApplication(); >>> server.registerApplication("ADT", "A01", handler); >> >> >> it is creating an ExampleReceiverApplication, but I need to set the >> receiving application as PAMSimulator. How can I do this? >> >> Regards >> Sara Fatima >> >> >> >> On Mon, Jun 23, 2014 at 8:24 PM, Christian Ohr <chr...@gm...> >> wrote: >> >>> // A connection object represents a socket attached to an HL7 server >>> Connection connection = connectionHub >>> .attach("localhost", port, new PipeParser(), MinLowerLayerProtocol.class); >>> >>> Just attach the connection to the Gazelle host and port instead of localhost. >>> >>> Christian >>> >>> >>> >>> >>> 2014-06-23 11:30 GMT+02:00 Sara Fatima <sar...@gm...>: >>> >>>> Hi all, >>>> >>>> I am trying to send HL7 message to PAMSimulator >>>> <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. I need >>>> to do this over MLLP. I was trying this >>>> <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> example, >>>> but here the example is creating an example server to send the message. I >>>> do not intent to do this, as I am sending to the PAMSimulator server. I am >>>> looking to provide the port and the host of the server and send the >>>> message. How can I do this? Is there any sample code for this type? >>>> >>>> Thanks & Regards >>>> Sara Fatima >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk >>>> Solutions >>>> Find What Matters Most in Your Big Data with HPCC Systems >>>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >>>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >>>> http://p.sf.net/sfu/hpccsystems >>>> _______________________________________________ >>>> Hl7api-devel mailing list >>>> Hl7...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >>>> >>>> >>> >> > |
From: Christian O. <chr...@gm...> - 2014-06-23 19:05:28
|
The PAMSimulator at gazelle.ihe.net is your server and will receive your requests. You simply don't need an Application, because this is part of the server-side API of HAPI. You only need the client (i.e. ConnectionHub etc.). Or am I misunderstanding you? Christian 2014-06-23 17:52 GMT+02:00 Sara Fatima <sar...@gm...>: > Hi Christian > > Thank you. I understand that I need to change the host and port as per the > PAMSimulator specification. However in the below lines of code, > > SimpleServer server = new SimpleServer(port, llp, parser); >> Application handler = new ExampleReceiverApplication(); >> server.registerApplication("ADT", "A01", handler); > > > it is creating an ExampleReceiverApplication, but I need to set the > receiving application as PAMSimulator. How can I do this? > > Regards > Sara Fatima > > > > On Mon, Jun 23, 2014 at 8:24 PM, Christian Ohr <chr...@gm...> > wrote: > >> // A connection object represents a socket attached to an HL7 server >> Connection connection = connectionHub >> .attach("localhost", port, new PipeParser(), MinLowerLayerProtocol.class); >> >> Just attach the connection to the Gazelle host and port instead of localhost. >> >> Christian >> >> >> >> 2014-06-23 11:30 GMT+02:00 Sara Fatima <sar...@gm...>: >> >>> Hi all, >>> >>> I am trying to send HL7 message to PAMSimulator >>> <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. I need >>> to do this over MLLP. I was trying this >>> <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> example, >>> but here the example is creating an example server to send the message. I >>> do not intent to do this, as I am sending to the PAMSimulator server. I am >>> looking to provide the port and the host of the server and send the >>> message. How can I do this? Is there any sample code for this type? >>> >>> Thanks & Regards >>> Sara Fatima >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions >>> Find What Matters Most in Your Big Data with HPCC Systems >>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >>> http://p.sf.net/sfu/hpccsystems >>> _______________________________________________ >>> Hl7api-devel mailing list >>> Hl7...@li... >>> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >>> >>> >> > |
From: Sara F. <sar...@gm...> - 2014-06-23 15:53:06
|
Hi Christian Thank you. I understand that I need to change the host and port as per the PAMSimulator specification. However in the below lines of code, SimpleServer server = new SimpleServer(port, llp, parser); > Application handler = new ExampleReceiverApplication(); > server.registerApplication("ADT", "A01", handler); it is creating an ExampleReceiverApplication, but I need to set the receiving application as PAMSimulator. How can I do this? Regards Sara Fatima On Mon, Jun 23, 2014 at 8:24 PM, Christian Ohr <chr...@gm...> wrote: > // A connection object represents a socket attached to an HL7 server > Connection connection = connectionHub > .attach("localhost", port, new PipeParser(), MinLowerLayerProtocol.class); > > Just attach the connection to the Gazelle host and port instead of localhost. > > Christian > > > > 2014-06-23 11:30 GMT+02:00 Sara Fatima <sar...@gm...>: > >> Hi all, >> >> I am trying to send HL7 message to PAMSimulator >> <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. I need >> to do this over MLLP. I was trying this >> <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> example, >> but here the example is creating an example server to send the message. I >> do not intent to do this, as I am sending to the PAMSimulator server. I am >> looking to provide the port and the host of the server and send the >> message. How can I do this? Is there any sample code for this type? >> >> Thanks & Regards >> Sara Fatima >> >> >> >> ------------------------------------------------------------------------------ >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions >> Find What Matters Most in Your Big Data with HPCC Systems >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >> http://p.sf.net/sfu/hpccsystems >> _______________________________________________ >> Hl7api-devel mailing list >> Hl7...@li... >> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >> >> > |
From: Christian O. <chr...@gm...> - 2014-06-23 14:54:39
|
// A connection object represents a socket attached to an HL7 server Connection connection = connectionHub .attach("localhost", port, new PipeParser(), MinLowerLayerProtocol.class); Just attach the connection to the Gazelle host and port instead of localhost. Christian 2014-06-23 11:30 GMT+02:00 Sara Fatima <sar...@gm...>: > Hi all, > > I am trying to send HL7 message to PAMSimulator > <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. I need to > do this over MLLP. I was trying this > <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> example, > but here the example is creating an example server to send the message. I > do not intent to do this, as I am sending to the PAMSimulator server. I am > looking to provide the port and the host of the server and send the > message. How can I do this? Is there any sample code for this type? > > Thanks & Regards > Sara Fatima > > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: Sara F. <sar...@gm...> - 2014-06-23 09:30:55
|
Hi all, I am trying to send HL7 message to PAMSimulator <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. I need to do this over MLLP. I was trying this <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> example, but here the example is creating an example server to send the message. I do not intent to do this, as I am sending to the PAMSimulator server. I am looking to provide the port and the host of the server and send the message. How can I do this? Is there any sample code for this type? Thanks & Regards Sara Fatima |
From: Sara F. <sar...@gm...> - 2014-06-19 12:08:37
|
Hi all, I am working on sending hl7 message to gazelle simulator using PAM structure. I am using this <https://svn.code.sf.net/p/hl7api/code/branches/RELEASE_1_0/hapi-mvn/hapi-examples/src/main/java/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.java> sample to send hl7 message. However this example is creating an example server to send the message, but I need to send this to the PAM simulator <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. How can I configure details of the simulator instead of the example server. I have changed the port number and IP address. But in the below lines I need to change the receiving application to PAMSimulator <http://gazelle.ihe.net/PatientManager/pdc/PDC.seam?cid=4835#>. Could someone guide me how I can do this? Application handler = new ExampleReceiverApplication(); > server.registerApplication("ADT", "A05", handler); Thanks & Regards Sara Fatima |