IBDEI20T ; ; 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,32255,1,4,0)
;;=4^E11.3592
;;^UTILITY(U,$J,358.3,32255,2)
;;=^5138376
;;^UTILITY(U,$J,358.3,32256,0)
;;=E11.3211^^128^1656^14
;;^UTILITY(U,$J,358.3,32256,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32256,1,3,0)
;;=3^DM 2 w/ MILD NPDR w/ Macular Edema,Right Eye
;;^UTILITY(U,$J,358.3,32256,1,4,0)
;;=4^E11.3211
;;^UTILITY(U,$J,358.3,32256,2)
;;=^5138331
;;^UTILITY(U,$J,358.3,32257,0)
;;=E11.3212^^128^1656^15
;;^UTILITY(U,$J,358.3,32257,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32257,1,3,0)
;;=3^DM 2 w/ MILD NPDR w/ Macular Edema,Left Eye
;;^UTILITY(U,$J,358.3,32257,1,4,0)
;;=4^E11.3212
;;^UTILITY(U,$J,358.3,32257,2)
;;=^5138332
;;^UTILITY(U,$J,358.3,32258,0)
;;=E11.3311^^128^1656^17
;;^UTILITY(U,$J,358.3,32258,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32258,1,3,0)
;;=3^DM 2 w/ MOD NPDR w/ Macular Edema,Right Eye
;;^UTILITY(U,$J,358.3,32258,1,4,0)
;;=4^E11.3311
;;^UTILITY(U,$J,358.3,32258,2)
;;=^5138339
;;^UTILITY(U,$J,358.3,32259,0)
;;=E11.3312^^128^1656^26
;;^UTILITY(U,$J,358.3,32259,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32259,1,3,0)
;;=3^DM 2 w/ MOD NPDR w/ Macular Edema,Left Eye
;;^UTILITY(U,$J,358.3,32259,1,4,0)
;;=4^E11.3312
;;^UTILITY(U,$J,358.3,32259,2)
;;=^5138340
;;^UTILITY(U,$J,358.3,32260,0)
;;=E11.3411^^128^1656^19
;;^UTILITY(U,$J,358.3,32260,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32260,1,3,0)
;;=3^DM 2 w/ SEVERE NPDR w/ Macular Edema,Right Eye
;;^UTILITY(U,$J,358.3,32260,1,4,0)
;;=4^E11.3411
;;^UTILITY(U,$J,358.3,32260,2)
;;=^5138347
;;^UTILITY(U,$J,358.3,32261,0)
;;=E11.3412^^128^1656^28
;;^UTILITY(U,$J,358.3,32261,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32261,1,3,0)
;;=3^DM 2 w/ SEVERE NPDR w/ Macular Edema,Left Eye
;;^UTILITY(U,$J,358.3,32261,1,4,0)
;;=4^E11.3412
;;^UTILITY(U,$J,358.3,32261,2)
;;=^5138348
;;^UTILITY(U,$J,358.3,32262,0)
;;=E11.3511^^128^1656^22
;;^UTILITY(U,$J,358.3,32262,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32262,1,3,0)
;;=3^DM 2 w/ PDR w/ Macular Edema,Right Eye
;;^UTILITY(U,$J,358.3,32262,1,4,0)
;;=4^E11.3511
;;^UTILITY(U,$J,358.3,32262,2)
;;=^5138355
;;^UTILITY(U,$J,358.3,32263,0)
;;=E11.3512^^128^1656^31
;;^UTILITY(U,$J,358.3,32263,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32263,1,3,0)
;;=3^DM 2 w/ PDR w/ Macular Edema,Left Eye
;;^UTILITY(U,$J,358.3,32263,1,4,0)
;;=4^E11.3512
;;^UTILITY(U,$J,358.3,32263,2)
;;=^5138356
;;^UTILITY(U,$J,358.3,32264,0)
;;=E10.3291^^128^1656^47
;;^UTILITY(U,$J,358.3,32264,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32264,1,3,0)
;;=3^DM 1 w/ MILD NPDR w/o Macular Edema,Right Eye
;;^UTILITY(U,$J,358.3,32264,1,4,0)
;;=4^E10.3291
;;^UTILITY(U,$J,358.3,32264,2)
;;=^5138283
;;^UTILITY(U,$J,358.3,32265,0)
;;=E10.3292^^128^1656^57
;;^UTILITY(U,$J,358.3,32265,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32265,1,3,0)
;;=3^DM 1 w/ MILD NPDR w/o Macular Edema,Left Eye
;;^UTILITY(U,$J,358.3,32265,1,4,0)
;;=4^E10.3292
;;^UTILITY(U,$J,358.3,32265,2)
;;=^5138284
;;^UTILITY(U,$J,358.3,32266,0)
;;=E10.3391^^128^1656^49
;;^UTILITY(U,$J,358.3,32266,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32266,1,3,0)
;;=3^DM 1 w/ MOD NPDR w/o Macular Edema,Right Eye
;;^UTILITY(U,$J,358.3,32266,1,4,0)
;;=4^E10.3391
;;^UTILITY(U,$J,358.3,32266,2)
;;=^5138291
;;^UTILITY(U,$J,358.3,32267,0)
;;=E10.3392^^128^1656^59
;;^UTILITY(U,$J,358.3,32267,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI20T 3790 printed Nov 22, 2024@17:29:44 Page 2
IBDEI20T ; ; 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,32255,1,4,0)
+2 ;;=4^E11.3592
+3 ;;^UTILITY(U,$J,358.3,32255,2)
+4 ;;=^5138376
+5 ;;^UTILITY(U,$J,358.3,32256,0)
+6 ;;=E11.3211^^128^1656^14
+7 ;;^UTILITY(U,$J,358.3,32256,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,32256,1,3,0)
+10 ;;=3^DM 2 w/ MILD NPDR w/ Macular Edema,Right Eye
+11 ;;^UTILITY(U,$J,358.3,32256,1,4,0)
+12 ;;=4^E11.3211
+13 ;;^UTILITY(U,$J,358.3,32256,2)
+14 ;;=^5138331
+15 ;;^UTILITY(U,$J,358.3,32257,0)
+16 ;;=E11.3212^^128^1656^15
+17 ;;^UTILITY(U,$J,358.3,32257,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,32257,1,3,0)
+20 ;;=3^DM 2 w/ MILD NPDR w/ Macular Edema,Left Eye
+21 ;;^UTILITY(U,$J,358.3,32257,1,4,0)
+22 ;;=4^E11.3212
+23 ;;^UTILITY(U,$J,358.3,32257,2)
+24 ;;=^5138332
+25 ;;^UTILITY(U,$J,358.3,32258,0)
+26 ;;=E11.3311^^128^1656^17
+27 ;;^UTILITY(U,$J,358.3,32258,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,32258,1,3,0)
+30 ;;=3^DM 2 w/ MOD NPDR w/ Macular Edema,Right Eye
+31 ;;^UTILITY(U,$J,358.3,32258,1,4,0)
+32 ;;=4^E11.3311
+33 ;;^UTILITY(U,$J,358.3,32258,2)
+34 ;;=^5138339
+35 ;;^UTILITY(U,$J,358.3,32259,0)
+36 ;;=E11.3312^^128^1656^26
+37 ;;^UTILITY(U,$J,358.3,32259,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,32259,1,3,0)
+40 ;;=3^DM 2 w/ MOD NPDR w/ Macular Edema,Left Eye
+41 ;;^UTILITY(U,$J,358.3,32259,1,4,0)
+42 ;;=4^E11.3312
+43 ;;^UTILITY(U,$J,358.3,32259,2)
+44 ;;=^5138340
+45 ;;^UTILITY(U,$J,358.3,32260,0)
+46 ;;=E11.3411^^128^1656^19
+47 ;;^UTILITY(U,$J,358.3,32260,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,32260,1,3,0)
+50 ;;=3^DM 2 w/ SEVERE NPDR w/ Macular Edema,Right Eye
+51 ;;^UTILITY(U,$J,358.3,32260,1,4,0)
+52 ;;=4^E11.3411
+53 ;;^UTILITY(U,$J,358.3,32260,2)
+54 ;;=^5138347
+55 ;;^UTILITY(U,$J,358.3,32261,0)
+56 ;;=E11.3412^^128^1656^28
+57 ;;^UTILITY(U,$J,358.3,32261,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,32261,1,3,0)
+60 ;;=3^DM 2 w/ SEVERE NPDR w/ Macular Edema,Left Eye
+61 ;;^UTILITY(U,$J,358.3,32261,1,4,0)
+62 ;;=4^E11.3412
+63 ;;^UTILITY(U,$J,358.3,32261,2)
+64 ;;=^5138348
+65 ;;^UTILITY(U,$J,358.3,32262,0)
+66 ;;=E11.3511^^128^1656^22
+67 ;;^UTILITY(U,$J,358.3,32262,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,32262,1,3,0)
+70 ;;=3^DM 2 w/ PDR w/ Macular Edema,Right Eye
+71 ;;^UTILITY(U,$J,358.3,32262,1,4,0)
+72 ;;=4^E11.3511
+73 ;;^UTILITY(U,$J,358.3,32262,2)
+74 ;;=^5138355
+75 ;;^UTILITY(U,$J,358.3,32263,0)
+76 ;;=E11.3512^^128^1656^31
+77 ;;^UTILITY(U,$J,358.3,32263,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,32263,1,3,0)
+80 ;;=3^DM 2 w/ PDR w/ Macular Edema,Left Eye
+81 ;;^UTILITY(U,$J,358.3,32263,1,4,0)
+82 ;;=4^E11.3512
+83 ;;^UTILITY(U,$J,358.3,32263,2)
+84 ;;=^5138356
+85 ;;^UTILITY(U,$J,358.3,32264,0)
+86 ;;=E10.3291^^128^1656^47
+87 ;;^UTILITY(U,$J,358.3,32264,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,32264,1,3,0)
+90 ;;=3^DM 1 w/ MILD NPDR w/o Macular Edema,Right Eye
+91 ;;^UTILITY(U,$J,358.3,32264,1,4,0)
+92 ;;=4^E10.3291
+93 ;;^UTILITY(U,$J,358.3,32264,2)
+94 ;;=^5138283
+95 ;;^UTILITY(U,$J,358.3,32265,0)
+96 ;;=E10.3292^^128^1656^57
+97 ;;^UTILITY(U,$J,358.3,32265,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,32265,1,3,0)
+100 ;;=3^DM 1 w/ MILD NPDR w/o Macular Edema,Left Eye
+101 ;;^UTILITY(U,$J,358.3,32265,1,4,0)
+102 ;;=4^E10.3292
+103 ;;^UTILITY(U,$J,358.3,32265,2)
+104 ;;=^5138284
+105 ;;^UTILITY(U,$J,358.3,32266,0)
+106 ;;=E10.3391^^128^1656^49
+107 ;;^UTILITY(U,$J,358.3,32266,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,32266,1,3,0)
+110 ;;=3^DM 1 w/ MOD NPDR w/o Macular Edema,Right Eye
+111 ;;^UTILITY(U,$J,358.3,32266,1,4,0)
+112 ;;=4^E10.3391
+113 ;;^UTILITY(U,$J,358.3,32266,2)
+114 ;;=^5138291
+115 ;;^UTILITY(U,$J,358.3,32267,0)
+116 ;;=E10.3392^^128^1656^59
+117 ;;^UTILITY(U,$J,358.3,32267,1,0)
+118 ;;=^358.31IA^4^2