IBDEI3HD ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.3,58536,1,3,0)
;;=3^Entropion Left Upper Eyelid,Unspec
;;^UTILITY(U,$J,358.3,58536,1,4,0)
;;=4^H02.004
;;^UTILITY(U,$J,358.3,58536,2)
;;=^5004276
;;^UTILITY(U,$J,358.3,58537,0)
;;=H02.002^^272^2908^39
;;^UTILITY(U,$J,358.3,58537,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58537,1,3,0)
;;=3^Entropion Right Lower Eyelid,Unspec
;;^UTILITY(U,$J,358.3,58537,1,4,0)
;;=4^H02.002
;;^UTILITY(U,$J,358.3,58537,2)
;;=^5133394
;;^UTILITY(U,$J,358.3,58538,0)
;;=H02.001^^272^2908^40
;;^UTILITY(U,$J,358.3,58538,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58538,1,3,0)
;;=3^Entropion Right Upper Eyelid,Unspec
;;^UTILITY(U,$J,358.3,58538,1,4,0)
;;=4^H02.001
;;^UTILITY(U,$J,358.3,58538,2)
;;=^5004274
;;^UTILITY(U,$J,358.3,58539,0)
;;=H04.202^^272^2908^41
;;^UTILITY(U,$J,358.3,58539,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58539,1,3,0)
;;=3^Epiphora Left Lacrimal Gland,Unspec
;;^UTILITY(U,$J,358.3,58539,1,4,0)
;;=4^H04.202
;;^UTILITY(U,$J,358.3,58539,2)
;;=^5004485
;;^UTILITY(U,$J,358.3,58540,0)
;;=H04.201^^272^2908^42
;;^UTILITY(U,$J,358.3,58540,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58540,1,3,0)
;;=3^Epiphora Right Lacrimal Gland,Unspec
;;^UTILITY(U,$J,358.3,58540,1,4,0)
;;=4^H04.201
;;^UTILITY(U,$J,358.3,58540,2)
;;=^5004484
;;^UTILITY(U,$J,358.3,58541,0)
;;=H52.01^^272^2909^13
;;^UTILITY(U,$J,358.3,58541,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58541,1,3,0)
;;=3^Hypermetropia,Right Eye
;;^UTILITY(U,$J,358.3,58541,1,4,0)
;;=4^H52.01
;;^UTILITY(U,$J,358.3,58541,2)
;;=^5006260
;;^UTILITY(U,$J,358.3,58542,0)
;;=H52.02^^272^2909^12
;;^UTILITY(U,$J,358.3,58542,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58542,1,3,0)
;;=3^Hypermetropia,Left Eye
;;^UTILITY(U,$J,358.3,58542,1,4,0)
;;=4^H52.02
;;^UTILITY(U,$J,358.3,58542,2)
;;=^5006261
;;^UTILITY(U,$J,358.3,58543,0)
;;=H52.13^^272^2909^15
;;^UTILITY(U,$J,358.3,58543,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58543,1,3,0)
;;=3^Myopia,Bilateral
;;^UTILITY(U,$J,358.3,58543,1,4,0)
;;=4^H52.13
;;^UTILITY(U,$J,358.3,58543,2)
;;=^5006266
;;^UTILITY(U,$J,358.3,58544,0)
;;=H52.11^^272^2909^17
;;^UTILITY(U,$J,358.3,58544,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58544,1,3,0)
;;=3^Myopia,Right Eye
;;^UTILITY(U,$J,358.3,58544,1,4,0)
;;=4^H52.11
;;^UTILITY(U,$J,358.3,58544,2)
;;=^5006264
;;^UTILITY(U,$J,358.3,58545,0)
;;=H52.12^^272^2909^16
;;^UTILITY(U,$J,358.3,58545,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58545,1,3,0)
;;=3^Myopia,Left Eye
;;^UTILITY(U,$J,358.3,58545,1,4,0)
;;=4^H52.12
;;^UTILITY(U,$J,358.3,58545,2)
;;=^5006265
;;^UTILITY(U,$J,358.3,58546,0)
;;=H52.201^^272^2909^4
;;^UTILITY(U,$J,358.3,58546,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58546,1,3,0)
;;=3^Astigmatism,Right Eye,Unspec
;;^UTILITY(U,$J,358.3,58546,1,4,0)
;;=4^H52.201
;;^UTILITY(U,$J,358.3,58546,2)
;;=^5006267
;;^UTILITY(U,$J,358.3,58547,0)
;;=H52.202^^272^2909^3
;;^UTILITY(U,$J,358.3,58547,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58547,1,3,0)
;;=3^Astigmatism,Left Eye,Unspec
;;^UTILITY(U,$J,358.3,58547,1,4,0)
;;=4^H52.202
;;^UTILITY(U,$J,358.3,58547,2)
;;=^5006268
;;^UTILITY(U,$J,358.3,58548,0)
;;=H52.31^^272^2909^2
;;^UTILITY(U,$J,358.3,58548,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58548,1,3,0)
;;=3^Anisometropia
;;^UTILITY(U,$J,358.3,58548,1,4,0)
;;=4^H52.31
;;^UTILITY(U,$J,358.3,58548,2)
;;=^7839
;;^UTILITY(U,$J,358.3,58549,0)
;;=H53.021^^272^2909^26
;;^UTILITY(U,$J,358.3,58549,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,58549,1,3,0)
;;=3^Refractive Amblyopia,Right Eye
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3HD 3988 printed Dec 13, 2024@02:48:48 Page 2
IBDEI3HD ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+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,99)
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,58536,1,3,0)
+2 ;;=3^Entropion Left Upper Eyelid,Unspec
+3 ;;^UTILITY(U,$J,358.3,58536,1,4,0)
+4 ;;=4^H02.004
+5 ;;^UTILITY(U,$J,358.3,58536,2)
+6 ;;=^5004276
+7 ;;^UTILITY(U,$J,358.3,58537,0)
+8 ;;=H02.002^^272^2908^39
+9 ;;^UTILITY(U,$J,358.3,58537,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,58537,1,3,0)
+12 ;;=3^Entropion Right Lower Eyelid,Unspec
+13 ;;^UTILITY(U,$J,358.3,58537,1,4,0)
+14 ;;=4^H02.002
+15 ;;^UTILITY(U,$J,358.3,58537,2)
+16 ;;=^5133394
+17 ;;^UTILITY(U,$J,358.3,58538,0)
+18 ;;=H02.001^^272^2908^40
+19 ;;^UTILITY(U,$J,358.3,58538,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,58538,1,3,0)
+22 ;;=3^Entropion Right Upper Eyelid,Unspec
+23 ;;^UTILITY(U,$J,358.3,58538,1,4,0)
+24 ;;=4^H02.001
+25 ;;^UTILITY(U,$J,358.3,58538,2)
+26 ;;=^5004274
+27 ;;^UTILITY(U,$J,358.3,58539,0)
+28 ;;=H04.202^^272^2908^41
+29 ;;^UTILITY(U,$J,358.3,58539,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,58539,1,3,0)
+32 ;;=3^Epiphora Left Lacrimal Gland,Unspec
+33 ;;^UTILITY(U,$J,358.3,58539,1,4,0)
+34 ;;=4^H04.202
+35 ;;^UTILITY(U,$J,358.3,58539,2)
+36 ;;=^5004485
+37 ;;^UTILITY(U,$J,358.3,58540,0)
+38 ;;=H04.201^^272^2908^42
+39 ;;^UTILITY(U,$J,358.3,58540,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,58540,1,3,0)
+42 ;;=3^Epiphora Right Lacrimal Gland,Unspec
+43 ;;^UTILITY(U,$J,358.3,58540,1,4,0)
+44 ;;=4^H04.201
+45 ;;^UTILITY(U,$J,358.3,58540,2)
+46 ;;=^5004484
+47 ;;^UTILITY(U,$J,358.3,58541,0)
+48 ;;=H52.01^^272^2909^13
+49 ;;^UTILITY(U,$J,358.3,58541,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,58541,1,3,0)
+52 ;;=3^Hypermetropia,Right Eye
+53 ;;^UTILITY(U,$J,358.3,58541,1,4,0)
+54 ;;=4^H52.01
+55 ;;^UTILITY(U,$J,358.3,58541,2)
+56 ;;=^5006260
+57 ;;^UTILITY(U,$J,358.3,58542,0)
+58 ;;=H52.02^^272^2909^12
+59 ;;^UTILITY(U,$J,358.3,58542,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,58542,1,3,0)
+62 ;;=3^Hypermetropia,Left Eye
+63 ;;^UTILITY(U,$J,358.3,58542,1,4,0)
+64 ;;=4^H52.02
+65 ;;^UTILITY(U,$J,358.3,58542,2)
+66 ;;=^5006261
+67 ;;^UTILITY(U,$J,358.3,58543,0)
+68 ;;=H52.13^^272^2909^15
+69 ;;^UTILITY(U,$J,358.3,58543,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,58543,1,3,0)
+72 ;;=3^Myopia,Bilateral
+73 ;;^UTILITY(U,$J,358.3,58543,1,4,0)
+74 ;;=4^H52.13
+75 ;;^UTILITY(U,$J,358.3,58543,2)
+76 ;;=^5006266
+77 ;;^UTILITY(U,$J,358.3,58544,0)
+78 ;;=H52.11^^272^2909^17
+79 ;;^UTILITY(U,$J,358.3,58544,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,58544,1,3,0)
+82 ;;=3^Myopia,Right Eye
+83 ;;^UTILITY(U,$J,358.3,58544,1,4,0)
+84 ;;=4^H52.11
+85 ;;^UTILITY(U,$J,358.3,58544,2)
+86 ;;=^5006264
+87 ;;^UTILITY(U,$J,358.3,58545,0)
+88 ;;=H52.12^^272^2909^16
+89 ;;^UTILITY(U,$J,358.3,58545,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,58545,1,3,0)
+92 ;;=3^Myopia,Left Eye
+93 ;;^UTILITY(U,$J,358.3,58545,1,4,0)
+94 ;;=4^H52.12
+95 ;;^UTILITY(U,$J,358.3,58545,2)
+96 ;;=^5006265
+97 ;;^UTILITY(U,$J,358.3,58546,0)
+98 ;;=H52.201^^272^2909^4
+99 ;;^UTILITY(U,$J,358.3,58546,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,58546,1,3,0)
+102 ;;=3^Astigmatism,Right Eye,Unspec
+103 ;;^UTILITY(U,$J,358.3,58546,1,4,0)
+104 ;;=4^H52.201
+105 ;;^UTILITY(U,$J,358.3,58546,2)
+106 ;;=^5006267
+107 ;;^UTILITY(U,$J,358.3,58547,0)
+108 ;;=H52.202^^272^2909^3
+109 ;;^UTILITY(U,$J,358.3,58547,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,58547,1,3,0)
+112 ;;=3^Astigmatism,Left Eye,Unspec
+113 ;;^UTILITY(U,$J,358.3,58547,1,4,0)
+114 ;;=4^H52.202
+115 ;;^UTILITY(U,$J,358.3,58547,2)
+116 ;;=^5006268
+117 ;;^UTILITY(U,$J,358.3,58548,0)
+118 ;;=H52.31^^272^2909^2
+119 ;;^UTILITY(U,$J,358.3,58548,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,58548,1,3,0)
+122 ;;=3^Anisometropia
+123 ;;^UTILITY(U,$J,358.3,58548,1,4,0)
+124 ;;=4^H52.31
+125 ;;^UTILITY(U,$J,358.3,58548,2)
+126 ;;=^7839
+127 ;;^UTILITY(U,$J,358.3,58549,0)
+128 ;;=H53.021^^272^2909^26
+129 ;;^UTILITY(U,$J,358.3,58549,1,0)
+130 ;;=^358.31IA^4^2
+131 ;;^UTILITY(U,$J,358.3,58549,1,3,0)
+132 ;;=3^Refractive Amblyopia,Right Eye