IBDEI0GL ; ; 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,7444,1,3,0)
;;=3^Carcinoid,Benign,Unspec Colon
;;^UTILITY(U,$J,358.3,7444,1,4,0)
;;=4^D3A.029
;;^UTILITY(U,$J,358.3,7444,2)
;;=^5002198
;;^UTILITY(U,$J,358.3,7445,0)
;;=C7A.092^^36^368^29
;;^UTILITY(U,$J,358.3,7445,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7445,1,3,0)
;;=3^Carcinoid,Malignant,Stomach
;;^UTILITY(U,$J,358.3,7445,1,4,0)
;;=4^C7A.092
;;^UTILITY(U,$J,358.3,7445,2)
;;=^5001373
;;^UTILITY(U,$J,358.3,7446,0)
;;=C7A.010^^36^368^24
;;^UTILITY(U,$J,358.3,7446,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7446,1,3,0)
;;=3^Carcinoid,Malignant,Duodenum
;;^UTILITY(U,$J,358.3,7446,1,4,0)
;;=4^C7A.010
;;^UTILITY(U,$J,358.3,7446,2)
;;=^5001359
;;^UTILITY(U,$J,358.3,7447,0)
;;=C7A.011^^36^368^26
;;^UTILITY(U,$J,358.3,7447,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7447,1,3,0)
;;=3^Carcinoid,Malignant,Jejunum
;;^UTILITY(U,$J,358.3,7447,1,4,0)
;;=4^C7A.011
;;^UTILITY(U,$J,358.3,7447,2)
;;=^5001360
;;^UTILITY(U,$J,358.3,7448,0)
;;=C7A.012^^36^368^25
;;^UTILITY(U,$J,358.3,7448,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7448,1,3,0)
;;=3^Carcinoid,Malignant,Ileum
;;^UTILITY(U,$J,358.3,7448,1,4,0)
;;=4^C7A.012
;;^UTILITY(U,$J,358.3,7448,2)
;;=^5001361
;;^UTILITY(U,$J,358.3,7449,0)
;;=C7A.019^^36^368^32
;;^UTILITY(U,$J,358.3,7449,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7449,1,3,0)
;;=3^Carcinoid,Malignant,Unspec Small Intestine
;;^UTILITY(U,$J,358.3,7449,1,4,0)
;;=4^C7A.019
;;^UTILITY(U,$J,358.3,7449,2)
;;=^5001362
;;^UTILITY(U,$J,358.3,7450,0)
;;=C7A.020^^36^368^20
;;^UTILITY(U,$J,358.3,7450,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7450,1,3,0)
;;=3^Carcinoid,Malignant,Appendix
;;^UTILITY(U,$J,358.3,7450,1,4,0)
;;=4^C7A.020
;;^UTILITY(U,$J,358.3,7450,2)
;;=^5001363
;;^UTILITY(U,$J,358.3,7451,0)
;;=C7A.021^^36^368^22
;;^UTILITY(U,$J,358.3,7451,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7451,1,3,0)
;;=3^Carcinoid,Malignant,Cecum
;;^UTILITY(U,$J,358.3,7451,1,4,0)
;;=4^C7A.021
;;^UTILITY(U,$J,358.3,7451,2)
;;=^5001364
;;^UTILITY(U,$J,358.3,7452,0)
;;=C7A.022^^36^368^21
;;^UTILITY(U,$J,358.3,7452,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7452,1,3,0)
;;=3^Carcinoid,Malignant,Ascending
;;^UTILITY(U,$J,358.3,7452,1,4,0)
;;=4^C7A.022
;;^UTILITY(U,$J,358.3,7452,2)
;;=^5001365
;;^UTILITY(U,$J,358.3,7453,0)
;;=C7A.023^^36^368^30
;;^UTILITY(U,$J,358.3,7453,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7453,1,3,0)
;;=3^Carcinoid,Malignant,Transverse
;;^UTILITY(U,$J,358.3,7453,1,4,0)
;;=4^C7A.023
;;^UTILITY(U,$J,358.3,7453,2)
;;=^5001366
;;^UTILITY(U,$J,358.3,7454,0)
;;=C7A.024^^36^368^23
;;^UTILITY(U,$J,358.3,7454,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7454,1,3,0)
;;=3^Carcinoid,Malignant,Descending
;;^UTILITY(U,$J,358.3,7454,1,4,0)
;;=4^C7A.024
;;^UTILITY(U,$J,358.3,7454,2)
;;=^5001367
;;^UTILITY(U,$J,358.3,7455,0)
;;=C7A.025^^36^368^28
;;^UTILITY(U,$J,358.3,7455,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7455,1,3,0)
;;=3^Carcinoid,Malignant,Sigmoid
;;^UTILITY(U,$J,358.3,7455,1,4,0)
;;=4^C7A.025
;;^UTILITY(U,$J,358.3,7455,2)
;;=^5001368
;;^UTILITY(U,$J,358.3,7456,0)
;;=C7A.026^^36^368^27
;;^UTILITY(U,$J,358.3,7456,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7456,1,3,0)
;;=3^Carcinoid,Malignant,Rectum
;;^UTILITY(U,$J,358.3,7456,1,4,0)
;;=4^C7A.026
;;^UTILITY(U,$J,358.3,7456,2)
;;=^5001369
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0GL 3770 printed Oct 16, 2024@17:49:07 Page 2
IBDEI0GL ; ; 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,7444,1,3,0)
+2 ;;=3^Carcinoid,Benign,Unspec Colon
+3 ;;^UTILITY(U,$J,358.3,7444,1,4,0)
+4 ;;=4^D3A.029
+5 ;;^UTILITY(U,$J,358.3,7444,2)
+6 ;;=^5002198
+7 ;;^UTILITY(U,$J,358.3,7445,0)
+8 ;;=C7A.092^^36^368^29
+9 ;;^UTILITY(U,$J,358.3,7445,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,7445,1,3,0)
+12 ;;=3^Carcinoid,Malignant,Stomach
+13 ;;^UTILITY(U,$J,358.3,7445,1,4,0)
+14 ;;=4^C7A.092
+15 ;;^UTILITY(U,$J,358.3,7445,2)
+16 ;;=^5001373
+17 ;;^UTILITY(U,$J,358.3,7446,0)
+18 ;;=C7A.010^^36^368^24
+19 ;;^UTILITY(U,$J,358.3,7446,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,7446,1,3,0)
+22 ;;=3^Carcinoid,Malignant,Duodenum
+23 ;;^UTILITY(U,$J,358.3,7446,1,4,0)
+24 ;;=4^C7A.010
+25 ;;^UTILITY(U,$J,358.3,7446,2)
+26 ;;=^5001359
+27 ;;^UTILITY(U,$J,358.3,7447,0)
+28 ;;=C7A.011^^36^368^26
+29 ;;^UTILITY(U,$J,358.3,7447,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,7447,1,3,0)
+32 ;;=3^Carcinoid,Malignant,Jejunum
+33 ;;^UTILITY(U,$J,358.3,7447,1,4,0)
+34 ;;=4^C7A.011
+35 ;;^UTILITY(U,$J,358.3,7447,2)
+36 ;;=^5001360
+37 ;;^UTILITY(U,$J,358.3,7448,0)
+38 ;;=C7A.012^^36^368^25
+39 ;;^UTILITY(U,$J,358.3,7448,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,7448,1,3,0)
+42 ;;=3^Carcinoid,Malignant,Ileum
+43 ;;^UTILITY(U,$J,358.3,7448,1,4,0)
+44 ;;=4^C7A.012
+45 ;;^UTILITY(U,$J,358.3,7448,2)
+46 ;;=^5001361
+47 ;;^UTILITY(U,$J,358.3,7449,0)
+48 ;;=C7A.019^^36^368^32
+49 ;;^UTILITY(U,$J,358.3,7449,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,7449,1,3,0)
+52 ;;=3^Carcinoid,Malignant,Unspec Small Intestine
+53 ;;^UTILITY(U,$J,358.3,7449,1,4,0)
+54 ;;=4^C7A.019
+55 ;;^UTILITY(U,$J,358.3,7449,2)
+56 ;;=^5001362
+57 ;;^UTILITY(U,$J,358.3,7450,0)
+58 ;;=C7A.020^^36^368^20
+59 ;;^UTILITY(U,$J,358.3,7450,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,7450,1,3,0)
+62 ;;=3^Carcinoid,Malignant,Appendix
+63 ;;^UTILITY(U,$J,358.3,7450,1,4,0)
+64 ;;=4^C7A.020
+65 ;;^UTILITY(U,$J,358.3,7450,2)
+66 ;;=^5001363
+67 ;;^UTILITY(U,$J,358.3,7451,0)
+68 ;;=C7A.021^^36^368^22
+69 ;;^UTILITY(U,$J,358.3,7451,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,7451,1,3,0)
+72 ;;=3^Carcinoid,Malignant,Cecum
+73 ;;^UTILITY(U,$J,358.3,7451,1,4,0)
+74 ;;=4^C7A.021
+75 ;;^UTILITY(U,$J,358.3,7451,2)
+76 ;;=^5001364
+77 ;;^UTILITY(U,$J,358.3,7452,0)
+78 ;;=C7A.022^^36^368^21
+79 ;;^UTILITY(U,$J,358.3,7452,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,7452,1,3,0)
+82 ;;=3^Carcinoid,Malignant,Ascending
+83 ;;^UTILITY(U,$J,358.3,7452,1,4,0)
+84 ;;=4^C7A.022
+85 ;;^UTILITY(U,$J,358.3,7452,2)
+86 ;;=^5001365
+87 ;;^UTILITY(U,$J,358.3,7453,0)
+88 ;;=C7A.023^^36^368^30
+89 ;;^UTILITY(U,$J,358.3,7453,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,7453,1,3,0)
+92 ;;=3^Carcinoid,Malignant,Transverse
+93 ;;^UTILITY(U,$J,358.3,7453,1,4,0)
+94 ;;=4^C7A.023
+95 ;;^UTILITY(U,$J,358.3,7453,2)
+96 ;;=^5001366
+97 ;;^UTILITY(U,$J,358.3,7454,0)
+98 ;;=C7A.024^^36^368^23
+99 ;;^UTILITY(U,$J,358.3,7454,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,7454,1,3,0)
+102 ;;=3^Carcinoid,Malignant,Descending
+103 ;;^UTILITY(U,$J,358.3,7454,1,4,0)
+104 ;;=4^C7A.024
+105 ;;^UTILITY(U,$J,358.3,7454,2)
+106 ;;=^5001367
+107 ;;^UTILITY(U,$J,358.3,7455,0)
+108 ;;=C7A.025^^36^368^28
+109 ;;^UTILITY(U,$J,358.3,7455,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,7455,1,3,0)
+112 ;;=3^Carcinoid,Malignant,Sigmoid
+113 ;;^UTILITY(U,$J,358.3,7455,1,4,0)
+114 ;;=4^C7A.025
+115 ;;^UTILITY(U,$J,358.3,7455,2)
+116 ;;=^5001368
+117 ;;^UTILITY(U,$J,358.3,7456,0)
+118 ;;=C7A.026^^36^368^27
+119 ;;^UTILITY(U,$J,358.3,7456,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,7456,1,3,0)
+122 ;;=3^Carcinoid,Malignant,Rectum
+123 ;;^UTILITY(U,$J,358.3,7456,1,4,0)
+124 ;;=4^C7A.026
+125 ;;^UTILITY(U,$J,358.3,7456,2)
+126 ;;=^5001369