Originally posted by Gary Atkinson
Hi, I been given an interesting task. Our lab system Sunquest currently is suppressing sending certain antibiotics, based on specimen type. One of the receiving systems wants these suppressed antibiotics and another receiving system does not. All of the Sunquest results (ORU^R01) come into the engine via one thread. Sunquest sends OBR and OBX in groups. The specimen type is in OBR:15 and antibotic in OBX:3. So, if specimen type is "sputum", then don't send antibotic "amikacin". Is there a way to remove a OBX segment(s) in the translation? How anyone tried something like this?
OBR|3|72206001|804100010H59463|MIC^METHOD MIC|||200803132058|||88629^NAME,NAME||||200803132117|SPUTUM^SPUTUM L SIDED THORACENTESIS|2481^NAME^NAME^K||||H59463||||MC^MB|F|RSCU&RESPIRATORY CULTURE^3^ECOL^ESCHERICHIA COLI|^^^^^S||72206001^804100010H59463
OBX|1|ST|AMK^AMIKACIN|1|SUSCEPTIBLE|||S|||F|||200803161417|MC^MICRO|40803^NAME^NAME OBX|2|ST|AMC^AMOXICILLIN/CLAVULANIC ACID|1|SUSCEPTIBLE|||S|||F|||20|
|0803161417|MC^MICRO|40803^NAME^NAME OBX|3|ST|AM^AMPICILLIN|1|RESISTANT||
|||R|||F|||200803161417|MC^MICRO|40803^NAME^NAME OBX|4|ST|AZTR^AZTREONAM|
||1|SUSCEPTIBLE|||S|||F|||200803161417|MC^MICRO|40803^NAME^NAME