IBDEI0GH ; ; 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,7394,1,3,0)
;;=3^Hemorrhoids,Perianal/External w/ Thrombosis
;;^UTILITY(U,$J,358.3,7394,1,4,0)
;;=4^K64.5
;;^UTILITY(U,$J,358.3,7394,2)
;;=^5008773
;;^UTILITY(U,$J,358.3,7395,0)
;;=K62.2^^36^366^4
;;^UTILITY(U,$J,358.3,7395,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7395,1,3,0)
;;=3^Anal Prolapse
;;^UTILITY(U,$J,358.3,7395,1,4,0)
;;=4^K62.2
;;^UTILITY(U,$J,358.3,7395,2)
;;=^5008754
;;^UTILITY(U,$J,358.3,7396,0)
;;=K50.814^^36^367^1
;;^UTILITY(U,$J,358.3,7396,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7396,1,3,0)
;;=3^Crohn's,Sm & Lg Int w/ Abscess
;;^UTILITY(U,$J,358.3,7396,1,4,0)
;;=4^K50.814
;;^UTILITY(U,$J,358.3,7396,2)
;;=^5008642
;;^UTILITY(U,$J,358.3,7397,0)
;;=K50.811^^36^367^2
;;^UTILITY(U,$J,358.3,7397,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7397,1,3,0)
;;=3^Crohn's,Sm & Lg Int w/ Bleeding
;;^UTILITY(U,$J,358.3,7397,1,4,0)
;;=4^K50.811
;;^UTILITY(U,$J,358.3,7397,2)
;;=^5008639
;;^UTILITY(U,$J,358.3,7398,0)
;;=K50.813^^36^367^3
;;^UTILITY(U,$J,358.3,7398,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7398,1,3,0)
;;=3^Crohn's,Sm & Lg Int w/ Fistula
;;^UTILITY(U,$J,358.3,7398,1,4,0)
;;=4^K50.813
;;^UTILITY(U,$J,358.3,7398,2)
;;=^5008641
;;^UTILITY(U,$J,358.3,7399,0)
;;=K50.812^^36^367^4
;;^UTILITY(U,$J,358.3,7399,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7399,1,3,0)
;;=3^Crohn's,Sm & Lg Int w/ Obstruction
;;^UTILITY(U,$J,358.3,7399,1,4,0)
;;=4^K50.812
;;^UTILITY(U,$J,358.3,7399,2)
;;=^5008640
;;^UTILITY(U,$J,358.3,7400,0)
;;=K50.818^^36^367^5
;;^UTILITY(U,$J,358.3,7400,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7400,1,3,0)
;;=3^Crohn's,Sm & Lg Int w/ Other complications
;;^UTILITY(U,$J,358.3,7400,1,4,0)
;;=4^K50.818
;;^UTILITY(U,$J,358.3,7400,2)
;;=^5008643
;;^UTILITY(U,$J,358.3,7401,0)
;;=K50.80^^36^367^6
;;^UTILITY(U,$J,358.3,7401,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7401,1,3,0)
;;=3^Crohn's,Sm & Lg Int,Uncomplicated
;;^UTILITY(U,$J,358.3,7401,1,4,0)
;;=4^K50.80
;;^UTILITY(U,$J,358.3,7401,2)
;;=^5008638
;;^UTILITY(U,$J,358.3,7402,0)
;;=K50.014^^36^367^7
;;^UTILITY(U,$J,358.3,7402,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7402,1,3,0)
;;=3^Crohn's,Small intestine w/ Abscess
;;^UTILITY(U,$J,358.3,7402,1,4,0)
;;=4^K50.014
;;^UTILITY(U,$J,358.3,7402,2)
;;=^5008628
;;^UTILITY(U,$J,358.3,7403,0)
;;=K50.011^^36^367^8
;;^UTILITY(U,$J,358.3,7403,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7403,1,3,0)
;;=3^Crohn's,Small intestine w/ Bleeding
;;^UTILITY(U,$J,358.3,7403,1,4,0)
;;=4^K50.011
;;^UTILITY(U,$J,358.3,7403,2)
;;=^5008625
;;^UTILITY(U,$J,358.3,7404,0)
;;=K50.013^^36^367^9
;;^UTILITY(U,$J,358.3,7404,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7404,1,3,0)
;;=3^Crohn's,Small intestine w/ Fistula
;;^UTILITY(U,$J,358.3,7404,1,4,0)
;;=4^K50.013
;;^UTILITY(U,$J,358.3,7404,2)
;;=^5008627
;;^UTILITY(U,$J,358.3,7405,0)
;;=K50.012^^36^367^10
;;^UTILITY(U,$J,358.3,7405,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7405,1,3,0)
;;=3^Crohn's,Small intestine w/ Obstruction
;;^UTILITY(U,$J,358.3,7405,1,4,0)
;;=4^K50.012
;;^UTILITY(U,$J,358.3,7405,2)
;;=^5008626
;;^UTILITY(U,$J,358.3,7406,0)
;;=K50.018^^36^367^11
;;^UTILITY(U,$J,358.3,7406,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7406,1,3,0)
;;=3^Crohn's,Small intestine w/ Other complications
;;^UTILITY(U,$J,358.3,7406,1,4,0)
;;=4^K50.018
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0GH 3776 printed Nov 22, 2024@16:58:25 Page 2
IBDEI0GH ; ; 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,7394,1,3,0)
+2 ;;=3^Hemorrhoids,Perianal/External w/ Thrombosis
+3 ;;^UTILITY(U,$J,358.3,7394,1,4,0)
+4 ;;=4^K64.5
+5 ;;^UTILITY(U,$J,358.3,7394,2)
+6 ;;=^5008773
+7 ;;^UTILITY(U,$J,358.3,7395,0)
+8 ;;=K62.2^^36^366^4
+9 ;;^UTILITY(U,$J,358.3,7395,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,7395,1,3,0)
+12 ;;=3^Anal Prolapse
+13 ;;^UTILITY(U,$J,358.3,7395,1,4,0)
+14 ;;=4^K62.2
+15 ;;^UTILITY(U,$J,358.3,7395,2)
+16 ;;=^5008754
+17 ;;^UTILITY(U,$J,358.3,7396,0)
+18 ;;=K50.814^^36^367^1
+19 ;;^UTILITY(U,$J,358.3,7396,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,7396,1,3,0)
+22 ;;=3^Crohn's,Sm & Lg Int w/ Abscess
+23 ;;^UTILITY(U,$J,358.3,7396,1,4,0)
+24 ;;=4^K50.814
+25 ;;^UTILITY(U,$J,358.3,7396,2)
+26 ;;=^5008642
+27 ;;^UTILITY(U,$J,358.3,7397,0)
+28 ;;=K50.811^^36^367^2
+29 ;;^UTILITY(U,$J,358.3,7397,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,7397,1,3,0)
+32 ;;=3^Crohn's,Sm & Lg Int w/ Bleeding
+33 ;;^UTILITY(U,$J,358.3,7397,1,4,0)
+34 ;;=4^K50.811
+35 ;;^UTILITY(U,$J,358.3,7397,2)
+36 ;;=^5008639
+37 ;;^UTILITY(U,$J,358.3,7398,0)
+38 ;;=K50.813^^36^367^3
+39 ;;^UTILITY(U,$J,358.3,7398,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,7398,1,3,0)
+42 ;;=3^Crohn's,Sm & Lg Int w/ Fistula
+43 ;;^UTILITY(U,$J,358.3,7398,1,4,0)
+44 ;;=4^K50.813
+45 ;;^UTILITY(U,$J,358.3,7398,2)
+46 ;;=^5008641
+47 ;;^UTILITY(U,$J,358.3,7399,0)
+48 ;;=K50.812^^36^367^4
+49 ;;^UTILITY(U,$J,358.3,7399,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,7399,1,3,0)
+52 ;;=3^Crohn's,Sm & Lg Int w/ Obstruction
+53 ;;^UTILITY(U,$J,358.3,7399,1,4,0)
+54 ;;=4^K50.812
+55 ;;^UTILITY(U,$J,358.3,7399,2)
+56 ;;=^5008640
+57 ;;^UTILITY(U,$J,358.3,7400,0)
+58 ;;=K50.818^^36^367^5
+59 ;;^UTILITY(U,$J,358.3,7400,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,7400,1,3,0)
+62 ;;=3^Crohn's,Sm & Lg Int w/ Other complications
+63 ;;^UTILITY(U,$J,358.3,7400,1,4,0)
+64 ;;=4^K50.818
+65 ;;^UTILITY(U,$J,358.3,7400,2)
+66 ;;=^5008643
+67 ;;^UTILITY(U,$J,358.3,7401,0)
+68 ;;=K50.80^^36^367^6
+69 ;;^UTILITY(U,$J,358.3,7401,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,7401,1,3,0)
+72 ;;=3^Crohn's,Sm & Lg Int,Uncomplicated
+73 ;;^UTILITY(U,$J,358.3,7401,1,4,0)
+74 ;;=4^K50.80
+75 ;;^UTILITY(U,$J,358.3,7401,2)
+76 ;;=^5008638
+77 ;;^UTILITY(U,$J,358.3,7402,0)
+78 ;;=K50.014^^36^367^7
+79 ;;^UTILITY(U,$J,358.3,7402,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,7402,1,3,0)
+82 ;;=3^Crohn's,Small intestine w/ Abscess
+83 ;;^UTILITY(U,$J,358.3,7402,1,4,0)
+84 ;;=4^K50.014
+85 ;;^UTILITY(U,$J,358.3,7402,2)
+86 ;;=^5008628
+87 ;;^UTILITY(U,$J,358.3,7403,0)
+88 ;;=K50.011^^36^367^8
+89 ;;^UTILITY(U,$J,358.3,7403,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,7403,1,3,0)
+92 ;;=3^Crohn's,Small intestine w/ Bleeding
+93 ;;^UTILITY(U,$J,358.3,7403,1,4,0)
+94 ;;=4^K50.011
+95 ;;^UTILITY(U,$J,358.3,7403,2)
+96 ;;=^5008625
+97 ;;^UTILITY(U,$J,358.3,7404,0)
+98 ;;=K50.013^^36^367^9
+99 ;;^UTILITY(U,$J,358.3,7404,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,7404,1,3,0)
+102 ;;=3^Crohn's,Small intestine w/ Fistula
+103 ;;^UTILITY(U,$J,358.3,7404,1,4,0)
+104 ;;=4^K50.013
+105 ;;^UTILITY(U,$J,358.3,7404,2)
+106 ;;=^5008627
+107 ;;^UTILITY(U,$J,358.3,7405,0)
+108 ;;=K50.012^^36^367^10
+109 ;;^UTILITY(U,$J,358.3,7405,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,7405,1,3,0)
+112 ;;=3^Crohn's,Small intestine w/ Obstruction
+113 ;;^UTILITY(U,$J,358.3,7405,1,4,0)
+114 ;;=4^K50.012
+115 ;;^UTILITY(U,$J,358.3,7405,2)
+116 ;;=^5008626
+117 ;;^UTILITY(U,$J,358.3,7406,0)
+118 ;;=K50.018^^36^367^11
+119 ;;^UTILITY(U,$J,358.3,7406,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,7406,1,3,0)
+122 ;;=3^Crohn's,Small intestine w/ Other complications
+123 ;;^UTILITY(U,$J,358.3,7406,1,4,0)
+124 ;;=4^K50.018