IBDEI0GI ; ; 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,7406,2)
;;=^5008629
;;^UTILITY(U,$J,358.3,7407,0)
;;=K50.00^^36^367^12
;;^UTILITY(U,$J,358.3,7407,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7407,1,3,0)
;;=3^Crohn's,Small intestine w/ Crohn's,Small intestine,Uncomplicated
;;^UTILITY(U,$J,358.3,7407,1,4,0)
;;=4^K50.00
;;^UTILITY(U,$J,358.3,7407,2)
;;=^5008624
;;^UTILITY(U,$J,358.3,7408,0)
;;=K50.114^^36^367^13
;;^UTILITY(U,$J,358.3,7408,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7408,1,3,0)
;;=3^Crohn's,Large intestine w/ Abscess
;;^UTILITY(U,$J,358.3,7408,1,4,0)
;;=4^K50.114
;;^UTILITY(U,$J,358.3,7408,2)
;;=^5008635
;;^UTILITY(U,$J,358.3,7409,0)
;;=K50.113^^36^367^14
;;^UTILITY(U,$J,358.3,7409,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7409,1,3,0)
;;=3^Crohn's,Large intestine w/ Fistula
;;^UTILITY(U,$J,358.3,7409,1,4,0)
;;=4^K50.113
;;^UTILITY(U,$J,358.3,7409,2)
;;=^5008634
;;^UTILITY(U,$J,358.3,7410,0)
;;=K50.112^^36^367^15
;;^UTILITY(U,$J,358.3,7410,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7410,1,3,0)
;;=3^Crohn's,Large intestine w/ Obstruction
;;^UTILITY(U,$J,358.3,7410,1,4,0)
;;=4^K50.112
;;^UTILITY(U,$J,358.3,7410,2)
;;=^5008633
;;^UTILITY(U,$J,358.3,7411,0)
;;=K50.118^^36^367^16
;;^UTILITY(U,$J,358.3,7411,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7411,1,3,0)
;;=3^Crohn's,Large intestine w/ Other complication
;;^UTILITY(U,$J,358.3,7411,1,4,0)
;;=4^K50.118
;;^UTILITY(U,$J,358.3,7411,2)
;;=^5008636
;;^UTILITY(U,$J,358.3,7412,0)
;;=K50.10^^36^367^17
;;^UTILITY(U,$J,358.3,7412,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7412,1,3,0)
;;=3^Crohn's,Large intestine,Uncomplicated
;;^UTILITY(U,$J,358.3,7412,1,4,0)
;;=4^K50.10
;;^UTILITY(U,$J,358.3,7412,2)
;;=^5008631
;;^UTILITY(U,$J,358.3,7413,0)
;;=K52.3^^36^367^18
;;^UTILITY(U,$J,358.3,7413,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7413,1,3,0)
;;=3^Indeterminate Colitis
;;^UTILITY(U,$J,358.3,7413,1,4,0)
;;=4^K52.3
;;^UTILITY(U,$J,358.3,7413,2)
;;=^7357699
;;^UTILITY(U,$J,358.3,7414,0)
;;=K51.011^^36^367^19
;;^UTILITY(U,$J,358.3,7414,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7414,1,3,0)
;;=3^Ulcerative Pancolitis w/ Bleeding
;;^UTILITY(U,$J,358.3,7414,1,4,0)
;;=4^K51.011
;;^UTILITY(U,$J,358.3,7414,2)
;;=^5008653
;;^UTILITY(U,$J,358.3,7415,0)
;;=K51.018^^36^367^20
;;^UTILITY(U,$J,358.3,7415,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7415,1,3,0)
;;=3^Ulcerative Pancolitis w/ Other complication
;;^UTILITY(U,$J,358.3,7415,1,4,0)
;;=4^K51.018
;;^UTILITY(U,$J,358.3,7415,2)
;;=^5008657
;;^UTILITY(U,$J,358.3,7416,0)
;;=K51.00^^36^367^21
;;^UTILITY(U,$J,358.3,7416,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7416,1,3,0)
;;=3^Ulcerative Pancolitis,Uncomplicated
;;^UTILITY(U,$J,358.3,7416,1,4,0)
;;=4^K51.00
;;^UTILITY(U,$J,358.3,7416,2)
;;=^5008652
;;^UTILITY(U,$J,358.3,7417,0)
;;=K51.311^^36^367^22
;;^UTILITY(U,$J,358.3,7417,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7417,1,3,0)
;;=3^Ulcerative Rectosigmoiditis w/ Bleeding
;;^UTILITY(U,$J,358.3,7417,1,4,0)
;;=4^K51.311
;;^UTILITY(U,$J,358.3,7417,2)
;;=^5008667
;;^UTILITY(U,$J,358.3,7418,0)
;;=K51.318^^36^367^23
;;^UTILITY(U,$J,358.3,7418,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7418,1,3,0)
;;=3^Ulcerative Rectosigmoiditis w/ Other complication
;;^UTILITY(U,$J,358.3,7418,1,4,0)
;;=4^K51.318
;;^UTILITY(U,$J,358.3,7418,2)
;;=^5008671
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0GI 3764 printed Nov 22, 2024@16:58:26 Page 2
IBDEI0GI ; ; 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,7406,2)
+2 ;;=^5008629
+3 ;;^UTILITY(U,$J,358.3,7407,0)
+4 ;;=K50.00^^36^367^12
+5 ;;^UTILITY(U,$J,358.3,7407,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,7407,1,3,0)
+8 ;;=3^Crohn's,Small intestine w/ Crohn's,Small intestine,Uncomplicated
+9 ;;^UTILITY(U,$J,358.3,7407,1,4,0)
+10 ;;=4^K50.00
+11 ;;^UTILITY(U,$J,358.3,7407,2)
+12 ;;=^5008624
+13 ;;^UTILITY(U,$J,358.3,7408,0)
+14 ;;=K50.114^^36^367^13
+15 ;;^UTILITY(U,$J,358.3,7408,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,7408,1,3,0)
+18 ;;=3^Crohn's,Large intestine w/ Abscess
+19 ;;^UTILITY(U,$J,358.3,7408,1,4,0)
+20 ;;=4^K50.114
+21 ;;^UTILITY(U,$J,358.3,7408,2)
+22 ;;=^5008635
+23 ;;^UTILITY(U,$J,358.3,7409,0)
+24 ;;=K50.113^^36^367^14
+25 ;;^UTILITY(U,$J,358.3,7409,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,7409,1,3,0)
+28 ;;=3^Crohn's,Large intestine w/ Fistula
+29 ;;^UTILITY(U,$J,358.3,7409,1,4,0)
+30 ;;=4^K50.113
+31 ;;^UTILITY(U,$J,358.3,7409,2)
+32 ;;=^5008634
+33 ;;^UTILITY(U,$J,358.3,7410,0)
+34 ;;=K50.112^^36^367^15
+35 ;;^UTILITY(U,$J,358.3,7410,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,7410,1,3,0)
+38 ;;=3^Crohn's,Large intestine w/ Obstruction
+39 ;;^UTILITY(U,$J,358.3,7410,1,4,0)
+40 ;;=4^K50.112
+41 ;;^UTILITY(U,$J,358.3,7410,2)
+42 ;;=^5008633
+43 ;;^UTILITY(U,$J,358.3,7411,0)
+44 ;;=K50.118^^36^367^16
+45 ;;^UTILITY(U,$J,358.3,7411,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,7411,1,3,0)
+48 ;;=3^Crohn's,Large intestine w/ Other complication
+49 ;;^UTILITY(U,$J,358.3,7411,1,4,0)
+50 ;;=4^K50.118
+51 ;;^UTILITY(U,$J,358.3,7411,2)
+52 ;;=^5008636
+53 ;;^UTILITY(U,$J,358.3,7412,0)
+54 ;;=K50.10^^36^367^17
+55 ;;^UTILITY(U,$J,358.3,7412,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,7412,1,3,0)
+58 ;;=3^Crohn's,Large intestine,Uncomplicated
+59 ;;^UTILITY(U,$J,358.3,7412,1,4,0)
+60 ;;=4^K50.10
+61 ;;^UTILITY(U,$J,358.3,7412,2)
+62 ;;=^5008631
+63 ;;^UTILITY(U,$J,358.3,7413,0)
+64 ;;=K52.3^^36^367^18
+65 ;;^UTILITY(U,$J,358.3,7413,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,7413,1,3,0)
+68 ;;=3^Indeterminate Colitis
+69 ;;^UTILITY(U,$J,358.3,7413,1,4,0)
+70 ;;=4^K52.3
+71 ;;^UTILITY(U,$J,358.3,7413,2)
+72 ;;=^7357699
+73 ;;^UTILITY(U,$J,358.3,7414,0)
+74 ;;=K51.011^^36^367^19
+75 ;;^UTILITY(U,$J,358.3,7414,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,7414,1,3,0)
+78 ;;=3^Ulcerative Pancolitis w/ Bleeding
+79 ;;^UTILITY(U,$J,358.3,7414,1,4,0)
+80 ;;=4^K51.011
+81 ;;^UTILITY(U,$J,358.3,7414,2)
+82 ;;=^5008653
+83 ;;^UTILITY(U,$J,358.3,7415,0)
+84 ;;=K51.018^^36^367^20
+85 ;;^UTILITY(U,$J,358.3,7415,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,7415,1,3,0)
+88 ;;=3^Ulcerative Pancolitis w/ Other complication
+89 ;;^UTILITY(U,$J,358.3,7415,1,4,0)
+90 ;;=4^K51.018
+91 ;;^UTILITY(U,$J,358.3,7415,2)
+92 ;;=^5008657
+93 ;;^UTILITY(U,$J,358.3,7416,0)
+94 ;;=K51.00^^36^367^21
+95 ;;^UTILITY(U,$J,358.3,7416,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,7416,1,3,0)
+98 ;;=3^Ulcerative Pancolitis,Uncomplicated
+99 ;;^UTILITY(U,$J,358.3,7416,1,4,0)
+100 ;;=4^K51.00
+101 ;;^UTILITY(U,$J,358.3,7416,2)
+102 ;;=^5008652
+103 ;;^UTILITY(U,$J,358.3,7417,0)
+104 ;;=K51.311^^36^367^22
+105 ;;^UTILITY(U,$J,358.3,7417,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,7417,1,3,0)
+108 ;;=3^Ulcerative Rectosigmoiditis w/ Bleeding
+109 ;;^UTILITY(U,$J,358.3,7417,1,4,0)
+110 ;;=4^K51.311
+111 ;;^UTILITY(U,$J,358.3,7417,2)
+112 ;;=^5008667
+113 ;;^UTILITY(U,$J,358.3,7418,0)
+114 ;;=K51.318^^36^367^23
+115 ;;^UTILITY(U,$J,358.3,7418,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,7418,1,3,0)
+118 ;;=3^Ulcerative Rectosigmoiditis w/ Other complication
+119 ;;^UTILITY(U,$J,358.3,7418,1,4,0)
+120 ;;=4^K51.318
+121 ;;^UTILITY(U,$J,358.3,7418,2)
+122 ;;=^5008671