Questions tagged [hl7]

The HL7 (Health Level Seven) messaging standard is a communication standard for exchanging electronic information in the domain of health care.

Health Level Seven International (HL7) is a non-profit, ANSI-accredited standards developing organization involved in the development of international healthcare informatics interoperability standards.

HL7 also refers to some of the specific standards created by the organization that provide a comprehensive framework for the exchange, integration, sharing, and retrieval of electronic of health information.

The events in the health care organizations that lead to the need of information flow (ex. booking of an appointment/admission of patient) are called trigger events. These trigger events can be associated with abstract messages that can be represented in HL7 standard format. Use this tag to ask questions related to encoding/decoding of HL7 messages, and development of the systems that are able to create and process these messages.

HL7 Homepage

Introduction to HL7 Standards

Wikipedia

530 questions
3
votes
1 answer

How to send HL7 ACK message as a TCP response?

I'm receiving HL7 messages via TCP connection. Those messages will always be of type ADT. I'm using Kestrel to listen for thise messages and the NHAPI package to deal with them. I took David Fowler's Kestrel sample code to setup a TCP listener. So…
user13755987
3
votes
1 answer

Please explain the CDA entryRelationship element

I have access to the HL7 Clinical Document Architecture, Release 2.0, which states that it is used essentially to link entries with each other in a CDA document. Specifically, it links between what is called the "source" and the "target" entries. I…
user453441
  • 1,026
  • 2
  • 13
  • 26
3
votes
2 answers

Python HL7 Listener socket message acknowledgement

I am trying to create HL7 listener in python. I am able to receive the messages through socket , but not able to send valid acknowledgement ack=u"\x0b MSH|^~\\&|HL7Listener|HL7Listener|SOMEAPP|SOMEAPP|20198151353||ACK^A08||T|2.3\x1c\x0d…
Tej gh
  • 31
  • 2
3
votes
2 answers

Is OBR segment required to view the OBX segment attachments in HL7 message?

I'm trying to parse an HL7 message file which is of version 2.3.1. OBX segment is coming as null when the message is parsed. If I don't have OBR segment in HL7 message, Terser is failing to fetch the OBX segment values (it's returning null values),…
Madesh
  • 55
  • 7
3
votes
1 answer

How to loop over all the headers in hl7 message in mirth?

I'm new to mirth and trying to loop over all the hl7 message headers in mirth, I know that I can loop over one header like this: for each(var OBX in msg['OBX']) { logger.info('message OBX obj: ' + OBX['OBX.3']['OBX.3.2'].toString()); } but…
Fadi
  • 2,320
  • 8
  • 38
  • 77
3
votes
1 answer

What do all of the HL7 segment structure table headers mean?

For example, the OBR segment reference table from here has the following headers: SEQ LENGTH DT OPT RPT/# TBL# NAME Here are my observations: SEQ seems fairly self-explanatory: It's the field number in the segment. Things like OBR.1, OBR.2,…
ahiijny
  • 351
  • 1
  • 6
  • 21
3
votes
1 answer

What a standard HL7 acknowledgement message?

We've encountered something we haven't seen before. Looking through the HL7 documentation/standards has left me scratching my head. We are sending in a standard outbound report message (ORU^R01). It contains MSH, PID, OBR, and OBX segments. In…
Mike Dee
  • 558
  • 1
  • 5
  • 13
3
votes
2 answers

Does the order of segments in HL7 V2 matter?

I know that the order of fields and components matter, but what about the order of segments in an HL7 message? They all obviously have to have the MSH at the beginning, but is there anything in the HL7 guides that explicitly state that hl7 Segments…
user2081514
  • 95
  • 1
  • 7
3
votes
1 answer

HL7 OIDs and FHIR URIs

I am new to the Health Level 7 standards and messaging paradigm and was reading up on OIDS/URIs. While I know OID are unique Identifiers assigned under an Assigning Authority, I would like to know the following: If there any difference in their…
Spindoctor
  • 434
  • 3
  • 17
3
votes
1 answer

when to close and reopen socket after HL7 message sent

I am trying to open a basic connection to an HL7 server where I send a request and get the ACK response. This will be done continuously. If this is being done continuously, when do I close the socket? Am I implementing this correctly, in this…
don
  • 31
  • 2
  • 4
3
votes
1 answer

HL7 messaging and no PID-3

Fairly new to HL7 messaging, a quickie I'm sure for anyone that knows in depth this standard. Basically one of our clients wants to use PID2 as the patient identifier, we have always used PID3, my question is can we create/send a message without any…
user3005409
  • 47
  • 1
  • 1
  • 3
3
votes
1 answer

Can we use MLLP release 2 with HL7 version 2?

Documentations found on web says, MLLP V2 (release 2) is a requirement for all Message Transport protocols used to transport HL7 Version 3 content. It seems that MLLP release 2 is used mostly with HL7 version 3 only. Can/Should we use MLLP release 2…
rsnhah
  • 349
  • 4
  • 15
3
votes
1 answer

Secured HL7 Transport in WS02 ESB?

My group is evaluating HL7 Proxying and came across WS02 ESB. I have successfully configured an HL7 Proxy that seems to work well. Now my task is to secure the listening point with SSL (TLS specifically). This seems like something that the ESB…
user3179263
  • 170
  • 1
  • 5
3
votes
1 answer

Iterate over repeated specific HL7 segment in Pentaho Data Integration KETTLE

I want to get a specific segment hl7, by name of segment for example, I am using Pipeparser class but i still don't know how to get each segment by structure name (MSH,PID,OBX,...). Sometimes I have a repeated segments like DG1 or PV1 or OBX(see…
Mostav
  • 2,203
  • 15
  • 27
3
votes
1 answer

Hapi-HL7-Terser, segments order when creating a message using terser

I am trying to create an HL7 message using code similar to the following: Message message = new DefaultModelClassFactory().getMessageClass("ADT_A01", "2.3", false).newInstance(); Terser terser = new Terser(message); terser.set("FHS-1-1","|"); ...…
Nawar Khoury
  • 170
  • 2
  • 13