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: Martin S. <ms...@re...> - 2015-03-31 14:46:10
|
Hi, sorry for bothering you. I have found it now in the specification: http://www.openehealth.org/display/ipf2/Primitive+Type+Constraints There is this note: --When primitive type rules are checked-- Note that primitive type rules can only be applied by configuring the parser. Validation then is executed whenever a primitive value is set: * during parsing * when individual fields are modified afterwards, e.g. by while using a transmogrifier. Thanks and sorry for interruption. :) Martin Swiech ----- Original Message ----- From: "Martin Swiech" <ms...@re...> To: hl7...@li... Sent: Tuesday, March 31, 2015 1:44:19 PM Subject: [HAPI-devel] validation while encoding vs. primitive type validation rules (primitiveRules) Hi, I have a question about validating HL7 message with invalid value in primitive type. Example: I am creating HL7 message with invalid telephone number (TN): private Message createInvalidMessageObj() throws IOException, HL7Exception { final ADT_A01 adt = new ADT_A01(); adt.initQuickstart("ADT", "A01", "P"); final MSH mshSegment = adt.getMSH(); mshSegment.getSendingApplication().getNamespaceID().setValue("TestSendingSystem"); mshSegment.getSequenceNumber().setValue("11"); final PID pid = adt.getPID(); pid.getPatientName(0).getFamilyName().getSurname().setValue("Doe"); pid.getPatientName(0).getGivenName().setValue("John"); pid.getPatientIdentifierList(0).getID().setValue("123456"); pid.getPhoneNumberHome(0).get9999999X99999CAnyText().setValue("00420999"); // phoneNumber should be US telephone number (TN) return adt; } And I will create Parser with DefaultValidation() (default ValidationContext): final HapiContext hapiContext = new DefaultHapiContext(); hapiContext.setValidationContext(new DefaultValidation()); final Parser parser = hapiContext.getPipeParser(); Parsing of that message will throw an exception and it's OK, because it's not valid message: final String invalidMsgStr = createInvalidMessageObj().toString(); try { parser.parse(invalidMsgStr); Assert.fail("DataTypeException expected"); } catch (DataTypeException e) { Assert.assertTrue(e.getCause() instanceof ValidationException); } But when I am trying to encode that invalid Message object to String (using the parser with default ValidationContext), no exception is thrown: try { parser.encode(createInvalidMessageObj()); Assert.fail("exception expected"); } catch (Exception e) { //expected } Why the primitive rules are not checked when HL7 message is encoded by parser from Message object to String? Isn't it bug? Thanks. Martin Swiech ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Hl7api-devel mailing list Hl7...@li... https://lists.sourceforge.net/lists/listinfo/hl7api-devel |
From: Martin S. <ms...@re...> - 2015-03-31 11:44:28
|
Hi, I have a question about validating HL7 message with invalid value in primitive type. Example: I am creating HL7 message with invalid telephone number (TN): private Message createInvalidMessageObj() throws IOException, HL7Exception { final ADT_A01 adt = new ADT_A01(); adt.initQuickstart("ADT", "A01", "P"); final MSH mshSegment = adt.getMSH(); mshSegment.getSendingApplication().getNamespaceID().setValue("TestSendingSystem"); mshSegment.getSequenceNumber().setValue("11"); final PID pid = adt.getPID(); pid.getPatientName(0).getFamilyName().getSurname().setValue("Doe"); pid.getPatientName(0).getGivenName().setValue("John"); pid.getPatientIdentifierList(0).getID().setValue("123456"); pid.getPhoneNumberHome(0).get9999999X99999CAnyText().setValue("00420999"); // phoneNumber should be US telephone number (TN) return adt; } And I will create Parser with DefaultValidation() (default ValidationContext): final HapiContext hapiContext = new DefaultHapiContext(); hapiContext.setValidationContext(new DefaultValidation()); final Parser parser = hapiContext.getPipeParser(); Parsing of that message will throw an exception and it's OK, because it's not valid message: final String invalidMsgStr = createInvalidMessageObj().toString(); try { parser.parse(invalidMsgStr); Assert.fail("DataTypeException expected"); } catch (DataTypeException e) { Assert.assertTrue(e.getCause() instanceof ValidationException); } But when I am trying to encode that invalid Message object to String (using the parser with default ValidationContext), no exception is thrown: try { parser.encode(createInvalidMessageObj()); Assert.fail("exception expected"); } catch (Exception e) { //expected } Why the primitive rules are not checked when HL7 message is encoded by parser from Message object to String? Isn't it bug? Thanks. Martin Swiech |
From: Christian O. <chr...@gm...> - 2015-03-26 15:56:01
|
Why not simply: Structure[] zals = message.getAll("ZAL") int reps = zals.length then you can iterate over the zals, cast them to a segment and do your checks. cheers Christian 2015-03-26 1:18 GMT+01:00 Ian Vowles <Ian...@he...>: > I have been trying to create a method that checks a field for a specific > value that will work when passed just a Message object with any parsed > message. It's a bit tricky because it's in a Z-Segment, but the methods all > look to be there. > > Unfortunately, I have hit a somewhat odd behaviour. My input message is > an A01 with a couple of ZAL segments on the end. Here is the code: > > String inputMessage > = > "MSH|^~\\&|HOMER|irusgch|EGATE-IRUS^prjHbcisRawIn|00050|20150324121258||ADT^A01|20150324121258383268|P|2.3|||AL|AL|AUS|ASCII|ENG\r" > . > . bunch of nice A01 segments > . > + "ZMR|20140930|095522|1|GC1|\"\"|0001|NIUMM\r" > + "ZAL|1|AL|NOTTRAU1^NOT TRAUMA > SERVICES^ALERT|||20150324000000||A01 TEST\r" > + "ZAL|2|AL|NOTTRAU^TRAUMA > SERVICES^ALERT|||20150324000000||A01 TEST\r"; > > HapiContext context = new DefaultHapiContext(); > context.setModelClassFactory(new GenericModelClassFactory()); > Message message = context.getPipeParser().parse(inputMessage); > Terser terser = new Terser(message); > SegmentFinder finder = terser.getFinder(); > Segment zal; > // zal = finder.getSegment("ZAL", 2); > // zal = finder.getSegment("ZAL", 3); > boolean zalFound = true; > boolean validZal = false; > int zalIndex = 0; > while (zalFound && !validZal) { > try { > zal = finder.getSegment("ZAL", zalIndex); > String zal3 = terser.get(zal, 3, 0, 1, 1); > validZal = "TRAU".equalsIgnoreCase(zal3); > System.out.println("Counter is = '" + zalIndex + "' > ZAL-3-1 = '" + zal3 + "'"); > zalIndex++; > zalFound = zalIndex < 100; > } catch (HL7Exception ex) { > zalFound = false; > } > } > System.out.println("Valid ZAL found = " + zalFound); > > When I first started writing, I tried out the line zal = > finder.getSegment("ZAL", 3); to see if an exception would be thrown, and it > was, and it even gave me a range for the number of ZAL segments (more on > that later). > However, when I ran the code in the loop, before I added an upper bound to > the count of ZAL segments, it would loop for ever. > > Further investigation showed me that if I asked the finder for a segment > repetition 1 higher than the number present (uncommenting the two > getSegment lines together does not throw an exception), then an empty > segment is added and returned, and since I am incrementing through, this > behaviour continues forever. > > So, how can I find out before I start looping, how many repeats of the > segment exist, so I can set an accurate upper bound, or how can I get a > 'not found' exception to be thrown should I ask for an index beyond those > that actually exist? > > I did find that using zalFound = !zal.isEmpty(); instead of using a large > upper bound of the count worked, which is ok, but not really obvious. > > Thanks > Ian > > > ******************************************************************************** > This email, including any attachments sent with it, is confidential and > for the sole use of the intended recipient(s). This confidentiality is not > waived or lost, if you receive it and you are not the intended > recipient(s), or if it is transmitted/received in error. > Any unauthorised use, alteration, disclosure, distribution or review of > this email is strictly prohibited. The information contained in this > email, including any attachment sent with it, may be subject to a statutory > duty of confidentiality if it relates to health service matters. > If you are not the intended recipient(s), or if you have received this > email in error, you are asked to immediately notify the sender by telephone > collect on Australia +61 1800 198 175 or by return email. You should also > delete this email, and any copies, from your computer system network and > destroy any hard copies produced. > If not an intended recipient of this email, you must not copy, distribute > or take any action(s) that relies on it; any form of disclosure, > modification, distribution and/or publication of this email is also > prohibited. > Although Queensland Health takes all reasonable steps to ensure this email > does not contain malicious software, Queensland Health does not accept > responsibility for the consequences if any person's computer inadvertently > suffers any disruption to services, loss of information, harm or is > infected with a virus, other malicious computer programme or code that may > occur as a consequence of receiving this email. > Unless stated otherwise, this email represents only the views of the > sender and not the views of the Queensland Government. > > ********************************************************************************** > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > |
From: Ian V. <Ian...@he...> - 2015-03-26 00:20:07
|
I have been trying to create a method that checks a field for a specific value that will work when passed just a Message object with any parsed message. It's a bit tricky because it's in a Z-Segment, but the methods all look to be there. Unfortunately, I have hit a somewhat odd behaviour. My input message is an A01 with a couple of ZAL segments on the end. Here is the code: String inputMessage = "MSH|^~\\&|HOMER|irusgch|EGATE-IRUS^prjHbcisRawIn|00050|20150324121258||ADT^A01|20150324121258383268|P|2.3|||AL|AL|AUS|ASCII|ENG\r" . . bunch of nice A01 segments . + "ZMR|20140930|095522|1|GC1|\"\"|0001|NIUMM\r" + "ZAL|1|AL|NOTTRAU1^NOT TRAUMA SERVICES^ALERT|||20150324000000||A01 TEST\r" + "ZAL|2|AL|NOTTRAU^TRAUMA SERVICES^ALERT|||20150324000000||A01 TEST\r"; HapiContext context = new DefaultHapiContext(); context.setModelClassFactory(new GenericModelClassFactory()); Message message = context.getPipeParser().parse(inputMessage); Terser terser = new Terser(message); SegmentFinder finder = terser.getFinder(); Segment zal; // zal = finder.getSegment("ZAL", 2); // zal = finder.getSegment("ZAL", 3); boolean zalFound = true; boolean validZal = false; int zalIndex = 0; while (zalFound && !validZal) { try { zal = finder.getSegment("ZAL", zalIndex); String zal3 = terser.get(zal, 3, 0, 1, 1); validZal = "TRAU".equalsIgnoreCase(zal3); System.out.println("Counter is = '" + zalIndex + "' ZAL-3-1 = '" + zal3 + "'"); zalIndex++; zalFound = zalIndex < 100; } catch (HL7Exception ex) { zalFound = false; } } System.out.println("Valid ZAL found = " + zalFound); When I first started writing, I tried out the line zal = finder.getSegment("ZAL", 3); to see if an exception would be thrown, and it was, and it even gave me a range for the number of ZAL segments (more on that later). However, when I ran the code in the loop, before I added an upper bound to the count of ZAL segments, it would loop for ever. Further investigation showed me that if I asked the finder for a segment repetition 1 higher than the number present (uncommenting the two getSegment lines together does not throw an exception), then an empty segment is added and returned, and since I am incrementing through, this behaviour continues forever. So, how can I find out before I start looping, how many repeats of the segment exist, so I can set an accurate upper bound, or how can I get a 'not found' exception to be thrown should I ask for an index beyond those that actually exist? I did find that using zalFound = !zal.isEmpty(); instead of using a large upper bound of the count worked, which is ok, but not really obvious. Thanks Ian ******************************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipient(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is strictly prohibited. The information contained in this email, including any attachment sent with it, may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipient(s), or if you have received this email in error, you are asked to immediately notify the sender by telephone collect on Australia +61 1800 198 175 or by return email. You should also delete this email, and any copies, from your computer system network and destroy any hard copies produced. If not an intended recipient of this email, you must not copy, distribute or take any action(s) that relies on it; any form of disclosure, modification, distribution and/or publication of this email is also prohibited. Although Queensland Health takes all reasonable steps to ensure this email does not contain malicious software, Queensland Health does not accept responsibility for the consequences if any person's computer inadvertently suffers any disruption to services, loss of information, harm or is infected with a virus, other malicious computer programme or code that may occur as a consequence of receiving this email. Unless stated otherwise, this email represents only the views of the sender and not the views of the Queensland Government. ********************************************************************************** |
From: James A. <jam...@gm...> - 2015-03-16 15:01:16
|
Hi Peter, We have no preferred way to quote or refer to HAPI, so whatever you choose is fine. For what it's worth, the full name of the project is "HAPI: The Open Source HL7 API for Java". Cheers, James Ps- If by chance you can share when the paper is done, we're always excited to hear about how HAPI is being used. Certainly no obligations though. :) On Sun, Mar 15, 2015 at 11:30 AM, Gershkovich, Peter < pet...@ya...> wrote: > How to quote HAPI in a research paper? I am wondering if there is a > preferred publication that HAPI team would like to be used. > Thanks, > Peter > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: Gershkovich, P. <pet...@ya...> - 2015-03-15 15:30:24
|
How to quote HAPI in a research paper? I am wondering if there is a preferred publication that HAPI team would like to be used. Thanks, Peter |
From: john s. <joh...@an...> - 2015-03-12 23:06:36
|
Ian; Thanks yo so much.. I get it now looking at your example. I'll go through and make the necessary mods.. thanks again.. -john On Thu, Mar 12, 2015 at 5:56 PM, Ian Vowles <Ian...@he...> wrote: > I wrote a program that writes Z-Segment code for HAPI from a tab separated > text table format like this. I say like, since it also wants the data type > of each field, and doesn’t cope so well with fields that are not specified > at all. > > > > I have attached my interpretation of the table below as java code for > HAPI. Note that there are a couple of things that I would suggest you > address. Specifically those fields which you have specified as having > components. You want to try to find a suitable HL7 datatype to use if you > are going to do this. I interpreted them as CE datatypes, since that has > sufficient components to cover 6 values, but it is a workaround, not a > solution. Also the Allergy Information field has been changed to > repeating, since you can’t really specify an indeterminate number of > components. As a result text lines would be separated by tilde (~). > > > > Code and text file I used to generate it are attached. > > > > Hope this helps. > > Ian > > > > *From:* john strecker [mailto:joh...@an...] > *Sent:* Friday, 13 March 2015 6:35 AM > *To:* hl7...@li... > *Subject:* [HAPI-devel] Custom Z segment creation > > > > Can someone point me in the right direction on some examples to create a > custom Z segment for the below req.. > > > > Thanks > > > > >> > > > > > > > > > > ZAP – Additional Information > > Field Number > > Name > > Required > > Description > > *01* > > *DEA Schedule* > > *R* > > *DEA Classification* > > *06* > > *Date Written* > > *O* > > *CCYYMMDDhhmmss for label* > > *07* > > *Safety Cap Preference* > > *O* > > *EasyOpen or SafetyCap* > > *09* > > *Script Image Filename* > > *O* > > *[<path>]<filename>.<extension>* > > *10* > > *Refill Contact Phone Number* > > *O* > > > > *11* > > *Drug Brand Name* > > *O* > > *Brand Name for Label^Manufacturer* > > *12* > > *Drug Generic Equivalent* > > *O* > > *Generic Name for Label^Manufacturer* > > *13* > > *Refill Information* > > *O* > > *<Refill Message>^<Refill Date>^ <Refill Phone Number>* > > *14* > > *Substance Expiration Date* > > *O* > > *CCYYMMDD* > > *15* > > *Rx Pricing Information* > > *O* > > *<Rx Price>^<Rx CoPay>^<3rd Party amt>^<Store Cost>^<3rd Party Name>* > > *16* > > *Allergy Information* > > *O* > > *<Text1>^<Text2>^…^<TextN>* > > *17* > > *Dispensed Drug Name* > > *O* > > *<Drug Name>^<Drug Manufacturer>* > > *18* > > *Substitution Message* > > *O* > > *For label* > > *21* > > *Patient Notes* > > *O* > > *Free form, 255 character limit* > > *22* > > *Payment/Balance Information* > > *O* > > *<Charge>^<Previous Balance>^ <Amount Paid>^<New Balance>^ <Payment > Method>^<Account Number> * > > > > > > -- > > John S. Strecker > Owner/President > AdvanceNet Health Solutions, Inc. > www.anshealth.com > phone:(800) 919-3744 > fax:(267)-387-6889 > > > ******************************************************************************** > > This email, including any attachments sent with it, is confidential and > for the sole use of the intended recipient(s). This confidentiality is not > waived or lost, if you receive it and you are not the intended > recipient(s), or if it is transmitted/received in error. > > Any unauthorised use, alteration, disclosure, distribution or review of > this email is strictly prohibited. The information contained in this email, > including any attachment sent with it, may be subject to a statutory duty > of confidentiality if it relates to health service matters. > > If you are not the intended recipient(s), or if you have received this > email in error, you are asked to immediately notify the sender by telephone > collect on Australia +61 1800 198 175 or by return email. You should also > delete this email, and any copies, from your computer system network and > destroy any hard copies produced. > > If not an intended recipient of this email, you must not copy, distribute > or take any action(s) that relies on it; any form of disclosure, > modification, distribution and/or publication of this email is also > prohibited. > > Although Queensland Health takes all reasonable steps to ensure this email > does not contain malicious software, Queensland Health does not accept > responsibility for the consequences if any person's computer inadvertently > suffers any disruption to services, loss of information, harm or is > infected with a virus, other malicious computer programme or code that may > occur as a consequence of receiving this email. > > Unless stated otherwise, this email represents only the views of the > sender and not the views of the Queensland Government. > > > ********************************************************************************** > -- John S. Strecker Owner/President AdvanceNet Health Solutions, Inc. www.anshealth.com phone:(800) 919-3744 fax:(267)-387-6889 |
From: Ian V. <Ian...@he...> - 2015-03-12 22:14:01
|
1 ST R DEA Schedule 2 ST O Unknown Field 2 3 ST O Unknown Field 3 4 ST O Unknown Field 4 5 ST O Unknown Field 5 6 TS O Date Written 7 ST O Safety Cap Preference 8 ST O Unknown Field 8 9 ST O Script Image Filename 10 ST O Refill Contact Phone Number 11 ST O Drug Brand Name 12 ST O Drug Generic Equivalent 13 CE O Refill Information 14 TS O Substance Expiration Date 15 CE O Rx Pricing Information 16 ST O Y Allergy Information 17 CE O Dispensed Drug Name 18 ST O Substitution Message 19 ST O Unknown Field 19 20 ST O Unknown Field 20 21 255 ST O Patient Notes 22 CE O Payment/Balance Information |
From: john s. <joh...@an...> - 2015-03-12 20:35:17
|
Can someone point me in the right direction on some examples to create a custom Z segment for the below req.. Thanks >> ZAP – Additional Information Field Number Name Required Description *01* *DEA Schedule* *R* *DEA Classification* *06* *Date Written* *O* *CCYYMMDDhhmmss for label* *07* *Safety Cap Preference* *O* *EasyOpen or SafetyCap* *09* *Script Image Filename* *O* *[<path>]<filename>.<extension>* *10* *Refill Contact Phone Number* *O* *11* *Drug Brand Name* *O* *Brand Name for Label^Manufacturer* *12* *Drug Generic Equivalent* *O* *Generic Name for Label^Manufacturer* *13* *Refill Information* *O* *<Refill Message>^<Refill Date>^ <Refill Phone Number>* *14* *Substance Expiration Date* *O* *CCYYMMDD* *15* *Rx Pricing Information* *O* *<Rx Price>^<Rx CoPay>^<3rd Party amt>^<Store Cost>^<3rd Party Name>* *16* *Allergy Information* *O* *<Text1>^<Text2>^…^<TextN>* *17* *Dispensed Drug Name* *O* *<Drug Name>^<Drug Manufacturer>* *18* *Substitution Message* *O* *For label* *21* *Patient Notes* *O* *Free form, 255 character limit* *22* *Payment/Balance Information* *O* *<Charge>^<Previous Balance>^ <Amount Paid>^<New Balance>^ <Payment Method>^<Account Number> * -- John S. Strecker Owner/President AdvanceNet Health Solutions, Inc. www.anshealth.com phone:(800) 919-3744 fax:(267)-387-6889 |
From: john s. <joh...@an...> - 2015-03-10 16:03:46
|
Two questions 1)Outbound message examples are very limited. Are there any basic examples available. Googled around - found mostly inbound 2) Are there any developers that are willing to develop a interface (spec provided by ANS) for a nominal fee? Regards -- John S. Strecker Owner/President AdvanceNet Health Solutions, Inc. www.anshealth.com phone:(800) 919-3744 fax:(267)-387-6889 |
From: Josefa J. <jos...@al...> - 2015-03-02 13:44:12
|
Hi, I am a very newbie in using Hapi and HL7 protocol itself. By now I have succesfully read several types of messages, segments and fields from plain example char Strings. Now what I want to do is to read the user parameters contained into an inbound QBP^Q22^QBP_Q21 example message, given as a String. To be honest, I have no idea how to do that... I guess it has something to do with Visitor Pattern... wich I barely understand... The message I am playing with is: MSH|^~\"|OTHER_IBM_BRIDGE_TLS|IBM|PAT_IDENTITY_X_REF_MGR_MISYS|ALLSCRIPTS|20090226131524-0600||QBP^Q22^QBP_Q21|4384605233932006785|P|2.5 QPD|Q22^FindCandidates^HL7|2846266284165483109045739371027|@PID.3.1^PDQ113XX05~@PID.3.4.1^IHENA~@PID.3.4.2^1.3.6.1.4.1.21367.2009.1.2.300~@PID.3.4.3^ISO RCP|I|10^RD And I am trying something like that (very very simple approach): InputStream is = new ByteArrayInputStream(messageAsString.getBytes("UTF-8")); is = new BufferedInputStream(is); Hl7InputStreamMessageIterator it = new Hl7InputStreamMessageIterator(is); while (it.hasNext()) { QBP_Q21 m = (QBP_Q21) it.next(); QPD qpd = m.getQPD(); Varies v = qpd.getQpd3_UserParametersInsuccessivefields(); //AND NOW?? How do I use this "v" object to actually get the user parameters? } Well, I hope someone can help me... it can't be that difficult! Thanks you all in advance and best regards Josefa Jul |
From: Mickol, T. <Tim...@ca...> - 2015-02-26 16:51:13
|
A bit dated, but… http://www.hl7.org/documentcenter/public_temp_C32EB2AD-1C23-BA17-0C0CDCF4F8497F2D/wg/ca/CAtutRSNA.pdf More timely info re claims attachments and USA mandate: http://www.cms.gov/regulations-and-guidance/HIPAA-Administrative-Simplification/affordable-care-act/operatingrulesforHIPAATransactions.html Timothy J. Mickol Information Architect, Middleware Developer, EDI & Special Projects Agile Coach, Scrum Master, Certified SAFe Agilist (SA) Red Hat JBoss Fuse Center of Excellence 206.332.3651 – Seattle 3rd Fl. 206.660.5941 – Droid [Description: Description: Description: Description: cid:496B83A6-0DBE-4216-A5A2-8E698AC7EDC5] Be Afraid, Be Very Afraid Maxim: If you’re not running scared, you have bad security or a bad security product. Fear is a good vaccine against both arrogance and ignorance… From: James Agnew [mailto:jam...@gm...] Sent: Thursday, February 26, 2015 7:54 AM To: Bill Blackmon Cc: HAPI Devel List Subject: Re: [HAPI-devel] 257 Processing? Hi Bill, I'm afraid I have no idea what a 275 is, to be honest. Our library is focused on parsing and encoding HL7 messages, so if a 275 is a specific profile of an HL7 v2 or HL7 FHIR message then it's likely you could use HAPI to create one. Otherwise, it is unlikely we will support it. Cheers, James On Wed, Feb 25, 2015 at 4:56 PM, Bill Blackmon <wgb...@gm...<mailto:wgb...@gm...>> wrote: I'm am tasked with writing a 275 parser which reads claims attachments as well as all of the other fields and writes the results to a DB. I see that your software doesn't read 275 docs. in the samples. Do you plan on implementing the reading of 275s or is your software going to remain focused on transport issues? -- Best, Bill 512-215-2659<tel:512-215-2659> http://billblackmonphotography.smugmug.com/ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Hl7api-devel mailing list Hl7...@li...<mailto:Hl7...@li...> https://lists.sourceforge.net/lists/listinfo/hl7api-devel Ensure a sustainable future - only print when necessary. IMPORTANT NOTICE: This communication, including any attachment, contains information that may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message is strictly prohibited. Nothing in this email, including any attachment, is intended to be a legally binding signature. |
From: Bill B. <wgb...@gm...> - 2015-02-26 16:36:48
|
Thanks for the references :) I'm trying to determine where HL7 fits into this picture with X12 275 processing if at all at this point. I believe I'm probably a little premature but we are trying to get ahead of the curve. On Thu, Feb 26, 2015 at 10:33 AM, Mickol, Tim <Tim...@ca...> wrote: > A bit dated, but… > http://www.hl7.org/documentcenter/public_temp_C32EB2AD-1C23-BA17-0C0CDCF4F8497F2D/wg/ca/CAtutRSNA.pdf > > More timely info re claims attachments and USA mandate: > http://www.cms.gov/regulations-and-guidance/HIPAA-Administrative-Simplification/affordable-care-act/operatingrulesforHIPAATransactions.html > > > > > > Timothy J. Mickol > > Information Architect, Middleware Developer, EDI & Special Projects > > Agile Coach, Scrum Master, Certified SAFe Agilist (SA) > > Red Hat JBoss Fuse Center of Excellence > > 206.332.3651 – Seattle 3rd Fl. > > 206.660.5941 – Droid > > [image: Description: Description: Description: Description: > cid:496B83A6-0DBE-4216-A5A2-8E698AC7EDC5] > > *Be Afraid, Be Very Afraid Maxim: If you’re not running scared, you have > bad security or a bad security product. Fear is a good vaccine against both > arrogance and ignorance…* > > > > > > > > *From:* James Agnew [mailto:jam...@gm...] > *Sent:* Thursday, February 26, 2015 7:54 AM > *To:* Bill Blackmon > *Cc:* HAPI Devel List > *Subject:* Re: [HAPI-devel] 257 Processing? > > > > Hi Bill, > > I'm afraid I have no idea what a 275 is, to be honest. > > Our library is focused on parsing and encoding HL7 messages, so if a 275 > is a specific profile of an HL7 v2 or HL7 FHIR message then it's likely you > could use HAPI to create one. Otherwise, it is unlikely we will support it. > > Cheers, > > James > > > > On Wed, Feb 25, 2015 at 4:56 PM, Bill Blackmon <wgb...@gm...> > wrote: > > I'm am tasked with writing a 275 parser which reads claims attachments as > well as all of the other fields and writes the results to a DB. I see that > your software doesn't read 275 docs. in the samples. Do you plan on > implementing the reading of 275s or is your software going to remain > focused on transport issues? > > > > > > > > -- > > > > Best, > > Bill > > 512-215-2659 > > http://billblackmonphotography.smugmug.com/ > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > > > *Ensure a sustainable future - only print when necessary.* > > IMPORTANT NOTICE: This communication, including any attachment, contains > information that may be confidential or privileged, and is intended solely > for the entity or individual to whom it is addressed. If you are not the > intended recipient, you should delete this message and are hereby notified > that any disclosure, copying, or distribution of this message is strictly > prohibited. Nothing in this email, including any attachment, is intended to > be a legally binding signature. > -- Best, Bill 512-215-2659 http://billblackmonphotography.smugmug.com/ |
From: James A. <jam...@gm...> - 2015-02-26 15:54:57
|
Hi Bill, I'm afraid I have no idea what a 275 is, to be honest. Our library is focused on parsing and encoding HL7 messages, so if a 275 is a specific profile of an HL7 v2 or HL7 FHIR message then it's likely you could use HAPI to create one. Otherwise, it is unlikely we will support it. Cheers, James On Wed, Feb 25, 2015 at 4:56 PM, Bill Blackmon <wgb...@gm...> wrote: > I'm am tasked with writing a 275 parser which reads claims attachments as > well as all of the other fields and writes the results to a DB. I see that > your software doesn't read 275 docs. in the samples. Do you plan on > implementing the reading of 275s or is your software going to remain > focused on transport issues? > > > > > -- > > Best, > Bill > 512-215-2659 > http://billblackmonphotography.smugmug.com/ > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: Bill B. <wgb...@gm...> - 2015-02-25 21:56:49
|
I'm am tasked with writing a 275 parser which reads claims attachments as well as all of the other fields and writes the results to a DB. I see that your software doesn't read 275 docs. in the samples. Do you plan on implementing the reading of 275s or is your software going to remain focused on transport issues? -- Best, Bill 512-215-2659 http://billblackmonphotography.smugmug.com/ |
From: Christian O. <chr...@gm...> - 2015-02-06 21:59:01
|
There has been a number of the requests to have an Android-compatible version of HAPI, but, admittedly, this has not yet received the priority it may deserve. If you feel to tackle this, you're very welcome to do so! Your specific problem has been quickly discussed in the past here: http://sourceforge.net/p/hl7api/mailman/message/30627716/ Apart from that, yes, HAPI is alive and kicking (check the svn log!), although at times some tests may fail, also due to the somewhat complicated mixture of own code and code generation from a HL7 database that is not freely distributable. cheers Christian 2015-02-06 10:16 GMT+01:00 Thomas Hofer <tho...@he...>: > Hello Hapi Developers! > > I'm quite new to Hapi but I posted to the mailing list yesterday a > question if there are tendencies to make Hapi work on Android. I think > this would be an important thing to have an HL7 api running on Android. > So far it doesn't work because of missing packages in the distribution > (java.lang.NoClassDefFoundError: Failed resolution of: > Lorg/w3c/dom/bootstrap/DOMImplementationRegistry). I'm willing to spend > time to make an Android version of Hapi. > > Another thing I figured out yesterday after checking out the code is > that some tests fail and therefore the project doesn't compile. How > active are you working on the API? > > Best regards, > Thomas Hofer > > > ----- > Thomas Hofer > AISLab > HES-SO Valais Wallis > Techno-pole 3 > 3960 Sierre > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > |
From: Thomas H. <tho...@he...> - 2015-02-06 09:16:38
|
Hello Hapi Developers! I'm quite new to Hapi but I posted to the mailing list yesterday a question if there are tendencies to make Hapi work on Android. I think this would be an important thing to have an HL7 api running on Android. So far it doesn't work because of missing packages in the distribution (java.lang.NoClassDefFoundError: Failed resolution of: Lorg/w3c/dom/bootstrap/DOMImplementationRegistry). I'm willing to spend time to make an Android version of Hapi. Another thing I figured out yesterday after checking out the code is that some tests fail and therefore the project doesn't compile. How active are you working on the API? Best regards, Thomas Hofer ----- Thomas Hofer AISLab HES-SO Valais Wallis Techno-pole 3 3960 Sierre |
From: James A. <jam...@gm...> - 2015-01-28 13:55:11
|
Hi Gurmail, This is actually the list for HAPI (the Java HL7 API) and not nHAPI (the .NET one). The two project are actually not affiliated with each other. I believe that if you visit the nHAPI website they have a web forum for asking questions though. Cheers, James On Wed, Jan 28, 2015 at 7:49 AM, Gurmail Multani <gur...@gm...> wrote: > Hi, > > I'm using nHapi API version 2.5.1 to parse LRI messages for meaning Stage > 2. > > i'm facing problem to get multiple OBX related to OBR. Can you help me how > to get multiple obx values related to one OBR. Currently i'm trying to get > multiple observation by this. but i always get index value one of every > order. Below is the code > > Dim parser As New PipeParser() > Dim ParsedMessage As IMessage = parser.Parse(strHL7) > Dim _ORU_R01 As ORU_R01 = TryCast(ParsedMessage, ORU_R01) > Dim patientResult As ORU_R01_PATIENT_RESULT = > TryCast(ParsedMessage.GetStructure("PATIENT_RESULT"), > ORU_R01_PATIENT_RESULT) > Dim orderObservationRepetitions As Int32 = > patientResult.ORDER_OBSERVATIONRepetitionsUsed > > For orderObservationIndex As Integer = 0 To > orderObservationRepetitions - 1 > Dim orderObservation As ORU_R01_ORDER_OBSERVATION = > patientResult.GetORDER_OBSERVATION(orderObservationIndex) > > > Dim observationRepetitions As Int32 = > orderObservation.OBSERVATION.currentReps("OBX") > > > > > > > > > > > > > MSH|^~\&|^2.16.840.1.113883.3.72.5.20^ISO|^2.16.840.1.113883.3.72.5.21^ISO||^2.16.840.1.113883.3.72.5.23^ISO|20110531140551-0500||ORU^R01^ORU_R01|NIST-LRI-GU-RU-004.01|T|2.5.1|||AL|NE|||||LRI_Common_Component^^2.16.840.1.113883.9.16^ISO~LRI_GU_Component^^2.16.840.1.113883.9.12^ISO~LRI_RU_Component^^2.16.840.1.113883.9.14^ISO > > > PID|1||PATID1234^^^&2.16.840.1.113883.3.72.5.30.2&ISO^MR||Jones^William^A||19610615|M||2106-3^White^HL70005 > > ORC|RE|ORD723222-4^^2.16.840.1.113883.3.72.5.24^ISO|R- > > 783274-4^^2.16.840.1.113883.3.72.5.25^ISO|GORD874211^^2.16.840.1.113883.3.72.5.24^ISO||||||||57422^Radon^Nicholas^^^^^^&2.16.840.1.113883.3.72.5.30.1&ISO^L^^^NPI > > OBR|1|ORD723222-4^^2.16.840.1.113883.3.72.5.24^ISO|R-783274-4^^2.16.840.1.113883.3.72.5.25^ISO|625-4^Bacteria > identified in Stool by Culture^LN^3456543^CULTURE STOOL^99USI^^^Stool > Culture|||20110530123551-0500||||||787.91^DIARRHEA^I9CDX^^^^^^DIARRHEA|||57422^Radon^Nicholas^^^^^^&2.16.840.1.113883.3.72.5.30.1&ISO^L^^^NPI||||||20110531140428-0500|||F > > OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool > Culture > > > OBX|2|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool > Culture|2| > > > OBX|3|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool > Culture|3| > > OBR|2||R-783274-5^^2.16.840.1.113883.3.72.5.25^ISO| > > OBX|1|SN|28-1^Ampicillin [Susceptibility] by Minimum inhibitory > concentration > (MIC)^LN^^^^^^AMPICILLIN|1|<^0.06|ug/mL^^UCUM||S|||F|||20110530123551-0500|||||20110601130655-0500|||| > OBX|2|SN|267-5^Gentamicin [Susceptibility] by Minimum inhibitory > concentration > (MIC)^LN^^^^^^GENTAMICIN|1|^0.05|ug/mL^^UCUM||S|||F|||20110530123551-0500|||||20110601130655-0500||||Century > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: Senthil M. <vbs...@gm...> - 2015-01-28 13:03:20
|
http://emrpms.blogspot.in/2013/08/hl7-parsingmy-own-parser.html On Wed, Jan 28, 2015 at 6:19 PM, Gurmail Multani <gur...@gm...> wrote: > Hi, > > I'm using nHapi API version 2.5.1 to parse LRI messages for meaning Stage > 2. > > i'm facing problem to get multiple OBX related to OBR. Can you help me how > to get multiple obx values related to one OBR. Currently i'm trying to get > multiple observation by this. but i always get index value one of every > order. Below is the code > > Dim parser As New PipeParser() > Dim ParsedMessage As IMessage = parser.Parse(strHL7) > Dim _ORU_R01 As ORU_R01 = TryCast(ParsedMessage, ORU_R01) > Dim patientResult As ORU_R01_PATIENT_RESULT = > TryCast(ParsedMessage.GetStructure("PATIENT_RESULT"), > ORU_R01_PATIENT_RESULT) > Dim orderObservationRepetitions As Int32 = > patientResult.ORDER_OBSERVATIONRepetitionsUsed > > For orderObservationIndex As Integer = 0 To > orderObservationRepetitions - 1 > Dim orderObservation As ORU_R01_ORDER_OBSERVATION = > patientResult.GetORDER_OBSERVATION(orderObservationIndex) > > > Dim observationRepetitions As Int32 = > orderObservation.OBSERVATION.currentReps("OBX") > > > > > > > > > > > > > MSH|^~\&|^2.16.840.1.113883.3.72.5.20^ISO|^2.16.840.1.113883.3.72.5.21^ISO||^2.16.840.1.113883.3.72.5.23^ISO|20110531140551-0500||ORU^R01^ORU_R01|NIST-LRI-GU-RU-004.01|T|2.5.1|||AL|NE|||||LRI_Common_Component^^2.16.840.1.113883.9.16^ISO~LRI_GU_Component^^2.16.840.1.113883.9.12^ISO~LRI_RU_Component^^2.16.840.1.113883.9.14^ISO > > > PID|1||PATID1234^^^&2.16.840.1.113883.3.72.5.30.2&ISO^MR||Jones^William^A||19610615|M||2106-3^White^HL70005 > > ORC|RE|ORD723222-4^^2.16.840.1.113883.3.72.5.24^ISO|R- > > 783274-4^^2.16.840.1.113883.3.72.5.25^ISO|GORD874211^^2.16.840.1.113883.3.72.5.24^ISO||||||||57422^Radon^Nicholas^^^^^^&2.16.840.1.113883.3.72.5.30.1&ISO^L^^^NPI > > OBR|1|ORD723222-4^^2.16.840.1.113883.3.72.5.24^ISO|R-783274-4^^2.16.840.1.113883.3.72.5.25^ISO|625-4^Bacteria > identified in Stool by Culture^LN^3456543^CULTURE STOOL^99USI^^^Stool > Culture|||20110530123551-0500||||||787.91^DIARRHEA^I9CDX^^^^^^DIARRHEA|||57422^Radon^Nicholas^^^^^^&2.16.840.1.113883.3.72.5.30.1&ISO^L^^^NPI||||||20110531140428-0500|||F > > OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool > Culture > > > OBX|2|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool > Culture|2| > > > OBX|3|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool > Culture|3| > > OBR|2||R-783274-5^^2.16.840.1.113883.3.72.5.25^ISO| > > OBX|1|SN|28-1^Ampicillin [Susceptibility] by Minimum inhibitory > concentration > (MIC)^LN^^^^^^AMPICILLIN|1|<^0.06|ug/mL^^UCUM||S|||F|||20110530123551-0500|||||20110601130655-0500|||| > OBX|2|SN|267-5^Gentamicin [Susceptibility] by Minimum inhibitory > concentration > (MIC)^LN^^^^^^GENTAMICIN|1|^0.05|ug/mL^^UCUM||S|||F|||20110530123551-0500|||||20110601130655-0500||||Century > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |
From: Gurmail M. <gur...@gm...> - 2015-01-28 12:55:11
|
Hi, I'm using nHapi API version 2.5.1 to parse LRI messages for meaning Stage 2. i'm facing problem to get multiple OBX related to OBR. Can you help me how to get multiple obx values related to one OBR. Currently i'm trying to get multiple observation by this. but i always get index value one of every order. Below is the code Dim parser As New PipeParser() Dim ParsedMessage As IMessage = parser.Parse(strHL7) --Parsing HL7 string Dim _ORU_R01 As ORU_R01 = TryCast(ParsedMessage, ORU_R01) Dim patientResult As ORU_R01_PATIENT_RESULT = TryCast(ParsedMessage.GetStructure("PATIENT_RESULT"), ORU_R01_PATIENT_RESULT) Dim orderObservationRepetitions As Int32 = patientResult.ORDER_OBSERVATIONRepetitionsUsed For orderObservationIndex As Integer = 0 To orderObservationRepetitions - 1 Dim orderObservation As ORU_R01_ORDER_OBSERVATION = patientResult.GetORDER_OBSERVATION(orderObservationIndex) Dim observationRepetitions As Int32 = orderObservation.OBSERVATION.currentReps("OBX") ------ *Here I'm facing problem i always get the first OBX i.e. only one index. Can you help me, which method i have to use to get the correct count of OBX related to every OBR ?.* End For Loop This is the Example message MSH|^~\&|^2.16.840.1.113883.3.72.5.20^ISO|^2.16.840.1.113883.3.72.5.21^ISO||^2.16.840.1.113883.3.72.5.23^ISO|20110531140551-0500||ORU^R01^ORU_R01|NIST-LRI-GU-RU-004.01|T|2.5.1|||AL|NE|||||LRI_Common_Component^^2.16.840.1.113883.9.16^ISO~LRI_GU_Component^^2.16.840.1.113883.9.12^ISO~LRI_RU_Component^^2.16.840.1.113883.9.14^ISO PID|1||PATID1234^^^&2.16.840.1.113883.3.72.5.30.2&ISO^MR||Jones^William^A||19610615|M||2106-3^White^HL70005 ORC|RE|ORD723222-4^^2.16.840.1.113883.3.72.5.24^ISO|R- 783274-4^^2.16.840.1.113883.3.72.5.25^ISO|GORD874211^^2.16.840.1.113883.3.72.5.24^ISO||||||||57422^Radon^Nicholas^^^^^^&2.16.840.1.113883.3.72.5.30.1&ISO^L^^^NPI OBR|1|ORD723222-4^^2.16.840.1.113883.3.72.5.24^ISO|R-783274-4^^2.16.840.1.113883.3.72.5.25^ISO|625-4^Bacteria identified in Stool by Culture^LN^3456543^CULTURE STOOL^99USI^^^Stool Culture|||20110530123551-0500||||||787.91^DIARRHEA^I9CDX^^^^^^DIARRHEA|||57422^Radon^Nicholas^^^^^^&2.16.840.1.113883.3.72.5.30.1&ISO^L^^^NPI||||||20110531140428-0500|||F OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool Culture OBX|2|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool Culture|2| OBX|3|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool Culture|3| OBR|2||R-783274-5^^2.16.840.1.113883.3.72.5.25^ISO| OBX|1|SN|28-1^Ampicillin [Susceptibility] by Minimum inhibitory concentration (MIC)^LN^^^^^^AMPICILLIN|1|<^0.06|ug/mL^^UCUM||S|||F|||20110530123551-0500|||||20110601130655-0500|||| OBX|2|SN|267-5^Gentamicin [Susceptibility] by Minimum inhibitory concentration (MIC)^LN^^^^^^GENTAMICIN|1|^0.05|ug/mL^^UCUM||S|||F|||20110530123551-0500|||||20110601130655-0500||||Century Thanks, Gurmail |
From: Gurmail M. <gur...@gm...> - 2015-01-28 12:49:18
|
Hi, I'm using nHapi API version 2.5.1 to parse LRI messages for meaning Stage 2. i'm facing problem to get multiple OBX related to OBR. Can you help me how to get multiple obx values related to one OBR. Currently i'm trying to get multiple observation by this. but i always get index value one of every order. Below is the code Dim parser As New PipeParser() Dim ParsedMessage As IMessage = parser.Parse(strHL7) Dim _ORU_R01 As ORU_R01 = TryCast(ParsedMessage, ORU_R01) Dim patientResult As ORU_R01_PATIENT_RESULT = TryCast(ParsedMessage.GetStructure("PATIENT_RESULT"), ORU_R01_PATIENT_RESULT) Dim orderObservationRepetitions As Int32 = patientResult.ORDER_OBSERVATIONRepetitionsUsed For orderObservationIndex As Integer = 0 To orderObservationRepetitions - 1 Dim orderObservation As ORU_R01_ORDER_OBSERVATION = patientResult.GetORDER_OBSERVATION(orderObservationIndex) Dim observationRepetitions As Int32 = orderObservation.OBSERVATION.currentReps("OBX") MSH|^~\&|^2.16.840.1.113883.3.72.5.20^ISO|^2.16.840.1.113883.3.72.5.21^ISO||^2.16.840.1.113883.3.72.5.23^ISO|20110531140551-0500||ORU^R01^ORU_R01|NIST-LRI-GU-RU-004.01|T|2.5.1|||AL|NE|||||LRI_Common_Component^^2.16.840.1.113883.9.16^ISO~LRI_GU_Component^^2.16.840.1.113883.9.12^ISO~LRI_RU_Component^^2.16.840.1.113883.9.14^ISO PID|1||PATID1234^^^&2.16.840.1.113883.3.72.5.30.2&ISO^MR||Jones^William^A||19610615|M||2106-3^White^HL70005 ORC|RE|ORD723222-4^^2.16.840.1.113883.3.72.5.24^ISO|R- 783274-4^^2.16.840.1.113883.3.72.5.25^ISO|GORD874211^^2.16.840.1.113883.3.72.5.24^ISO||||||||57422^Radon^Nicholas^^^^^^&2.16.840.1.113883.3.72.5.30.1&ISO^L^^^NPI OBR|1|ORD723222-4^^2.16.840.1.113883.3.72.5.24^ISO|R-783274-4^^2.16.840.1.113883.3.72.5.25^ISO|625-4^Bacteria identified in Stool by Culture^LN^3456543^CULTURE STOOL^99USI^^^Stool Culture|||20110530123551-0500||||||787.91^DIARRHEA^I9CDX^^^^^^DIARRHEA|||57422^Radon^Nicholas^^^^^^&2.16.840.1.113883.3.72.5.30.1&ISO^L^^^NPI||||||20110531140428-0500|||F OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool Culture OBX|2|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool Culture|2| OBX|3|CWE|625-4^Bacteria identified in Stool by Culture^LN^^^^^^Stool Culture|3| OBR|2||R-783274-5^^2.16.840.1.113883.3.72.5.25^ISO| OBX|1|SN|28-1^Ampicillin [Susceptibility] by Minimum inhibitory concentration (MIC)^LN^^^^^^AMPICILLIN|1|<^0.06|ug/mL^^UCUM||S|||F|||20110530123551-0500|||||20110601130655-0500|||| OBX|2|SN|267-5^Gentamicin [Susceptibility] by Minimum inhibitory concentration (MIC)^LN^^^^^^GENTAMICIN|1|^0.05|ug/mL^^UCUM||S|||F|||20110530123551-0500|||||20110601130655-0500||||Century |
From: Rahul S. <rs...@ce...> - 2015-01-16 17:54:20
|
I had done something like that using FTL and FlyingSaucer about 5 years ago. I believe there are more choices that allow for it today. On Nov 3, 2014, at 8:29 PM, Chandan Datta <cha...@au...<mailto:cha...@au...>> wrote: Hi Is anyone worked on a transform to html/pdf which can take in a Hl7 file and output a human readable format. Is there any code sample and a sample data pipeline which you can suggest such as HL7 -> XML -> PDF (HAPI+XSL-FO) ? Examples are below: HL7 Lab file: MSH|^~\&|^CCHITLabs^L-CL|^CCHIT^L-CL|^^|^^|20100407121000||ORU^R01^ORU_R01|20100407121000|P|2.5.1|0001||AL||||MT-ORU-2_R1 PID|1|12|00000333^^^^AN||Grayson^Jim^^^^^L||19430309|M|||834 Ocean Vista Avenue^Apt. 202^Santa Monica^CA^90401||3105552233 ORC|RE|||3^EHR-System OBR|1|3^EHR-System|LAB003^^CCHIT^L-CL|087-0714^Lipid Panel, Serum^99Lab^80061^Lipid Panel, Serum^C4|||20100407151000||||L|||||PRO1000#^Butler^Internist^E^^Dr^MD^^^^^^EI||||RO||20100407121000|||F OBX|1|NM|13457-7^LDL Cholesterol^LN||90|mg/dL|< 99||||F|||||^DOE^JOHN|||||||AccuLabs^^^^^CLIA^^^^10D987432|432 Administration Ave.^^St. Louis^MO^63146|^Smith^John^^^Dr.^MD NTE|0|L| OBX|2|NM|14646-4^HDL Cholesterol^LN||60|mg/dL|40-59|H|||F|||||^DOE^JOHN|||||||AccuLabs^^^^^CLIA^^^^10D987432|432 Administration Ave.^^St. Louis^MO^63146|^Smith^John^^^Dr.^MD NTE|0|L| OBX|3|NM|14647-2^Total Cholesterol^LN||120|mg/dL|< 199||||F|||||^DOE^JOHN|||||||AccuLabs^^^^^CLIA^^^^10D987432|432 Administration Ave.^^St. Louis^MO^63146|^Smith^John^^^Dr.^MD NTE|0|L| OBX|4|NM|14927-8^Triglycerides^LN||100|mg/dL|< 149||||F|||||^DOE^JOHN|||||||AccuLabs^^^^^CLIA^^^^10D987432|432 Administration Ave.^^St. Louis^MO^63146|^Smith^John^^^Dr.^MD NTE|0|L| Output: [image] -- Regards, Chandan Doctoral student,Robotics Research Group University of Auckland, New Zealand ------------------------------------------------------------------------------ _______________________________________________ Hl7api-devel mailing list Hl7...@li...<mailto:Hl7...@li...> https://lists.sourceforge.net/lists/listinfo/hl7api-devel The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. |
From: Chandan D. <cha...@au...> - 2014-12-18 10:26:46
|
Hi Has anyone tried writing XSLTs for html or pdf for a OBX with escape sequences? OBX|1|FT|0301^Report^L|| Referred By: \.br\ Mr W. Farrington \H\ COMMENT \N\\.br\|||""|||F XML: <OBX.5> <escape V=".br"/>Referred By: <escape V=".br"/>Mr W. Farrington<escape V="H"/>COMMENT<escape V="N"/> </OBX.5> -- Regards, Chandan http://realworldrobotics.com |
From: Younan <yfa...@ha...> - 2014-12-17 21:05:16
|
Hi James, can you add to that example? How can you pass in that custom parser you wrote into the Context? I have the code, and the unrecognized version 2.7 exception is still thrown. How do I pass in my own PipeParser in this case?: HapiContext context = new DefaultHapiContext(); context.getParserConfiguration().setAllowUnknownVersions(true); context.getParserConfiguration().setValidating(false); context.getPipeParser().getParserConfiguration().setAllowUnknownVersions (true); context.getPipeParser().getParserConfiguration().setValidating(false); Connection connection = null; try{ connection = context.newClient(host, port, useTLS); ((ActiveConnection)connection).getParser().getParserConfiguration().setA llowUnknownVersions(true); ((ActiveConnection)connection).getParser().getParserConfiguration().setV alidating(false); Message response = connection.getInitiator().sendAndReceive(message); String respStr = response.encode(); logger.info("Message sent, response received: ' " + respStr + "'"); connection.close(); } catch (HL7Exception ex){..} |
From: Chandan D. <cha...@au...> - 2014-11-28 04:07:29
|
Is the HL7 to XML for OBX.5 correct in the example? <escape V=".br"/> -- Regards, Chandan Doctoral student,Robotics Research Group University of Auckland, New Zealand http://realworldrobotics.com |