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

Problems with ORU message

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

  • Problems with ORU message

    Hi all!

    I've got some problems to build ORU Message as follow below:


    MSH|^~\&|CompanyName Pty Ltd|Company XXXXXX
    MSH|XXXXXXX|XXXHICPR.633554EA^633554EA.Practitione r.General...Dr^L|Doctor
    MSH|Name|20080403113352||ORU^R01^ORU_R01|1|D|2.3.1 ^XXX&Country&ISO3166-1
    MSH||||NE|NE|XXX|ASCII|en^english^ISO639
    PID|447||000002^^^MCS^MR~2296818481^^^XXXHIC^MC||L astName^FirstName||197812
    PID|447||20|M|||45 Address, Suburb
    PID|447||Suburb^City^State^9999||||||||2296818481| |||||||||||
    PV1||O||||||071404WJ^Crinology^Endo^^^Dr^^XXXHICPR ^L^^^^PRN|633554EA^Pra
    PV1||O||||||ctitioner^General^^^Dr^^XXXHICPR^L^^^^ PRN
    ORC|RE|1-0^WRKST1^1^L|1-0^CompanyName Pty
    ORC|RE|Ltd|1^WRKST1|CM||||20080403113352||||||||HT S^MCS^MCS|HTS^HCWS.127
    ORC|RE|^MCS||
    OBR|1|1-0^WRKST1^1^L|1-0^CompanyName Pty
    OBR|1|Ltd|14749-6^Glucose^LN|||20080403113352|
    OBX|1|NM|14749-6^Glucose^LN||15.5|mmol/L^^ISO+|3-6||||F||||||
    OBX|2|NM|309534003^Normal
    OBX|2|NM|height^SNOMED-CT||165|cm^^ISO+|0-200||||F||||||
    OBX|3|NM|27113001^Body weight^SNOMED-CT||70|kg^^ISO+|0-300||||F||||||
    OBX|4|NM|364075005^Heart rate^SNOMED-CT||70|/min^^ISO+|50-100||||F||||||
    OBX|5|NM|252465000^Pulse
    OBX|5|NM|oximetry^SNOMED-CT||98|%^^ISO+|94-100||||F||||||
    OBX|6|NM|271650006^Diastolic blood
    OBX|6|NM|pressure^SNOMED-CT||80|mm(hg)^^ISO+|0-90||||F||||||
    OBX|7|NM|271649006^Systolic blood
    OBX|7|NM|pressure^SNOMED-CT||120|mm(hg)^^ISO+|100-140||||F||||||
    OBX|8|NM|59328004^FEV1^SNOMED-CT||1.5|L/s^^ISO+|0-5||||F||||||
    OBX|9|NM|50834005^FVC^SNOMED-CT||5|L^^ISO+|4-7||||F||||||
    OBX|10|NM|18491006^PEF^SNOMED-CT||12|L/s^^ISO+|10-30||||F||||||
    OBX.1|||||17.2
    OBX.2|||||190.0
    OBX.3|||||88.8
    OBX.4|||||77.0
    OBX.5|||||97.77
    OBX.6|||||70.0
    OBX.7|||||109.0
    OBX.8|||||0.560565347033037
    OBX.9|||||1.86725594827092
    OBX.10|||||3.05417527923453

    I'm trying replace on the OBX segments with my values, but instead of that it's creating new lines for each sequence of the OBX segment.
    How can I just replace the values in the right place without repeat the sequence of the segment?

    My transformer is configured like that:

    Message Segment: tmp['OBX.4']['OBX.5.1']
    Mapping: msg['fieldname'].toString()


    What is it wrong in the format above? There are some another examples to do that?

    Also, all the segment are being repeated, like PID segment, looks like the segment is a bit longer than usual.
    Could this be a problem to read the message?


    Follow below the original message

    MSH|^~\&|CompanyName Pty Ltd|CompanyName XXXXXX XXXXXXX|XXXHICPR.633554EA^633554EA.Practitioner.Ge neral...Dr^L|DoctorName|200706272258+1000||ORU^R01 ^ORU_R01|1|D|2.3.1^XXX&Country&ISO3166-1|||NE|NE|XXX|ASCII|en^english^ISO639
    PID|1||000002^^^MCS^MR~2296818481^^^XXXHIC^MC||Las tName^FirstName||193006272258+0000||||45 Address, Suburb^City^State^9999||||||||2296818481|||||||||| ||
    PV1||O||||||071404WJ^Crinology^Endo^^^Dr^^XXXHICPR ^L^^^^PRN|633554EA^Practitioner^General^^^Dr^^XXXH ICPR^L^^^^PRN
    ORC|RE|1-0^WRKST1^1^L|1-0^CompanyName Pty Ltd|1^WRKST1|CM||||200706272258+1000||||||||HTS^MC S^MCS|HTS^HCWS.127^MCS||
    OBR|1|1-0^WRKST1^1^L|1-0^CompanyName Pty Ltd|14749-6^Glucose^LN|||200706272258+1000|
    OBX|1|NM|14749-6^Glucose^LN||15.5|mmol/L^^ISO+|3-6||||F||||||
    OBX|2|NM|309534003^Normal height^SNOMED-CT||165|cm^^ISO+|0-200||||F||||||
    OBX|3|NM|27113001^Body weight^SNOMED-CT||70|kg^^ISO+|0-300||||F||||||
    OBX|4|NM|364075005^Heart rate^SNOMED-CT||70|/min^^ISO+|50-100||||F||||||
    OBX|5|NM|252465000^Pulse oximetry^SNOMED-CT||98|%^^ISO+|94-100||||F||||||
    OBX|6|NM|271650006^Diastolic blood pressure^SNOMED-CT||80|mm(hg)^^ISO+|0-90||||F||||||
    OBX|7|NM|271649006^Systolic blood pressure^SNOMED-CT||120|mm(hg)^^ISO+|100-140||||F||||||
    OBX|8|NM|59328004^FEV1^SNOMED-CT||1.5|L/s^^ISO+|0-5||||F||||||
    OBX|9|NM|50834005^FVC^SNOMED-CT||5|L^^ISO+|4-7||||F||||||
    OBX|10|NM|18491006^PEF^SNOMED-CT||12|L/s^^ISO+|10-30||||F||||||


    Thanks!

    Alexander B)
Working...
X