IBDEI21N ; ; 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,32620,1,4,0)
;;=4^E11.3391
;;^UTILITY(U,$J,358.3,32620,2)
;;=^5138343
;;^UTILITY(U,$J,358.3,32621,0)
;;=E11.9^^128^1665^20
;;^UTILITY(U,$J,358.3,32621,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32621,1,3,0)
;;=3^DM2 w/o Complications
;;^UTILITY(U,$J,358.3,32621,1,4,0)
;;=4^E11.9
;;^UTILITY(U,$J,358.3,32621,2)
;;=^5002666
;;^UTILITY(U,$J,358.3,32622,0)
;;=H02.056^^128^1665^45
;;^UTILITY(U,$J,358.3,32622,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32622,1,3,0)
;;=3^Trichiasis w/o Entropion Lt Eye,Unspec Eyelid
;;^UTILITY(U,$J,358.3,32622,1,4,0)
;;=4^H02.056
;;^UTILITY(U,$J,358.3,32622,2)
;;=^5004302
;;^UTILITY(U,$J,358.3,32623,0)
;;=H02.053^^128^1665^46
;;^UTILITY(U,$J,358.3,32623,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32623,1,3,0)
;;=3^Trichiasis w/o Entropion Rt Eye,Unspec Eyelid
;;^UTILITY(U,$J,358.3,32623,1,4,0)
;;=4^H02.053
;;^UTILITY(U,$J,358.3,32623,2)
;;=^5004300
;;^UTILITY(U,$J,358.3,32624,0)
;;=H43.813^^128^1665^47
;;^UTILITY(U,$J,358.3,32624,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32624,1,3,0)
;;=3^Vitreous Degeneration,Bilateral
;;^UTILITY(U,$J,358.3,32624,1,4,0)
;;=4^H43.813
;;^UTILITY(U,$J,358.3,32624,2)
;;=^5005955
;;^UTILITY(U,$J,358.3,32625,0)
;;=H43.812^^128^1665^48
;;^UTILITY(U,$J,358.3,32625,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32625,1,3,0)
;;=3^Vitreous Degeneration,Lt Eye
;;^UTILITY(U,$J,358.3,32625,1,4,0)
;;=4^H43.812
;;^UTILITY(U,$J,358.3,32625,2)
;;=^5005954
;;^UTILITY(U,$J,358.3,32626,0)
;;=H43.811^^128^1665^49
;;^UTILITY(U,$J,358.3,32626,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32626,1,3,0)
;;=3^Vitreous Degeneration,Rt Eye
;;^UTILITY(U,$J,358.3,32626,1,4,0)
;;=4^H43.811
;;^UTILITY(U,$J,358.3,32626,2)
;;=^5005953
;;^UTILITY(U,$J,358.3,32627,0)
;;=H35.3230^^128^1665^28
;;^UTILITY(U,$J,358.3,32627,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32627,1,3,0)
;;=3^Exudative AMD,Bilateral
;;^UTILITY(U,$J,358.3,32627,1,4,0)
;;=4^H35.3230
;;^UTILITY(U,$J,358.3,32627,2)
;;=^5138528
;;^UTILITY(U,$J,358.3,32628,0)
;;=H02.151^^128^1665^43
;;^UTILITY(U,$J,358.3,32628,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32628,1,3,0)
;;=3^Paralytic Ectropion,Rt Upper Eyelid
;;^UTILITY(U,$J,358.3,32628,1,4,0)
;;=4^H02.151
;;^UTILITY(U,$J,358.3,32628,2)
;;=^5157324
;;^UTILITY(U,$J,358.3,32629,0)
;;=H02.152^^128^1665^42
;;^UTILITY(U,$J,358.3,32629,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32629,1,3,0)
;;=3^Paralytic Ectropion,Rt Lower Eyelid
;;^UTILITY(U,$J,358.3,32629,1,4,0)
;;=4^H02.152
;;^UTILITY(U,$J,358.3,32629,2)
;;=^5157325
;;^UTILITY(U,$J,358.3,32630,0)
;;=H02.153^^128^1665^41
;;^UTILITY(U,$J,358.3,32630,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32630,1,3,0)
;;=3^Paralytic Ectropion,Rt Eye,Unspec Eyelid
;;^UTILITY(U,$J,358.3,32630,1,4,0)
;;=4^H02.153
;;^UTILITY(U,$J,358.3,32630,2)
;;=^5157326
;;^UTILITY(U,$J,358.3,32631,0)
;;=H02.154^^128^1665^40
;;^UTILITY(U,$J,358.3,32631,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32631,1,3,0)
;;=3^Paralytic Ectropion,Lt Upper Eyelid
;;^UTILITY(U,$J,358.3,32631,1,4,0)
;;=4^H02.154
;;^UTILITY(U,$J,358.3,32631,2)
;;=^5157327
;;^UTILITY(U,$J,358.3,32632,0)
;;=H02.155^^128^1665^39
;;^UTILITY(U,$J,358.3,32632,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32632,1,3,0)
;;=3^Paralytic Ectropion,Lt Lower Eyelid
;;^UTILITY(U,$J,358.3,32632,1,4,0)
;;=4^H02.155
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI21N 3792 printed Dec 13, 2024@02:20:01 Page 2
IBDEI21N ; ; 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,32620,1,4,0)
+2 ;;=4^E11.3391
+3 ;;^UTILITY(U,$J,358.3,32620,2)
+4 ;;=^5138343
+5 ;;^UTILITY(U,$J,358.3,32621,0)
+6 ;;=E11.9^^128^1665^20
+7 ;;^UTILITY(U,$J,358.3,32621,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,32621,1,3,0)
+10 ;;=3^DM2 w/o Complications
+11 ;;^UTILITY(U,$J,358.3,32621,1,4,0)
+12 ;;=4^E11.9
+13 ;;^UTILITY(U,$J,358.3,32621,2)
+14 ;;=^5002666
+15 ;;^UTILITY(U,$J,358.3,32622,0)
+16 ;;=H02.056^^128^1665^45
+17 ;;^UTILITY(U,$J,358.3,32622,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,32622,1,3,0)
+20 ;;=3^Trichiasis w/o Entropion Lt Eye,Unspec Eyelid
+21 ;;^UTILITY(U,$J,358.3,32622,1,4,0)
+22 ;;=4^H02.056
+23 ;;^UTILITY(U,$J,358.3,32622,2)
+24 ;;=^5004302
+25 ;;^UTILITY(U,$J,358.3,32623,0)
+26 ;;=H02.053^^128^1665^46
+27 ;;^UTILITY(U,$J,358.3,32623,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,32623,1,3,0)
+30 ;;=3^Trichiasis w/o Entropion Rt Eye,Unspec Eyelid
+31 ;;^UTILITY(U,$J,358.3,32623,1,4,0)
+32 ;;=4^H02.053
+33 ;;^UTILITY(U,$J,358.3,32623,2)
+34 ;;=^5004300
+35 ;;^UTILITY(U,$J,358.3,32624,0)
+36 ;;=H43.813^^128^1665^47
+37 ;;^UTILITY(U,$J,358.3,32624,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,32624,1,3,0)
+40 ;;=3^Vitreous Degeneration,Bilateral
+41 ;;^UTILITY(U,$J,358.3,32624,1,4,0)
+42 ;;=4^H43.813
+43 ;;^UTILITY(U,$J,358.3,32624,2)
+44 ;;=^5005955
+45 ;;^UTILITY(U,$J,358.3,32625,0)
+46 ;;=H43.812^^128^1665^48
+47 ;;^UTILITY(U,$J,358.3,32625,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,32625,1,3,0)
+50 ;;=3^Vitreous Degeneration,Lt Eye
+51 ;;^UTILITY(U,$J,358.3,32625,1,4,0)
+52 ;;=4^H43.812
+53 ;;^UTILITY(U,$J,358.3,32625,2)
+54 ;;=^5005954
+55 ;;^UTILITY(U,$J,358.3,32626,0)
+56 ;;=H43.811^^128^1665^49
+57 ;;^UTILITY(U,$J,358.3,32626,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,32626,1,3,0)
+60 ;;=3^Vitreous Degeneration,Rt Eye
+61 ;;^UTILITY(U,$J,358.3,32626,1,4,0)
+62 ;;=4^H43.811
+63 ;;^UTILITY(U,$J,358.3,32626,2)
+64 ;;=^5005953
+65 ;;^UTILITY(U,$J,358.3,32627,0)
+66 ;;=H35.3230^^128^1665^28
+67 ;;^UTILITY(U,$J,358.3,32627,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,32627,1,3,0)
+70 ;;=3^Exudative AMD,Bilateral
+71 ;;^UTILITY(U,$J,358.3,32627,1,4,0)
+72 ;;=4^H35.3230
+73 ;;^UTILITY(U,$J,358.3,32627,2)
+74 ;;=^5138528
+75 ;;^UTILITY(U,$J,358.3,32628,0)
+76 ;;=H02.151^^128^1665^43
+77 ;;^UTILITY(U,$J,358.3,32628,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,32628,1,3,0)
+80 ;;=3^Paralytic Ectropion,Rt Upper Eyelid
+81 ;;^UTILITY(U,$J,358.3,32628,1,4,0)
+82 ;;=4^H02.151
+83 ;;^UTILITY(U,$J,358.3,32628,2)
+84 ;;=^5157324
+85 ;;^UTILITY(U,$J,358.3,32629,0)
+86 ;;=H02.152^^128^1665^42
+87 ;;^UTILITY(U,$J,358.3,32629,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,32629,1,3,0)
+90 ;;=3^Paralytic Ectropion,Rt Lower Eyelid
+91 ;;^UTILITY(U,$J,358.3,32629,1,4,0)
+92 ;;=4^H02.152
+93 ;;^UTILITY(U,$J,358.3,32629,2)
+94 ;;=^5157325
+95 ;;^UTILITY(U,$J,358.3,32630,0)
+96 ;;=H02.153^^128^1665^41
+97 ;;^UTILITY(U,$J,358.3,32630,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,32630,1,3,0)
+100 ;;=3^Paralytic Ectropion,Rt Eye,Unspec Eyelid
+101 ;;^UTILITY(U,$J,358.3,32630,1,4,0)
+102 ;;=4^H02.153
+103 ;;^UTILITY(U,$J,358.3,32630,2)
+104 ;;=^5157326
+105 ;;^UTILITY(U,$J,358.3,32631,0)
+106 ;;=H02.154^^128^1665^40
+107 ;;^UTILITY(U,$J,358.3,32631,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,32631,1,3,0)
+110 ;;=3^Paralytic Ectropion,Lt Upper Eyelid
+111 ;;^UTILITY(U,$J,358.3,32631,1,4,0)
+112 ;;=4^H02.154
+113 ;;^UTILITY(U,$J,358.3,32631,2)
+114 ;;=^5157327
+115 ;;^UTILITY(U,$J,358.3,32632,0)
+116 ;;=H02.155^^128^1665^39
+117 ;;^UTILITY(U,$J,358.3,32632,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,32632,1,3,0)
+120 ;;=3^Paralytic Ectropion,Lt Lower Eyelid
+121 ;;^UTILITY(U,$J,358.3,32632,1,4,0)
+122 ;;=4^H02.155