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.
Questions tagged [hl7-v2]
156 questions
0
votes
1 answer
I can not get the data from my server after having sent a file thought sockets
I have a problem when I try to send an Acknowledgment after receiving data.
To resume the situation, I have a client that have a file to send to my server that is listening. When the server receive this file it returns an acknowledgment file. And…

R0kkxSynetique
- 13
- 1
- 5
0
votes
1 answer
Do NM data type in HL7 message support comma as decimal separator for countries that uses comma in decimal values?
I am working with HL7 messages in Sweden locale, but in Sweden they use comma as decimal separator. When Hl7 message will come to my system from Sweden locale will the field with 'NM' (Numeric) data type support comma as decimal?
For example- If the…

cheshta
- 1
0
votes
1 answer
JavaScript to remove string in OBX 5.1 starting with first occurance of "\\." till the end
I am trying to write a JavaScript to remove string in OBX 5.1 after "\."
Here is the inbound OBX segment:
OBX|2|NM|WBC^White Blood Cell Count^WinPath||3.2\\.br\\This result could indicate your patient might have\\.br\\sepsis. Take into consideration…

softgi
- 13
- 5
0
votes
1 answer
HL7 V2.2 - SIU^S12
I am using the SIU^S12 segment and I need to indicate the financial entity (IN1). But IN1 is not allowed in segment SIU^S12. Has anyone ever experienced this?
0
votes
1 answer
HL7 Data Type Error
I have an ORU R01 version 2.4 message that I'm trying to get through, but for some reason, it keeps giving me a data type error on the receive side. Below is the…

vcuankit
- 787
- 2
- 11
- 12
0
votes
0 answers
Problem with creating multiple OBX segments in Mirth Connect
I have DB from where I'm getting my data of measurements. This is my code for looping through my measurements and adding them to OBX segments:
//getting MeasurementsData
var data = msg['measurements_measurement_data'].toString();
…

tGitm
- 45
- 8
0
votes
1 answer
How to dynamic call class instance attribute?
I am doing some parse work with hl7apy parse, and i occurred with one problem.
I use hl7apy to parse hl7 message, which can be parse:
from hl7apy.parser import parse_message
message =…

gcdsss
- 357
- 3
- 14
0
votes
1 answer
How do I integrate my application to an HL7 V2.5 hospital HIS?
My small company provides hospitals with a bug prevalence report. Earlier, we had only 1 customer who provides the necessary data for the application (patient demographics, culture details, antibiotic dosage etc) in a CSV dump for us to ingest. Now,…

Abhijit Raj
- 13
- 1
- 5
0
votes
1 answer
HL7 append Segment
To avoid using EVNgrp due to schema issues, I have this code that is meant to append PID and PD1 segment to ADR^A19.
For some reason it is not doing so. Any help please?
If $Length(source.Primary.PID) {
Set…

softgi
- 13
- 5
0
votes
2 answers
how do I get Mirth connectorMessage.getRawData to return a string?
I am trying to get the string representation of the HL7 message input to a channel. Documentation says
var myMessage = connectorMessage.getRawData()
should give me the original unparsed HL7 message. However the type of the data returned is an object…

rams
- 6,381
- 8
- 46
- 65
0
votes
2 answers
How I can converting from TSQLT to HL7 (V2) format
I already create export T-SQL in CSV.
Now I need to export in HL7 V2 format.
Do you know what tools are available?
Can someone share some sql code as a starting point?
Thanks
JCS
0
votes
1 answer
Mirth -> HL7 into XML conversion Ques
I'm new to the Mirth Connect When I tried to convert HL7 into XML I 'm struggling.Suppose my HL7 messages have repeat segments like ORC in ORM Messages how to iterate that.
below is my…
0
votes
1 answer
XSL - How can I properly concatenate node values into one formatted node value
I'm trying to concatenate multiple OBX.3, OBX.5, and OBX.6 values to the end of a specific OBX.5 field. What I have written works, but not in the way that I want it to.
For example, I want this source:
OBX|1|TX|2080^Diagnosis||Sinus rhythm~Right…

Ryan Neff
- 29
- 8
0
votes
1 answer
Unable to get OBR segment from HL7 REF^I12 message
I was working on HL7 (2.3.1) message of REF^I12 type. I'm trying to get the OBR segment from the message by using terser, but, I'm getting null whenever I try to get OBR or OBX segment values. Below is the hl7 message I'm trying to…

Paul Clinton
- 25
- 5
0
votes
0 answers
Handle multiple ORC OBR repetitions on OML_O33 message as OML_O33_ORDER instances
I'm generating a OML_O33 (for the IHE LAB-63 profile) HL7 v25 message using the Java HAPI v2.3. The message should support multiple ORDER groups (ihe message profile) but due to an ambiguous definition of the ORC/OBR sequences in the ORDER and…

pirods
- 43
- 1
- 7