web stats
How to hardcode something with repeating obx segments - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-18-2012, 02:03 AM
achilton achilton is offline
Mirth Newb
 
Join Date: Sep 2011
Posts: 9
achilton is on a distinguished road
Question How to hardcode something with repeating obx segments

Good morning,
We are haveing trouple coming up with an Idea on how to hardcode &BODY to every OBX segment. explample below
RAD3102&BODY^WRISTS RTLT 2 VIEW EACH.
Also we need to hardcode &IMP one each Impression segment.
RAD3102&IMP^WRISTS RTLT 2 VIEW EACH

Bassically they are want to know what part of the HL7 result message is th body of the report and what is the Impresion.

What we are having trouble with is we will never know how many repeating OBX segments will be for us to harde Code the Impression? Does anyone have any ideas one what we could try,

Below is an example of what we need the message to look like.

OBX|1|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Examination||||||F
OBX|2|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||WRISTS RT/LT 2 VIEW EACH ||||||F
OBX|3|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH|| ||||||F
OBX|4|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Clinical History||||||F
OBX|5|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||WRIST PAIN ||||||F
OBX|6|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH|| ||||||F
OBX|7|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Comparison||||||F
OBX|8|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||None. ||||||F
OBX|9|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH|| ||||||F
OBX|10|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Technique||||||F
OBX|11|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Imaging of the right wrist was performed. ||||||F
OBX|12|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH|| ||||||F
OBX|13|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Imaging of the left wrist was performed. ||||||F
OBX|14|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH|| ||||||F
OBX|15|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Findings||||||F
OBX|16|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Left Hand: Mild carpometacarpal degenerative is of the 1st digit are ||||||F
OBX|17|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||present. Soft tissues are unremarkable. ||||||F
OBX|18|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH|| ||||||F
OBX|19|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||Right Hand: Minimal 1st carpometacarpal degenerative changes are ||||||F
OBX|20|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH||present. Soft tissues are unremarkable. ||||||F
OBX|21|FT|RAD3102&BODY^WRISTS RTLT 2 VIEW EACH|| ||||||F
OBX|22|FT|RAD3102&IMP^WRISTS RTLT 2 VIEW EACH||Impression||||||F
OBX|23|FT|RAD3102&IMP^WRISTS RTLT 2 VIEW EACH||Mild degenerative changes of bilateral 1st carpometacarpal ||||||F
OBX|24|FT|RAD3102&IMP^WRISTS RTLT 2 VIEW EACH||articulations.||||||F
Reply With Quote
 

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 02:48 PM.


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