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
2 answers

HL7 Accelerator Trailing Delimiter expected behaviour

Consider the following PV1 segment in an HL7v2 message. PV1|1|E|MYLOC||||55555^Doctor^Doc^D^^Dr^^DOCT|||||||HO||||ER||BC|||||||||||||||||||VALUE||REG|||201406270627||||||||55555^Doctor^Secondary^H^^Dr^^DOCT2| There are 52 fields there. Our Meditech…
Bensonius
  • 1,501
  • 1
  • 15
  • 39
1
vote
1 answer

Modality for radiology orders in ORM^O01 message

Our DICOM Modality Worklist server is currently receiving HL7 ORM^O01 orders from our hospital RIS. To map each order to a modality we are currently using the OBR-24 field in the message. The codes contained in OBR-24 are mapped to AE titles and…
Tarmo R
  • 1,123
  • 7
  • 15
1
vote
1 answer

Encoding Not supported Execption while parsing HL7 message

I have a C#.NET application in which i am trying to construct an HL7 message and then send to other Application using NHAPI .The message is successfully constructed but it when i am trying to extract throws an error :Encoding…
Amu
  • 11
  • 3
1
vote
3 answers

Add a '~' symbol in the HL7 message

I have an HL7 Message exporting. There's one field which has a tild symbol (~) in the input. The HL7 is converting that into symbol "\R\" I also tried exporting this value by using the ASCII value (126) for the '~' character using VBScript as I am…
Ram Mehta
  • 449
  • 1
  • 6
  • 20
1
vote
2 answers

Mirth: overwriting msg object with contents in an XML object

The task is to send an XML object from Channel-A to Channel-B 42 MSH|^~\&|LAB|.... PID|1|.... The steps of the channel communication: in the Channel-B's source transformer, extract the…
p.campbell
  • 98,673
  • 67
  • 256
  • 322
1
vote
1 answer

HL7 Acknowledgement - can i have multiple ERR segment in acknowledgement message?

I was writing HL7 Acknowledgement mechanism on my own. From the online documentation I followed, they state that a Hl7 acknowledgement message has following segments MSH MSA ERR [ optional ] And I am wondering - if there are multiple errors exists…
gtiwari333
  • 24,554
  • 15
  • 75
  • 102
0
votes
0 answers

OBX-5 Field on encode is not replacing \T\ to &

Context : I have application that converts HL7 ORU_R01 message to FHIR When extracting OBX-5 field value from the OBX Segment, if the OBX-5 contains value as "Apples, Pears \T\ Bananas" on encode to String type the expected value is "Apples, Pears &…
Jaiprasad
  • 149
  • 11
0
votes
0 answers

Salesforce APEX: How to create and parse HL7 V2.3 messages

Within our Salesforce APEX-based health cloud application we interface with a 3rd EMR supporting HL7 V2.3 over HTTP. We are looking for an ability to create and parse HL7 v2.3 messages in APEX and then use HTTP as a transport to send/received from…
SC-SL
  • 377
  • 3
  • 19
0
votes
1 answer

HL7 How to send a NACK message with hapifhir

I am creating an HL7 interface. When the messages that are recieved are correct, i reply to HIS with a ACK message like this: msg.generateACK(); How do i send a NACK message, indicating that the message was recieved but it's content was not…
Stimpson Cat
  • 1,444
  • 19
  • 44
0
votes
0 answers

What encoding can be used for JIS X 0201 (and other) encoding or decoding in C#

Out of the list of supported encoding for C#, which of those will and will not support encoding or decoding the character sets listed here. I am looking for a mapping, something like the below table (the below example could be wrong it's just an…
Jake Aitchison
  • 1,079
  • 6
  • 20
0
votes
1 answer

Variable tokens in ANTLR grammar

I am attempting to create a ANTLR grammar for a HL7 derived language. HL7 has a feature that all the delimiters in a message are mapped using the first few bytes of the input itself. For example: MSH|^~\& specifies the various delimiters, in order…
J. Nicholas
  • 105
  • 7
0
votes
1 answer

Data absent reason in FHIR - ExplanationOfBenefit

I am new to FHIR resource implementations. I am implementing a use case where I am using BigQuery SQL to create the FHIR structure of the FHIR ExplanationOfBenefit-Outpatient-Institutional resource. Here, is the link of the structure definition I am…
Aishwary Shukla
  • 450
  • 1
  • 7
  • 21
0
votes
0 answers

IdTCPClient is very slow with large StringStream

Recently we added base64 encoded pdf file to an HL7 message as a last OBX segment which added 2.5MB to the message (which was only 2kb). That caused tremendous slowing of TCPClient write speed and takes more than 40 seconds. procedure…
Senai
  • 13
  • 3
0
votes
2 answers

HL7v2: Should the empty/blank repeating fields be removed?

Some segments in HL7v2 can be repeating, but what if one of those repetitions is blank? Should the blank repetition be removed? Or should they remain? For example, in the below extract PID.13 is a repeating field, but the first repetition is blank.…
0
votes
2 answers

Combine multiple OBX segments in ORU_R01 message hl7 using python hl7apy

I am trying to create an HL7 RU_R01 message with multiple OBX segments. However, I cannot find a way to merge these segments together into the message. Here's my code: message = Message("ORU_R01",…
toing_toing
  • 2,334
  • 1
  • 37
  • 79