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
1
vote
4 answers
ADT vs. CCDA data gap
We are developing a provide and register web service for CCDAs. Our vendor requires ADT as the patient registration portion. I can create a bare ADT message from the information provided to me in the CCDA in order to simplify the onboarding process…

prike
- 51
- 1
1
vote
1 answer
hl7 message encoding error while parsing the message in map-reduce
I am trying to parse a HL7 message by Hapi in map-reduce function i got EncodingNotSupportedException when i run the map task.
i tried to add \n or \r to the end of each segment but i am facing the same error.
the message is saved in text file and…

Zaman
- 33
- 6
1
vote
1 answer
Send HL7 using VB.NET with MLLP
i am trying to send hl7 using vb.net with mllp , can anybody tell me that is the wrong of my code
Dim StartBlock As String = "0x0b" ' this is start block
Dim EndBlock As String = " 0x0d" ' this is end Block
Dim ReturnBlock As String =…

mohammad omar najjar
- 21
- 1
1
vote
1 answer
Create correct HL7 message containing RXO segment in Java
I am trying to create an HL7 message in Java and then print the resulting message. I am faking basic patient information and then adding the Drug Prescription information. Then, I want to print the complete message but I wasn't able to use the API…

randombee
- 699
- 1
- 5
- 26
1
vote
2 answers
Precise definition of HL7(v2) field RXE-25?
Can anyone explain what the field of RXE-25 in HL-7v2 means? The description is "Give strength". I have read the official explanation, but I feel this is ambiguous. I am not sure whether this field should contain a)the strength of a single…

jlallen
- 91
- 5
1
vote
1 answer
HL7 2.7.1 XML schemas missing element definition
We are attempting to exchange HL7 2.7.1 messages using the XML Encoding Syntax, Release 2 specification. Some of those messages contain escape sequences in the OBX-5 field. However the HL7 Version 2.7.1 Messaging Schemas don't define the …

Nick Radov
- 401
- 2
- 7
1
vote
0 answers
How do I create an NTE|9| Segment in a Group using library version v.2.3.1
I have an NTE segment defined as follows:
NTE|9|\F\400797\F\ENG\F\1\F\THEN TAKE 1 TABLET TWICE A DAY FOR A WEEK.
First I want to be able to create NTE|9 Segment as shown above. Second, I want to be able to use the NTE|9 in a group.
The group has…

BreenDeen
- 623
- 1
- 13
- 42
1
vote
2 answers
Validate HL7 with C# and nHapi for .NET
I'm looking to validate an HL7 2.3 standard message using C# and .NET version of nHapi project:
https://github.com/duaneedwards/nHapi
I've downloaded the dll's and added to my project both NHapi.Base.dll and NHapi.Model.V23.dll.
I know I should…

ohadinho
- 6,894
- 16
- 71
- 124
1
vote
2 answers
Converting HL7 v2 to JSON
I am looking to convert HL7 v2 (older EDI format) messages to JSON, so I could make them processable under Apache Drill and compressible under Parquet.
I looked into HAPI, but I am not having luck finding utility for non-XML HL7 to JSON…

Edmon
- 4,752
- 4
- 32
- 42
1
vote
1 answer
Converting Hl7 message to Json
i need to convert the HL7 message to JSON so i used Hapi to convert the message to xml and then used a JSON library to convert the xml to JSON,The output for xml is
…

Pravin yadav
- 567
- 1
- 6
- 16
1
vote
2 answers
Conformance Profile for ORU^R01 message with HAPI sample
I am not able to validate an ORU_R01 and ADT_A04 (HL7 v2.3.1) messages with HAPI api (version 2.2) against the conformance profile generated from MWB (Message Workbench).
First Problem is regarding the name assigned to segment group by MWB in…

Amar Jaiswal
- 11
- 3
1
vote
1 answer
What is meaning of LAB-n in LAB TF
Currently we are working on Laboratory domain.
The Laboratory domain embraces many profiles and each profiles consist of lots of actors.
Where LAB TF mentioned LAB-n several times.
In example:
LAB-1~5 (5)
LAB-21~23 (3)
LAB-26~31 (6)
LAB-51 …

Śhāhēēd
- 1,812
- 6
- 23
- 44
1
vote
1 answer
Is there any difference between HL7 U.S.A and U.K standards?
Is there any difference between HL7 USA and UK standards ? If its there then what are those ?

user1759457
- 39
- 1
- 7
1
vote
1 answer
How to get the list of segments, groups and the no.of repetitions of HL7 v2x msg by Hapi
Regarding the message as below I would to get the list of segments, groups as respectively as well as the no.of repetitions count, the list of segments and subgroups inside of a group too. While I want to use Hapi-2.1 with Apache…

Śhāhēēd
- 1,812
- 6
- 23
- 44
1
vote
1 answer
Parse HL7 v2.3 REF message with local customizations in HAPI
I am trying parse a HL7 REF I12 message with local customization(NZ).
When I tried using the GenericParser, I keep getting Validation exceptions.
For example for the segment below, I keep get the output …

iceman
- 4,211
- 13
- 65
- 92