IBDEI0J8 ; ; 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,8652,1,3,0)
;;=3^Malig Neop Intrathoracic Lymph Nodes,Sec and Unspec
;;^UTILITY(U,$J,358.3,8652,1,4,0)
;;=4^C77.1
;;^UTILITY(U,$J,358.3,8652,2)
;;=^267315
;;^UTILITY(U,$J,358.3,8653,0)
;;=C77.0^^39^401^150
;;^UTILITY(U,$J,358.3,8653,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8653,1,3,0)
;;=3^Malig Neop Nodes of Head,Face and Neck,Sec and Unspec
;;^UTILITY(U,$J,358.3,8653,1,4,0)
;;=4^C77.0
;;^UTILITY(U,$J,358.3,8653,2)
;;=^5001329
;;^UTILITY(U,$J,358.3,8654,0)
;;=C77.8^^39^401^151
;;^UTILITY(U,$J,358.3,8654,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8654,1,3,0)
;;=3^Malig Neop Nodes of Multiple Regions,Sec and Unspec
;;^UTILITY(U,$J,358.3,8654,1,4,0)
;;=4^C77.8
;;^UTILITY(U,$J,358.3,8654,2)
;;=^5001332
;;^UTILITY(U,$J,358.3,8655,0)
;;=C79.51^^39^401^121
;;^UTILITY(U,$J,358.3,8655,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8655,1,3,0)
;;=3^Malig Neop Bone,Secondary
;;^UTILITY(U,$J,358.3,8655,1,4,0)
;;=4^C79.51
;;^UTILITY(U,$J,358.3,8655,2)
;;=^5001350
;;^UTILITY(U,$J,358.3,8656,0)
;;=C79.52^^39^401^120
;;^UTILITY(U,$J,358.3,8656,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8656,1,3,0)
;;=3^Malig Neop Bone Marrow,Secondary
;;^UTILITY(U,$J,358.3,8656,1,4,0)
;;=4^C79.52
;;^UTILITY(U,$J,358.3,8656,2)
;;=^5001351
;;^UTILITY(U,$J,358.3,8657,0)
;;=C79.31^^39^401^122
;;^UTILITY(U,$J,358.3,8657,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8657,1,3,0)
;;=3^Malig Neop Brain,Secondary
;;^UTILITY(U,$J,358.3,8657,1,4,0)
;;=4^C79.31
;;^UTILITY(U,$J,358.3,8657,2)
;;=^5001347
;;^UTILITY(U,$J,358.3,8658,0)
;;=C79.72^^39^401^137
;;^UTILITY(U,$J,358.3,8658,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8658,1,3,0)
;;=3^Malig Neop Left Adrenal Gland,Secondary
;;^UTILITY(U,$J,358.3,8658,1,4,0)
;;=4^C79.72
;;^UTILITY(U,$J,358.3,8658,2)
;;=^5001357
;;^UTILITY(U,$J,358.3,8659,0)
;;=C78.02^^39^401^141
;;^UTILITY(U,$J,358.3,8659,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8659,1,3,0)
;;=3^Malig Neop Left Lung,Secondary
;;^UTILITY(U,$J,358.3,8659,1,4,0)
;;=4^C78.02
;;^UTILITY(U,$J,358.3,8659,2)
;;=^5001336
;;^UTILITY(U,$J,358.3,8660,0)
;;=C78.7^^39^401^146
;;^UTILITY(U,$J,358.3,8660,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8660,1,3,0)
;;=3^Malig Neop Liver/Intrahepatic Bile Duct,Secondary
;;^UTILITY(U,$J,358.3,8660,1,4,0)
;;=4^C78.7
;;^UTILITY(U,$J,358.3,8660,2)
;;=^5001339
;;^UTILITY(U,$J,358.3,8661,0)
;;=C79.71^^39^401^159
;;^UTILITY(U,$J,358.3,8661,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8661,1,3,0)
;;=3^Malig Neop Right Adrenal Gland,Secondary
;;^UTILITY(U,$J,358.3,8661,1,4,0)
;;=4^C79.71
;;^UTILITY(U,$J,358.3,8661,2)
;;=^5001356
;;^UTILITY(U,$J,358.3,8662,0)
;;=C78.01^^39^401^163
;;^UTILITY(U,$J,358.3,8662,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8662,1,3,0)
;;=3^Malig Neop Right Lung,Secondary
;;^UTILITY(U,$J,358.3,8662,1,4,0)
;;=4^C78.01
;;^UTILITY(U,$J,358.3,8662,2)
;;=^5001335
;;^UTILITY(U,$J,358.3,8663,0)
;;=C79.70^^39^401^114
;;^UTILITY(U,$J,358.3,8663,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8663,1,3,0)
;;=3^Malig Neop Adrenal Gland Unspec,Secondary
;;^UTILITY(U,$J,358.3,8663,1,4,0)
;;=4^C79.70
;;^UTILITY(U,$J,358.3,8663,2)
;;=^5001355
;;^UTILITY(U,$J,358.3,8664,0)
;;=C78.00^^39^401^147
;;^UTILITY(U,$J,358.3,8664,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8664,1,3,0)
;;=3^Malig Neop Lung Unspec,Secondary
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0J8 3780 printed Dec 13, 2024@01:49:45 Page 2
IBDEI0J8 ; ; 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,8652,1,3,0)
+2 ;;=3^Malig Neop Intrathoracic Lymph Nodes,Sec and Unspec
+3 ;;^UTILITY(U,$J,358.3,8652,1,4,0)
+4 ;;=4^C77.1
+5 ;;^UTILITY(U,$J,358.3,8652,2)
+6 ;;=^267315
+7 ;;^UTILITY(U,$J,358.3,8653,0)
+8 ;;=C77.0^^39^401^150
+9 ;;^UTILITY(U,$J,358.3,8653,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,8653,1,3,0)
+12 ;;=3^Malig Neop Nodes of Head,Face and Neck,Sec and Unspec
+13 ;;^UTILITY(U,$J,358.3,8653,1,4,0)
+14 ;;=4^C77.0
+15 ;;^UTILITY(U,$J,358.3,8653,2)
+16 ;;=^5001329
+17 ;;^UTILITY(U,$J,358.3,8654,0)
+18 ;;=C77.8^^39^401^151
+19 ;;^UTILITY(U,$J,358.3,8654,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,8654,1,3,0)
+22 ;;=3^Malig Neop Nodes of Multiple Regions,Sec and Unspec
+23 ;;^UTILITY(U,$J,358.3,8654,1,4,0)
+24 ;;=4^C77.8
+25 ;;^UTILITY(U,$J,358.3,8654,2)
+26 ;;=^5001332
+27 ;;^UTILITY(U,$J,358.3,8655,0)
+28 ;;=C79.51^^39^401^121
+29 ;;^UTILITY(U,$J,358.3,8655,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,8655,1,3,0)
+32 ;;=3^Malig Neop Bone,Secondary
+33 ;;^UTILITY(U,$J,358.3,8655,1,4,0)
+34 ;;=4^C79.51
+35 ;;^UTILITY(U,$J,358.3,8655,2)
+36 ;;=^5001350
+37 ;;^UTILITY(U,$J,358.3,8656,0)
+38 ;;=C79.52^^39^401^120
+39 ;;^UTILITY(U,$J,358.3,8656,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,8656,1,3,0)
+42 ;;=3^Malig Neop Bone Marrow,Secondary
+43 ;;^UTILITY(U,$J,358.3,8656,1,4,0)
+44 ;;=4^C79.52
+45 ;;^UTILITY(U,$J,358.3,8656,2)
+46 ;;=^5001351
+47 ;;^UTILITY(U,$J,358.3,8657,0)
+48 ;;=C79.31^^39^401^122
+49 ;;^UTILITY(U,$J,358.3,8657,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,8657,1,3,0)
+52 ;;=3^Malig Neop Brain,Secondary
+53 ;;^UTILITY(U,$J,358.3,8657,1,4,0)
+54 ;;=4^C79.31
+55 ;;^UTILITY(U,$J,358.3,8657,2)
+56 ;;=^5001347
+57 ;;^UTILITY(U,$J,358.3,8658,0)
+58 ;;=C79.72^^39^401^137
+59 ;;^UTILITY(U,$J,358.3,8658,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,8658,1,3,0)
+62 ;;=3^Malig Neop Left Adrenal Gland,Secondary
+63 ;;^UTILITY(U,$J,358.3,8658,1,4,0)
+64 ;;=4^C79.72
+65 ;;^UTILITY(U,$J,358.3,8658,2)
+66 ;;=^5001357
+67 ;;^UTILITY(U,$J,358.3,8659,0)
+68 ;;=C78.02^^39^401^141
+69 ;;^UTILITY(U,$J,358.3,8659,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,8659,1,3,0)
+72 ;;=3^Malig Neop Left Lung,Secondary
+73 ;;^UTILITY(U,$J,358.3,8659,1,4,0)
+74 ;;=4^C78.02
+75 ;;^UTILITY(U,$J,358.3,8659,2)
+76 ;;=^5001336
+77 ;;^UTILITY(U,$J,358.3,8660,0)
+78 ;;=C78.7^^39^401^146
+79 ;;^UTILITY(U,$J,358.3,8660,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,8660,1,3,0)
+82 ;;=3^Malig Neop Liver/Intrahepatic Bile Duct,Secondary
+83 ;;^UTILITY(U,$J,358.3,8660,1,4,0)
+84 ;;=4^C78.7
+85 ;;^UTILITY(U,$J,358.3,8660,2)
+86 ;;=^5001339
+87 ;;^UTILITY(U,$J,358.3,8661,0)
+88 ;;=C79.71^^39^401^159
+89 ;;^UTILITY(U,$J,358.3,8661,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,8661,1,3,0)
+92 ;;=3^Malig Neop Right Adrenal Gland,Secondary
+93 ;;^UTILITY(U,$J,358.3,8661,1,4,0)
+94 ;;=4^C79.71
+95 ;;^UTILITY(U,$J,358.3,8661,2)
+96 ;;=^5001356
+97 ;;^UTILITY(U,$J,358.3,8662,0)
+98 ;;=C78.01^^39^401^163
+99 ;;^UTILITY(U,$J,358.3,8662,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,8662,1,3,0)
+102 ;;=3^Malig Neop Right Lung,Secondary
+103 ;;^UTILITY(U,$J,358.3,8662,1,4,0)
+104 ;;=4^C78.01
+105 ;;^UTILITY(U,$J,358.3,8662,2)
+106 ;;=^5001335
+107 ;;^UTILITY(U,$J,358.3,8663,0)
+108 ;;=C79.70^^39^401^114
+109 ;;^UTILITY(U,$J,358.3,8663,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,8663,1,3,0)
+112 ;;=3^Malig Neop Adrenal Gland Unspec,Secondary
+113 ;;^UTILITY(U,$J,358.3,8663,1,4,0)
+114 ;;=4^C79.70
+115 ;;^UTILITY(U,$J,358.3,8663,2)
+116 ;;=^5001355
+117 ;;^UTILITY(U,$J,358.3,8664,0)
+118 ;;=C78.00^^39^401^147
+119 ;;^UTILITY(U,$J,358.3,8664,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,8664,1,3,0)
+122 ;;=3^Malig Neop Lung Unspec,Secondary