web stats
Move part of OBX field to new OBX segment - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2018, 12:34 PM
jtate jtate is offline
Mirth Newb
 
Join Date: May 2013
Posts: 15
jtate is on a distinguished road
Default Move part of OBX field to new OBX segment

OBX|1|ST|45^NIBP S/D^MNDRY||159/87 (70)|266016^MDC_DIM_MMHG^MDC|||||R|||2018042512454 4-0500|||^APERIODIC|H068CA6X

Would like to figure out how to move the 70 from OBX5 to a new OBX segment.
Reply With Quote
  #2  
Old 04-25-2018, 01:13 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 774
agermano is on a distinguished road
Default

Not exactly sure what you mean. You want it to look like this?

Code:
OBX|1|ST|45^NIBP S/D^MNDRY||159/87|266016^MDC_DIM_MMHG^MDC|||||R|||2018042512454 4-0500|||^APERIODIC|H068CA6X
OBX|2|ST|45^NIBP S/D^MNDRY||70|266016^MDC_DIM_MMHG^MDC|||||R|||2018042512454 4-0500|||^APERIODIC|H068CA6X
Do your messages contain multiple OBX segments to which you need to do this (or something else?)
Reply With Quote
  #3  
Old 04-26-2018, 05:54 AM
jtate jtate is offline
Mirth Newb
 
Join Date: May 2013
Posts: 15
jtate is on a distinguished road
Default

Basically yes...this is how I want it to look. Sometimes there are multiple OBX segments and sometimes only 1. The gateway will sometimes only send the blood pressure, while sometimes it will send a pulse ox and co2.
Reply With Quote
  #4  
Old 04-26-2018, 06:59 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 774
agermano is on a distinguished road
Default

Some additional input and output examples would be helpful. You're not being very descriptive in what you're trying to accomplish. How are they expected to look when there are multiple OBX segments in the original message?
Reply With Quote
  #5  
Old 04-27-2018, 07:29 AM
jtate jtate is offline
Mirth Newb
 
Join Date: May 2013
Posts: 15
jtate is on a distinguished road
Default

Okay, sorry I wasn't descriptive enough. I was still gathering information. It looks like all of the NIBP messages come alone. See following...

OBR|1|172016^MINDRAY_EGATEWAY^00A037E564d00036^EUI-64|172016^MINDRAY_EGATEWAY^00A037E564d00036^EUI-64|69952^MDC_DEV_MON_PT_PHYSIO_MULTI_PARAM^MDC|||2 0180427101136-0500|
OBX|1|ST|45^NIBP S/D^MNDRY||100/33|266016^MDC_DIM_MMHG^MDC|||||R|||20180427101136-0500|||^APERIODIC|H068C3BX^^mindray.com^DNS|

PV1||I|^^4|
OBR|1|171906^MINDRAY_EGATEWAY^00A037E564d00036^EUI-64|171906^MINDRAY_EGATEWAY^00A037E564d00036^EUI-64|69952^MDC_DEV_MON_PT_PHYSIO_MULTI_PARAM^MDC|||2 0180427095648-0500|
OBX|1|ST|45^NIBP S/D^MNDRY||95/25|266016^MDC_DIM_MMHG^MDC|||||R|||20180427095648-0500|||^APERIODIC|H068C3BX^^mindray.com^DNS|

I left out the MSH and PID segments. As noticed in OBX5.1 the blood pressure reads as "#/#"

We want them to send us the MAP (Mean Arterial Pressure) also, which will look like the following.

PV1||I|^^4|
OBR|1|171906^MINDRAY_EGATEWAY^00A037E564d00036^EUI-64|171906^MINDRAY_EGATEWAY^00A037E564d00036^EUI-64|69952^MDC_DEV_MON_PT_PHYSIO_MULTI_PARAM^MDC|||2 0180427095648-0500|
OBX|1|ST|45^NIBP S/D^MNDRY||95/25 (70)|266016^MDC_DIM_MMHG^MDC|||||R|||2018042709564 8-0500|||^APERIODIC|H068C3BX^^mindray.com^DNS|

"#/# (#)"

I need to move the MAP so a second OBX segment. It would need a different code also. So the original messages send code "45" in OBX3.1. I will need to set a static code and move the MAP to the second OBX segment. Something like this...

OBX|1|ST|45^NIBP S/D^MNDRY||95/25|266016^MDC_DIM_MMHG^MDC|||||R|||20180427095648-0500|||^APERIODIC|H068C3BX^^mindray.com^DNS|OBX|2| ST|47^NIBP S/D^MNDRY||70|266016^MDC_DIM_MMHG^MDC|||||R|||201804 27095648-0500|||^APERIODIC|H068C3BX^^mindray.com^DNS|
Reply With Quote
Reply

Tags
transformer

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 03:27 AM.


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