IBDEI0GK ; ; 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,7431,1,4,0)
;;=4^E85.4
;;^UTILITY(U,$J,358.3,7431,2)
;;=^5003017
;;^UTILITY(U,$J,358.3,7432,0)
;;=D3A.092^^36^368^16
;;^UTILITY(U,$J,358.3,7432,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7432,1,3,0)
;;=3^Carcinoid,Benign,Stomach
;;^UTILITY(U,$J,358.3,7432,1,4,0)
;;=4^D3A.092
;;^UTILITY(U,$J,358.3,7432,2)
;;=^5002201
;;^UTILITY(U,$J,358.3,7433,0)
;;=D3A.010^^36^368^11
;;^UTILITY(U,$J,358.3,7433,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7433,1,3,0)
;;=3^Carcinoid,Benign,Duodenum
;;^UTILITY(U,$J,358.3,7433,1,4,0)
;;=4^D3A.010
;;^UTILITY(U,$J,358.3,7433,2)
;;=^5002187
;;^UTILITY(U,$J,358.3,7434,0)
;;=D3A.011^^36^368^13
;;^UTILITY(U,$J,358.3,7434,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7434,1,3,0)
;;=3^Carcinoid,Benign,Jejunum
;;^UTILITY(U,$J,358.3,7434,1,4,0)
;;=4^D3A.011
;;^UTILITY(U,$J,358.3,7434,2)
;;=^5002188
;;^UTILITY(U,$J,358.3,7435,0)
;;=D3A.012^^36^368^12
;;^UTILITY(U,$J,358.3,7435,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7435,1,3,0)
;;=3^Carcinoid,Benign,Ileum
;;^UTILITY(U,$J,358.3,7435,1,4,0)
;;=4^D3A.012
;;^UTILITY(U,$J,358.3,7435,2)
;;=^5002189
;;^UTILITY(U,$J,358.3,7436,0)
;;=D3A.019^^36^368^18
;;^UTILITY(U,$J,358.3,7436,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7436,1,3,0)
;;=3^Carcinoid,Benign,Unspc Small Intestine
;;^UTILITY(U,$J,358.3,7436,1,4,0)
;;=4^D3A.019
;;^UTILITY(U,$J,358.3,7436,2)
;;=^5002190
;;^UTILITY(U,$J,358.3,7437,0)
;;=D3A.020^^36^368^7
;;^UTILITY(U,$J,358.3,7437,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7437,1,3,0)
;;=3^Carcinoid,Benign,Appendix
;;^UTILITY(U,$J,358.3,7437,1,4,0)
;;=4^D3A.020
;;^UTILITY(U,$J,358.3,7437,2)
;;=^5002191
;;^UTILITY(U,$J,358.3,7438,0)
;;=D3A.021^^36^368^9
;;^UTILITY(U,$J,358.3,7438,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7438,1,3,0)
;;=3^Carcinoid,Benign,Cecum
;;^UTILITY(U,$J,358.3,7438,1,4,0)
;;=4^D3A.021
;;^UTILITY(U,$J,358.3,7438,2)
;;=^5002192
;;^UTILITY(U,$J,358.3,7439,0)
;;=D3A.022^^36^368^8
;;^UTILITY(U,$J,358.3,7439,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7439,1,3,0)
;;=3^Carcinoid,Benign,Ascending
;;^UTILITY(U,$J,358.3,7439,1,4,0)
;;=4^D3A.022
;;^UTILITY(U,$J,358.3,7439,2)
;;=^5002193
;;^UTILITY(U,$J,358.3,7440,0)
;;=D3A.023^^36^368^17
;;^UTILITY(U,$J,358.3,7440,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7440,1,3,0)
;;=3^Carcinoid,Benign,Transverse
;;^UTILITY(U,$J,358.3,7440,1,4,0)
;;=4^D3A.023
;;^UTILITY(U,$J,358.3,7440,2)
;;=^5002194
;;^UTILITY(U,$J,358.3,7441,0)
;;=D3A.024^^36^368^10
;;^UTILITY(U,$J,358.3,7441,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7441,1,3,0)
;;=3^Carcinoid,Benign,Descending
;;^UTILITY(U,$J,358.3,7441,1,4,0)
;;=4^D3A.024
;;^UTILITY(U,$J,358.3,7441,2)
;;=^5002195
;;^UTILITY(U,$J,358.3,7442,0)
;;=D3A.025^^36^368^15
;;^UTILITY(U,$J,358.3,7442,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7442,1,3,0)
;;=3^Carcinoid,Benign,Sigmoid
;;^UTILITY(U,$J,358.3,7442,1,4,0)
;;=4^D3A.025
;;^UTILITY(U,$J,358.3,7442,2)
;;=^5002196
;;^UTILITY(U,$J,358.3,7443,0)
;;=D3A.026^^36^368^14
;;^UTILITY(U,$J,358.3,7443,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7443,1,3,0)
;;=3^Carcinoid,Benign,Rectum
;;^UTILITY(U,$J,358.3,7443,1,4,0)
;;=4^D3A.026
;;^UTILITY(U,$J,358.3,7443,2)
;;=^5002197
;;^UTILITY(U,$J,358.3,7444,0)
;;=D3A.029^^36^368^19
;;^UTILITY(U,$J,358.3,7444,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0GK 3764 printed Nov 22, 2024@16:58:28 Page 2
IBDEI0GK ; ; 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,7431,1,4,0)
+2 ;;=4^E85.4
+3 ;;^UTILITY(U,$J,358.3,7431,2)
+4 ;;=^5003017
+5 ;;^UTILITY(U,$J,358.3,7432,0)
+6 ;;=D3A.092^^36^368^16
+7 ;;^UTILITY(U,$J,358.3,7432,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,7432,1,3,0)
+10 ;;=3^Carcinoid,Benign,Stomach
+11 ;;^UTILITY(U,$J,358.3,7432,1,4,0)
+12 ;;=4^D3A.092
+13 ;;^UTILITY(U,$J,358.3,7432,2)
+14 ;;=^5002201
+15 ;;^UTILITY(U,$J,358.3,7433,0)
+16 ;;=D3A.010^^36^368^11
+17 ;;^UTILITY(U,$J,358.3,7433,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,7433,1,3,0)
+20 ;;=3^Carcinoid,Benign,Duodenum
+21 ;;^UTILITY(U,$J,358.3,7433,1,4,0)
+22 ;;=4^D3A.010
+23 ;;^UTILITY(U,$J,358.3,7433,2)
+24 ;;=^5002187
+25 ;;^UTILITY(U,$J,358.3,7434,0)
+26 ;;=D3A.011^^36^368^13
+27 ;;^UTILITY(U,$J,358.3,7434,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,7434,1,3,0)
+30 ;;=3^Carcinoid,Benign,Jejunum
+31 ;;^UTILITY(U,$J,358.3,7434,1,4,0)
+32 ;;=4^D3A.011
+33 ;;^UTILITY(U,$J,358.3,7434,2)
+34 ;;=^5002188
+35 ;;^UTILITY(U,$J,358.3,7435,0)
+36 ;;=D3A.012^^36^368^12
+37 ;;^UTILITY(U,$J,358.3,7435,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,7435,1,3,0)
+40 ;;=3^Carcinoid,Benign,Ileum
+41 ;;^UTILITY(U,$J,358.3,7435,1,4,0)
+42 ;;=4^D3A.012
+43 ;;^UTILITY(U,$J,358.3,7435,2)
+44 ;;=^5002189
+45 ;;^UTILITY(U,$J,358.3,7436,0)
+46 ;;=D3A.019^^36^368^18
+47 ;;^UTILITY(U,$J,358.3,7436,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,7436,1,3,0)
+50 ;;=3^Carcinoid,Benign,Unspc Small Intestine
+51 ;;^UTILITY(U,$J,358.3,7436,1,4,0)
+52 ;;=4^D3A.019
+53 ;;^UTILITY(U,$J,358.3,7436,2)
+54 ;;=^5002190
+55 ;;^UTILITY(U,$J,358.3,7437,0)
+56 ;;=D3A.020^^36^368^7
+57 ;;^UTILITY(U,$J,358.3,7437,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,7437,1,3,0)
+60 ;;=3^Carcinoid,Benign,Appendix
+61 ;;^UTILITY(U,$J,358.3,7437,1,4,0)
+62 ;;=4^D3A.020
+63 ;;^UTILITY(U,$J,358.3,7437,2)
+64 ;;=^5002191
+65 ;;^UTILITY(U,$J,358.3,7438,0)
+66 ;;=D3A.021^^36^368^9
+67 ;;^UTILITY(U,$J,358.3,7438,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,7438,1,3,0)
+70 ;;=3^Carcinoid,Benign,Cecum
+71 ;;^UTILITY(U,$J,358.3,7438,1,4,0)
+72 ;;=4^D3A.021
+73 ;;^UTILITY(U,$J,358.3,7438,2)
+74 ;;=^5002192
+75 ;;^UTILITY(U,$J,358.3,7439,0)
+76 ;;=D3A.022^^36^368^8
+77 ;;^UTILITY(U,$J,358.3,7439,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,7439,1,3,0)
+80 ;;=3^Carcinoid,Benign,Ascending
+81 ;;^UTILITY(U,$J,358.3,7439,1,4,0)
+82 ;;=4^D3A.022
+83 ;;^UTILITY(U,$J,358.3,7439,2)
+84 ;;=^5002193
+85 ;;^UTILITY(U,$J,358.3,7440,0)
+86 ;;=D3A.023^^36^368^17
+87 ;;^UTILITY(U,$J,358.3,7440,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,7440,1,3,0)
+90 ;;=3^Carcinoid,Benign,Transverse
+91 ;;^UTILITY(U,$J,358.3,7440,1,4,0)
+92 ;;=4^D3A.023
+93 ;;^UTILITY(U,$J,358.3,7440,2)
+94 ;;=^5002194
+95 ;;^UTILITY(U,$J,358.3,7441,0)
+96 ;;=D3A.024^^36^368^10
+97 ;;^UTILITY(U,$J,358.3,7441,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,7441,1,3,0)
+100 ;;=3^Carcinoid,Benign,Descending
+101 ;;^UTILITY(U,$J,358.3,7441,1,4,0)
+102 ;;=4^D3A.024
+103 ;;^UTILITY(U,$J,358.3,7441,2)
+104 ;;=^5002195
+105 ;;^UTILITY(U,$J,358.3,7442,0)
+106 ;;=D3A.025^^36^368^15
+107 ;;^UTILITY(U,$J,358.3,7442,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,7442,1,3,0)
+110 ;;=3^Carcinoid,Benign,Sigmoid
+111 ;;^UTILITY(U,$J,358.3,7442,1,4,0)
+112 ;;=4^D3A.025
+113 ;;^UTILITY(U,$J,358.3,7442,2)
+114 ;;=^5002196
+115 ;;^UTILITY(U,$J,358.3,7443,0)
+116 ;;=D3A.026^^36^368^14
+117 ;;^UTILITY(U,$J,358.3,7443,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,7443,1,3,0)
+120 ;;=3^Carcinoid,Benign,Rectum
+121 ;;^UTILITY(U,$J,358.3,7443,1,4,0)
+122 ;;=4^D3A.026
+123 ;;^UTILITY(U,$J,358.3,7443,2)
+124 ;;=^5002197
+125 ;;^UTILITY(U,$J,358.3,7444,0)
+126 ;;=D3A.029^^36^368^19
+127 ;;^UTILITY(U,$J,358.3,7444,1,0)
+128 ;;=^358.31IA^4^2