IBDEI12L ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
Q:'DIFQR(358.3) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.3,17384,1,4,0)
;;=4^R07.0
;;^UTILITY(U,$J,358.3,17384,2)
;;=^5019195
;;^UTILITY(U,$J,358.3,17385,0)
;;=R07.9^^61^787^50
;;^UTILITY(U,$J,358.3,17385,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17385,1,3,0)
;;=3^Chest Pain,Unspec
;;^UTILITY(U,$J,358.3,17385,1,4,0)
;;=4^R07.9
;;^UTILITY(U,$J,358.3,17385,2)
;;=^5019201
;;^UTILITY(U,$J,358.3,17386,0)
;;=R09.01^^61^787^44
;;^UTILITY(U,$J,358.3,17386,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17386,1,3,0)
;;=3^Asphyxia
;;^UTILITY(U,$J,358.3,17386,1,4,0)
;;=4^R09.01
;;^UTILITY(U,$J,358.3,17386,2)
;;=^11005
;;^UTILITY(U,$J,358.3,17387,0)
;;=R09.3^^61^787^23
;;^UTILITY(U,$J,358.3,17387,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17387,1,3,0)
;;=3^Abnormal Sputum
;;^UTILITY(U,$J,358.3,17387,1,4,0)
;;=4^R09.3
;;^UTILITY(U,$J,358.3,17387,2)
;;=^5019202
;;^UTILITY(U,$J,358.3,17388,0)
;;=R12.^^61^787^84
;;^UTILITY(U,$J,358.3,17388,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17388,1,3,0)
;;=3^Heartburn
;;^UTILITY(U,$J,358.3,17388,1,4,0)
;;=4^R12.
;;^UTILITY(U,$J,358.3,17388,2)
;;=^5019238
;;^UTILITY(U,$J,358.3,17389,0)
;;=R14.0^^61^787^1
;;^UTILITY(U,$J,358.3,17389,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17389,1,3,0)
;;=3^Abdominal Distension
;;^UTILITY(U,$J,358.3,17389,1,4,0)
;;=4^R14.0
;;^UTILITY(U,$J,358.3,17389,2)
;;=^5019240
;;^UTILITY(U,$J,358.3,17390,0)
;;=R14.1^^61^787^81
;;^UTILITY(U,$J,358.3,17390,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17390,1,3,0)
;;=3^Gas Pain
;;^UTILITY(U,$J,358.3,17390,1,4,0)
;;=4^R14.1
;;^UTILITY(U,$J,358.3,17390,2)
;;=^5019241
;;^UTILITY(U,$J,358.3,17391,0)
;;=R14.2^^61^787^74
;;^UTILITY(U,$J,358.3,17391,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17391,1,3,0)
;;=3^Eructation
;;^UTILITY(U,$J,358.3,17391,1,4,0)
;;=4^R14.2
;;^UTILITY(U,$J,358.3,17391,2)
;;=^5019242
;;^UTILITY(U,$J,358.3,17392,0)
;;=R14.3^^61^787^78
;;^UTILITY(U,$J,358.3,17392,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17392,1,3,0)
;;=3^Flatulence
;;^UTILITY(U,$J,358.3,17392,1,4,0)
;;=4^R14.3
;;^UTILITY(U,$J,358.3,17392,2)
;;=^5019243
;;^UTILITY(U,$J,358.3,17393,0)
;;=R15.9^^61^787^80
;;^UTILITY(U,$J,358.3,17393,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17393,1,3,0)
;;=3^Full Incontinence of Feces
;;^UTILITY(U,$J,358.3,17393,1,4,0)
;;=4^R15.9
;;^UTILITY(U,$J,358.3,17393,2)
;;=^5019247
;;^UTILITY(U,$J,358.3,17394,0)
;;=R17.^^61^787^103
;;^UTILITY(U,$J,358.3,17394,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17394,1,3,0)
;;=3^Jaundice,Unspec
;;^UTILITY(U,$J,358.3,17394,1,4,0)
;;=4^R17.
;;^UTILITY(U,$J,358.3,17394,2)
;;=^5019251
;;^UTILITY(U,$J,358.3,17395,0)
;;=R19.30^^61^787^2
;;^UTILITY(U,$J,358.3,17395,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17395,1,3,0)
;;=3^Abdominal Rigidity,Unspec Site
;;^UTILITY(U,$J,358.3,17395,1,4,0)
;;=4^R19.30
;;^UTILITY(U,$J,358.3,17395,2)
;;=^5019266
;;^UTILITY(U,$J,358.3,17396,0)
;;=R19.4^^61^787^48
;;^UTILITY(U,$J,358.3,17396,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17396,1,3,0)
;;=3^Bowel Habit Changes
;;^UTILITY(U,$J,358.3,17396,1,4,0)
;;=4^R19.4
;;^UTILITY(U,$J,358.3,17396,2)
;;=^5019273
;;^UTILITY(U,$J,358.3,17397,0)
;;=R19.8^^61^787^62
;;^UTILITY(U,$J,358.3,17397,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17397,1,3,0)
;;=3^Digestive System/Abdomen Symptoms NEC
;;^UTILITY(U,$J,358.3,17397,1,4,0)
;;=4^R19.8
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI12L 3790 printed Dec 13, 2024@02:00:31 Page 2
IBDEI12L ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+2 if 'DIFQR(358.3)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
if X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
if $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,999)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,358.3,17384,1,4,0)
+2 ;;=4^R07.0
+3 ;;^UTILITY(U,$J,358.3,17384,2)
+4 ;;=^5019195
+5 ;;^UTILITY(U,$J,358.3,17385,0)
+6 ;;=R07.9^^61^787^50
+7 ;;^UTILITY(U,$J,358.3,17385,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,17385,1,3,0)
+10 ;;=3^Chest Pain,Unspec
+11 ;;^UTILITY(U,$J,358.3,17385,1,4,0)
+12 ;;=4^R07.9
+13 ;;^UTILITY(U,$J,358.3,17385,2)
+14 ;;=^5019201
+15 ;;^UTILITY(U,$J,358.3,17386,0)
+16 ;;=R09.01^^61^787^44
+17 ;;^UTILITY(U,$J,358.3,17386,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,17386,1,3,0)
+20 ;;=3^Asphyxia
+21 ;;^UTILITY(U,$J,358.3,17386,1,4,0)
+22 ;;=4^R09.01
+23 ;;^UTILITY(U,$J,358.3,17386,2)
+24 ;;=^11005
+25 ;;^UTILITY(U,$J,358.3,17387,0)
+26 ;;=R09.3^^61^787^23
+27 ;;^UTILITY(U,$J,358.3,17387,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,17387,1,3,0)
+30 ;;=3^Abnormal Sputum
+31 ;;^UTILITY(U,$J,358.3,17387,1,4,0)
+32 ;;=4^R09.3
+33 ;;^UTILITY(U,$J,358.3,17387,2)
+34 ;;=^5019202
+35 ;;^UTILITY(U,$J,358.3,17388,0)
+36 ;;=R12.^^61^787^84
+37 ;;^UTILITY(U,$J,358.3,17388,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,17388,1,3,0)
+40 ;;=3^Heartburn
+41 ;;^UTILITY(U,$J,358.3,17388,1,4,0)
+42 ;;=4^R12.
+43 ;;^UTILITY(U,$J,358.3,17388,2)
+44 ;;=^5019238
+45 ;;^UTILITY(U,$J,358.3,17389,0)
+46 ;;=R14.0^^61^787^1
+47 ;;^UTILITY(U,$J,358.3,17389,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,17389,1,3,0)
+50 ;;=3^Abdominal Distension
+51 ;;^UTILITY(U,$J,358.3,17389,1,4,0)
+52 ;;=4^R14.0
+53 ;;^UTILITY(U,$J,358.3,17389,2)
+54 ;;=^5019240
+55 ;;^UTILITY(U,$J,358.3,17390,0)
+56 ;;=R14.1^^61^787^81
+57 ;;^UTILITY(U,$J,358.3,17390,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,17390,1,3,0)
+60 ;;=3^Gas Pain
+61 ;;^UTILITY(U,$J,358.3,17390,1,4,0)
+62 ;;=4^R14.1
+63 ;;^UTILITY(U,$J,358.3,17390,2)
+64 ;;=^5019241
+65 ;;^UTILITY(U,$J,358.3,17391,0)
+66 ;;=R14.2^^61^787^74
+67 ;;^UTILITY(U,$J,358.3,17391,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,17391,1,3,0)
+70 ;;=3^Eructation
+71 ;;^UTILITY(U,$J,358.3,17391,1,4,0)
+72 ;;=4^R14.2
+73 ;;^UTILITY(U,$J,358.3,17391,2)
+74 ;;=^5019242
+75 ;;^UTILITY(U,$J,358.3,17392,0)
+76 ;;=R14.3^^61^787^78
+77 ;;^UTILITY(U,$J,358.3,17392,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,17392,1,3,0)
+80 ;;=3^Flatulence
+81 ;;^UTILITY(U,$J,358.3,17392,1,4,0)
+82 ;;=4^R14.3
+83 ;;^UTILITY(U,$J,358.3,17392,2)
+84 ;;=^5019243
+85 ;;^UTILITY(U,$J,358.3,17393,0)
+86 ;;=R15.9^^61^787^80
+87 ;;^UTILITY(U,$J,358.3,17393,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,17393,1,3,0)
+90 ;;=3^Full Incontinence of Feces
+91 ;;^UTILITY(U,$J,358.3,17393,1,4,0)
+92 ;;=4^R15.9
+93 ;;^UTILITY(U,$J,358.3,17393,2)
+94 ;;=^5019247
+95 ;;^UTILITY(U,$J,358.3,17394,0)
+96 ;;=R17.^^61^787^103
+97 ;;^UTILITY(U,$J,358.3,17394,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,17394,1,3,0)
+100 ;;=3^Jaundice,Unspec
+101 ;;^UTILITY(U,$J,358.3,17394,1,4,0)
+102 ;;=4^R17.
+103 ;;^UTILITY(U,$J,358.3,17394,2)
+104 ;;=^5019251
+105 ;;^UTILITY(U,$J,358.3,17395,0)
+106 ;;=R19.30^^61^787^2
+107 ;;^UTILITY(U,$J,358.3,17395,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,17395,1,3,0)
+110 ;;=3^Abdominal Rigidity,Unspec Site
+111 ;;^UTILITY(U,$J,358.3,17395,1,4,0)
+112 ;;=4^R19.30
+113 ;;^UTILITY(U,$J,358.3,17395,2)
+114 ;;=^5019266
+115 ;;^UTILITY(U,$J,358.3,17396,0)
+116 ;;=R19.4^^61^787^48
+117 ;;^UTILITY(U,$J,358.3,17396,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,17396,1,3,0)
+120 ;;=3^Bowel Habit Changes
+121 ;;^UTILITY(U,$J,358.3,17396,1,4,0)
+122 ;;=4^R19.4
+123 ;;^UTILITY(U,$J,358.3,17396,2)
+124 ;;=^5019273
+125 ;;^UTILITY(U,$J,358.3,17397,0)
+126 ;;=R19.8^^61^787^62
+127 ;;^UTILITY(U,$J,358.3,17397,1,0)
+128 ;;=^358.31IA^4^2
+129 ;;^UTILITY(U,$J,358.3,17397,1,3,0)
+130 ;;=3^Digestive System/Abdomen Symptoms NEC
+131 ;;^UTILITY(U,$J,358.3,17397,1,4,0)
+132 ;;=4^R19.8