IBDEI20X ; ; 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,32303,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32303,1,3,0)
;;=3^DM 2 w/ Severe NPDR w/o ME,Unspec
;;^UTILITY(U,$J,358.3,32303,1,4,0)
;;=4^E11.3499
;;^UTILITY(U,$J,358.3,32303,2)
;;=^5138354
;;^UTILITY(U,$J,358.3,32304,0)
;;=E11.3559^^128^1656^12
;;^UTILITY(U,$J,358.3,32304,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32304,1,3,0)
;;=3^DM 2 w/ PDR,Stable,Unspec
;;^UTILITY(U,$J,358.3,32304,1,4,0)
;;=4^E11.3559
;;^UTILITY(U,$J,358.3,32304,2)
;;=^5138374
;;^UTILITY(U,$J,358.3,32305,0)
;;=E11.39^^128^1656^13
;;^UTILITY(U,$J,358.3,32305,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32305,1,3,0)
;;=3^DM 2 w/ Oth Ophthalmic Complications
;;^UTILITY(U,$J,358.3,32305,1,4,0)
;;=4^E11.39
;;^UTILITY(U,$J,358.3,32305,2)
;;=^5002643
;;^UTILITY(U,$J,358.3,32306,0)
;;=E11.3531^^128^1656^24
;;^UTILITY(U,$J,358.3,32306,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32306,1,3,0)
;;=3^DM 2 w/ PDR w/ TRD Not in Macula,Right Eye
;;^UTILITY(U,$J,358.3,32306,1,4,0)
;;=4^E11.3531
;;^UTILITY(U,$J,358.3,32306,2)
;;=^5138363
;;^UTILITY(U,$J,358.3,32307,0)
;;=E11.3532^^128^1656^33
;;^UTILITY(U,$J,358.3,32307,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32307,1,3,0)
;;=3^DM 2 w/ PDR w/ TRD Not in Macula,Left Eye
;;^UTILITY(U,$J,358.3,32307,1,4,0)
;;=4^E11.3532
;;^UTILITY(U,$J,358.3,32307,2)
;;=^5138364
;;^UTILITY(U,$J,358.3,32308,0)
;;=E11.3552^^128^1656^30
;;^UTILITY(U,$J,358.3,32308,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32308,1,3,0)
;;=3^DM 2 w/ PDR,Stable,Left Eye
;;^UTILITY(U,$J,358.3,32308,1,4,0)
;;=4^E11.3552
;;^UTILITY(U,$J,358.3,32308,2)
;;=^5138372
;;^UTILITY(U,$J,358.3,32309,0)
;;=E11.3551^^128^1656^21
;;^UTILITY(U,$J,358.3,32309,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32309,1,3,0)
;;=3^DM 2 w/ PDR,Stable,Right Eye
;;^UTILITY(U,$J,358.3,32309,1,4,0)
;;=4^E11.3551
;;^UTILITY(U,$J,358.3,32309,2)
;;=^5138371
;;^UTILITY(U,$J,358.3,32310,0)
;;=E11.3392^^128^1656^27
;;^UTILITY(U,$J,358.3,32310,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32310,1,3,0)
;;=3^DM2 w/ Mod NPDR W/O Macula Edema,Left Eye
;;^UTILITY(U,$J,358.3,32310,1,4,0)
;;=4^E11.3392
;;^UTILITY(U,$J,358.3,32310,2)
;;=^5138344
;;^UTILITY(U,$J,358.3,32311,0)
;;=E11.3529^^128^1656^10
;;^UTILITY(U,$J,358.3,32311,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32311,1,3,0)
;;=3^DM 2 PDR w TRD involve macula, unspec
;;^UTILITY(U,$J,358.3,32311,1,4,0)
;;=4^E11.3529
;;^UTILITY(U,$J,358.3,32311,2)
;;=^5138362
;;^UTILITY(U,$J,358.3,32312,0)
;;=E11.3539^^128^1656^11
;;^UTILITY(U,$J,358.3,32312,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32312,1,3,0)
;;=3^DM 2 PDR w TRD sparing macula, unspec
;;^UTILITY(U,$J,358.3,32312,1,4,0)
;;=4^E11.3539
;;^UTILITY(U,$J,358.3,32312,2)
;;=^5138366
;;^UTILITY(U,$J,358.3,32313,0)
;;=H40.1210^^128^1657^5
;;^UTILITY(U,$J,358.3,32313,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32313,1,3,0)
;;=3^LTG,OD,Stage Unspec
;;^UTILITY(U,$J,358.3,32313,1,4,0)
;;=4^H40.1210
;;^UTILITY(U,$J,358.3,32313,2)
;;=^5005758
;;^UTILITY(U,$J,358.3,32314,0)
;;=H40.1211^^128^1657^1
;;^UTILITY(U,$J,358.3,32314,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32314,1,3,0)
;;=3^LTC,OD,Mild Stage
;;^UTILITY(U,$J,358.3,32314,1,4,0)
;;=4^H40.1211
;;^UTILITY(U,$J,358.3,32314,2)
;;=^5005759
;;^UTILITY(U,$J,358.3,32315,0)
;;=H40.1212^^128^1657^2
;;^UTILITY(U,$J,358.3,32315,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI20X 3794 printed Oct 16, 2024@18:20:25 Page 2
IBDEI20X ; ; 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,32303,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,32303,1,3,0)
+4 ;;=3^DM 2 w/ Severe NPDR w/o ME,Unspec
+5 ;;^UTILITY(U,$J,358.3,32303,1,4,0)
+6 ;;=4^E11.3499
+7 ;;^UTILITY(U,$J,358.3,32303,2)
+8 ;;=^5138354
+9 ;;^UTILITY(U,$J,358.3,32304,0)
+10 ;;=E11.3559^^128^1656^12
+11 ;;^UTILITY(U,$J,358.3,32304,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,32304,1,3,0)
+14 ;;=3^DM 2 w/ PDR,Stable,Unspec
+15 ;;^UTILITY(U,$J,358.3,32304,1,4,0)
+16 ;;=4^E11.3559
+17 ;;^UTILITY(U,$J,358.3,32304,2)
+18 ;;=^5138374
+19 ;;^UTILITY(U,$J,358.3,32305,0)
+20 ;;=E11.39^^128^1656^13
+21 ;;^UTILITY(U,$J,358.3,32305,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,32305,1,3,0)
+24 ;;=3^DM 2 w/ Oth Ophthalmic Complications
+25 ;;^UTILITY(U,$J,358.3,32305,1,4,0)
+26 ;;=4^E11.39
+27 ;;^UTILITY(U,$J,358.3,32305,2)
+28 ;;=^5002643
+29 ;;^UTILITY(U,$J,358.3,32306,0)
+30 ;;=E11.3531^^128^1656^24
+31 ;;^UTILITY(U,$J,358.3,32306,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,32306,1,3,0)
+34 ;;=3^DM 2 w/ PDR w/ TRD Not in Macula,Right Eye
+35 ;;^UTILITY(U,$J,358.3,32306,1,4,0)
+36 ;;=4^E11.3531
+37 ;;^UTILITY(U,$J,358.3,32306,2)
+38 ;;=^5138363
+39 ;;^UTILITY(U,$J,358.3,32307,0)
+40 ;;=E11.3532^^128^1656^33
+41 ;;^UTILITY(U,$J,358.3,32307,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,32307,1,3,0)
+44 ;;=3^DM 2 w/ PDR w/ TRD Not in Macula,Left Eye
+45 ;;^UTILITY(U,$J,358.3,32307,1,4,0)
+46 ;;=4^E11.3532
+47 ;;^UTILITY(U,$J,358.3,32307,2)
+48 ;;=^5138364
+49 ;;^UTILITY(U,$J,358.3,32308,0)
+50 ;;=E11.3552^^128^1656^30
+51 ;;^UTILITY(U,$J,358.3,32308,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,32308,1,3,0)
+54 ;;=3^DM 2 w/ PDR,Stable,Left Eye
+55 ;;^UTILITY(U,$J,358.3,32308,1,4,0)
+56 ;;=4^E11.3552
+57 ;;^UTILITY(U,$J,358.3,32308,2)
+58 ;;=^5138372
+59 ;;^UTILITY(U,$J,358.3,32309,0)
+60 ;;=E11.3551^^128^1656^21
+61 ;;^UTILITY(U,$J,358.3,32309,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,32309,1,3,0)
+64 ;;=3^DM 2 w/ PDR,Stable,Right Eye
+65 ;;^UTILITY(U,$J,358.3,32309,1,4,0)
+66 ;;=4^E11.3551
+67 ;;^UTILITY(U,$J,358.3,32309,2)
+68 ;;=^5138371
+69 ;;^UTILITY(U,$J,358.3,32310,0)
+70 ;;=E11.3392^^128^1656^27
+71 ;;^UTILITY(U,$J,358.3,32310,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,32310,1,3,0)
+74 ;;=3^DM2 w/ Mod NPDR W/O Macula Edema,Left Eye
+75 ;;^UTILITY(U,$J,358.3,32310,1,4,0)
+76 ;;=4^E11.3392
+77 ;;^UTILITY(U,$J,358.3,32310,2)
+78 ;;=^5138344
+79 ;;^UTILITY(U,$J,358.3,32311,0)
+80 ;;=E11.3529^^128^1656^10
+81 ;;^UTILITY(U,$J,358.3,32311,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,32311,1,3,0)
+84 ;;=3^DM 2 PDR w TRD involve macula, unspec
+85 ;;^UTILITY(U,$J,358.3,32311,1,4,0)
+86 ;;=4^E11.3529
+87 ;;^UTILITY(U,$J,358.3,32311,2)
+88 ;;=^5138362
+89 ;;^UTILITY(U,$J,358.3,32312,0)
+90 ;;=E11.3539^^128^1656^11
+91 ;;^UTILITY(U,$J,358.3,32312,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,32312,1,3,0)
+94 ;;=3^DM 2 PDR w TRD sparing macula, unspec
+95 ;;^UTILITY(U,$J,358.3,32312,1,4,0)
+96 ;;=4^E11.3539
+97 ;;^UTILITY(U,$J,358.3,32312,2)
+98 ;;=^5138366
+99 ;;^UTILITY(U,$J,358.3,32313,0)
+100 ;;=H40.1210^^128^1657^5
+101 ;;^UTILITY(U,$J,358.3,32313,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,32313,1,3,0)
+104 ;;=3^LTG,OD,Stage Unspec
+105 ;;^UTILITY(U,$J,358.3,32313,1,4,0)
+106 ;;=4^H40.1210
+107 ;;^UTILITY(U,$J,358.3,32313,2)
+108 ;;=^5005758
+109 ;;^UTILITY(U,$J,358.3,32314,0)
+110 ;;=H40.1211^^128^1657^1
+111 ;;^UTILITY(U,$J,358.3,32314,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,32314,1,3,0)
+114 ;;=3^LTC,OD,Mild Stage
+115 ;;^UTILITY(U,$J,358.3,32314,1,4,0)
+116 ;;=4^H40.1211
+117 ;;^UTILITY(U,$J,358.3,32314,2)
+118 ;;=^5005759
+119 ;;^UTILITY(U,$J,358.3,32315,0)
+120 ;;=H40.1212^^128^1657^2
+121 ;;^UTILITY(U,$J,358.3,32315,1,0)
+122 ;;=^358.31IA^4^2