Questions tagged [hapi]

HAPI (HL7 application programming interface; pronounced "happy") is an open-source, object-oriented HL7 2.x parser for Java.

HAPI (HL7 application programming interface; pronounced "happy") is an open-source, object-oriented HL7 2.x parser for Java.

HL7 is a widely-used standard for electronic data exchange in the clinical and healthcare domain.

Useful links

406 questions
0
votes
2 answers

Receive ADT and ORU messages on a single channel or on two

I have an applications that is required to listen to ADT and ORU messages. These message types could both be received on a single channel and post processed as appropriate. Alternatively, they could be received on separate queues and processed…
skyman
  • 2,255
  • 4
  • 32
  • 55
0
votes
1 answer

How to handle QRY^Q02 with ReceivingApplication in HAPI?

I'm developing an application which interacts with Chemistry Analyzers and I need to work with the QRY^Q02 and DSR^Q03 messages. The communication schema is as follows: Analyzer Soft QRY^Q02 …
sallegri
  • 1
  • 1
0
votes
1 answer

How to get HL72.6 ORC-21 in hapi2.1

I am trying to get the value in ORC-21: //-------------- ORC orcObj = messageObj.getCOMMON_ORDER().getORC(); String result = orcObj.getOrc21_OrderingFacilityName(0).getOrganizationName().getValue(); //-------------- But it turns out that I…
0
votes
1 answer

How can I catch the incoming Message using HAPI Server

I'm really new on Hapi HL7 an used the example Server Class. public static void main(String[] args) throws Exception { HapiContext context = new DefaultHapiContext(); MinLowerLayerProtocol mllp = new MinLowerLayerProtocol(); …
0
votes
1 answer

Why NACK message misses to create the Fields 3,4 and 5 in Hapi

The NACK message generated by HAPI missed to add 3, 4, 5 fields I'm generating the NACK message as follows; Message msg= hl7Msg.generateACK(HL7Constants.HL7_MSA_ERROR_FIELD_VALUE, new HL7Exception(errorMsg)); This returns;…
Ratha
  • 9,434
  • 17
  • 85
  • 163
0
votes
1 answer

NACK Error message is not valid?

I have an issue about the NACK message generated by HAPI, I'm generating the NACK message as follows; Message msg= hl7Msg.generateACK(HL7Constants.HL7_MSA_ERROR_FIELD_VALUE, new HL7Exception(errorMsg)); This returns; following…
Ratha
  • 9,434
  • 17
  • 85
  • 163
0
votes
1 answer

cannot resolve error. Missing a jar file?

import ca.uhn.hl7v2.DefaultHapiContext; import ca.uhn.hl7v2.HapiContext; I'm getting a cannot resolve error for the above two lines. I don't know why, when I have all the jar files in my project. I'm just starting out using the hapi api so I might…
zms6445
  • 317
  • 6
  • 22
0
votes
2 answers

How to parse the Multiple OBR Segment in HL7 using HAPI

The following text is the hl7 message , i could able to parse many segments except NTE segment .'m using HAPI to parse the hl7 messages.'m newvbie to HL7 so please can any one suggest relevant classes in HAPI how to parse NTE segments ? it would be…
thar45
  • 3,518
  • 4
  • 31
  • 48
0
votes
2 answers

HAPI sorts the segments

We are creating a HL7 XML structure and are using the HAPI Library to output it as a HL7 V2 file. But unfortunately, HAPI is reordering (sorts) the segments. Because I have MFE and ZBP always…
Philipp
  • 4,645
  • 3
  • 47
  • 80
0
votes
2 answers

hapi - This element neither has attached source nor attached Javadoc and hence no Javadoc could be found

I'm building a webApp in Eclipse using JSF I recently download the hapi api from the hapi page, and downloaded the 1.2V and added the jars to my lib folder in my project. and started trying to follow th example in their examples page but then I…
Myy
  • 18,107
  • 11
  • 37
  • 57
-1
votes
1 answer

Java support for MDM^R01 type

Does anyone know where I can get support for MDM^R01 message type. I checked on this website but found no class with MDM^R01: http://hl7api.sourceforge.net/apidocs/ca/uhn/hl7v2/model/AbstractMessage.html Please help. Thanks.
Sapphire
  • 1,107
  • 8
  • 20
  • 35
-1
votes
1 answer

How to add extra components to HL7 message using Java Hapi?

I am working on building a replacement to MIRTH and it looks like we are sending out non-standard HL7 ORU_R01 messages. OBR.5 should be just a single field but looks like we are sending a bunch of other data in this section.
Dylan
  • 2,161
  • 2
  • 27
  • 51
-1
votes
2 answers

joi validation each items of array object must have same value

i have form request like this { "data": [ { "transaction": "LNS", "product": "XXX", "lot": "1", "liquidPrice": "0", "liquidId": 0, "limitPrice": "1780.00", …
-1
votes
1 answer

multiple regex/pattern validation Joi Hapi

Hi guys i want to make a mutiple regex validation with joi/hapi but i don't understand how to do it i already multiple try but no one works, I want the password minimun have 1 capital letter, 1 minus letter, 1 number and 1 special character here…
Ganzo
  • 198
  • 1
  • 3
  • 16
-2
votes
1 answer

How to use curl in Nodejs

I am new in NodeJS, I have a file named "employe.html" and I want to use curl in this file, so for testing the curl I put following code but it's showing nothing. Can I use curl in this file? If yes then where I am wrong? Here is my current…
amit
  • 1
  • 1
  • 18
  • 28
1 2 3
27
28