OBX procedures

  • Creator
    Topic
  • #49673
    Mauricio Garzon
    Participant

    I need to work on a procedure where the OBX’s should match that of Cerner result (in this case).

    Exam…7700003

    Read….7700006

    Impression….7700009

    So it should look like this examble below.

    Inbound:

    MSH|^~&|HCI-IDX|UTSW|Oacis||20071127074202.0000-0600||ORU^R01|742398|T|2.2|2|

    PID|||40100064^^^HCI-IDX|00001|ZZZPRINCESS^KATHIE||19701004|M||||||||||000000012256020|965233521|

    PV1|||5X||||010060726^TRAPP^ERIKA||||||||||010060726^TRAPP^ERIKA|

    OBR|1|009094323|01724027190003730730030024069895924069895900000000101|7300300^SOAB^SONO ABDOMEN COMP||20071119131403.0000-0600|20071119221335.0000-0600|20071119221335.0000-0600||||||||010014759||||00SO07000089||20071119221335.0000-0600||RA|P||^^^2007111

    OBX|1|TX|7300300^SONO ABDOMEN COMP||An enhanced CT scan of the chest, abdomen and pelvis was performed ||||||P|

    OBX|2|TX|7300300^SONO ABDOMEN COMP||and compared to an enhanced CT scan of the abdomen and pelvis ||||||P|

    OBX|3|TX|7300300^SONO ABDOMEN COMP||obtained on 10-2-06.  ||||||P|

    OBX|4|TX|7300300^SONO ABDOMEN COMP||IMPRESSION:    DIFFUSE SCLEROTIC BONE METASTASES.  NO ACUTE ||||||P|

    Outbound should look like this:

    MSH|^~&|HCI-IDX|UTSW|Oacis||20071127074202.0000-0600||ORU^R01|742398|T|2.2|2|

    PID|||40100064^^^HCI-IDX|00001|ZZZPRINCESS^KATHIE||19701004|M||||||||||000000012256020|965233521|

    PV1|||5X||||010060726^TRAPP^ERIKA||||||||||010060726^TRAPP^ERIKA|

    OBR|1|009094323|01724027190003730730030024069895924069895900000000101|7300300^SOAB^SONO ABDOMEN COMP||20071119131403.0000-0600|20071119221335.0000-0600|20071119221335.0000-0600||||||||010014759||||00SO07000089||20071119221335.0000-0600||RA|P||^^^2007111

    OBX|1|TX|7700003^SONO ABDOMEN COMP|| ||||||P|

    OBX|2|TX|7700006^SONO ABDOMEN COMP||An enhanced CT scan of the chest, abdomen and pelvis was performed ||||||P|

    OBX|3|TX|7700006^SONO ABDOMEN COMP||and compared to an enhanced CT scan of the abdomen and pelvis ||||||P|

    OBX|4|TX|7700006^SONO ABDOMEN COMP||obtained on 10-2-06.  ||||||P|

    OBX|5|TX|7700009^SONO ABDOMEN COMP||IMPRESSION:    DIFFUSE SCLEROTIC BONE METASTASES.  NO ACUTE ||||||P|

    I have been able to insert a new OBX for the 7700003 exam. Then I am able to iterate for 7700006 read…….but I am having trouble with the 7700009 impression. I can’t seem to populate this OBX.#3 with the impression number. I’m trying to create code where I see the text “IMPRESSION” then iterate from this point on with 7700009.

    Any suggestions are greatly appreciated!

Viewing 0 reply threads
  • Author
    Replies
    • #63053
      Jim Kosloskey
      Participant

      Mauricio,

      Are you doing this in an Xlate?

      If so the way I would do it is to build my own first OBX prior to ITERATion.

      Then I would ITERATE through the inbound while keeping my own outbound counter.

      So if it is a group iteration and using %g1 for the counter, I would use %g2 for the outbound counter (remember we just added one to the outbound set of the OBX group so the inbound counter will be one less than the outbound counter).

      Then assuming the last OBX is always the one that gets the 7700009 code – after the iteration is complete, the %g2 counter points to the last OBX group created. I would simply COPY =7700009 to the OBX group referenced by the counter %g2.

      Remember when referencing to iteration counters outside of the address path (as a Source or Destination field) you must add a $ in front of the counter ($%g2).

      Some combination of the above should work for you.

      If you are still struggling, email me directly and I will see if I can assist.

      Jim Kosloskey

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

Viewing 0 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10