IBDEI10P ; ; 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,16548,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16548,1,3,0)
;;=3^Malig Neop Brain,Unspec
;;^UTILITY(U,$J,358.3,16548,1,4,0)
;;=4^C71.9
;;^UTILITY(U,$J,358.3,16548,2)
;;=^5001297
;;^UTILITY(U,$J,358.3,16549,0)
;;=C18.9^^61^775^125
;;^UTILITY(U,$J,358.3,16549,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16549,1,3,0)
;;=3^Malig Neop Colon,Unspec
;;^UTILITY(U,$J,358.3,16549,1,4,0)
;;=4^C18.9
;;^UTILITY(U,$J,358.3,16549,2)
;;=^5000929
;;^UTILITY(U,$J,358.3,16550,0)
;;=C49.9^^61^775^126
;;^UTILITY(U,$J,358.3,16550,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16550,1,3,0)
;;=3^Malig Neop Connective/Soft Tissue,Unspec
;;^UTILITY(U,$J,358.3,16550,1,4,0)
;;=4^C49.9
;;^UTILITY(U,$J,358.3,16550,2)
;;=^5001136
;;^UTILITY(U,$J,358.3,16551,0)
;;=C62.12^^61^775^127
;;^UTILITY(U,$J,358.3,16551,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16551,1,3,0)
;;=3^Malig Neop Descended Left Testis
;;^UTILITY(U,$J,358.3,16551,1,4,0)
;;=4^C62.12
;;^UTILITY(U,$J,358.3,16551,2)
;;=^5001235
;;^UTILITY(U,$J,358.3,16552,0)
;;=C62.11^^61^775^128
;;^UTILITY(U,$J,358.3,16552,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16552,1,3,0)
;;=3^Malig Neop Descended Right Testis
;;^UTILITY(U,$J,358.3,16552,1,4,0)
;;=4^C62.11
;;^UTILITY(U,$J,358.3,16552,2)
;;=^5001234
;;^UTILITY(U,$J,358.3,16553,0)
;;=C15.9^^61^775^129
;;^UTILITY(U,$J,358.3,16553,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16553,1,3,0)
;;=3^Malig Neop Esophagus,Unspec
;;^UTILITY(U,$J,358.3,16553,1,4,0)
;;=4^C15.9
;;^UTILITY(U,$J,358.3,16553,2)
;;=^5000919
;;^UTILITY(U,$J,358.3,16554,0)
;;=C24.0^^61^775^130
;;^UTILITY(U,$J,358.3,16554,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16554,1,3,0)
;;=3^Malig Neop Extrahepatic Bile Duct
;;^UTILITY(U,$J,358.3,16554,1,4,0)
;;=4^C24.0
;;^UTILITY(U,$J,358.3,16554,2)
;;=^5000940
;;^UTILITY(U,$J,358.3,16555,0)
;;=C23.^^61^775^132
;;^UTILITY(U,$J,358.3,16555,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16555,1,3,0)
;;=3^Malig Neop Gallbladder
;;^UTILITY(U,$J,358.3,16555,1,4,0)
;;=4^C23.
;;^UTILITY(U,$J,358.3,16555,2)
;;=^267098
;;^UTILITY(U,$J,358.3,16556,0)
;;=C32.9^^61^775^136
;;^UTILITY(U,$J,358.3,16556,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16556,1,3,0)
;;=3^Malig Neop Larynx,Unspec
;;^UTILITY(U,$J,358.3,16556,1,4,0)
;;=4^C32.9
;;^UTILITY(U,$J,358.3,16556,2)
;;=^5000956
;;^UTILITY(U,$J,358.3,16557,0)
;;=C64.2^^61^775^140
;;^UTILITY(U,$J,358.3,16557,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16557,1,3,0)
;;=3^Malig Neop Left Kidney,Except Renal Pelvis
;;^UTILITY(U,$J,358.3,16557,1,4,0)
;;=4^C64.2
;;^UTILITY(U,$J,358.3,16557,2)
;;=^5001249
;;^UTILITY(U,$J,358.3,16558,0)
;;=C65.2^^61^775^143
;;^UTILITY(U,$J,358.3,16558,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16558,1,3,0)
;;=3^Malig Neop Left Renal Pelvis
;;^UTILITY(U,$J,358.3,16558,1,4,0)
;;=4^C65.2
;;^UTILITY(U,$J,358.3,16558,2)
;;=^5001252
;;^UTILITY(U,$J,358.3,16559,0)
;;=C62.92^^61^775^144
;;^UTILITY(U,$J,358.3,16559,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16559,1,3,0)
;;=3^Malig Neop Left Testis,Unspec
;;^UTILITY(U,$J,358.3,16559,1,4,0)
;;=4^C62.92
;;^UTILITY(U,$J,358.3,16559,2)
;;=^5001238
;;^UTILITY(U,$J,358.3,16560,0)
;;=C22.8^^61^775^145
;;^UTILITY(U,$J,358.3,16560,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16560,1,3,0)
;;=3^Malig Neop Liver,Primary
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI10P 3762 printed Dec 13, 2024@01:59:28 Page 2
IBDEI10P ; ; 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,16548,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,16548,1,3,0)
+4 ;;=3^Malig Neop Brain,Unspec
+5 ;;^UTILITY(U,$J,358.3,16548,1,4,0)
+6 ;;=4^C71.9
+7 ;;^UTILITY(U,$J,358.3,16548,2)
+8 ;;=^5001297
+9 ;;^UTILITY(U,$J,358.3,16549,0)
+10 ;;=C18.9^^61^775^125
+11 ;;^UTILITY(U,$J,358.3,16549,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,16549,1,3,0)
+14 ;;=3^Malig Neop Colon,Unspec
+15 ;;^UTILITY(U,$J,358.3,16549,1,4,0)
+16 ;;=4^C18.9
+17 ;;^UTILITY(U,$J,358.3,16549,2)
+18 ;;=^5000929
+19 ;;^UTILITY(U,$J,358.3,16550,0)
+20 ;;=C49.9^^61^775^126
+21 ;;^UTILITY(U,$J,358.3,16550,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,16550,1,3,0)
+24 ;;=3^Malig Neop Connective/Soft Tissue,Unspec
+25 ;;^UTILITY(U,$J,358.3,16550,1,4,0)
+26 ;;=4^C49.9
+27 ;;^UTILITY(U,$J,358.3,16550,2)
+28 ;;=^5001136
+29 ;;^UTILITY(U,$J,358.3,16551,0)
+30 ;;=C62.12^^61^775^127
+31 ;;^UTILITY(U,$J,358.3,16551,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,16551,1,3,0)
+34 ;;=3^Malig Neop Descended Left Testis
+35 ;;^UTILITY(U,$J,358.3,16551,1,4,0)
+36 ;;=4^C62.12
+37 ;;^UTILITY(U,$J,358.3,16551,2)
+38 ;;=^5001235
+39 ;;^UTILITY(U,$J,358.3,16552,0)
+40 ;;=C62.11^^61^775^128
+41 ;;^UTILITY(U,$J,358.3,16552,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,16552,1,3,0)
+44 ;;=3^Malig Neop Descended Right Testis
+45 ;;^UTILITY(U,$J,358.3,16552,1,4,0)
+46 ;;=4^C62.11
+47 ;;^UTILITY(U,$J,358.3,16552,2)
+48 ;;=^5001234
+49 ;;^UTILITY(U,$J,358.3,16553,0)
+50 ;;=C15.9^^61^775^129
+51 ;;^UTILITY(U,$J,358.3,16553,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,16553,1,3,0)
+54 ;;=3^Malig Neop Esophagus,Unspec
+55 ;;^UTILITY(U,$J,358.3,16553,1,4,0)
+56 ;;=4^C15.9
+57 ;;^UTILITY(U,$J,358.3,16553,2)
+58 ;;=^5000919
+59 ;;^UTILITY(U,$J,358.3,16554,0)
+60 ;;=C24.0^^61^775^130
+61 ;;^UTILITY(U,$J,358.3,16554,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,16554,1,3,0)
+64 ;;=3^Malig Neop Extrahepatic Bile Duct
+65 ;;^UTILITY(U,$J,358.3,16554,1,4,0)
+66 ;;=4^C24.0
+67 ;;^UTILITY(U,$J,358.3,16554,2)
+68 ;;=^5000940
+69 ;;^UTILITY(U,$J,358.3,16555,0)
+70 ;;=C23.^^61^775^132
+71 ;;^UTILITY(U,$J,358.3,16555,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,16555,1,3,0)
+74 ;;=3^Malig Neop Gallbladder
+75 ;;^UTILITY(U,$J,358.3,16555,1,4,0)
+76 ;;=4^C23.
+77 ;;^UTILITY(U,$J,358.3,16555,2)
+78 ;;=^267098
+79 ;;^UTILITY(U,$J,358.3,16556,0)
+80 ;;=C32.9^^61^775^136
+81 ;;^UTILITY(U,$J,358.3,16556,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,16556,1,3,0)
+84 ;;=3^Malig Neop Larynx,Unspec
+85 ;;^UTILITY(U,$J,358.3,16556,1,4,0)
+86 ;;=4^C32.9
+87 ;;^UTILITY(U,$J,358.3,16556,2)
+88 ;;=^5000956
+89 ;;^UTILITY(U,$J,358.3,16557,0)
+90 ;;=C64.2^^61^775^140
+91 ;;^UTILITY(U,$J,358.3,16557,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,16557,1,3,0)
+94 ;;=3^Malig Neop Left Kidney,Except Renal Pelvis
+95 ;;^UTILITY(U,$J,358.3,16557,1,4,0)
+96 ;;=4^C64.2
+97 ;;^UTILITY(U,$J,358.3,16557,2)
+98 ;;=^5001249
+99 ;;^UTILITY(U,$J,358.3,16558,0)
+100 ;;=C65.2^^61^775^143
+101 ;;^UTILITY(U,$J,358.3,16558,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,16558,1,3,0)
+104 ;;=3^Malig Neop Left Renal Pelvis
+105 ;;^UTILITY(U,$J,358.3,16558,1,4,0)
+106 ;;=4^C65.2
+107 ;;^UTILITY(U,$J,358.3,16558,2)
+108 ;;=^5001252
+109 ;;^UTILITY(U,$J,358.3,16559,0)
+110 ;;=C62.92^^61^775^144
+111 ;;^UTILITY(U,$J,358.3,16559,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,16559,1,3,0)
+114 ;;=3^Malig Neop Left Testis,Unspec
+115 ;;^UTILITY(U,$J,358.3,16559,1,4,0)
+116 ;;=4^C62.92
+117 ;;^UTILITY(U,$J,358.3,16559,2)
+118 ;;=^5001238
+119 ;;^UTILITY(U,$J,358.3,16560,0)
+120 ;;=C22.8^^61^775^145
+121 ;;^UTILITY(U,$J,358.3,16560,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,16560,1,3,0)
+124 ;;=3^Malig Neop Liver,Primary