IBDEI0IH ; ; 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,8313,1,4,0)
;;=4^K58.0
;;^UTILITY(U,$J,358.3,8313,2)
;;=^5008739
;;^UTILITY(U,$J,358.3,8314,0)
;;=K59.1^^39^397^37
;;^UTILITY(U,$J,358.3,8314,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8314,1,3,0)
;;=3^Diarrhea,Functional
;;^UTILITY(U,$J,358.3,8314,1,4,0)
;;=4^K59.1
;;^UTILITY(U,$J,358.3,8314,2)
;;=^270281
;;^UTILITY(U,$J,358.3,8315,0)
;;=K61.4^^39^397^4
;;^UTILITY(U,$J,358.3,8315,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8315,1,3,0)
;;=3^Abscess,Intrasphincteric
;;^UTILITY(U,$J,358.3,8315,1,4,0)
;;=4^K61.4
;;^UTILITY(U,$J,358.3,8315,2)
;;=^5008752
;;^UTILITY(U,$J,358.3,8316,0)
;;=K61.0^^39^397^2
;;^UTILITY(U,$J,358.3,8316,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8316,1,3,0)
;;=3^Abscess,Anal
;;^UTILITY(U,$J,358.3,8316,1,4,0)
;;=4^K61.0
;;^UTILITY(U,$J,358.3,8316,2)
;;=^5008749
;;^UTILITY(U,$J,358.3,8317,0)
;;=K61.1^^39^397^6
;;^UTILITY(U,$J,358.3,8317,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8317,1,3,0)
;;=3^Abscess,Rectal
;;^UTILITY(U,$J,358.3,8317,1,4,0)
;;=4^K61.1
;;^UTILITY(U,$J,358.3,8317,2)
;;=^259588
;;^UTILITY(U,$J,358.3,8318,0)
;;=K61.2^^39^397^3
;;^UTILITY(U,$J,358.3,8318,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8318,1,3,0)
;;=3^Abscess,Anorectal
;;^UTILITY(U,$J,358.3,8318,1,4,0)
;;=4^K61.2
;;^UTILITY(U,$J,358.3,8318,2)
;;=^5008750
;;^UTILITY(U,$J,358.3,8319,0)
;;=K50.014^^39^397^24
;;^UTILITY(U,$J,358.3,8319,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8319,1,3,0)
;;=3^Crohn's Disease of Small Intestine w/ Abscess
;;^UTILITY(U,$J,358.3,8319,1,4,0)
;;=4^K50.014
;;^UTILITY(U,$J,358.3,8319,2)
;;=^5008628
;;^UTILITY(U,$J,358.3,8320,0)
;;=K50.114^^39^397^23
;;^UTILITY(U,$J,358.3,8320,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8320,1,3,0)
;;=3^Crohn's Disease of Large Intestine w/ Abscess
;;^UTILITY(U,$J,358.3,8320,1,4,0)
;;=4^K50.114
;;^UTILITY(U,$J,358.3,8320,2)
;;=^5008635
;;^UTILITY(U,$J,358.3,8321,0)
;;=D12.6^^39^397^7
;;^UTILITY(U,$J,358.3,8321,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8321,1,3,0)
;;=3^Adenomatous Polyp of Colon
;;^UTILITY(U,$J,358.3,8321,1,4,0)
;;=4^D12.6
;;^UTILITY(U,$J,358.3,8321,2)
;;=^5001969
;;^UTILITY(U,$J,358.3,8322,0)
;;=K64.9^^39^397^65
;;^UTILITY(U,$J,358.3,8322,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8322,1,3,0)
;;=3^Hemorrhoids w/o Complication
;;^UTILITY(U,$J,358.3,8322,1,4,0)
;;=4^K64.9
;;^UTILITY(U,$J,358.3,8322,2)
;;=^5008775
;;^UTILITY(U,$J,358.3,8323,0)
;;=K50.814^^39^397^32
;;^UTILITY(U,$J,358.3,8323,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8323,1,3,0)
;;=3^Crohn's Disease,Small/Large Intestine w/ Abscess
;;^UTILITY(U,$J,358.3,8323,1,4,0)
;;=4^K50.814
;;^UTILITY(U,$J,358.3,8323,2)
;;=^5008642
;;^UTILITY(U,$J,358.3,8324,0)
;;=D12.9^^39^397^9
;;^UTILITY(U,$J,358.3,8324,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8324,1,3,0)
;;=3^Benign Neop of Anus
;;^UTILITY(U,$J,358.3,8324,1,4,0)
;;=4^D12.9
;;^UTILITY(U,$J,358.3,8324,2)
;;=^5001972
;;^UTILITY(U,$J,358.3,8325,0)
;;=D12.8^^39^397^15
;;^UTILITY(U,$J,358.3,8325,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8325,1,3,0)
;;=3^Benign Neop of Rectum
;;^UTILITY(U,$J,358.3,8325,1,4,0)
;;=4^D12.8
;;^UTILITY(U,$J,358.3,8325,2)
;;=^5001971
;;^UTILITY(U,$J,358.3,8326,0)
;;=K92.2^^39^397^57
;;^UTILITY(U,$J,358.3,8326,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8326,1,3,0)
;;=3^GI Bleed,Unspec
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0IH 3791 printed Dec 13, 2024@01:49:20 Page 2
IBDEI0IH ; ; 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,8313,1,4,0)
+2 ;;=4^K58.0
+3 ;;^UTILITY(U,$J,358.3,8313,2)
+4 ;;=^5008739
+5 ;;^UTILITY(U,$J,358.3,8314,0)
+6 ;;=K59.1^^39^397^37
+7 ;;^UTILITY(U,$J,358.3,8314,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,8314,1,3,0)
+10 ;;=3^Diarrhea,Functional
+11 ;;^UTILITY(U,$J,358.3,8314,1,4,0)
+12 ;;=4^K59.1
+13 ;;^UTILITY(U,$J,358.3,8314,2)
+14 ;;=^270281
+15 ;;^UTILITY(U,$J,358.3,8315,0)
+16 ;;=K61.4^^39^397^4
+17 ;;^UTILITY(U,$J,358.3,8315,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,8315,1,3,0)
+20 ;;=3^Abscess,Intrasphincteric
+21 ;;^UTILITY(U,$J,358.3,8315,1,4,0)
+22 ;;=4^K61.4
+23 ;;^UTILITY(U,$J,358.3,8315,2)
+24 ;;=^5008752
+25 ;;^UTILITY(U,$J,358.3,8316,0)
+26 ;;=K61.0^^39^397^2
+27 ;;^UTILITY(U,$J,358.3,8316,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,8316,1,3,0)
+30 ;;=3^Abscess,Anal
+31 ;;^UTILITY(U,$J,358.3,8316,1,4,0)
+32 ;;=4^K61.0
+33 ;;^UTILITY(U,$J,358.3,8316,2)
+34 ;;=^5008749
+35 ;;^UTILITY(U,$J,358.3,8317,0)
+36 ;;=K61.1^^39^397^6
+37 ;;^UTILITY(U,$J,358.3,8317,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,8317,1,3,0)
+40 ;;=3^Abscess,Rectal
+41 ;;^UTILITY(U,$J,358.3,8317,1,4,0)
+42 ;;=4^K61.1
+43 ;;^UTILITY(U,$J,358.3,8317,2)
+44 ;;=^259588
+45 ;;^UTILITY(U,$J,358.3,8318,0)
+46 ;;=K61.2^^39^397^3
+47 ;;^UTILITY(U,$J,358.3,8318,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,8318,1,3,0)
+50 ;;=3^Abscess,Anorectal
+51 ;;^UTILITY(U,$J,358.3,8318,1,4,0)
+52 ;;=4^K61.2
+53 ;;^UTILITY(U,$J,358.3,8318,2)
+54 ;;=^5008750
+55 ;;^UTILITY(U,$J,358.3,8319,0)
+56 ;;=K50.014^^39^397^24
+57 ;;^UTILITY(U,$J,358.3,8319,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,8319,1,3,0)
+60 ;;=3^Crohn's Disease of Small Intestine w/ Abscess
+61 ;;^UTILITY(U,$J,358.3,8319,1,4,0)
+62 ;;=4^K50.014
+63 ;;^UTILITY(U,$J,358.3,8319,2)
+64 ;;=^5008628
+65 ;;^UTILITY(U,$J,358.3,8320,0)
+66 ;;=K50.114^^39^397^23
+67 ;;^UTILITY(U,$J,358.3,8320,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,8320,1,3,0)
+70 ;;=3^Crohn's Disease of Large Intestine w/ Abscess
+71 ;;^UTILITY(U,$J,358.3,8320,1,4,0)
+72 ;;=4^K50.114
+73 ;;^UTILITY(U,$J,358.3,8320,2)
+74 ;;=^5008635
+75 ;;^UTILITY(U,$J,358.3,8321,0)
+76 ;;=D12.6^^39^397^7
+77 ;;^UTILITY(U,$J,358.3,8321,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,8321,1,3,0)
+80 ;;=3^Adenomatous Polyp of Colon
+81 ;;^UTILITY(U,$J,358.3,8321,1,4,0)
+82 ;;=4^D12.6
+83 ;;^UTILITY(U,$J,358.3,8321,2)
+84 ;;=^5001969
+85 ;;^UTILITY(U,$J,358.3,8322,0)
+86 ;;=K64.9^^39^397^65
+87 ;;^UTILITY(U,$J,358.3,8322,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,8322,1,3,0)
+90 ;;=3^Hemorrhoids w/o Complication
+91 ;;^UTILITY(U,$J,358.3,8322,1,4,0)
+92 ;;=4^K64.9
+93 ;;^UTILITY(U,$J,358.3,8322,2)
+94 ;;=^5008775
+95 ;;^UTILITY(U,$J,358.3,8323,0)
+96 ;;=K50.814^^39^397^32
+97 ;;^UTILITY(U,$J,358.3,8323,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,8323,1,3,0)
+100 ;;=3^Crohn's Disease,Small/Large Intestine w/ Abscess
+101 ;;^UTILITY(U,$J,358.3,8323,1,4,0)
+102 ;;=4^K50.814
+103 ;;^UTILITY(U,$J,358.3,8323,2)
+104 ;;=^5008642
+105 ;;^UTILITY(U,$J,358.3,8324,0)
+106 ;;=D12.9^^39^397^9
+107 ;;^UTILITY(U,$J,358.3,8324,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,8324,1,3,0)
+110 ;;=3^Benign Neop of Anus
+111 ;;^UTILITY(U,$J,358.3,8324,1,4,0)
+112 ;;=4^D12.9
+113 ;;^UTILITY(U,$J,358.3,8324,2)
+114 ;;=^5001972
+115 ;;^UTILITY(U,$J,358.3,8325,0)
+116 ;;=D12.8^^39^397^15
+117 ;;^UTILITY(U,$J,358.3,8325,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,8325,1,3,0)
+120 ;;=3^Benign Neop of Rectum
+121 ;;^UTILITY(U,$J,358.3,8325,1,4,0)
+122 ;;=4^D12.8
+123 ;;^UTILITY(U,$J,358.3,8325,2)
+124 ;;=^5001971
+125 ;;^UTILITY(U,$J,358.3,8326,0)
+126 ;;=K92.2^^39^397^57
+127 ;;^UTILITY(U,$J,358.3,8326,1,0)
+128 ;;=^358.31IA^4^2
+129 ;;^UTILITY(U,$J,358.3,8326,1,3,0)
+130 ;;=3^GI Bleed,Unspec