IBDEI35S ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,50438,1,3,0)
;;=3^Abscess,Rectal
;;^UTILITY(U,$J,358.3,50438,1,4,0)
;;=4^K61.1
;;^UTILITY(U,$J,358.3,50438,2)
;;=^259588
;;^UTILITY(U,$J,358.3,50439,0)
;;=K61.2^^193^2493^3
;;^UTILITY(U,$J,358.3,50439,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50439,1,3,0)
;;=3^Abscess,Anorectal
;;^UTILITY(U,$J,358.3,50439,1,4,0)
;;=4^K61.2
;;^UTILITY(U,$J,358.3,50439,2)
;;=^5008750
;;^UTILITY(U,$J,358.3,50440,0)
;;=K50.014^^193^2493^24
;;^UTILITY(U,$J,358.3,50440,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50440,1,3,0)
;;=3^Crohn's Disease of Small Intestine w/ Abscess
;;^UTILITY(U,$J,358.3,50440,1,4,0)
;;=4^K50.014
;;^UTILITY(U,$J,358.3,50440,2)
;;=^5008628
;;^UTILITY(U,$J,358.3,50441,0)
;;=K50.114^^193^2493^23
;;^UTILITY(U,$J,358.3,50441,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50441,1,3,0)
;;=3^Crohn's Disease of Large Intestine w/ Abscess
;;^UTILITY(U,$J,358.3,50441,1,4,0)
;;=4^K50.114
;;^UTILITY(U,$J,358.3,50441,2)
;;=^5008635
;;^UTILITY(U,$J,358.3,50442,0)
;;=D12.6^^193^2493^7
;;^UTILITY(U,$J,358.3,50442,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50442,1,3,0)
;;=3^Adenomatous Polyp of Colon
;;^UTILITY(U,$J,358.3,50442,1,4,0)
;;=4^D12.6
;;^UTILITY(U,$J,358.3,50442,2)
;;=^5001969
;;^UTILITY(U,$J,358.3,50443,0)
;;=K64.9^^193^2493^64
;;^UTILITY(U,$J,358.3,50443,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50443,1,3,0)
;;=3^Hemorrhoids w/o Complication
;;^UTILITY(U,$J,358.3,50443,1,4,0)
;;=4^K64.9
;;^UTILITY(U,$J,358.3,50443,2)
;;=^5008775
;;^UTILITY(U,$J,358.3,50444,0)
;;=K50.814^^193^2493^32
;;^UTILITY(U,$J,358.3,50444,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50444,1,3,0)
;;=3^Crohn's Disease,Small/Large Intestine w/ Abscess
;;^UTILITY(U,$J,358.3,50444,1,4,0)
;;=4^K50.814
;;^UTILITY(U,$J,358.3,50444,2)
;;=^5008642
;;^UTILITY(U,$J,358.3,50445,0)
;;=D12.9^^193^2493^9
;;^UTILITY(U,$J,358.3,50445,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50445,1,3,0)
;;=3^Benign Neop of Anus
;;^UTILITY(U,$J,358.3,50445,1,4,0)
;;=4^D12.9
;;^UTILITY(U,$J,358.3,50445,2)
;;=^5001972
;;^UTILITY(U,$J,358.3,50446,0)
;;=D12.8^^193^2493^15
;;^UTILITY(U,$J,358.3,50446,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50446,1,3,0)
;;=3^Benign Neop of Rectum
;;^UTILITY(U,$J,358.3,50446,1,4,0)
;;=4^D12.8
;;^UTILITY(U,$J,358.3,50446,2)
;;=^5001971
;;^UTILITY(U,$J,358.3,50447,0)
;;=K92.2^^193^2493^56
;;^UTILITY(U,$J,358.3,50447,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50447,1,3,0)
;;=3^GI Bleed,Unspec
;;^UTILITY(U,$J,358.3,50447,1,4,0)
;;=4^K92.2
;;^UTILITY(U,$J,358.3,50447,2)
;;=^5008915
;;^UTILITY(U,$J,358.3,50448,0)
;;=K62.5^^193^2493^8
;;^UTILITY(U,$J,358.3,50448,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50448,1,3,0)
;;=3^BRBPR
;;^UTILITY(U,$J,358.3,50448,1,4,0)
;;=4^K62.5
;;^UTILITY(U,$J,358.3,50448,2)
;;=^5008755
;;^UTILITY(U,$J,358.3,50449,0)
;;=K92.1^^193^2493^81
;;^UTILITY(U,$J,358.3,50449,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50449,1,3,0)
;;=3^Melena/Hematochezia
;;^UTILITY(U,$J,358.3,50449,1,4,0)
;;=4^K92.1
;;^UTILITY(U,$J,358.3,50449,2)
;;=^5008914
;;^UTILITY(U,$J,358.3,50450,0)
;;=R19.5^^193^2493^55
;;^UTILITY(U,$J,358.3,50450,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50450,1,3,0)
;;=3^Fecal Abnormalities NEC
;;^UTILITY(U,$J,358.3,50450,1,4,0)
;;=4^R19.5
;;^UTILITY(U,$J,358.3,50450,2)
;;=^5019274
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI35S 3766 printed Dec 13, 2024@02:42:21 Page 2
IBDEI35S ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,50438,1,3,0)
+2 ;;=3^Abscess,Rectal
+3 ;;^UTILITY(U,$J,358.3,50438,1,4,0)
+4 ;;=4^K61.1
+5 ;;^UTILITY(U,$J,358.3,50438,2)
+6 ;;=^259588
+7 ;;^UTILITY(U,$J,358.3,50439,0)
+8 ;;=K61.2^^193^2493^3
+9 ;;^UTILITY(U,$J,358.3,50439,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,50439,1,3,0)
+12 ;;=3^Abscess,Anorectal
+13 ;;^UTILITY(U,$J,358.3,50439,1,4,0)
+14 ;;=4^K61.2
+15 ;;^UTILITY(U,$J,358.3,50439,2)
+16 ;;=^5008750
+17 ;;^UTILITY(U,$J,358.3,50440,0)
+18 ;;=K50.014^^193^2493^24
+19 ;;^UTILITY(U,$J,358.3,50440,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,50440,1,3,0)
+22 ;;=3^Crohn's Disease of Small Intestine w/ Abscess
+23 ;;^UTILITY(U,$J,358.3,50440,1,4,0)
+24 ;;=4^K50.014
+25 ;;^UTILITY(U,$J,358.3,50440,2)
+26 ;;=^5008628
+27 ;;^UTILITY(U,$J,358.3,50441,0)
+28 ;;=K50.114^^193^2493^23
+29 ;;^UTILITY(U,$J,358.3,50441,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,50441,1,3,0)
+32 ;;=3^Crohn's Disease of Large Intestine w/ Abscess
+33 ;;^UTILITY(U,$J,358.3,50441,1,4,0)
+34 ;;=4^K50.114
+35 ;;^UTILITY(U,$J,358.3,50441,2)
+36 ;;=^5008635
+37 ;;^UTILITY(U,$J,358.3,50442,0)
+38 ;;=D12.6^^193^2493^7
+39 ;;^UTILITY(U,$J,358.3,50442,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,50442,1,3,0)
+42 ;;=3^Adenomatous Polyp of Colon
+43 ;;^UTILITY(U,$J,358.3,50442,1,4,0)
+44 ;;=4^D12.6
+45 ;;^UTILITY(U,$J,358.3,50442,2)
+46 ;;=^5001969
+47 ;;^UTILITY(U,$J,358.3,50443,0)
+48 ;;=K64.9^^193^2493^64
+49 ;;^UTILITY(U,$J,358.3,50443,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,50443,1,3,0)
+52 ;;=3^Hemorrhoids w/o Complication
+53 ;;^UTILITY(U,$J,358.3,50443,1,4,0)
+54 ;;=4^K64.9
+55 ;;^UTILITY(U,$J,358.3,50443,2)
+56 ;;=^5008775
+57 ;;^UTILITY(U,$J,358.3,50444,0)
+58 ;;=K50.814^^193^2493^32
+59 ;;^UTILITY(U,$J,358.3,50444,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,50444,1,3,0)
+62 ;;=3^Crohn's Disease,Small/Large Intestine w/ Abscess
+63 ;;^UTILITY(U,$J,358.3,50444,1,4,0)
+64 ;;=4^K50.814
+65 ;;^UTILITY(U,$J,358.3,50444,2)
+66 ;;=^5008642
+67 ;;^UTILITY(U,$J,358.3,50445,0)
+68 ;;=D12.9^^193^2493^9
+69 ;;^UTILITY(U,$J,358.3,50445,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,50445,1,3,0)
+72 ;;=3^Benign Neop of Anus
+73 ;;^UTILITY(U,$J,358.3,50445,1,4,0)
+74 ;;=4^D12.9
+75 ;;^UTILITY(U,$J,358.3,50445,2)
+76 ;;=^5001972
+77 ;;^UTILITY(U,$J,358.3,50446,0)
+78 ;;=D12.8^^193^2493^15
+79 ;;^UTILITY(U,$J,358.3,50446,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,50446,1,3,0)
+82 ;;=3^Benign Neop of Rectum
+83 ;;^UTILITY(U,$J,358.3,50446,1,4,0)
+84 ;;=4^D12.8
+85 ;;^UTILITY(U,$J,358.3,50446,2)
+86 ;;=^5001971
+87 ;;^UTILITY(U,$J,358.3,50447,0)
+88 ;;=K92.2^^193^2493^56
+89 ;;^UTILITY(U,$J,358.3,50447,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,50447,1,3,0)
+92 ;;=3^GI Bleed,Unspec
+93 ;;^UTILITY(U,$J,358.3,50447,1,4,0)
+94 ;;=4^K92.2
+95 ;;^UTILITY(U,$J,358.3,50447,2)
+96 ;;=^5008915
+97 ;;^UTILITY(U,$J,358.3,50448,0)
+98 ;;=K62.5^^193^2493^8
+99 ;;^UTILITY(U,$J,358.3,50448,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,50448,1,3,0)
+102 ;;=3^BRBPR
+103 ;;^UTILITY(U,$J,358.3,50448,1,4,0)
+104 ;;=4^K62.5
+105 ;;^UTILITY(U,$J,358.3,50448,2)
+106 ;;=^5008755
+107 ;;^UTILITY(U,$J,358.3,50449,0)
+108 ;;=K92.1^^193^2493^81
+109 ;;^UTILITY(U,$J,358.3,50449,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,50449,1,3,0)
+112 ;;=3^Melena/Hematochezia
+113 ;;^UTILITY(U,$J,358.3,50449,1,4,0)
+114 ;;=4^K92.1
+115 ;;^UTILITY(U,$J,358.3,50449,2)
+116 ;;=^5008914
+117 ;;^UTILITY(U,$J,358.3,50450,0)
+118 ;;=R19.5^^193^2493^55
+119 ;;^UTILITY(U,$J,358.3,50450,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,50450,1,3,0)
+122 ;;=3^Fecal Abnormalities NEC
+123 ;;^UTILITY(U,$J,358.3,50450,1,4,0)
+124 ;;=4^R19.5
+125 ;;^UTILITY(U,$J,358.3,50450,2)
+126 ;;=^5019274