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