IBDEI0GF ; ; 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,7367,2)
;;=^5159287
;;^UTILITY(U,$J,358.3,7368,0)
;;=N18.32^^36^365^23
;;^UTILITY(U,$J,358.3,7368,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7368,1,3,0)
;;=3^CKD Stage 3b
;;^UTILITY(U,$J,358.3,7368,1,4,0)
;;=4^N18.32
;;^UTILITY(U,$J,358.3,7368,2)
;;=^5159288
;;^UTILITY(U,$J,358.3,7369,0)
;;=Z59.00^^36^365^38
;;^UTILITY(U,$J,358.3,7369,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7369,1,3,0)
;;=3^Homelessness,Unspec
;;^UTILITY(U,$J,358.3,7369,1,4,0)
;;=4^Z59.00
;;^UTILITY(U,$J,358.3,7369,2)
;;=^5161304
;;^UTILITY(U,$J,358.3,7370,0)
;;=K61.0^^36^366^1
;;^UTILITY(U,$J,358.3,7370,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7370,1,3,0)
;;=3^Abscess of Anus
;;^UTILITY(U,$J,358.3,7370,1,4,0)
;;=4^K61.0
;;^UTILITY(U,$J,358.3,7370,2)
;;=^5008749
;;^UTILITY(U,$J,358.3,7371,0)
;;=K60.0^^36^366^2
;;^UTILITY(U,$J,358.3,7371,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7371,1,3,0)
;;=3^Anal Fissure,Acute
;;^UTILITY(U,$J,358.3,7371,1,4,0)
;;=4^K60.0
;;^UTILITY(U,$J,358.3,7371,2)
;;=^5008745
;;^UTILITY(U,$J,358.3,7372,0)
;;=K60.1^^36^366^3
;;^UTILITY(U,$J,358.3,7372,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7372,1,3,0)
;;=3^Anal Fissure,Chronic
;;^UTILITY(U,$J,358.3,7372,1,4,0)
;;=4^K60.1
;;^UTILITY(U,$J,358.3,7372,2)
;;=^5008746
;;^UTILITY(U,$J,358.3,7373,0)
;;=D12.9^^36^366^5
;;^UTILITY(U,$J,358.3,7373,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7373,1,3,0)
;;=3^Benign neoplasm,Anal Canal
;;^UTILITY(U,$J,358.3,7373,1,4,0)
;;=4^D12.9
;;^UTILITY(U,$J,358.3,7373,2)
;;=^5001972
;;^UTILITY(U,$J,358.3,7374,0)
;;=D12.8^^36^366^6
;;^UTILITY(U,$J,358.3,7374,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7374,1,3,0)
;;=3^Benign neoplasm,Rectum
;;^UTILITY(U,$J,358.3,7374,1,4,0)
;;=4^D12.8
;;^UTILITY(U,$J,358.3,7374,2)
;;=^5001971
;;^UTILITY(U,$J,358.3,7375,0)
;;=D01.2^^36^366^7
;;^UTILITY(U,$J,358.3,7375,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7375,1,3,0)
;;=3^Carcinoma in situ of Rectum
;;^UTILITY(U,$J,358.3,7375,1,4,0)
;;=4^D01.2
;;^UTILITY(U,$J,358.3,7375,2)
;;=^267713
;;^UTILITY(U,$J,358.3,7376,0)
;;=K60.3^^36^366^9
;;^UTILITY(U,$J,358.3,7376,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7376,1,3,0)
;;=3^Fistula,Anal
;;^UTILITY(U,$J,358.3,7376,1,4,0)
;;=4^K60.3
;;^UTILITY(U,$J,358.3,7376,2)
;;=^6684
;;^UTILITY(U,$J,358.3,7377,0)
;;=K60.5^^36^366^10
;;^UTILITY(U,$J,358.3,7377,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7377,1,3,0)
;;=3^Fistula,Anorectal
;;^UTILITY(U,$J,358.3,7377,1,4,0)
;;=4^K60.5
;;^UTILITY(U,$J,358.3,7377,2)
;;=^5008748
;;^UTILITY(U,$J,358.3,7378,0)
;;=K60.4^^36^366^11
;;^UTILITY(U,$J,358.3,7378,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7378,1,3,0)
;;=3^Fistula,Rectum
;;^UTILITY(U,$J,358.3,7378,1,4,0)
;;=4^K60.4
;;^UTILITY(U,$J,358.3,7378,2)
;;=^104084
;;^UTILITY(U,$J,358.3,7379,0)
;;=K64.0^^36^366^12
;;^UTILITY(U,$J,358.3,7379,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7379,1,3,0)
;;=3^Hemorrhoids,1st degree
;;^UTILITY(U,$J,358.3,7379,1,4,0)
;;=4^K64.0
;;^UTILITY(U,$J,358.3,7379,2)
;;=^5008769
;;^UTILITY(U,$J,358.3,7380,0)
;;=K64.1^^36^366^13
;;^UTILITY(U,$J,358.3,7380,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7380,1,3,0)
;;=3^Hemorrhoids,2nd degree
;;^UTILITY(U,$J,358.3,7380,1,4,0)
;;=4^K64.1
;;^UTILITY(U,$J,358.3,7380,2)
;;=^5008770
;;^UTILITY(U,$J,358.3,7381,0)
;;=K64.2^^36^366^14
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0GF 3792 printed Nov 22, 2024@16:58:23 Page 2
IBDEI0GF ; ; 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,7367,2)
+2 ;;=^5159287
+3 ;;^UTILITY(U,$J,358.3,7368,0)
+4 ;;=N18.32^^36^365^23
+5 ;;^UTILITY(U,$J,358.3,7368,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,7368,1,3,0)
+8 ;;=3^CKD Stage 3b
+9 ;;^UTILITY(U,$J,358.3,7368,1,4,0)
+10 ;;=4^N18.32
+11 ;;^UTILITY(U,$J,358.3,7368,2)
+12 ;;=^5159288
+13 ;;^UTILITY(U,$J,358.3,7369,0)
+14 ;;=Z59.00^^36^365^38
+15 ;;^UTILITY(U,$J,358.3,7369,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,7369,1,3,0)
+18 ;;=3^Homelessness,Unspec
+19 ;;^UTILITY(U,$J,358.3,7369,1,4,0)
+20 ;;=4^Z59.00
+21 ;;^UTILITY(U,$J,358.3,7369,2)
+22 ;;=^5161304
+23 ;;^UTILITY(U,$J,358.3,7370,0)
+24 ;;=K61.0^^36^366^1
+25 ;;^UTILITY(U,$J,358.3,7370,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,7370,1,3,0)
+28 ;;=3^Abscess of Anus
+29 ;;^UTILITY(U,$J,358.3,7370,1,4,0)
+30 ;;=4^K61.0
+31 ;;^UTILITY(U,$J,358.3,7370,2)
+32 ;;=^5008749
+33 ;;^UTILITY(U,$J,358.3,7371,0)
+34 ;;=K60.0^^36^366^2
+35 ;;^UTILITY(U,$J,358.3,7371,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,7371,1,3,0)
+38 ;;=3^Anal Fissure,Acute
+39 ;;^UTILITY(U,$J,358.3,7371,1,4,0)
+40 ;;=4^K60.0
+41 ;;^UTILITY(U,$J,358.3,7371,2)
+42 ;;=^5008745
+43 ;;^UTILITY(U,$J,358.3,7372,0)
+44 ;;=K60.1^^36^366^3
+45 ;;^UTILITY(U,$J,358.3,7372,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,7372,1,3,0)
+48 ;;=3^Anal Fissure,Chronic
+49 ;;^UTILITY(U,$J,358.3,7372,1,4,0)
+50 ;;=4^K60.1
+51 ;;^UTILITY(U,$J,358.3,7372,2)
+52 ;;=^5008746
+53 ;;^UTILITY(U,$J,358.3,7373,0)
+54 ;;=D12.9^^36^366^5
+55 ;;^UTILITY(U,$J,358.3,7373,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,7373,1,3,0)
+58 ;;=3^Benign neoplasm,Anal Canal
+59 ;;^UTILITY(U,$J,358.3,7373,1,4,0)
+60 ;;=4^D12.9
+61 ;;^UTILITY(U,$J,358.3,7373,2)
+62 ;;=^5001972
+63 ;;^UTILITY(U,$J,358.3,7374,0)
+64 ;;=D12.8^^36^366^6
+65 ;;^UTILITY(U,$J,358.3,7374,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,7374,1,3,0)
+68 ;;=3^Benign neoplasm,Rectum
+69 ;;^UTILITY(U,$J,358.3,7374,1,4,0)
+70 ;;=4^D12.8
+71 ;;^UTILITY(U,$J,358.3,7374,2)
+72 ;;=^5001971
+73 ;;^UTILITY(U,$J,358.3,7375,0)
+74 ;;=D01.2^^36^366^7
+75 ;;^UTILITY(U,$J,358.3,7375,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,7375,1,3,0)
+78 ;;=3^Carcinoma in situ of Rectum
+79 ;;^UTILITY(U,$J,358.3,7375,1,4,0)
+80 ;;=4^D01.2
+81 ;;^UTILITY(U,$J,358.3,7375,2)
+82 ;;=^267713
+83 ;;^UTILITY(U,$J,358.3,7376,0)
+84 ;;=K60.3^^36^366^9
+85 ;;^UTILITY(U,$J,358.3,7376,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,7376,1,3,0)
+88 ;;=3^Fistula,Anal
+89 ;;^UTILITY(U,$J,358.3,7376,1,4,0)
+90 ;;=4^K60.3
+91 ;;^UTILITY(U,$J,358.3,7376,2)
+92 ;;=^6684
+93 ;;^UTILITY(U,$J,358.3,7377,0)
+94 ;;=K60.5^^36^366^10
+95 ;;^UTILITY(U,$J,358.3,7377,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,7377,1,3,0)
+98 ;;=3^Fistula,Anorectal
+99 ;;^UTILITY(U,$J,358.3,7377,1,4,0)
+100 ;;=4^K60.5
+101 ;;^UTILITY(U,$J,358.3,7377,2)
+102 ;;=^5008748
+103 ;;^UTILITY(U,$J,358.3,7378,0)
+104 ;;=K60.4^^36^366^11
+105 ;;^UTILITY(U,$J,358.3,7378,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,7378,1,3,0)
+108 ;;=3^Fistula,Rectum
+109 ;;^UTILITY(U,$J,358.3,7378,1,4,0)
+110 ;;=4^K60.4
+111 ;;^UTILITY(U,$J,358.3,7378,2)
+112 ;;=^104084
+113 ;;^UTILITY(U,$J,358.3,7379,0)
+114 ;;=K64.0^^36^366^12
+115 ;;^UTILITY(U,$J,358.3,7379,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,7379,1,3,0)
+118 ;;=3^Hemorrhoids,1st degree
+119 ;;^UTILITY(U,$J,358.3,7379,1,4,0)
+120 ;;=4^K64.0
+121 ;;^UTILITY(U,$J,358.3,7379,2)
+122 ;;=^5008769
+123 ;;^UTILITY(U,$J,358.3,7380,0)
+124 ;;=K64.1^^36^366^13
+125 ;;^UTILITY(U,$J,358.3,7380,1,0)
+126 ;;=^358.31IA^4^2
+127 ;;^UTILITY(U,$J,358.3,7380,1,3,0)
+128 ;;=3^Hemorrhoids,2nd degree
+129 ;;^UTILITY(U,$J,358.3,7380,1,4,0)
+130 ;;=4^K64.1
+131 ;;^UTILITY(U,$J,358.3,7380,2)
+132 ;;=^5008770
+133 ;;^UTILITY(U,$J,358.3,7381,0)
+134 ;;=K64.2^^36^366^14