Questions tagged [hl7-v2]

HL7 version 2.x messages are standardized structured multi-line text files using single character as delimiters. HL7 messages are used for exchanging elecronic health information.

156 questions
1
vote
0 answers

How ADT message changes when final set of codes are added to a patient record?

We receive ADT messages and want to know if all billing diagnosis and procedure codes are available in ADT. My understanding is when a patient is admitted ADT admit message will have diagnosis codes with diagnosis type 'A' ( Admitting) and then when…
1
vote
1 answer

SIU23 block off time

Where I can found Block start date-time and end date-time in SIU23 message. (The block time is the time which restrict the appointment creation in that time)
Hemant
  • 31
  • 7
1
vote
2 answers

HL7 ADT Message parsing: date ranges

Note: This question is not asking for advice on which library to use; I'm rolling my own. I'm reading through the HL7 v2.5.1 spec in order to make a parsing engine for iOS and Windows. My question is related to the Name Validity Range component in…
mbm29414
  • 11,558
  • 6
  • 56
  • 87
1
vote
2 answers

Mirth connect error in channel deployment

I am getting below error in deployment, If anyone having full example of mirth connect please provide including details of filter, transformer, response for both source and destination and Script. Here are the screen-shots of channel Channel…
Hemant
  • 31
  • 7
1
vote
1 answer

Mindray-BS200 cinnection with LIS error

When my LIS receive message with type ORU^R01 (contains the Sample result OBX,OBR) it respond s with ACK^R01 this cause the mindray bs-200 software to shutdown!!! I couldn't explain that since I followed the instructions in the manual, any help will…
1
vote
2 answers

Parsing HL7 v2 and converting to JSON/XML

I need to process the content of HL7 v2.5 (OUL_R22) messages (scale: 10⁶ single messages and more) using python. To do so, I'm parsing the HL7 messages. At first I was using the python package HL7apy to convert to JSON (see Stack: HL7 to JSON…
tharndt
  • 127
  • 3
  • 9
1
vote
1 answer

How to read HL7 file and parse it using Apache Camel, Hapi & Spring (Java config)

I'm trying to read a hl7 file which contains the following message MSH|^~\\&|MYSENDER|MYRECEIVER|MYAPPLICATION||200612211200||QRY^A19|1234|P|2.3 QRD|200612211200|R|I|GetPatient|||1^RD|0101701234|DEM|| using Apache camel, Hapi & Spring framework…
karthi
  • 549
  • 3
  • 15
  • 26
1
vote
1 answer

Change HL7 outgoing value from HL7 incoming value using Javascript in Mirth Connect

Hi I'm trying to change the code and value in HL7 using Javascript in Mirth Connect. If the incoming msg has Code labeled 'B' and B = Boy and I want to change the outgoing message to 'M' and M = Male. How would I do that if the HL7 msg segment is in…
smathew
  • 11
  • 2
1
vote
1 answer

Read Patient Information from HL7 Standard Message

For HL7(Health Level 7) I'm using Hapi Write Operation :- ADT_A01 adt = new ADT_A01(); adt.initQuickstart("ADT", "A01", "P"); // Populate the MSH Segment MSH mshSegment = adt.getMSH(); …
Deepak Kumar
  • 1,035
  • 10
  • 18
1
vote
1 answer

Copy and paste to new file, maintain LF vs CR?

I'm using EmEditor to manually split some large files (3GB+). I just spent an hour doing so before realizing that thew new files had only Carriage Returns where the old files had Line Feeds and Carriage Returns. These are HL7 files, so that was…
user736893
1
vote
1 answer

What are the mandatory segments in the REF I12 HL7 message?

I am using NHapi(.NET, c#) terser to generate a REF I12 message with an attachment. Please help me with the following questions : What segments are mandatory in REF I12 ? Can an OBX segment be present in a REF message without the OBR segment ?
Jose Francis
  • 950
  • 13
  • 28
1
vote
2 answers

Is there a common way to write addresses of facilities in HL7 SIU/ADT messages?

I've found several references to SAD/AD/XAD data types in the HL7 spec, but don't see anything about this info being used to describe facilities, such as those described in the AIL segment (e.g. "2^BLUE HILL FACILITY"). But where, if anywhere, can…
djvs
  • 552
  • 2
  • 11
1
vote
1 answer

HL7 ORM Message with DG1 as part of PID and not OBR/ORC (HAPI)

I am using the latest version of HAPI to create an ORM message; the message seems to be generating fine. The specific question I have is on the location of the DG1 (diagnosis segment). For example - in this output, the DG1 is part of the ORC/OBR…
Akhil S
  • 11
  • 2
1
vote
1 answer

Error in parsing HL7 using hl7apy

i am using hl7apy to parse hl7 files in python and i am following this link. When i am using the sample.hl7 i am getting the desired result but when i am using my own hl7 file i am getting below error Traceback (most recent call last): File…
animal
  • 994
  • 3
  • 13
  • 35
1
vote
0 answers

Creating HL7 v2.3.1 A28 message in XML with ZD1 Segment, Fields & Components using Java HAPI

I am using Java to create a A28 Message in HL7 XML Format. The output I want is : XYZCompany . Was able to add the Non-Standard Segment ZD1 by using: String aP = adt.addNonstandardSegment("ZD1"); Then added ZD1.1 Field using Terser. Now trying to…