IBDEI20W ; ; 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,32291,0)
;;=E10.3499^^128^1656^40
;;^UTILITY(U,$J,358.3,32291,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32291,1,3,0)
;;=3^DM 1 w/ Severe NPDR w/o ME,Unspec
;;^UTILITY(U,$J,358.3,32291,1,4,0)
;;=4^E10.3499
;;^UTILITY(U,$J,358.3,32291,2)
;;=^5138302
;;^UTILITY(U,$J,358.3,32292,0)
;;=E10.3521^^128^1656^55
;;^UTILITY(U,$J,358.3,32292,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32292,1,3,0)
;;=3^DM 1 w/ PDR w/ TRD in Macula,Right Eye
;;^UTILITY(U,$J,358.3,32292,1,4,0)
;;=4^E10.3521
;;^UTILITY(U,$J,358.3,32292,2)
;;=^5138307
;;^UTILITY(U,$J,358.3,32293,0)
;;=E10.3532^^128^1656^65
;;^UTILITY(U,$J,358.3,32293,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32293,1,3,0)
;;=3^DM 1 w/ PDR w/ TRD Not in Macula,Left Eye
;;^UTILITY(U,$J,358.3,32293,1,4,0)
;;=4^E10.3532
;;^UTILITY(U,$J,358.3,32293,2)
;;=^5138312
;;^UTILITY(U,$J,358.3,32294,0)
;;=E10.3552^^128^1656^62
;;^UTILITY(U,$J,358.3,32294,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32294,1,3,0)
;;=3^DM 1 w/ PDR,Stable,Left Eye
;;^UTILITY(U,$J,358.3,32294,1,4,0)
;;=4^E10.3552
;;^UTILITY(U,$J,358.3,32294,2)
;;=^5138320
;;^UTILITY(U,$J,358.3,32295,0)
;;=E10.3551^^128^1656^52
;;^UTILITY(U,$J,358.3,32295,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32295,1,3,0)
;;=3^DM 1 w/ PDR,Stable,Right Eye
;;^UTILITY(U,$J,358.3,32295,1,4,0)
;;=4^E10.3551
;;^UTILITY(U,$J,358.3,32295,2)
;;=^5138319
;;^UTILITY(U,$J,358.3,32296,0)
;;=E11.3219^^128^1656^2
;;^UTILITY(U,$J,358.3,32296,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32296,1,3,0)
;;=3^DM 2 w/ Mild NPDR w/ ME,Unspec
;;^UTILITY(U,$J,358.3,32296,1,4,0)
;;=4^E11.3219
;;^UTILITY(U,$J,358.3,32296,2)
;;=^5138334
;;^UTILITY(U,$J,358.3,32297,0)
;;=E11.3299^^128^1656^3
;;^UTILITY(U,$J,358.3,32297,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32297,1,3,0)
;;=3^DM 2 w/ Mild NPDR w/o ME,Unspec
;;^UTILITY(U,$J,358.3,32297,1,4,0)
;;=4^E11.3299
;;^UTILITY(U,$J,358.3,32297,2)
;;=^5138338
;;^UTILITY(U,$J,358.3,32298,0)
;;=E11.3319^^128^1656^4
;;^UTILITY(U,$J,358.3,32298,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32298,1,3,0)
;;=3^DM 2 w/ Mod NPDR w/ ME,Unspec
;;^UTILITY(U,$J,358.3,32298,1,4,0)
;;=4^E11.3319
;;^UTILITY(U,$J,358.3,32298,2)
;;=^5138342
;;^UTILITY(U,$J,358.3,32299,0)
;;=E11.3399^^128^1656^5
;;^UTILITY(U,$J,358.3,32299,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32299,1,3,0)
;;=3^DM 2 w/ Mod NPDR w/o ME,Unspec
;;^UTILITY(U,$J,358.3,32299,1,4,0)
;;=4^E11.3399
;;^UTILITY(U,$J,358.3,32299,2)
;;=^5138346
;;^UTILITY(U,$J,358.3,32300,0)
;;=E11.3519^^128^1656^8
;;^UTILITY(U,$J,358.3,32300,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32300,1,3,0)
;;=3^DM 2 w/ PDR w/ ME,Unspec
;;^UTILITY(U,$J,358.3,32300,1,4,0)
;;=4^E11.3519
;;^UTILITY(U,$J,358.3,32300,2)
;;=^5138358
;;^UTILITY(U,$J,358.3,32301,0)
;;=E11.3599^^128^1656^9
;;^UTILITY(U,$J,358.3,32301,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32301,1,3,0)
;;=3^DM 2 w/ PDR w/o ME,Unspec
;;^UTILITY(U,$J,358.3,32301,1,4,0)
;;=4^E11.3599
;;^UTILITY(U,$J,358.3,32301,2)
;;=^5138378
;;^UTILITY(U,$J,358.3,32302,0)
;;=E11.3419^^128^1656^6
;;^UTILITY(U,$J,358.3,32302,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32302,1,3,0)
;;=3^DM 2 w/ Severe NPDR w/ ME,Unspec
;;^UTILITY(U,$J,358.3,32302,1,4,0)
;;=4^E11.3419
;;^UTILITY(U,$J,358.3,32302,2)
;;=^5138350
;;^UTILITY(U,$J,358.3,32303,0)
;;=E11.3499^^128^1656^7
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI20W 3784 printed Nov 22, 2024@17:29:47 Page 2
IBDEI20W ; ; 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,32291,0)
+2 ;;=E10.3499^^128^1656^40
+3 ;;^UTILITY(U,$J,358.3,32291,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,32291,1,3,0)
+6 ;;=3^DM 1 w/ Severe NPDR w/o ME,Unspec
+7 ;;^UTILITY(U,$J,358.3,32291,1,4,0)
+8 ;;=4^E10.3499
+9 ;;^UTILITY(U,$J,358.3,32291,2)
+10 ;;=^5138302
+11 ;;^UTILITY(U,$J,358.3,32292,0)
+12 ;;=E10.3521^^128^1656^55
+13 ;;^UTILITY(U,$J,358.3,32292,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,32292,1,3,0)
+16 ;;=3^DM 1 w/ PDR w/ TRD in Macula,Right Eye
+17 ;;^UTILITY(U,$J,358.3,32292,1,4,0)
+18 ;;=4^E10.3521
+19 ;;^UTILITY(U,$J,358.3,32292,2)
+20 ;;=^5138307
+21 ;;^UTILITY(U,$J,358.3,32293,0)
+22 ;;=E10.3532^^128^1656^65
+23 ;;^UTILITY(U,$J,358.3,32293,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,32293,1,3,0)
+26 ;;=3^DM 1 w/ PDR w/ TRD Not in Macula,Left Eye
+27 ;;^UTILITY(U,$J,358.3,32293,1,4,0)
+28 ;;=4^E10.3532
+29 ;;^UTILITY(U,$J,358.3,32293,2)
+30 ;;=^5138312
+31 ;;^UTILITY(U,$J,358.3,32294,0)
+32 ;;=E10.3552^^128^1656^62
+33 ;;^UTILITY(U,$J,358.3,32294,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,32294,1,3,0)
+36 ;;=3^DM 1 w/ PDR,Stable,Left Eye
+37 ;;^UTILITY(U,$J,358.3,32294,1,4,0)
+38 ;;=4^E10.3552
+39 ;;^UTILITY(U,$J,358.3,32294,2)
+40 ;;=^5138320
+41 ;;^UTILITY(U,$J,358.3,32295,0)
+42 ;;=E10.3551^^128^1656^52
+43 ;;^UTILITY(U,$J,358.3,32295,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,32295,1,3,0)
+46 ;;=3^DM 1 w/ PDR,Stable,Right Eye
+47 ;;^UTILITY(U,$J,358.3,32295,1,4,0)
+48 ;;=4^E10.3551
+49 ;;^UTILITY(U,$J,358.3,32295,2)
+50 ;;=^5138319
+51 ;;^UTILITY(U,$J,358.3,32296,0)
+52 ;;=E11.3219^^128^1656^2
+53 ;;^UTILITY(U,$J,358.3,32296,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,32296,1,3,0)
+56 ;;=3^DM 2 w/ Mild NPDR w/ ME,Unspec
+57 ;;^UTILITY(U,$J,358.3,32296,1,4,0)
+58 ;;=4^E11.3219
+59 ;;^UTILITY(U,$J,358.3,32296,2)
+60 ;;=^5138334
+61 ;;^UTILITY(U,$J,358.3,32297,0)
+62 ;;=E11.3299^^128^1656^3
+63 ;;^UTILITY(U,$J,358.3,32297,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,32297,1,3,0)
+66 ;;=3^DM 2 w/ Mild NPDR w/o ME,Unspec
+67 ;;^UTILITY(U,$J,358.3,32297,1,4,0)
+68 ;;=4^E11.3299
+69 ;;^UTILITY(U,$J,358.3,32297,2)
+70 ;;=^5138338
+71 ;;^UTILITY(U,$J,358.3,32298,0)
+72 ;;=E11.3319^^128^1656^4
+73 ;;^UTILITY(U,$J,358.3,32298,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,32298,1,3,0)
+76 ;;=3^DM 2 w/ Mod NPDR w/ ME,Unspec
+77 ;;^UTILITY(U,$J,358.3,32298,1,4,0)
+78 ;;=4^E11.3319
+79 ;;^UTILITY(U,$J,358.3,32298,2)
+80 ;;=^5138342
+81 ;;^UTILITY(U,$J,358.3,32299,0)
+82 ;;=E11.3399^^128^1656^5
+83 ;;^UTILITY(U,$J,358.3,32299,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,32299,1,3,0)
+86 ;;=3^DM 2 w/ Mod NPDR w/o ME,Unspec
+87 ;;^UTILITY(U,$J,358.3,32299,1,4,0)
+88 ;;=4^E11.3399
+89 ;;^UTILITY(U,$J,358.3,32299,2)
+90 ;;=^5138346
+91 ;;^UTILITY(U,$J,358.3,32300,0)
+92 ;;=E11.3519^^128^1656^8
+93 ;;^UTILITY(U,$J,358.3,32300,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,32300,1,3,0)
+96 ;;=3^DM 2 w/ PDR w/ ME,Unspec
+97 ;;^UTILITY(U,$J,358.3,32300,1,4,0)
+98 ;;=4^E11.3519
+99 ;;^UTILITY(U,$J,358.3,32300,2)
+100 ;;=^5138358
+101 ;;^UTILITY(U,$J,358.3,32301,0)
+102 ;;=E11.3599^^128^1656^9
+103 ;;^UTILITY(U,$J,358.3,32301,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,32301,1,3,0)
+106 ;;=3^DM 2 w/ PDR w/o ME,Unspec
+107 ;;^UTILITY(U,$J,358.3,32301,1,4,0)
+108 ;;=4^E11.3599
+109 ;;^UTILITY(U,$J,358.3,32301,2)
+110 ;;=^5138378
+111 ;;^UTILITY(U,$J,358.3,32302,0)
+112 ;;=E11.3419^^128^1656^6
+113 ;;^UTILITY(U,$J,358.3,32302,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,32302,1,3,0)
+116 ;;=3^DM 2 w/ Severe NPDR w/ ME,Unspec
+117 ;;^UTILITY(U,$J,358.3,32302,1,4,0)
+118 ;;=4^E11.3419
+119 ;;^UTILITY(U,$J,358.3,32302,2)
+120 ;;=^5138350
+121 ;;^UTILITY(U,$J,358.3,32303,0)
+122 ;;=E11.3499^^128^1656^7