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