Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Moving OBXs to a different OBR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Moving OBXs to a different OBR

    I need to change HL7 message by moving OBXs from one OBR to another and reindexing them. This is explained in the example below.

    Original HL7 message
    Code:
    ORC|RE|26139558530^LAB|26139558530^LAB||||||200809170000|||DOCID^DOCTOR^D^^^^^U
    OBR|1|26139558530^LAB|26139558530^LAB|317101^CMP14+LP+CBC/D/Plt+TSH^L|||200809171130|||||||200809172212||DOCID^DOCTOR^D||BX104357040||26139558530||200809180938|||F
    OBX|1|NM|001032^Glucose, Serum^L||99|mg/dL|65-99|||N|F|20040126||200809180811|SO
    OBX|2|NM|001040^BUN^L||18|mg/dL|5-26|||N|F|19960812||200809180811|SO
    OBX|3|NM|001370^Creatinine, Serum^L||0.90|mg/dL|0.57-1.00|||N|F|20080825||200809180811|SO
    ORC|RE|26139558530^LAB|26139558530^LAB||||||200809170000|||DOCID^DOCTOR^D^^^^^U
    OBR|2|26139558530^LAB|26139558530^LAB|012057^Comment^L|||200809171130||||G|||200809172212||DOCID^DOCTOR^D||BX104357040||26139558530||200809180938|||F|012057|||317101
    OBX|1|TX|012057^Comment^L|||||||N|F|||200809170811|SO
    NTE|1|L|If initial LDL-cholesterol result is >100 mg/dL, assess for
    NTE|2|L|risk factors.
    ORC|RE|26139558530^LAB|26139558530^LAB||||||200809170000|||DOCID^DOCTOR^D^^^^^U
    OBR|3|26139558530^LAB|26139558530^LAB|317101^CMP14+LP+CBC/D/Plt+TSH^L|||200809171130|||||||200809172212||DOCID^DOCTOR^D||BX104357040||26139558530||200809180938|||F
    OBX|1|NM|004264^TSH^L||3.240|uIU/mL|0.450-4.500|||N|F|20080717||200809180819|SO
    NTE|1|L|                             **Please note reference interval change**
    OBX|2|NM|005025^WBC^L||8.0|x10E3/uL|4.0-10.5|||N|F|20010530||200809180606|SO
    Modified HL7 message
    Code:
    ORC|RE|26139558530^LAB|26139558530^LAB||||||200809170000|||DOCID^DOCTOR^D^^^^^U
    OBR|1|26139558530^LAB|26139558530^LAB|317101^CMP14+LP+CBC/D/Plt+TSH^L|||200809171130|||||||200809172212||DOCID^DOCTOR^D||BX104357040||26139558530||200809180938|||F
    OBX|1|NM|001032^Glucose, Serum^L||99|mg/dL|65-99|||N|F|20040126||200809180811|SO
    OBX|2|NM|001040^BUN^L||18|mg/dL|5-26|||N|F|19960812||200809180811|SO
    OBX|3|NM|001370^Creatinine, Serum^L||0.90|mg/dL|0.57-1.00|||N|F|20080825||200809180811|SO
    OBX|4|NM|004264^TSH^L||3.240|uIU/mL|0.450-4.500|||N|F|20080717||200809180819|SO
    NTE|1|L|                             **Please note reference interval change**
    OBX|5|NM|005025^WBC^L||8.0|x10E3/uL|4.0-10.5|||N|F|20010530||200809180606|SO
    ORC|RE|26139558530^LAB|26139558530^LAB||||||200809170000|||DOCID^DOCTOR^D^^^^^U
    OBR|2|26139558530^LAB|26139558530^LAB|012057^Comment^L|||200809171130||||G|||200809172212||DOCID^DOCTOR^D||BX104357040||26139558530||200809180938|||F|012057|||317101
    OBX|1|TX|012057^Comment^L|||||||N|F|||200809170811|SO
    NTE|1|L|If initial LDL-cholesterol result is >100 mg/dL, assess for
    NTE|2|L|risk factors.
    As you can see from above, the first OBR now has 5 OBX segments and the third ORC + OBR are removed.
Working...
X