IBDEI0II ; ; 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,8326,1,4,0)
;;=4^K92.2
;;^UTILITY(U,$J,358.3,8326,2)
;;=^5008915
;;^UTILITY(U,$J,358.3,8327,0)
;;=K62.5^^39^397^8
;;^UTILITY(U,$J,358.3,8327,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8327,1,3,0)
;;=3^BRBPR
;;^UTILITY(U,$J,358.3,8327,1,4,0)
;;=4^K62.5
;;^UTILITY(U,$J,358.3,8327,2)
;;=^5008755
;;^UTILITY(U,$J,358.3,8328,0)
;;=K92.1^^39^397^82
;;^UTILITY(U,$J,358.3,8328,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8328,1,3,0)
;;=3^Melena/Hematochezia
;;^UTILITY(U,$J,358.3,8328,1,4,0)
;;=4^K92.1
;;^UTILITY(U,$J,358.3,8328,2)
;;=^5008914
;;^UTILITY(U,$J,358.3,8329,0)
;;=R19.5^^39^397^56
;;^UTILITY(U,$J,358.3,8329,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8329,1,3,0)
;;=3^Fecal Abnormalities NEC
;;^UTILITY(U,$J,358.3,8329,1,4,0)
;;=4^R19.5
;;^UTILITY(U,$J,358.3,8329,2)
;;=^5019274
;;^UTILITY(U,$J,358.3,8330,0)
;;=E53.8^^39^397^92
;;^UTILITY(U,$J,358.3,8330,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8330,1,3,0)
;;=3^Vitamin B12 Deficiency
;;^UTILITY(U,$J,358.3,8330,1,4,0)
;;=4^E53.8
;;^UTILITY(U,$J,358.3,8330,2)
;;=^5002797
;;^UTILITY(U,$J,358.3,8331,0)
;;=K59.04^^39^397^20
;;^UTILITY(U,$J,358.3,8331,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8331,1,3,0)
;;=3^Constipation,Chronic Idiopathic
;;^UTILITY(U,$J,358.3,8331,1,4,0)
;;=4^K59.04
;;^UTILITY(U,$J,358.3,8331,2)
;;=^7148177
;;^UTILITY(U,$J,358.3,8332,0)
;;=K59.03^^39^397^21
;;^UTILITY(U,$J,358.3,8332,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8332,1,3,0)
;;=3^Constipation,Drug Induced
;;^UTILITY(U,$J,358.3,8332,1,4,0)
;;=4^K59.03
;;^UTILITY(U,$J,358.3,8332,2)
;;=^5138744
;;^UTILITY(U,$J,358.3,8333,0)
;;=K52.21^^39^397^51
;;^UTILITY(U,$J,358.3,8333,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8333,1,3,0)
;;=3^Enterocolitis Synd Induced by Food Protein
;;^UTILITY(U,$J,358.3,8333,1,4,0)
;;=4^K52.21
;;^UTILITY(U,$J,358.3,8333,2)
;;=^5138713
;;^UTILITY(U,$J,358.3,8334,0)
;;=K52.22^^39^397^52
;;^UTILITY(U,$J,358.3,8334,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8334,1,3,0)
;;=3^Enterocolopathy Induced by Food Protein
;;^UTILITY(U,$J,358.3,8334,1,4,0)
;;=4^K52.22
;;^UTILITY(U,$J,358.3,8334,2)
;;=^5138714
;;^UTILITY(U,$J,358.3,8335,0)
;;=K58.2^^39^397^80
;;^UTILITY(U,$J,358.3,8335,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8335,1,3,0)
;;=3^Irritable Bowel Syndrome,Mixed
;;^UTILITY(U,$J,358.3,8335,1,4,0)
;;=4^K58.2
;;^UTILITY(U,$J,358.3,8335,2)
;;=^5138742
;;^UTILITY(U,$J,358.3,8336,0)
;;=K58.8^^39^397^81
;;^UTILITY(U,$J,358.3,8336,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8336,1,3,0)
;;=3^Irritable Bowel Syndrome,Other
;;^UTILITY(U,$J,358.3,8336,1,4,0)
;;=4^K58.8
;;^UTILITY(U,$J,358.3,8336,2)
;;=^5138743
;;^UTILITY(U,$J,358.3,8337,0)
;;=K58.1^^39^397^77
;;^UTILITY(U,$J,358.3,8337,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8337,1,3,0)
;;=3^Irritable Bowel Syndrome w/ Constipation
;;^UTILITY(U,$J,358.3,8337,1,4,0)
;;=4^K58.1
;;^UTILITY(U,$J,358.3,8337,2)
;;=^5138741
;;^UTILITY(U,$J,358.3,8338,0)
;;=K61.39^^39^397^5
;;^UTILITY(U,$J,358.3,8338,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8338,1,3,0)
;;=3^Abscess,Ischiorectal NOS
;;^UTILITY(U,$J,358.3,8338,1,4,0)
;;=4^K61.39
;;^UTILITY(U,$J,358.3,8338,2)
;;=^5157385
;;^UTILITY(U,$J,358.3,8339,0)
;;=G43.A1^^39^397^34
;;^UTILITY(U,$J,358.3,8339,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0II 3749 printed Nov 22, 2024@16:59:33 Page 2
IBDEI0II ; ; 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,8326,1,4,0)
+2 ;;=4^K92.2
+3 ;;^UTILITY(U,$J,358.3,8326,2)
+4 ;;=^5008915
+5 ;;^UTILITY(U,$J,358.3,8327,0)
+6 ;;=K62.5^^39^397^8
+7 ;;^UTILITY(U,$J,358.3,8327,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,8327,1,3,0)
+10 ;;=3^BRBPR
+11 ;;^UTILITY(U,$J,358.3,8327,1,4,0)
+12 ;;=4^K62.5
+13 ;;^UTILITY(U,$J,358.3,8327,2)
+14 ;;=^5008755
+15 ;;^UTILITY(U,$J,358.3,8328,0)
+16 ;;=K92.1^^39^397^82
+17 ;;^UTILITY(U,$J,358.3,8328,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,8328,1,3,0)
+20 ;;=3^Melena/Hematochezia
+21 ;;^UTILITY(U,$J,358.3,8328,1,4,0)
+22 ;;=4^K92.1
+23 ;;^UTILITY(U,$J,358.3,8328,2)
+24 ;;=^5008914
+25 ;;^UTILITY(U,$J,358.3,8329,0)
+26 ;;=R19.5^^39^397^56
+27 ;;^UTILITY(U,$J,358.3,8329,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,8329,1,3,0)
+30 ;;=3^Fecal Abnormalities NEC
+31 ;;^UTILITY(U,$J,358.3,8329,1,4,0)
+32 ;;=4^R19.5
+33 ;;^UTILITY(U,$J,358.3,8329,2)
+34 ;;=^5019274
+35 ;;^UTILITY(U,$J,358.3,8330,0)
+36 ;;=E53.8^^39^397^92
+37 ;;^UTILITY(U,$J,358.3,8330,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,8330,1,3,0)
+40 ;;=3^Vitamin B12 Deficiency
+41 ;;^UTILITY(U,$J,358.3,8330,1,4,0)
+42 ;;=4^E53.8
+43 ;;^UTILITY(U,$J,358.3,8330,2)
+44 ;;=^5002797
+45 ;;^UTILITY(U,$J,358.3,8331,0)
+46 ;;=K59.04^^39^397^20
+47 ;;^UTILITY(U,$J,358.3,8331,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,8331,1,3,0)
+50 ;;=3^Constipation,Chronic Idiopathic
+51 ;;^UTILITY(U,$J,358.3,8331,1,4,0)
+52 ;;=4^K59.04
+53 ;;^UTILITY(U,$J,358.3,8331,2)
+54 ;;=^7148177
+55 ;;^UTILITY(U,$J,358.3,8332,0)
+56 ;;=K59.03^^39^397^21
+57 ;;^UTILITY(U,$J,358.3,8332,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,8332,1,3,0)
+60 ;;=3^Constipation,Drug Induced
+61 ;;^UTILITY(U,$J,358.3,8332,1,4,0)
+62 ;;=4^K59.03
+63 ;;^UTILITY(U,$J,358.3,8332,2)
+64 ;;=^5138744
+65 ;;^UTILITY(U,$J,358.3,8333,0)
+66 ;;=K52.21^^39^397^51
+67 ;;^UTILITY(U,$J,358.3,8333,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,8333,1,3,0)
+70 ;;=3^Enterocolitis Synd Induced by Food Protein
+71 ;;^UTILITY(U,$J,358.3,8333,1,4,0)
+72 ;;=4^K52.21
+73 ;;^UTILITY(U,$J,358.3,8333,2)
+74 ;;=^5138713
+75 ;;^UTILITY(U,$J,358.3,8334,0)
+76 ;;=K52.22^^39^397^52
+77 ;;^UTILITY(U,$J,358.3,8334,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,8334,1,3,0)
+80 ;;=3^Enterocolopathy Induced by Food Protein
+81 ;;^UTILITY(U,$J,358.3,8334,1,4,0)
+82 ;;=4^K52.22
+83 ;;^UTILITY(U,$J,358.3,8334,2)
+84 ;;=^5138714
+85 ;;^UTILITY(U,$J,358.3,8335,0)
+86 ;;=K58.2^^39^397^80
+87 ;;^UTILITY(U,$J,358.3,8335,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,8335,1,3,0)
+90 ;;=3^Irritable Bowel Syndrome,Mixed
+91 ;;^UTILITY(U,$J,358.3,8335,1,4,0)
+92 ;;=4^K58.2
+93 ;;^UTILITY(U,$J,358.3,8335,2)
+94 ;;=^5138742
+95 ;;^UTILITY(U,$J,358.3,8336,0)
+96 ;;=K58.8^^39^397^81
+97 ;;^UTILITY(U,$J,358.3,8336,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,8336,1,3,0)
+100 ;;=3^Irritable Bowel Syndrome,Other
+101 ;;^UTILITY(U,$J,358.3,8336,1,4,0)
+102 ;;=4^K58.8
+103 ;;^UTILITY(U,$J,358.3,8336,2)
+104 ;;=^5138743
+105 ;;^UTILITY(U,$J,358.3,8337,0)
+106 ;;=K58.1^^39^397^77
+107 ;;^UTILITY(U,$J,358.3,8337,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,8337,1,3,0)
+110 ;;=3^Irritable Bowel Syndrome w/ Constipation
+111 ;;^UTILITY(U,$J,358.3,8337,1,4,0)
+112 ;;=4^K58.1
+113 ;;^UTILITY(U,$J,358.3,8337,2)
+114 ;;=^5138741
+115 ;;^UTILITY(U,$J,358.3,8338,0)
+116 ;;=K61.39^^39^397^5
+117 ;;^UTILITY(U,$J,358.3,8338,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,8338,1,3,0)
+120 ;;=3^Abscess,Ischiorectal NOS
+121 ;;^UTILITY(U,$J,358.3,8338,1,4,0)
+122 ;;=4^K61.39
+123 ;;^UTILITY(U,$J,358.3,8338,2)
+124 ;;=^5157385
+125 ;;^UTILITY(U,$J,358.3,8339,0)
+126 ;;=G43.A1^^39^397^34
+127 ;;^UTILITY(U,$J,358.3,8339,1,0)
+128 ;;=^358.31IA^4^2