IBDEI2HL ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,39709,1,4,0)
;;=4^C77.1
;;^UTILITY(U,$J,358.3,39709,2)
;;=^267315
;;^UTILITY(U,$J,358.3,39710,0)
;;=C77.0^^152^2000^146
;;^UTILITY(U,$J,358.3,39710,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39710,1,3,0)
;;=3^Malig Neop Nodes of Head,Face and Neck,Sec and Unspec
;;^UTILITY(U,$J,358.3,39710,1,4,0)
;;=4^C77.0
;;^UTILITY(U,$J,358.3,39710,2)
;;=^5001329
;;^UTILITY(U,$J,358.3,39711,0)
;;=C77.8^^152^2000^147
;;^UTILITY(U,$J,358.3,39711,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39711,1,3,0)
;;=3^Malig Neop Nodes of Multiple Regions,Sec and Unspec
;;^UTILITY(U,$J,358.3,39711,1,4,0)
;;=4^C77.8
;;^UTILITY(U,$J,358.3,39711,2)
;;=^5001332
;;^UTILITY(U,$J,358.3,39712,0)
;;=C79.51^^152^2000^117
;;^UTILITY(U,$J,358.3,39712,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39712,1,3,0)
;;=3^Malig Neop Bone,Secondary
;;^UTILITY(U,$J,358.3,39712,1,4,0)
;;=4^C79.51
;;^UTILITY(U,$J,358.3,39712,2)
;;=^5001350
;;^UTILITY(U,$J,358.3,39713,0)
;;=C79.52^^152^2000^116
;;^UTILITY(U,$J,358.3,39713,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39713,1,3,0)
;;=3^Malig Neop Bone Marrow,Secondary
;;^UTILITY(U,$J,358.3,39713,1,4,0)
;;=4^C79.52
;;^UTILITY(U,$J,358.3,39713,2)
;;=^5001351
;;^UTILITY(U,$J,358.3,39714,0)
;;=C79.31^^152^2000^118
;;^UTILITY(U,$J,358.3,39714,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39714,1,3,0)
;;=3^Malig Neop Brain,Secondary
;;^UTILITY(U,$J,358.3,39714,1,4,0)
;;=4^C79.31
;;^UTILITY(U,$J,358.3,39714,2)
;;=^5001347
;;^UTILITY(U,$J,358.3,39715,0)
;;=C79.72^^152^2000^133
;;^UTILITY(U,$J,358.3,39715,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39715,1,3,0)
;;=3^Malig Neop Left Adrenal Gland,Secondary
;;^UTILITY(U,$J,358.3,39715,1,4,0)
;;=4^C79.72
;;^UTILITY(U,$J,358.3,39715,2)
;;=^5001357
;;^UTILITY(U,$J,358.3,39716,0)
;;=C78.02^^152^2000^137
;;^UTILITY(U,$J,358.3,39716,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39716,1,3,0)
;;=3^Malig Neop Left Lung,Secondary
;;^UTILITY(U,$J,358.3,39716,1,4,0)
;;=4^C78.02
;;^UTILITY(U,$J,358.3,39716,2)
;;=^5001336
;;^UTILITY(U,$J,358.3,39717,0)
;;=C78.7^^152^2000^142
;;^UTILITY(U,$J,358.3,39717,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39717,1,3,0)
;;=3^Malig Neop Liver/Intrahepatic Bile Duct,Secondary
;;^UTILITY(U,$J,358.3,39717,1,4,0)
;;=4^C78.7
;;^UTILITY(U,$J,358.3,39717,2)
;;=^5001339
;;^UTILITY(U,$J,358.3,39718,0)
;;=C79.71^^152^2000^155
;;^UTILITY(U,$J,358.3,39718,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39718,1,3,0)
;;=3^Malig Neop Right Adrenal Gland,Secondary
;;^UTILITY(U,$J,358.3,39718,1,4,0)
;;=4^C79.71
;;^UTILITY(U,$J,358.3,39718,2)
;;=^5001356
;;^UTILITY(U,$J,358.3,39719,0)
;;=C78.01^^152^2000^159
;;^UTILITY(U,$J,358.3,39719,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39719,1,3,0)
;;=3^Malig Neop Right Lung,Secondary
;;^UTILITY(U,$J,358.3,39719,1,4,0)
;;=4^C78.01
;;^UTILITY(U,$J,358.3,39719,2)
;;=^5001335
;;^UTILITY(U,$J,358.3,39720,0)
;;=C79.70^^152^2000^110
;;^UTILITY(U,$J,358.3,39720,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39720,1,3,0)
;;=3^Malig Neop Adrenal Gland Unspec,Secondary
;;^UTILITY(U,$J,358.3,39720,1,4,0)
;;=4^C79.70
;;^UTILITY(U,$J,358.3,39720,2)
;;=^5001355
;;^UTILITY(U,$J,358.3,39721,0)
;;=C78.00^^152^2000^143
;;^UTILITY(U,$J,358.3,39721,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39721,1,3,0)
;;=3^Malig Neop Lung Unspec,Secondary
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2HL 3769 printed Nov 22, 2024@17:39:03 Page 2
IBDEI2HL ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,39709,1,4,0)
+2 ;;=4^C77.1
+3 ;;^UTILITY(U,$J,358.3,39709,2)
+4 ;;=^267315
+5 ;;^UTILITY(U,$J,358.3,39710,0)
+6 ;;=C77.0^^152^2000^146
+7 ;;^UTILITY(U,$J,358.3,39710,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,39710,1,3,0)
+10 ;;=3^Malig Neop Nodes of Head,Face and Neck,Sec and Unspec
+11 ;;^UTILITY(U,$J,358.3,39710,1,4,0)
+12 ;;=4^C77.0
+13 ;;^UTILITY(U,$J,358.3,39710,2)
+14 ;;=^5001329
+15 ;;^UTILITY(U,$J,358.3,39711,0)
+16 ;;=C77.8^^152^2000^147
+17 ;;^UTILITY(U,$J,358.3,39711,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,39711,1,3,0)
+20 ;;=3^Malig Neop Nodes of Multiple Regions,Sec and Unspec
+21 ;;^UTILITY(U,$J,358.3,39711,1,4,0)
+22 ;;=4^C77.8
+23 ;;^UTILITY(U,$J,358.3,39711,2)
+24 ;;=^5001332
+25 ;;^UTILITY(U,$J,358.3,39712,0)
+26 ;;=C79.51^^152^2000^117
+27 ;;^UTILITY(U,$J,358.3,39712,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,39712,1,3,0)
+30 ;;=3^Malig Neop Bone,Secondary
+31 ;;^UTILITY(U,$J,358.3,39712,1,4,0)
+32 ;;=4^C79.51
+33 ;;^UTILITY(U,$J,358.3,39712,2)
+34 ;;=^5001350
+35 ;;^UTILITY(U,$J,358.3,39713,0)
+36 ;;=C79.52^^152^2000^116
+37 ;;^UTILITY(U,$J,358.3,39713,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,39713,1,3,0)
+40 ;;=3^Malig Neop Bone Marrow,Secondary
+41 ;;^UTILITY(U,$J,358.3,39713,1,4,0)
+42 ;;=4^C79.52
+43 ;;^UTILITY(U,$J,358.3,39713,2)
+44 ;;=^5001351
+45 ;;^UTILITY(U,$J,358.3,39714,0)
+46 ;;=C79.31^^152^2000^118
+47 ;;^UTILITY(U,$J,358.3,39714,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,39714,1,3,0)
+50 ;;=3^Malig Neop Brain,Secondary
+51 ;;^UTILITY(U,$J,358.3,39714,1,4,0)
+52 ;;=4^C79.31
+53 ;;^UTILITY(U,$J,358.3,39714,2)
+54 ;;=^5001347
+55 ;;^UTILITY(U,$J,358.3,39715,0)
+56 ;;=C79.72^^152^2000^133
+57 ;;^UTILITY(U,$J,358.3,39715,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,39715,1,3,0)
+60 ;;=3^Malig Neop Left Adrenal Gland,Secondary
+61 ;;^UTILITY(U,$J,358.3,39715,1,4,0)
+62 ;;=4^C79.72
+63 ;;^UTILITY(U,$J,358.3,39715,2)
+64 ;;=^5001357
+65 ;;^UTILITY(U,$J,358.3,39716,0)
+66 ;;=C78.02^^152^2000^137
+67 ;;^UTILITY(U,$J,358.3,39716,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,39716,1,3,0)
+70 ;;=3^Malig Neop Left Lung,Secondary
+71 ;;^UTILITY(U,$J,358.3,39716,1,4,0)
+72 ;;=4^C78.02
+73 ;;^UTILITY(U,$J,358.3,39716,2)
+74 ;;=^5001336
+75 ;;^UTILITY(U,$J,358.3,39717,0)
+76 ;;=C78.7^^152^2000^142
+77 ;;^UTILITY(U,$J,358.3,39717,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,39717,1,3,0)
+80 ;;=3^Malig Neop Liver/Intrahepatic Bile Duct,Secondary
+81 ;;^UTILITY(U,$J,358.3,39717,1,4,0)
+82 ;;=4^C78.7
+83 ;;^UTILITY(U,$J,358.3,39717,2)
+84 ;;=^5001339
+85 ;;^UTILITY(U,$J,358.3,39718,0)
+86 ;;=C79.71^^152^2000^155
+87 ;;^UTILITY(U,$J,358.3,39718,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,39718,1,3,0)
+90 ;;=3^Malig Neop Right Adrenal Gland,Secondary
+91 ;;^UTILITY(U,$J,358.3,39718,1,4,0)
+92 ;;=4^C79.71
+93 ;;^UTILITY(U,$J,358.3,39718,2)
+94 ;;=^5001356
+95 ;;^UTILITY(U,$J,358.3,39719,0)
+96 ;;=C78.01^^152^2000^159
+97 ;;^UTILITY(U,$J,358.3,39719,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,39719,1,3,0)
+100 ;;=3^Malig Neop Right Lung,Secondary
+101 ;;^UTILITY(U,$J,358.3,39719,1,4,0)
+102 ;;=4^C78.01
+103 ;;^UTILITY(U,$J,358.3,39719,2)
+104 ;;=^5001335
+105 ;;^UTILITY(U,$J,358.3,39720,0)
+106 ;;=C79.70^^152^2000^110
+107 ;;^UTILITY(U,$J,358.3,39720,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,39720,1,3,0)
+110 ;;=3^Malig Neop Adrenal Gland Unspec,Secondary
+111 ;;^UTILITY(U,$J,358.3,39720,1,4,0)
+112 ;;=4^C79.70
+113 ;;^UTILITY(U,$J,358.3,39720,2)
+114 ;;=^5001355
+115 ;;^UTILITY(U,$J,358.3,39721,0)
+116 ;;=C78.00^^152^2000^143
+117 ;;^UTILITY(U,$J,358.3,39721,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,39721,1,3,0)
+120 ;;=3^Malig Neop Lung Unspec,Secondary