IBDEI36E ; ; 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,50708,1,3,0)
;;=3^Malig Neop Descended Right Testis
;;^UTILITY(U,$J,358.3,50708,1,4,0)
;;=4^C62.11
;;^UTILITY(U,$J,358.3,50708,2)
;;=^5001234
;;^UTILITY(U,$J,358.3,50709,0)
;;=C15.9^^193^2497^125
;;^UTILITY(U,$J,358.3,50709,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50709,1,3,0)
;;=3^Malig Neop Esophagus,Unspec
;;^UTILITY(U,$J,358.3,50709,1,4,0)
;;=4^C15.9
;;^UTILITY(U,$J,358.3,50709,2)
;;=^5000919
;;^UTILITY(U,$J,358.3,50710,0)
;;=C24.0^^193^2497^126
;;^UTILITY(U,$J,358.3,50710,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50710,1,3,0)
;;=3^Malig Neop Extrahepatic Bile Duct
;;^UTILITY(U,$J,358.3,50710,1,4,0)
;;=4^C24.0
;;^UTILITY(U,$J,358.3,50710,2)
;;=^5000940
;;^UTILITY(U,$J,358.3,50711,0)
;;=C23.^^193^2497^128
;;^UTILITY(U,$J,358.3,50711,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50711,1,3,0)
;;=3^Malig Neop Gallbladder
;;^UTILITY(U,$J,358.3,50711,1,4,0)
;;=4^C23.
;;^UTILITY(U,$J,358.3,50711,2)
;;=^267098
;;^UTILITY(U,$J,358.3,50712,0)
;;=C32.9^^193^2497^132
;;^UTILITY(U,$J,358.3,50712,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50712,1,3,0)
;;=3^Malig Neop Larynx,Unspec
;;^UTILITY(U,$J,358.3,50712,1,4,0)
;;=4^C32.9
;;^UTILITY(U,$J,358.3,50712,2)
;;=^5000956
;;^UTILITY(U,$J,358.3,50713,0)
;;=C64.2^^193^2497^136
;;^UTILITY(U,$J,358.3,50713,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50713,1,3,0)
;;=3^Malig Neop Left Kidney,Except Renal Pelvis
;;^UTILITY(U,$J,358.3,50713,1,4,0)
;;=4^C64.2
;;^UTILITY(U,$J,358.3,50713,2)
;;=^5001249
;;^UTILITY(U,$J,358.3,50714,0)
;;=C65.2^^193^2497^139
;;^UTILITY(U,$J,358.3,50714,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50714,1,3,0)
;;=3^Malig Neop Left Renal Pelvis
;;^UTILITY(U,$J,358.3,50714,1,4,0)
;;=4^C65.2
;;^UTILITY(U,$J,358.3,50714,2)
;;=^5001252
;;^UTILITY(U,$J,358.3,50715,0)
;;=C62.92^^193^2497^140
;;^UTILITY(U,$J,358.3,50715,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50715,1,3,0)
;;=3^Malig Neop Left Testis,Unspec
;;^UTILITY(U,$J,358.3,50715,1,4,0)
;;=4^C62.92
;;^UTILITY(U,$J,358.3,50715,2)
;;=^5001238
;;^UTILITY(U,$J,358.3,50716,0)
;;=C22.8^^193^2497^141
;;^UTILITY(U,$J,358.3,50716,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50716,1,3,0)
;;=3^Malig Neop Liver,Primary
;;^UTILITY(U,$J,358.3,50716,1,4,0)
;;=4^C22.8
;;^UTILITY(U,$J,358.3,50716,2)
;;=^5000939
;;^UTILITY(U,$J,358.3,50717,0)
;;=C06.9^^193^2497^144
;;^UTILITY(U,$J,358.3,50717,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50717,1,3,0)
;;=3^Malig Neop Mouth,Unspec
;;^UTILITY(U,$J,358.3,50717,1,4,0)
;;=4^C06.9
;;^UTILITY(U,$J,358.3,50717,2)
;;=^5000901
;;^UTILITY(U,$J,358.3,50718,0)
;;=C11.9^^193^2497^145
;;^UTILITY(U,$J,358.3,50718,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50718,1,3,0)
;;=3^Malig Neop Nasopharynx,Unspec
;;^UTILITY(U,$J,358.3,50718,1,4,0)
;;=4^C11.9
;;^UTILITY(U,$J,358.3,50718,2)
;;=^5000911
;;^UTILITY(U,$J,358.3,50719,0)
;;=C10.9^^193^2497^148
;;^UTILITY(U,$J,358.3,50719,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50719,1,3,0)
;;=3^Malig Neop Oropharynx,Unspec
;;^UTILITY(U,$J,358.3,50719,1,4,0)
;;=4^C10.9
;;^UTILITY(U,$J,358.3,50719,2)
;;=^5000909
;;^UTILITY(U,$J,358.3,50720,0)
;;=C25.9^^193^2497^149
;;^UTILITY(U,$J,358.3,50720,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50720,1,3,0)
;;=3^Malig Neop Pancreas,Unspec
;;^UTILITY(U,$J,358.3,50720,1,4,0)
;;=4^C25.9
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI36E 3767 printed Dec 13, 2024@02:42:42 Page 2
IBDEI36E ; ; 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,50708,1,3,0)
+2 ;;=3^Malig Neop Descended Right Testis
+3 ;;^UTILITY(U,$J,358.3,50708,1,4,0)
+4 ;;=4^C62.11
+5 ;;^UTILITY(U,$J,358.3,50708,2)
+6 ;;=^5001234
+7 ;;^UTILITY(U,$J,358.3,50709,0)
+8 ;;=C15.9^^193^2497^125
+9 ;;^UTILITY(U,$J,358.3,50709,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,50709,1,3,0)
+12 ;;=3^Malig Neop Esophagus,Unspec
+13 ;;^UTILITY(U,$J,358.3,50709,1,4,0)
+14 ;;=4^C15.9
+15 ;;^UTILITY(U,$J,358.3,50709,2)
+16 ;;=^5000919
+17 ;;^UTILITY(U,$J,358.3,50710,0)
+18 ;;=C24.0^^193^2497^126
+19 ;;^UTILITY(U,$J,358.3,50710,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,50710,1,3,0)
+22 ;;=3^Malig Neop Extrahepatic Bile Duct
+23 ;;^UTILITY(U,$J,358.3,50710,1,4,0)
+24 ;;=4^C24.0
+25 ;;^UTILITY(U,$J,358.3,50710,2)
+26 ;;=^5000940
+27 ;;^UTILITY(U,$J,358.3,50711,0)
+28 ;;=C23.^^193^2497^128
+29 ;;^UTILITY(U,$J,358.3,50711,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,50711,1,3,0)
+32 ;;=3^Malig Neop Gallbladder
+33 ;;^UTILITY(U,$J,358.3,50711,1,4,0)
+34 ;;=4^C23.
+35 ;;^UTILITY(U,$J,358.3,50711,2)
+36 ;;=^267098
+37 ;;^UTILITY(U,$J,358.3,50712,0)
+38 ;;=C32.9^^193^2497^132
+39 ;;^UTILITY(U,$J,358.3,50712,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,50712,1,3,0)
+42 ;;=3^Malig Neop Larynx,Unspec
+43 ;;^UTILITY(U,$J,358.3,50712,1,4,0)
+44 ;;=4^C32.9
+45 ;;^UTILITY(U,$J,358.3,50712,2)
+46 ;;=^5000956
+47 ;;^UTILITY(U,$J,358.3,50713,0)
+48 ;;=C64.2^^193^2497^136
+49 ;;^UTILITY(U,$J,358.3,50713,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,50713,1,3,0)
+52 ;;=3^Malig Neop Left Kidney,Except Renal Pelvis
+53 ;;^UTILITY(U,$J,358.3,50713,1,4,0)
+54 ;;=4^C64.2
+55 ;;^UTILITY(U,$J,358.3,50713,2)
+56 ;;=^5001249
+57 ;;^UTILITY(U,$J,358.3,50714,0)
+58 ;;=C65.2^^193^2497^139
+59 ;;^UTILITY(U,$J,358.3,50714,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,50714,1,3,0)
+62 ;;=3^Malig Neop Left Renal Pelvis
+63 ;;^UTILITY(U,$J,358.3,50714,1,4,0)
+64 ;;=4^C65.2
+65 ;;^UTILITY(U,$J,358.3,50714,2)
+66 ;;=^5001252
+67 ;;^UTILITY(U,$J,358.3,50715,0)
+68 ;;=C62.92^^193^2497^140
+69 ;;^UTILITY(U,$J,358.3,50715,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,50715,1,3,0)
+72 ;;=3^Malig Neop Left Testis,Unspec
+73 ;;^UTILITY(U,$J,358.3,50715,1,4,0)
+74 ;;=4^C62.92
+75 ;;^UTILITY(U,$J,358.3,50715,2)
+76 ;;=^5001238
+77 ;;^UTILITY(U,$J,358.3,50716,0)
+78 ;;=C22.8^^193^2497^141
+79 ;;^UTILITY(U,$J,358.3,50716,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,50716,1,3,0)
+82 ;;=3^Malig Neop Liver,Primary
+83 ;;^UTILITY(U,$J,358.3,50716,1,4,0)
+84 ;;=4^C22.8
+85 ;;^UTILITY(U,$J,358.3,50716,2)
+86 ;;=^5000939
+87 ;;^UTILITY(U,$J,358.3,50717,0)
+88 ;;=C06.9^^193^2497^144
+89 ;;^UTILITY(U,$J,358.3,50717,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,50717,1,3,0)
+92 ;;=3^Malig Neop Mouth,Unspec
+93 ;;^UTILITY(U,$J,358.3,50717,1,4,0)
+94 ;;=4^C06.9
+95 ;;^UTILITY(U,$J,358.3,50717,2)
+96 ;;=^5000901
+97 ;;^UTILITY(U,$J,358.3,50718,0)
+98 ;;=C11.9^^193^2497^145
+99 ;;^UTILITY(U,$J,358.3,50718,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,50718,1,3,0)
+102 ;;=3^Malig Neop Nasopharynx,Unspec
+103 ;;^UTILITY(U,$J,358.3,50718,1,4,0)
+104 ;;=4^C11.9
+105 ;;^UTILITY(U,$J,358.3,50718,2)
+106 ;;=^5000911
+107 ;;^UTILITY(U,$J,358.3,50719,0)
+108 ;;=C10.9^^193^2497^148
+109 ;;^UTILITY(U,$J,358.3,50719,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,50719,1,3,0)
+112 ;;=3^Malig Neop Oropharynx,Unspec
+113 ;;^UTILITY(U,$J,358.3,50719,1,4,0)
+114 ;;=4^C10.9
+115 ;;^UTILITY(U,$J,358.3,50719,2)
+116 ;;=^5000909
+117 ;;^UTILITY(U,$J,358.3,50720,0)
+118 ;;=C25.9^^193^2497^149
+119 ;;^UTILITY(U,$J,358.3,50720,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,50720,1,3,0)
+122 ;;=3^Malig Neop Pancreas,Unspec
+123 ;;^UTILITY(U,$J,358.3,50720,1,4,0)
+124 ;;=4^C25.9