IBDEI0JD ; ; 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,8714,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8714,1,3,0)
;;=3^Personal Hx of Malig Neop of Lip,Oral Cavity & Pharynx,Unspec
;;^UTILITY(U,$J,358.3,8714,1,4,0)
;;=4^Z85.819
;;^UTILITY(U,$J,358.3,8714,2)
;;=^5063440
;;^UTILITY(U,$J,358.3,8715,0)
;;=Z85.01^^39^402^82
;;^UTILITY(U,$J,358.3,8715,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8715,1,3,0)
;;=3^Personal Hx of Malig Neop of Esophagus
;;^UTILITY(U,$J,358.3,8715,1,4,0)
;;=4^Z85.01
;;^UTILITY(U,$J,358.3,8715,2)
;;=^5063395
;;^UTILITY(U,$J,358.3,8716,0)
;;=Z85.028^^39^402^93
;;^UTILITY(U,$J,358.3,8716,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8716,1,3,0)
;;=3^Personal Hx of Malig Neop of Stomach
;;^UTILITY(U,$J,358.3,8716,1,4,0)
;;=4^Z85.028
;;^UTILITY(U,$J,358.3,8716,2)
;;=^5063397
;;^UTILITY(U,$J,358.3,8717,0)
;;=Z85.038^^39^402^84
;;^UTILITY(U,$J,358.3,8717,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8717,1,3,0)
;;=3^Personal Hx of Malig Neop of Large Intestine
;;^UTILITY(U,$J,358.3,8717,1,4,0)
;;=4^Z85.038
;;^UTILITY(U,$J,358.3,8717,2)
;;=^5063399
;;^UTILITY(U,$J,358.3,8718,0)
;;=Z85.048^^39^402^91
;;^UTILITY(U,$J,358.3,8718,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8718,1,3,0)
;;=3^Personal Hx of Malig Neop of Rectum,Rectosig Junct & Anus
;;^UTILITY(U,$J,358.3,8718,1,4,0)
;;=4^Z85.048
;;^UTILITY(U,$J,358.3,8718,2)
;;=^5063401
;;^UTILITY(U,$J,358.3,8719,0)
;;=Z85.118^^39^402^80
;;^UTILITY(U,$J,358.3,8719,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8719,1,3,0)
;;=3^Personal Hx of Malig Neop of Bronchus & Lung
;;^UTILITY(U,$J,358.3,8719,1,4,0)
;;=4^Z85.118
;;^UTILITY(U,$J,358.3,8719,2)
;;=^5063408
;;^UTILITY(U,$J,358.3,8720,0)
;;=Z85.21^^39^402^85
;;^UTILITY(U,$J,358.3,8720,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8720,1,3,0)
;;=3^Personal Hx of Malig Neop of Larynx
;;^UTILITY(U,$J,358.3,8720,1,4,0)
;;=4^Z85.21
;;^UTILITY(U,$J,358.3,8720,2)
;;=^5063411
;;^UTILITY(U,$J,358.3,8721,0)
;;=Z85.3^^39^402^79
;;^UTILITY(U,$J,358.3,8721,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8721,1,3,0)
;;=3^Personal Hx of Malig Neop of Breast
;;^UTILITY(U,$J,358.3,8721,1,4,0)
;;=4^Z85.3
;;^UTILITY(U,$J,358.3,8721,2)
;;=^5063416
;;^UTILITY(U,$J,358.3,8722,0)
;;=Z85.41^^39^402^81
;;^UTILITY(U,$J,358.3,8722,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8722,1,3,0)
;;=3^Personal Hx of Malig Neop of Cervix Uteri
;;^UTILITY(U,$J,358.3,8722,1,4,0)
;;=4^Z85.41
;;^UTILITY(U,$J,358.3,8722,2)
;;=^5063418
;;^UTILITY(U,$J,358.3,8723,0)
;;=Z85.43^^39^402^89
;;^UTILITY(U,$J,358.3,8723,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8723,1,3,0)
;;=3^Personal Hx of Malig Neop of Ovary
;;^UTILITY(U,$J,358.3,8723,1,4,0)
;;=4^Z85.43
;;^UTILITY(U,$J,358.3,8723,2)
;;=^5063420
;;^UTILITY(U,$J,358.3,8724,0)
;;=Z85.46^^39^402^90
;;^UTILITY(U,$J,358.3,8724,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8724,1,3,0)
;;=3^Personal Hx of Malig Neop of Prostate
;;^UTILITY(U,$J,358.3,8724,1,4,0)
;;=4^Z85.46
;;^UTILITY(U,$J,358.3,8724,2)
;;=^5063423
;;^UTILITY(U,$J,358.3,8725,0)
;;=Z85.47^^39^402^94
;;^UTILITY(U,$J,358.3,8725,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8725,1,3,0)
;;=3^Personal Hx of Malig Neop of Testis
;;^UTILITY(U,$J,358.3,8725,1,4,0)
;;=4^Z85.47
;;^UTILITY(U,$J,358.3,8725,2)
;;=^5063424
;;^UTILITY(U,$J,358.3,8726,0)
;;=Z85.51^^39^402^78
;;^UTILITY(U,$J,358.3,8726,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0JD 3789 printed Dec 13, 2024@01:49:49 Page 2
IBDEI0JD ; ; 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,8714,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,8714,1,3,0)
+4 ;;=3^Personal Hx of Malig Neop of Lip,Oral Cavity & Pharynx,Unspec
+5 ;;^UTILITY(U,$J,358.3,8714,1,4,0)
+6 ;;=4^Z85.819
+7 ;;^UTILITY(U,$J,358.3,8714,2)
+8 ;;=^5063440
+9 ;;^UTILITY(U,$J,358.3,8715,0)
+10 ;;=Z85.01^^39^402^82
+11 ;;^UTILITY(U,$J,358.3,8715,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,8715,1,3,0)
+14 ;;=3^Personal Hx of Malig Neop of Esophagus
+15 ;;^UTILITY(U,$J,358.3,8715,1,4,0)
+16 ;;=4^Z85.01
+17 ;;^UTILITY(U,$J,358.3,8715,2)
+18 ;;=^5063395
+19 ;;^UTILITY(U,$J,358.3,8716,0)
+20 ;;=Z85.028^^39^402^93
+21 ;;^UTILITY(U,$J,358.3,8716,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,8716,1,3,0)
+24 ;;=3^Personal Hx of Malig Neop of Stomach
+25 ;;^UTILITY(U,$J,358.3,8716,1,4,0)
+26 ;;=4^Z85.028
+27 ;;^UTILITY(U,$J,358.3,8716,2)
+28 ;;=^5063397
+29 ;;^UTILITY(U,$J,358.3,8717,0)
+30 ;;=Z85.038^^39^402^84
+31 ;;^UTILITY(U,$J,358.3,8717,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,8717,1,3,0)
+34 ;;=3^Personal Hx of Malig Neop of Large Intestine
+35 ;;^UTILITY(U,$J,358.3,8717,1,4,0)
+36 ;;=4^Z85.038
+37 ;;^UTILITY(U,$J,358.3,8717,2)
+38 ;;=^5063399
+39 ;;^UTILITY(U,$J,358.3,8718,0)
+40 ;;=Z85.048^^39^402^91
+41 ;;^UTILITY(U,$J,358.3,8718,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,8718,1,3,0)
+44 ;;=3^Personal Hx of Malig Neop of Rectum,Rectosig Junct & Anus
+45 ;;^UTILITY(U,$J,358.3,8718,1,4,0)
+46 ;;=4^Z85.048
+47 ;;^UTILITY(U,$J,358.3,8718,2)
+48 ;;=^5063401
+49 ;;^UTILITY(U,$J,358.3,8719,0)
+50 ;;=Z85.118^^39^402^80
+51 ;;^UTILITY(U,$J,358.3,8719,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,8719,1,3,0)
+54 ;;=3^Personal Hx of Malig Neop of Bronchus & Lung
+55 ;;^UTILITY(U,$J,358.3,8719,1,4,0)
+56 ;;=4^Z85.118
+57 ;;^UTILITY(U,$J,358.3,8719,2)
+58 ;;=^5063408
+59 ;;^UTILITY(U,$J,358.3,8720,0)
+60 ;;=Z85.21^^39^402^85
+61 ;;^UTILITY(U,$J,358.3,8720,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,8720,1,3,0)
+64 ;;=3^Personal Hx of Malig Neop of Larynx
+65 ;;^UTILITY(U,$J,358.3,8720,1,4,0)
+66 ;;=4^Z85.21
+67 ;;^UTILITY(U,$J,358.3,8720,2)
+68 ;;=^5063411
+69 ;;^UTILITY(U,$J,358.3,8721,0)
+70 ;;=Z85.3^^39^402^79
+71 ;;^UTILITY(U,$J,358.3,8721,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,8721,1,3,0)
+74 ;;=3^Personal Hx of Malig Neop of Breast
+75 ;;^UTILITY(U,$J,358.3,8721,1,4,0)
+76 ;;=4^Z85.3
+77 ;;^UTILITY(U,$J,358.3,8721,2)
+78 ;;=^5063416
+79 ;;^UTILITY(U,$J,358.3,8722,0)
+80 ;;=Z85.41^^39^402^81
+81 ;;^UTILITY(U,$J,358.3,8722,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,8722,1,3,0)
+84 ;;=3^Personal Hx of Malig Neop of Cervix Uteri
+85 ;;^UTILITY(U,$J,358.3,8722,1,4,0)
+86 ;;=4^Z85.41
+87 ;;^UTILITY(U,$J,358.3,8722,2)
+88 ;;=^5063418
+89 ;;^UTILITY(U,$J,358.3,8723,0)
+90 ;;=Z85.43^^39^402^89
+91 ;;^UTILITY(U,$J,358.3,8723,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,8723,1,3,0)
+94 ;;=3^Personal Hx of Malig Neop of Ovary
+95 ;;^UTILITY(U,$J,358.3,8723,1,4,0)
+96 ;;=4^Z85.43
+97 ;;^UTILITY(U,$J,358.3,8723,2)
+98 ;;=^5063420
+99 ;;^UTILITY(U,$J,358.3,8724,0)
+100 ;;=Z85.46^^39^402^90
+101 ;;^UTILITY(U,$J,358.3,8724,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,8724,1,3,0)
+104 ;;=3^Personal Hx of Malig Neop of Prostate
+105 ;;^UTILITY(U,$J,358.3,8724,1,4,0)
+106 ;;=4^Z85.46
+107 ;;^UTILITY(U,$J,358.3,8724,2)
+108 ;;=^5063423
+109 ;;^UTILITY(U,$J,358.3,8725,0)
+110 ;;=Z85.47^^39^402^94
+111 ;;^UTILITY(U,$J,358.3,8725,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,8725,1,3,0)
+114 ;;=3^Personal Hx of Malig Neop of Testis
+115 ;;^UTILITY(U,$J,358.3,8725,1,4,0)
+116 ;;=4^Z85.47
+117 ;;^UTILITY(U,$J,358.3,8725,2)
+118 ;;=^5063424
+119 ;;^UTILITY(U,$J,358.3,8726,0)
+120 ;;=Z85.51^^39^402^78
+121 ;;^UTILITY(U,$J,358.3,8726,1,0)
+122 ;;=^358.31IA^4^2