IBDEI0J4 ; ; 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,8602,1,4,0)
;;=4^C11.9
;;^UTILITY(U,$J,358.3,8602,2)
;;=^5000911
;;^UTILITY(U,$J,358.3,8603,0)
;;=C10.9^^39^401^152
;;^UTILITY(U,$J,358.3,8603,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8603,1,3,0)
;;=3^Malig Neop Oropharynx,Unspec
;;^UTILITY(U,$J,358.3,8603,1,4,0)
;;=4^C10.9
;;^UTILITY(U,$J,358.3,8603,2)
;;=^5000909
;;^UTILITY(U,$J,358.3,8604,0)
;;=C25.9^^39^401^153
;;^UTILITY(U,$J,358.3,8604,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8604,1,3,0)
;;=3^Malig Neop Pancreas,Unspec
;;^UTILITY(U,$J,358.3,8604,1,4,0)
;;=4^C25.9
;;^UTILITY(U,$J,358.3,8604,2)
;;=^5000946
;;^UTILITY(U,$J,358.3,8605,0)
;;=C47.9^^39^401^154
;;^UTILITY(U,$J,358.3,8605,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8605,1,3,0)
;;=3^Malig Neop Peripheral Nerves/Autonomic Nervous System,Unspec
;;^UTILITY(U,$J,358.3,8605,1,4,0)
;;=4^C47.9
;;^UTILITY(U,$J,358.3,8605,2)
;;=^5001121
;;^UTILITY(U,$J,358.3,8606,0)
;;=C38.4^^39^401^155
;;^UTILITY(U,$J,358.3,8606,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8606,1,3,0)
;;=3^Malig Neop Pleura
;;^UTILITY(U,$J,358.3,8606,1,4,0)
;;=4^C38.4
;;^UTILITY(U,$J,358.3,8606,2)
;;=^267140
;;^UTILITY(U,$J,358.3,8607,0)
;;=C61.^^39^401^156
;;^UTILITY(U,$J,358.3,8607,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8607,1,3,0)
;;=3^Malig Neop Prostate
;;^UTILITY(U,$J,358.3,8607,1,4,0)
;;=4^C61.
;;^UTILITY(U,$J,358.3,8607,2)
;;=^267239
;;^UTILITY(U,$J,358.3,8608,0)
;;=C20.^^39^401^157
;;^UTILITY(U,$J,358.3,8608,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8608,1,3,0)
;;=3^Malig Neop Rectum
;;^UTILITY(U,$J,358.3,8608,1,4,0)
;;=4^C20.
;;^UTILITY(U,$J,358.3,8608,2)
;;=^267090
;;^UTILITY(U,$J,358.3,8609,0)
;;=C64.1^^39^401^162
;;^UTILITY(U,$J,358.3,8609,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8609,1,3,0)
;;=3^Malig Neop Right Kidney,Except Renal pelvis
;;^UTILITY(U,$J,358.3,8609,1,4,0)
;;=4^C64.1
;;^UTILITY(U,$J,358.3,8609,2)
;;=^5001248
;;^UTILITY(U,$J,358.3,8610,0)
;;=C65.1^^39^401^165
;;^UTILITY(U,$J,358.3,8610,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8610,1,3,0)
;;=3^Malig Neop Right Renal Pelvis
;;^UTILITY(U,$J,358.3,8610,1,4,0)
;;=4^C65.1
;;^UTILITY(U,$J,358.3,8610,2)
;;=^5001251
;;^UTILITY(U,$J,358.3,8611,0)
;;=C62.91^^39^401^166
;;^UTILITY(U,$J,358.3,8611,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8611,1,3,0)
;;=3^Malig Neop Right Testis
;;^UTILITY(U,$J,358.3,8611,1,4,0)
;;=4^C62.91
;;^UTILITY(U,$J,358.3,8611,2)
;;=^5001237
;;^UTILITY(U,$J,358.3,8612,0)
;;=C17.9^^39^401^167
;;^UTILITY(U,$J,358.3,8612,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8612,1,3,0)
;;=3^Malig Neop Small Intestine,Unspec
;;^UTILITY(U,$J,358.3,8612,1,4,0)
;;=4^C17.9
;;^UTILITY(U,$J,358.3,8612,2)
;;=^5000926
;;^UTILITY(U,$J,358.3,8613,0)
;;=C16.9^^39^401^168
;;^UTILITY(U,$J,358.3,8613,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8613,1,3,0)
;;=3^Malig Neop Stomach,Unspec
;;^UTILITY(U,$J,358.3,8613,1,4,0)
;;=4^C16.9
;;^UTILITY(U,$J,358.3,8613,2)
;;=^5000923
;;^UTILITY(U,$J,358.3,8614,0)
;;=C02.9^^39^401^170
;;^UTILITY(U,$J,358.3,8614,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8614,1,3,0)
;;=3^Malig Neop Tongue,Unspec
;;^UTILITY(U,$J,358.3,8614,1,4,0)
;;=4^C02.9
;;^UTILITY(U,$J,358.3,8614,2)
;;=^5000891
;;^UTILITY(U,$J,358.3,8615,0)
;;=C64.9^^39^401^135
;;^UTILITY(U,$J,358.3,8615,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0J4 3762 printed Dec 13, 2024@01:49:41 Page 2
IBDEI0J4 ; ; 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,8602,1,4,0)
+2 ;;=4^C11.9
+3 ;;^UTILITY(U,$J,358.3,8602,2)
+4 ;;=^5000911
+5 ;;^UTILITY(U,$J,358.3,8603,0)
+6 ;;=C10.9^^39^401^152
+7 ;;^UTILITY(U,$J,358.3,8603,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,8603,1,3,0)
+10 ;;=3^Malig Neop Oropharynx,Unspec
+11 ;;^UTILITY(U,$J,358.3,8603,1,4,0)
+12 ;;=4^C10.9
+13 ;;^UTILITY(U,$J,358.3,8603,2)
+14 ;;=^5000909
+15 ;;^UTILITY(U,$J,358.3,8604,0)
+16 ;;=C25.9^^39^401^153
+17 ;;^UTILITY(U,$J,358.3,8604,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,8604,1,3,0)
+20 ;;=3^Malig Neop Pancreas,Unspec
+21 ;;^UTILITY(U,$J,358.3,8604,1,4,0)
+22 ;;=4^C25.9
+23 ;;^UTILITY(U,$J,358.3,8604,2)
+24 ;;=^5000946
+25 ;;^UTILITY(U,$J,358.3,8605,0)
+26 ;;=C47.9^^39^401^154
+27 ;;^UTILITY(U,$J,358.3,8605,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,8605,1,3,0)
+30 ;;=3^Malig Neop Peripheral Nerves/Autonomic Nervous System,Unspec
+31 ;;^UTILITY(U,$J,358.3,8605,1,4,0)
+32 ;;=4^C47.9
+33 ;;^UTILITY(U,$J,358.3,8605,2)
+34 ;;=^5001121
+35 ;;^UTILITY(U,$J,358.3,8606,0)
+36 ;;=C38.4^^39^401^155
+37 ;;^UTILITY(U,$J,358.3,8606,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,8606,1,3,0)
+40 ;;=3^Malig Neop Pleura
+41 ;;^UTILITY(U,$J,358.3,8606,1,4,0)
+42 ;;=4^C38.4
+43 ;;^UTILITY(U,$J,358.3,8606,2)
+44 ;;=^267140
+45 ;;^UTILITY(U,$J,358.3,8607,0)
+46 ;;=C61.^^39^401^156
+47 ;;^UTILITY(U,$J,358.3,8607,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,8607,1,3,0)
+50 ;;=3^Malig Neop Prostate
+51 ;;^UTILITY(U,$J,358.3,8607,1,4,0)
+52 ;;=4^C61.
+53 ;;^UTILITY(U,$J,358.3,8607,2)
+54 ;;=^267239
+55 ;;^UTILITY(U,$J,358.3,8608,0)
+56 ;;=C20.^^39^401^157
+57 ;;^UTILITY(U,$J,358.3,8608,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,8608,1,3,0)
+60 ;;=3^Malig Neop Rectum
+61 ;;^UTILITY(U,$J,358.3,8608,1,4,0)
+62 ;;=4^C20.
+63 ;;^UTILITY(U,$J,358.3,8608,2)
+64 ;;=^267090
+65 ;;^UTILITY(U,$J,358.3,8609,0)
+66 ;;=C64.1^^39^401^162
+67 ;;^UTILITY(U,$J,358.3,8609,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,8609,1,3,0)
+70 ;;=3^Malig Neop Right Kidney,Except Renal pelvis
+71 ;;^UTILITY(U,$J,358.3,8609,1,4,0)
+72 ;;=4^C64.1
+73 ;;^UTILITY(U,$J,358.3,8609,2)
+74 ;;=^5001248
+75 ;;^UTILITY(U,$J,358.3,8610,0)
+76 ;;=C65.1^^39^401^165
+77 ;;^UTILITY(U,$J,358.3,8610,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,8610,1,3,0)
+80 ;;=3^Malig Neop Right Renal Pelvis
+81 ;;^UTILITY(U,$J,358.3,8610,1,4,0)
+82 ;;=4^C65.1
+83 ;;^UTILITY(U,$J,358.3,8610,2)
+84 ;;=^5001251
+85 ;;^UTILITY(U,$J,358.3,8611,0)
+86 ;;=C62.91^^39^401^166
+87 ;;^UTILITY(U,$J,358.3,8611,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,8611,1,3,0)
+90 ;;=3^Malig Neop Right Testis
+91 ;;^UTILITY(U,$J,358.3,8611,1,4,0)
+92 ;;=4^C62.91
+93 ;;^UTILITY(U,$J,358.3,8611,2)
+94 ;;=^5001237
+95 ;;^UTILITY(U,$J,358.3,8612,0)
+96 ;;=C17.9^^39^401^167
+97 ;;^UTILITY(U,$J,358.3,8612,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,8612,1,3,0)
+100 ;;=3^Malig Neop Small Intestine,Unspec
+101 ;;^UTILITY(U,$J,358.3,8612,1,4,0)
+102 ;;=4^C17.9
+103 ;;^UTILITY(U,$J,358.3,8612,2)
+104 ;;=^5000926
+105 ;;^UTILITY(U,$J,358.3,8613,0)
+106 ;;=C16.9^^39^401^168
+107 ;;^UTILITY(U,$J,358.3,8613,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,8613,1,3,0)
+110 ;;=3^Malig Neop Stomach,Unspec
+111 ;;^UTILITY(U,$J,358.3,8613,1,4,0)
+112 ;;=4^C16.9
+113 ;;^UTILITY(U,$J,358.3,8613,2)
+114 ;;=^5000923
+115 ;;^UTILITY(U,$J,358.3,8614,0)
+116 ;;=C02.9^^39^401^170
+117 ;;^UTILITY(U,$J,358.3,8614,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,8614,1,3,0)
+120 ;;=3^Malig Neop Tongue,Unspec
+121 ;;^UTILITY(U,$J,358.3,8614,1,4,0)
+122 ;;=4^C02.9
+123 ;;^UTILITY(U,$J,358.3,8614,2)
+124 ;;=^5000891
+125 ;;^UTILITY(U,$J,358.3,8615,0)
+126 ;;=C64.9^^39^401^135
+127 ;;^UTILITY(U,$J,358.3,8615,1,0)
+128 ;;=^358.31IA^4^2