web stats
Finding/extract OU organizational unit - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2018, 06:13 AM
mmirth mmirth is offline
Mirth Newb
 
Join Date: Sep 2018
Posts: 9
mmirth is on a distinguished road
Default Finding/extract OU organizational unit

Hello everybody,

Im new to Mirth and HL7 i got an Mirth server running which receives HL7 messages via TCP Listener the destination is a SQL DB.

I capture HL7 messages with a filter ADT^A01-A04 messages.

My problem is I do not know how to extract the OU (organizational unit) of the HL7 messages I donno where it is saved/stored.

Can someone maybe help me ? Or give me an hint ?

Thanks in advance.

mmirth
Reply With Quote
  #2  
Old 09-27-2018, 05:03 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 841
siddharth is on a distinguished road
Default

MSH.3,4,5 or 6 are possible positions, but the sender would confirm where he is sending them.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #3  
Old 09-28-2018, 05:19 AM
mmirth mmirth is offline
Mirth Newb
 
Join Date: Sep 2018
Posts: 9
mmirth is on a distinguished road
Default

Thank you very much I will give it a try and write you back if its working.
Reply With Quote
  #4  
Old 09-28-2018, 05:40 AM
mmirth mmirth is offline
Mirth Newb
 
Join Date: Sep 2018
Posts: 9
mmirth is on a distinguished road
Default

I wonder if every institution has the same place for the OU or can this differ ?
Reply With Quote
  #5  
Old 10-02-2018, 07:02 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 841
siddharth is on a distinguished road
Default

Well, MSH.3,4,5,6 follow a data type called HD, details here
http://hl7-definition.caristix.com:9010/Default.aspx

having 3 components, of which people mostly drop HD.2, and HD.3.

Now, there does not exist a specific field in the HL7 definition for OU. Considering that it is a source identifier, I believe that mostly it would be send in those mentioned fields.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #6  
Old 10-02-2018, 10:23 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,176
agermano is on a distinguished road
Default

Everyone uses HL7 a little differently. That's why you'll find so many posts in the forums about how to reorganize, move, or copy information from one field/segment to another.

There are likely places where to look for most data, but to be certain, you will have to confirm with the sender.
Reply With Quote
  #7  
Old 11-07-2019, 08:34 AM
Maxime Dupont Maxime Dupont is offline
What's HL7?
 
Join Date: Nov 2019
Posts: 1
Maxime Dupont is on a distinguished road
Lightbulb HL7-Definition reference site

Hey! Caristix just released a new version of the HL7-Definition website
https://hl7-definition.caristix.com/v2

Here is the direct link to the MSH segment and the direct link to the HD Data Type

You'll get detailed information about the HD data-type.

Enjoy!

Caristix team
Reply With Quote
Reply

Tags
hl7, organizational unit

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation