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
1 answer

HAPI FHIR not generate Narrative Template

I have a problem with my restful server implements with HAPI FHIR. I have a PatientResourceProvider and a PractitionerResourceProvier. When I do a search for a Practitioner Resource, the Narrative Template is not generated. I receive this message in…
0
votes
1 answer

Custom Resources Hapi FHIR

I have a problem with custom resources. I'm doing a restful server to access to clinical information form a external database, and I have a custom resource: MyAppointment, with a custom attribute. My question is, when a client uses my web service,…
0
votes
1 answer

Creating advanced HL7 message with Hapi Fhir

I am trying to teach myself to use the Hapi Fhir api and I'm starting by creating an HL7 message from Java. I have been able to do so by looking at this example from the official documentation page. However, now I would like to add some more…
randombee
  • 699
  • 1
  • 5
  • 26
0
votes
1 answer

Unable to Parse NTE if the segment order is changed

I got a HL7 message with NTE segment. The HL7 message type RDE_O11 and version 2.5. While passing message with NTE, NHAPI is not parsing it. So with the following…
Raajkumar
  • 857
  • 2
  • 13
  • 26
0
votes
2 answers

NHAPI ZPI Segment

We are planning to use NHAPI in our application as a PILOT run. I am in the process of verifying whether the current message can be parsed using NHAPI. So we got a segment named "ZPI – Additional Prescription Information Segment". Since I believe…
Raajkumar
  • 857
  • 2
  • 13
  • 26
0
votes
1 answer

How can I use hapi version safe or as generic?

I have this ugly code below for hl7 message seen here. The code runs for varied versions of HL7 listeners. For one system I receive in v2.3 but for the other one I get in v2.5 As you can notice the job is almost same for all versions. But the base…
Davut Gürbüz
  • 5,526
  • 4
  • 47
  • 83
0
votes
1 answer

Hapi API: how to modify the Message ACK ID behaviour

I am using the following code to generate a message ACK: public static Message process(Message in) throws Exception { ADTReceiverQueue.getInstance().submit(in); Message out = in.generateACK(); return out; } } This…
skyman
  • 2,255
  • 4
  • 32
  • 55
0
votes
1 answer

HapiTestPanel, ORU-R01 message

I'm trying to create a HL7 message over IHE standard (ORU-R01 message type) using the HapiTestPanel and I've got an unexpected null word at the beginning of the OBX field, but I don't know where is the mistake.. Sending this…
colibriii
  • 79
  • 1
  • 1
  • 13
0
votes
1 answer

Setting fields on a new HL7 Message wrapped in Terser

When attempting to use ca.uhn.hl7v2.util.Terser to set empty fields on a given specific subclass of ca.uhn.hl7v2.model.Message (in this case ca.uhn.hl7v2.model.v251.message.ORU_R01), I receive no error messages during the .each{} closure and…
Matt Rkiouak
  • 141
  • 7
0
votes
1 answer

HL7 HAPI-FHIR add cookie to the client request

Is it possible to add cookie to the request while using IRestFulClient from HAPI-FHIR?
0
votes
1 answer

HL7 HAPI-FHIR adding a new search param to resource provider

I'm using HAPI-FHIR library and I'm trying to introduce a new search parameter to resource provider for example : @Read public Patient getResourceById(@IdParam IdDt id, @RequiredParam(name="session") String…
0
votes
1 answer

How to Implement and Process @Terser

Currently I am working with HL7 for Healthcare Interoperability with Apache Camel 2.13.2 & Apache Hapi. While I trying to write new Meta Data Annotation @Terser and customized processor, suddenly eclipse auto suggestion break my concentration. I…
Śhāhēēd
  • 1,812
  • 6
  • 23
  • 44
0
votes
1 answer

java.net.BindException in Spring

I am getting java.net.BindException. I am using Spring to autowire all beans, so I don't think two threads of the same process are running. Also I use different ports for all the processes. What could be the possible cause of this error? Is there…
Abhishek Modi
  • 187
  • 4
  • 17
0
votes
1 answer

What is the error in the following HL7 encoding?

I am trying to encode an HL7 message of the type ORU_R01 using the HAPI 2.0 library for an OpenMRS module. I have followed the tutorials given in the HAPI documentation and according to that, I have populated the required fields of the ORU_R01…
Octavarium
  • 1
  • 1
  • 1
0
votes
2 answers

Using Hapi on an Axis service: "Can't create XML document"

I'm developing an Axis service to interface with a HL7 remote service. I have a class (Hl7MessageTranslator) to encode query request like this: public Hl7MessageTranslator(...) { ... parser = new DefaultXMLParser(); } public String…
Maxx
  • 1,443
  • 4
  • 22
  • 30