IBDEI0GG ; ; 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,7381,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7381,1,3,0)
;;=3^Hemorrhoids,3rd degree
;;^UTILITY(U,$J,358.3,7381,1,4,0)
;;=4^K64.2
;;^UTILITY(U,$J,358.3,7381,2)
;;=^5008771
;;^UTILITY(U,$J,358.3,7382,0)
;;=K64.8^^36^366^16
;;^UTILITY(U,$J,358.3,7382,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7382,1,3,0)
;;=3^Hemorrhoids,Other
;;^UTILITY(U,$J,358.3,7382,1,4,0)
;;=4^K64.8
;;^UTILITY(U,$J,358.3,7382,2)
;;=^5008774
;;^UTILITY(U,$J,358.3,7383,0)
;;=C21.1^^36^366^18
;;^UTILITY(U,$J,358.3,7383,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7383,1,3,0)
;;=3^Malignant neoplasm,Anal canal
;;^UTILITY(U,$J,358.3,7383,1,4,0)
;;=4^C21.1
;;^UTILITY(U,$J,358.3,7383,2)
;;=^267091
;;^UTILITY(U,$J,358.3,7384,0)
;;=C20.^^36^366^19
;;^UTILITY(U,$J,358.3,7384,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7384,1,3,0)
;;=3^Malignant neoplasm,Rectum
;;^UTILITY(U,$J,358.3,7384,1,4,0)
;;=4^C20.
;;^UTILITY(U,$J,358.3,7384,2)
;;=^267090
;;^UTILITY(U,$J,358.3,7385,0)
;;=K59.02^^36^366^20
;;^UTILITY(U,$J,358.3,7385,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7385,1,3,0)
;;=3^Outlet dysfunction constipation
;;^UTILITY(U,$J,358.3,7385,1,4,0)
;;=4^K59.02
;;^UTILITY(U,$J,358.3,7385,2)
;;=^323539
;;^UTILITY(U,$J,358.3,7386,0)
;;=K62.1^^36^366^21
;;^UTILITY(U,$J,358.3,7386,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7386,1,3,0)
;;=3^Polyp of Rectum
;;^UTILITY(U,$J,358.3,7386,1,4,0)
;;=4^K62.1
;;^UTILITY(U,$J,358.3,7386,2)
;;=^104099
;;^UTILITY(U,$J,358.3,7387,0)
;;=K59.4^^36^366^22
;;^UTILITY(U,$J,358.3,7387,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7387,1,3,0)
;;=3^Proctalgia fugax
;;^UTILITY(U,$J,358.3,7387,1,4,0)
;;=4^K59.4
;;^UTILITY(U,$J,358.3,7387,2)
;;=^265303
;;^UTILITY(U,$J,358.3,7388,0)
;;=K62.7^^36^366^23
;;^UTILITY(U,$J,358.3,7388,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7388,1,3,0)
;;=3^Radiation proctitis
;;^UTILITY(U,$J,358.3,7388,1,4,0)
;;=4^K62.7
;;^UTILITY(U,$J,358.3,7388,2)
;;=^5008756
;;^UTILITY(U,$J,358.3,7389,0)
;;=K62.3^^36^366^24
;;^UTILITY(U,$J,358.3,7389,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7389,1,3,0)
;;=3^Rectal prolapse
;;^UTILITY(U,$J,358.3,7389,1,4,0)
;;=4^K62.3
;;^UTILITY(U,$J,358.3,7389,2)
;;=^104104
;;^UTILITY(U,$J,358.3,7390,0)
;;=K62.4^^36^366^25
;;^UTILITY(U,$J,358.3,7390,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7390,1,3,0)
;;=3^Stenosis,Anus or Rectum
;;^UTILITY(U,$J,358.3,7390,1,4,0)
;;=4^K62.4
;;^UTILITY(U,$J,358.3,7390,2)
;;=^270293
;;^UTILITY(U,$J,358.3,7391,0)
;;=K62.6^^36^366^26
;;^UTILITY(U,$J,358.3,7391,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7391,1,3,0)
;;=3^Ulcer,Anus or Rectum
;;^UTILITY(U,$J,358.3,7391,1,4,0)
;;=4^K62.6
;;^UTILITY(U,$J,358.3,7391,2)
;;=^270294
;;^UTILITY(U,$J,358.3,7392,0)
;;=K62.9^^36^366^8
;;^UTILITY(U,$J,358.3,7392,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7392,1,3,0)
;;=3^Disease of Anus or Rectum,Unspec
;;^UTILITY(U,$J,358.3,7392,1,4,0)
;;=4^K62.9
;;^UTILITY(U,$J,358.3,7392,2)
;;=^5008760
;;^UTILITY(U,$J,358.3,7393,0)
;;=K64.3^^36^366^15
;;^UTILITY(U,$J,358.3,7393,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7393,1,3,0)
;;=3^Hemorrhoids,4th degree
;;^UTILITY(U,$J,358.3,7393,1,4,0)
;;=4^K64.3
;;^UTILITY(U,$J,358.3,7393,2)
;;=^5008772
;;^UTILITY(U,$J,358.3,7394,0)
;;=K64.5^^36^366^17
;;^UTILITY(U,$J,358.3,7394,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0GG 3784 printed Nov 22, 2024@16:58:24 Page 2
IBDEI0GG ; ; 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,7381,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,7381,1,3,0)
+4 ;;=3^Hemorrhoids,3rd degree
+5 ;;^UTILITY(U,$J,358.3,7381,1,4,0)
+6 ;;=4^K64.2
+7 ;;^UTILITY(U,$J,358.3,7381,2)
+8 ;;=^5008771
+9 ;;^UTILITY(U,$J,358.3,7382,0)
+10 ;;=K64.8^^36^366^16
+11 ;;^UTILITY(U,$J,358.3,7382,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,7382,1,3,0)
+14 ;;=3^Hemorrhoids,Other
+15 ;;^UTILITY(U,$J,358.3,7382,1,4,0)
+16 ;;=4^K64.8
+17 ;;^UTILITY(U,$J,358.3,7382,2)
+18 ;;=^5008774
+19 ;;^UTILITY(U,$J,358.3,7383,0)
+20 ;;=C21.1^^36^366^18
+21 ;;^UTILITY(U,$J,358.3,7383,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,7383,1,3,0)
+24 ;;=3^Malignant neoplasm,Anal canal
+25 ;;^UTILITY(U,$J,358.3,7383,1,4,0)
+26 ;;=4^C21.1
+27 ;;^UTILITY(U,$J,358.3,7383,2)
+28 ;;=^267091
+29 ;;^UTILITY(U,$J,358.3,7384,0)
+30 ;;=C20.^^36^366^19
+31 ;;^UTILITY(U,$J,358.3,7384,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,7384,1,3,0)
+34 ;;=3^Malignant neoplasm,Rectum
+35 ;;^UTILITY(U,$J,358.3,7384,1,4,0)
+36 ;;=4^C20.
+37 ;;^UTILITY(U,$J,358.3,7384,2)
+38 ;;=^267090
+39 ;;^UTILITY(U,$J,358.3,7385,0)
+40 ;;=K59.02^^36^366^20
+41 ;;^UTILITY(U,$J,358.3,7385,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,7385,1,3,0)
+44 ;;=3^Outlet dysfunction constipation
+45 ;;^UTILITY(U,$J,358.3,7385,1,4,0)
+46 ;;=4^K59.02
+47 ;;^UTILITY(U,$J,358.3,7385,2)
+48 ;;=^323539
+49 ;;^UTILITY(U,$J,358.3,7386,0)
+50 ;;=K62.1^^36^366^21
+51 ;;^UTILITY(U,$J,358.3,7386,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,7386,1,3,0)
+54 ;;=3^Polyp of Rectum
+55 ;;^UTILITY(U,$J,358.3,7386,1,4,0)
+56 ;;=4^K62.1
+57 ;;^UTILITY(U,$J,358.3,7386,2)
+58 ;;=^104099
+59 ;;^UTILITY(U,$J,358.3,7387,0)
+60 ;;=K59.4^^36^366^22
+61 ;;^UTILITY(U,$J,358.3,7387,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,7387,1,3,0)
+64 ;;=3^Proctalgia fugax
+65 ;;^UTILITY(U,$J,358.3,7387,1,4,0)
+66 ;;=4^K59.4
+67 ;;^UTILITY(U,$J,358.3,7387,2)
+68 ;;=^265303
+69 ;;^UTILITY(U,$J,358.3,7388,0)
+70 ;;=K62.7^^36^366^23
+71 ;;^UTILITY(U,$J,358.3,7388,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,7388,1,3,0)
+74 ;;=3^Radiation proctitis
+75 ;;^UTILITY(U,$J,358.3,7388,1,4,0)
+76 ;;=4^K62.7
+77 ;;^UTILITY(U,$J,358.3,7388,2)
+78 ;;=^5008756
+79 ;;^UTILITY(U,$J,358.3,7389,0)
+80 ;;=K62.3^^36^366^24
+81 ;;^UTILITY(U,$J,358.3,7389,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,7389,1,3,0)
+84 ;;=3^Rectal prolapse
+85 ;;^UTILITY(U,$J,358.3,7389,1,4,0)
+86 ;;=4^K62.3
+87 ;;^UTILITY(U,$J,358.3,7389,2)
+88 ;;=^104104
+89 ;;^UTILITY(U,$J,358.3,7390,0)
+90 ;;=K62.4^^36^366^25
+91 ;;^UTILITY(U,$J,358.3,7390,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,7390,1,3,0)
+94 ;;=3^Stenosis,Anus or Rectum
+95 ;;^UTILITY(U,$J,358.3,7390,1,4,0)
+96 ;;=4^K62.4
+97 ;;^UTILITY(U,$J,358.3,7390,2)
+98 ;;=^270293
+99 ;;^UTILITY(U,$J,358.3,7391,0)
+100 ;;=K62.6^^36^366^26
+101 ;;^UTILITY(U,$J,358.3,7391,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,7391,1,3,0)
+104 ;;=3^Ulcer,Anus or Rectum
+105 ;;^UTILITY(U,$J,358.3,7391,1,4,0)
+106 ;;=4^K62.6
+107 ;;^UTILITY(U,$J,358.3,7391,2)
+108 ;;=^270294
+109 ;;^UTILITY(U,$J,358.3,7392,0)
+110 ;;=K62.9^^36^366^8
+111 ;;^UTILITY(U,$J,358.3,7392,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,7392,1,3,0)
+114 ;;=3^Disease of Anus or Rectum,Unspec
+115 ;;^UTILITY(U,$J,358.3,7392,1,4,0)
+116 ;;=4^K62.9
+117 ;;^UTILITY(U,$J,358.3,7392,2)
+118 ;;=^5008760
+119 ;;^UTILITY(U,$J,358.3,7393,0)
+120 ;;=K64.3^^36^366^15
+121 ;;^UTILITY(U,$J,358.3,7393,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,7393,1,3,0)
+124 ;;=3^Hemorrhoids,4th degree
+125 ;;^UTILITY(U,$J,358.3,7393,1,4,0)
+126 ;;=4^K64.3
+127 ;;^UTILITY(U,$J,358.3,7393,2)
+128 ;;=^5008772
+129 ;;^UTILITY(U,$J,358.3,7394,0)
+130 ;;=K64.5^^36^366^17
+131 ;;^UTILITY(U,$J,358.3,7394,1,0)
+132 ;;=^358.31IA^4^2