IBDEI0S8 ; ; 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,12708,1,4,0)
;;=4^E10.3319
;;^UTILITY(U,$J,358.3,12708,2)
;;=^5138290
;;^UTILITY(U,$J,358.3,12709,0)
;;=E10.3399^^51^618^38
;;^UTILITY(U,$J,358.3,12709,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12709,1,3,0)
;;=3^DM 1 w/ Mod NPDR w/o ME,Unspec
;;^UTILITY(U,$J,358.3,12709,1,4,0)
;;=4^E10.3399
;;^UTILITY(U,$J,358.3,12709,2)
;;=^5138294
;;^UTILITY(U,$J,358.3,12710,0)
;;=E10.37X9^^51^618^45
;;^UTILITY(U,$J,358.3,12710,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12710,1,3,0)
;;=3^DM 1 w/ Oth DM Ophthalmic Complications
;;^UTILITY(U,$J,358.3,12710,1,4,0)
;;=4^E10.37X9
;;^UTILITY(U,$J,358.3,12710,2)
;;=^5138330
;;^UTILITY(U,$J,358.3,12711,0)
;;=E10.3519^^51^618^41
;;^UTILITY(U,$J,358.3,12711,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12711,1,3,0)
;;=3^DM 1 w/ PDR w/ ME,Unspec
;;^UTILITY(U,$J,358.3,12711,1,4,0)
;;=4^E10.3519
;;^UTILITY(U,$J,358.3,12711,2)
;;=^5138306
;;^UTILITY(U,$J,358.3,12712,0)
;;=E10.3529^^51^618^43
;;^UTILITY(U,$J,358.3,12712,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12712,1,3,0)
;;=3^DM 1 w/ PDR w/ TRD involv Macula,Unspec
;;^UTILITY(U,$J,358.3,12712,1,4,0)
;;=4^E10.3529
;;^UTILITY(U,$J,358.3,12712,2)
;;=^5138310
;;^UTILITY(U,$J,358.3,12713,0)
;;=E10.3539^^51^618^44
;;^UTILITY(U,$J,358.3,12713,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12713,1,3,0)
;;=3^DM 1 w/ PDR w/ TRD Sparing Macula,Unspec
;;^UTILITY(U,$J,358.3,12713,1,4,0)
;;=4^E10.3539
;;^UTILITY(U,$J,358.3,12713,2)
;;=^5138314
;;^UTILITY(U,$J,358.3,12714,0)
;;=E10.3599^^51^618^42
;;^UTILITY(U,$J,358.3,12714,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12714,1,3,0)
;;=3^DM 1 w/ PDR w/o ME,Unspec
;;^UTILITY(U,$J,358.3,12714,1,4,0)
;;=4^E10.3599
;;^UTILITY(U,$J,358.3,12714,2)
;;=^5138326
;;^UTILITY(U,$J,358.3,12715,0)
;;=E10.3419^^51^618^39
;;^UTILITY(U,$J,358.3,12715,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12715,1,3,0)
;;=3^DM 1 w/ Severe NPDR w/ ME,Unspec
;;^UTILITY(U,$J,358.3,12715,1,4,0)
;;=4^E10.3419
;;^UTILITY(U,$J,358.3,12715,2)
;;=^5138298
;;^UTILITY(U,$J,358.3,12716,0)
;;=E10.3499^^51^618^40
;;^UTILITY(U,$J,358.3,12716,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12716,1,3,0)
;;=3^DM 1 w/ Severe NPDR w/o ME,Unspec
;;^UTILITY(U,$J,358.3,12716,1,4,0)
;;=4^E10.3499
;;^UTILITY(U,$J,358.3,12716,2)
;;=^5138302
;;^UTILITY(U,$J,358.3,12717,0)
;;=E10.3521^^51^618^55
;;^UTILITY(U,$J,358.3,12717,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12717,1,3,0)
;;=3^DM 1 w/ PDR w/ TRD in Macula,Right Eye
;;^UTILITY(U,$J,358.3,12717,1,4,0)
;;=4^E10.3521
;;^UTILITY(U,$J,358.3,12717,2)
;;=^5138307
;;^UTILITY(U,$J,358.3,12718,0)
;;=E10.3532^^51^618^65
;;^UTILITY(U,$J,358.3,12718,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12718,1,3,0)
;;=3^DM 1 w/ PDR w/ TRD Not in Macula,Left Eye
;;^UTILITY(U,$J,358.3,12718,1,4,0)
;;=4^E10.3532
;;^UTILITY(U,$J,358.3,12718,2)
;;=^5138312
;;^UTILITY(U,$J,358.3,12719,0)
;;=E10.3552^^51^618^62
;;^UTILITY(U,$J,358.3,12719,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12719,1,3,0)
;;=3^DM 1 w/ PDR,Stable,Left Eye
;;^UTILITY(U,$J,358.3,12719,1,4,0)
;;=4^E10.3552
;;^UTILITY(U,$J,358.3,12719,2)
;;=^5138320
;;^UTILITY(U,$J,358.3,12720,0)
;;=E10.3551^^51^618^52
;;^UTILITY(U,$J,358.3,12720,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12720,1,3,0)
;;=3^DM 1 w/ PDR,Stable,Right Eye
;;^UTILITY(U,$J,358.3,12720,1,4,0)
;;=4^E10.3551
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0S8 3789 printed Nov 22, 2024@17:04:57 Page 2
IBDEI0S8 ; ; 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,12708,1,4,0)
+2 ;;=4^E10.3319
+3 ;;^UTILITY(U,$J,358.3,12708,2)
+4 ;;=^5138290
+5 ;;^UTILITY(U,$J,358.3,12709,0)
+6 ;;=E10.3399^^51^618^38
+7 ;;^UTILITY(U,$J,358.3,12709,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,12709,1,3,0)
+10 ;;=3^DM 1 w/ Mod NPDR w/o ME,Unspec
+11 ;;^UTILITY(U,$J,358.3,12709,1,4,0)
+12 ;;=4^E10.3399
+13 ;;^UTILITY(U,$J,358.3,12709,2)
+14 ;;=^5138294
+15 ;;^UTILITY(U,$J,358.3,12710,0)
+16 ;;=E10.37X9^^51^618^45
+17 ;;^UTILITY(U,$J,358.3,12710,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,12710,1,3,0)
+20 ;;=3^DM 1 w/ Oth DM Ophthalmic Complications
+21 ;;^UTILITY(U,$J,358.3,12710,1,4,0)
+22 ;;=4^E10.37X9
+23 ;;^UTILITY(U,$J,358.3,12710,2)
+24 ;;=^5138330
+25 ;;^UTILITY(U,$J,358.3,12711,0)
+26 ;;=E10.3519^^51^618^41
+27 ;;^UTILITY(U,$J,358.3,12711,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,12711,1,3,0)
+30 ;;=3^DM 1 w/ PDR w/ ME,Unspec
+31 ;;^UTILITY(U,$J,358.3,12711,1,4,0)
+32 ;;=4^E10.3519
+33 ;;^UTILITY(U,$J,358.3,12711,2)
+34 ;;=^5138306
+35 ;;^UTILITY(U,$J,358.3,12712,0)
+36 ;;=E10.3529^^51^618^43
+37 ;;^UTILITY(U,$J,358.3,12712,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,12712,1,3,0)
+40 ;;=3^DM 1 w/ PDR w/ TRD involv Macula,Unspec
+41 ;;^UTILITY(U,$J,358.3,12712,1,4,0)
+42 ;;=4^E10.3529
+43 ;;^UTILITY(U,$J,358.3,12712,2)
+44 ;;=^5138310
+45 ;;^UTILITY(U,$J,358.3,12713,0)
+46 ;;=E10.3539^^51^618^44
+47 ;;^UTILITY(U,$J,358.3,12713,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,12713,1,3,0)
+50 ;;=3^DM 1 w/ PDR w/ TRD Sparing Macula,Unspec
+51 ;;^UTILITY(U,$J,358.3,12713,1,4,0)
+52 ;;=4^E10.3539
+53 ;;^UTILITY(U,$J,358.3,12713,2)
+54 ;;=^5138314
+55 ;;^UTILITY(U,$J,358.3,12714,0)
+56 ;;=E10.3599^^51^618^42
+57 ;;^UTILITY(U,$J,358.3,12714,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,12714,1,3,0)
+60 ;;=3^DM 1 w/ PDR w/o ME,Unspec
+61 ;;^UTILITY(U,$J,358.3,12714,1,4,0)
+62 ;;=4^E10.3599
+63 ;;^UTILITY(U,$J,358.3,12714,2)
+64 ;;=^5138326
+65 ;;^UTILITY(U,$J,358.3,12715,0)
+66 ;;=E10.3419^^51^618^39
+67 ;;^UTILITY(U,$J,358.3,12715,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,12715,1,3,0)
+70 ;;=3^DM 1 w/ Severe NPDR w/ ME,Unspec
+71 ;;^UTILITY(U,$J,358.3,12715,1,4,0)
+72 ;;=4^E10.3419
+73 ;;^UTILITY(U,$J,358.3,12715,2)
+74 ;;=^5138298
+75 ;;^UTILITY(U,$J,358.3,12716,0)
+76 ;;=E10.3499^^51^618^40
+77 ;;^UTILITY(U,$J,358.3,12716,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,12716,1,3,0)
+80 ;;=3^DM 1 w/ Severe NPDR w/o ME,Unspec
+81 ;;^UTILITY(U,$J,358.3,12716,1,4,0)
+82 ;;=4^E10.3499
+83 ;;^UTILITY(U,$J,358.3,12716,2)
+84 ;;=^5138302
+85 ;;^UTILITY(U,$J,358.3,12717,0)
+86 ;;=E10.3521^^51^618^55
+87 ;;^UTILITY(U,$J,358.3,12717,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,12717,1,3,0)
+90 ;;=3^DM 1 w/ PDR w/ TRD in Macula,Right Eye
+91 ;;^UTILITY(U,$J,358.3,12717,1,4,0)
+92 ;;=4^E10.3521
+93 ;;^UTILITY(U,$J,358.3,12717,2)
+94 ;;=^5138307
+95 ;;^UTILITY(U,$J,358.3,12718,0)
+96 ;;=E10.3532^^51^618^65
+97 ;;^UTILITY(U,$J,358.3,12718,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,12718,1,3,0)
+100 ;;=3^DM 1 w/ PDR w/ TRD Not in Macula,Left Eye
+101 ;;^UTILITY(U,$J,358.3,12718,1,4,0)
+102 ;;=4^E10.3532
+103 ;;^UTILITY(U,$J,358.3,12718,2)
+104 ;;=^5138312
+105 ;;^UTILITY(U,$J,358.3,12719,0)
+106 ;;=E10.3552^^51^618^62
+107 ;;^UTILITY(U,$J,358.3,12719,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,12719,1,3,0)
+110 ;;=3^DM 1 w/ PDR,Stable,Left Eye
+111 ;;^UTILITY(U,$J,358.3,12719,1,4,0)
+112 ;;=4^E10.3552
+113 ;;^UTILITY(U,$J,358.3,12719,2)
+114 ;;=^5138320
+115 ;;^UTILITY(U,$J,358.3,12720,0)
+116 ;;=E10.3551^^51^618^52
+117 ;;^UTILITY(U,$J,358.3,12720,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,12720,1,3,0)
+120 ;;=3^DM 1 w/ PDR,Stable,Right Eye
+121 ;;^UTILITY(U,$J,358.3,12720,1,4,0)
+122 ;;=4^E10.3551