IBDEI39Y ; ; 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,52262,1,3,0)
;;=3^DM Type 1 w/ Unspec Compl
;;^UTILITY(U,$J,358.3,52262,1,4,0)
;;=4^E10.8
;;^UTILITY(U,$J,358.3,52262,2)
;;=^5002625
;;^UTILITY(U,$J,358.3,52263,0)
;;=E10.9^^193^2526^34
;;^UTILITY(U,$J,358.3,52263,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52263,1,3,0)
;;=3^DM Type 1 w/o Compl
;;^UTILITY(U,$J,358.3,52263,1,4,0)
;;=4^E10.9
;;^UTILITY(U,$J,358.3,52263,2)
;;=^5002626
;;^UTILITY(U,$J,358.3,52264,0)
;;=E10.620^^193^2526^5
;;^UTILITY(U,$J,358.3,52264,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52264,1,3,0)
;;=3^DM Type 1 w/ Diab Dermatitis
;;^UTILITY(U,$J,358.3,52264,1,4,0)
;;=4^E10.620
;;^UTILITY(U,$J,358.3,52264,2)
;;=^5002615
;;^UTILITY(U,$J,358.3,52265,0)
;;=E10.36^^193^2526^4
;;^UTILITY(U,$J,358.3,52265,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52265,1,3,0)
;;=3^DM Type 1 w/ Diab Cataract
;;^UTILITY(U,$J,358.3,52265,1,4,0)
;;=4^E10.36
;;^UTILITY(U,$J,358.3,52265,2)
;;=^5002602
;;^UTILITY(U,$J,358.3,52266,0)
;;=E10.621^^193^2526^6
;;^UTILITY(U,$J,358.3,52266,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52266,1,3,0)
;;=3^DM Type 1 w/ Diab Foot Ulcer
;;^UTILITY(U,$J,358.3,52266,1,4,0)
;;=4^E10.621
;;^UTILITY(U,$J,358.3,52266,2)
;;=^5002616
;;^UTILITY(U,$J,358.3,52267,0)
;;=E10.622^^193^2526^28
;;^UTILITY(U,$J,358.3,52267,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52267,1,3,0)
;;=3^DM Type 1 w/ Oth Skin Ulcer
;;^UTILITY(U,$J,358.3,52267,1,4,0)
;;=4^E10.622
;;^UTILITY(U,$J,358.3,52267,2)
;;=^5002617
;;^UTILITY(U,$J,358.3,52268,0)
;;=E10.51^^193^2526^32
;;^UTILITY(U,$J,358.3,52268,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52268,1,3,0)
;;=3^DM Type 1 w/ Periph Angiopathy w/o Gangrene
;;^UTILITY(U,$J,358.3,52268,1,4,0)
;;=4^E10.51
;;^UTILITY(U,$J,358.3,52268,2)
;;=^5002610
;;^UTILITY(U,$J,358.3,52269,0)
;;=E10.52^^193^2526^31
;;^UTILITY(U,$J,358.3,52269,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52269,1,3,0)
;;=3^DM Type 1 w/ Periph Angiopathy w/ Gangrene
;;^UTILITY(U,$J,358.3,52269,1,4,0)
;;=4^E10.52
;;^UTILITY(U,$J,358.3,52269,2)
;;=^5002611
;;^UTILITY(U,$J,358.3,52270,0)
;;=E11.00^^193^2527^19
;;^UTILITY(U,$J,358.3,52270,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52270,1,3,0)
;;=3^DM Type 2 w/ Hyperosmolarity w/o NKHHC
;;^UTILITY(U,$J,358.3,52270,1,4,0)
;;=4^E11.00
;;^UTILITY(U,$J,358.3,52270,2)
;;=^5002627
;;^UTILITY(U,$J,358.3,52271,0)
;;=E11.01^^193^2527^18
;;^UTILITY(U,$J,358.3,52271,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52271,1,3,0)
;;=3^DM Type 2 w/ Hyperosmolarity w/ Coma
;;^UTILITY(U,$J,358.3,52271,1,4,0)
;;=4^E11.01
;;^UTILITY(U,$J,358.3,52271,2)
;;=^5002628
;;^UTILITY(U,$J,358.3,52272,0)
;;=E11.21^^193^2527^7
;;^UTILITY(U,$J,358.3,52272,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52272,1,3,0)
;;=3^DM Type 2 w/ Diab Nephropathy
;;^UTILITY(U,$J,358.3,52272,1,4,0)
;;=4^E11.21
;;^UTILITY(U,$J,358.3,52272,2)
;;=^5002629
;;^UTILITY(U,$J,358.3,52273,0)
;;=E11.22^^193^2527^3
;;^UTILITY(U,$J,358.3,52273,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52273,1,3,0)
;;=3^DM Type 2 w/ Diab CKD
;;^UTILITY(U,$J,358.3,52273,1,4,0)
;;=4^E11.22
;;^UTILITY(U,$J,358.3,52273,2)
;;=^5002630
;;^UTILITY(U,$J,358.3,52274,0)
;;=E11.39^^193^2527^28
;;^UTILITY(U,$J,358.3,52274,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52274,1,3,0)
;;=3^DM Type 2 w/ Oth Diab Ophth Compl
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI39Y 3754 printed Oct 16, 2024@18:45:27 Page 2
IBDEI39Y ; ; 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,52262,1,3,0)
+2 ;;=3^DM Type 1 w/ Unspec Compl
+3 ;;^UTILITY(U,$J,358.3,52262,1,4,0)
+4 ;;=4^E10.8
+5 ;;^UTILITY(U,$J,358.3,52262,2)
+6 ;;=^5002625
+7 ;;^UTILITY(U,$J,358.3,52263,0)
+8 ;;=E10.9^^193^2526^34
+9 ;;^UTILITY(U,$J,358.3,52263,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,52263,1,3,0)
+12 ;;=3^DM Type 1 w/o Compl
+13 ;;^UTILITY(U,$J,358.3,52263,1,4,0)
+14 ;;=4^E10.9
+15 ;;^UTILITY(U,$J,358.3,52263,2)
+16 ;;=^5002626
+17 ;;^UTILITY(U,$J,358.3,52264,0)
+18 ;;=E10.620^^193^2526^5
+19 ;;^UTILITY(U,$J,358.3,52264,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,52264,1,3,0)
+22 ;;=3^DM Type 1 w/ Diab Dermatitis
+23 ;;^UTILITY(U,$J,358.3,52264,1,4,0)
+24 ;;=4^E10.620
+25 ;;^UTILITY(U,$J,358.3,52264,2)
+26 ;;=^5002615
+27 ;;^UTILITY(U,$J,358.3,52265,0)
+28 ;;=E10.36^^193^2526^4
+29 ;;^UTILITY(U,$J,358.3,52265,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,52265,1,3,0)
+32 ;;=3^DM Type 1 w/ Diab Cataract
+33 ;;^UTILITY(U,$J,358.3,52265,1,4,0)
+34 ;;=4^E10.36
+35 ;;^UTILITY(U,$J,358.3,52265,2)
+36 ;;=^5002602
+37 ;;^UTILITY(U,$J,358.3,52266,0)
+38 ;;=E10.621^^193^2526^6
+39 ;;^UTILITY(U,$J,358.3,52266,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,52266,1,3,0)
+42 ;;=3^DM Type 1 w/ Diab Foot Ulcer
+43 ;;^UTILITY(U,$J,358.3,52266,1,4,0)
+44 ;;=4^E10.621
+45 ;;^UTILITY(U,$J,358.3,52266,2)
+46 ;;=^5002616
+47 ;;^UTILITY(U,$J,358.3,52267,0)
+48 ;;=E10.622^^193^2526^28
+49 ;;^UTILITY(U,$J,358.3,52267,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,52267,1,3,0)
+52 ;;=3^DM Type 1 w/ Oth Skin Ulcer
+53 ;;^UTILITY(U,$J,358.3,52267,1,4,0)
+54 ;;=4^E10.622
+55 ;;^UTILITY(U,$J,358.3,52267,2)
+56 ;;=^5002617
+57 ;;^UTILITY(U,$J,358.3,52268,0)
+58 ;;=E10.51^^193^2526^32
+59 ;;^UTILITY(U,$J,358.3,52268,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,52268,1,3,0)
+62 ;;=3^DM Type 1 w/ Periph Angiopathy w/o Gangrene
+63 ;;^UTILITY(U,$J,358.3,52268,1,4,0)
+64 ;;=4^E10.51
+65 ;;^UTILITY(U,$J,358.3,52268,2)
+66 ;;=^5002610
+67 ;;^UTILITY(U,$J,358.3,52269,0)
+68 ;;=E10.52^^193^2526^31
+69 ;;^UTILITY(U,$J,358.3,52269,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,52269,1,3,0)
+72 ;;=3^DM Type 1 w/ Periph Angiopathy w/ Gangrene
+73 ;;^UTILITY(U,$J,358.3,52269,1,4,0)
+74 ;;=4^E10.52
+75 ;;^UTILITY(U,$J,358.3,52269,2)
+76 ;;=^5002611
+77 ;;^UTILITY(U,$J,358.3,52270,0)
+78 ;;=E11.00^^193^2527^19
+79 ;;^UTILITY(U,$J,358.3,52270,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,52270,1,3,0)
+82 ;;=3^DM Type 2 w/ Hyperosmolarity w/o NKHHC
+83 ;;^UTILITY(U,$J,358.3,52270,1,4,0)
+84 ;;=4^E11.00
+85 ;;^UTILITY(U,$J,358.3,52270,2)
+86 ;;=^5002627
+87 ;;^UTILITY(U,$J,358.3,52271,0)
+88 ;;=E11.01^^193^2527^18
+89 ;;^UTILITY(U,$J,358.3,52271,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,52271,1,3,0)
+92 ;;=3^DM Type 2 w/ Hyperosmolarity w/ Coma
+93 ;;^UTILITY(U,$J,358.3,52271,1,4,0)
+94 ;;=4^E11.01
+95 ;;^UTILITY(U,$J,358.3,52271,2)
+96 ;;=^5002628
+97 ;;^UTILITY(U,$J,358.3,52272,0)
+98 ;;=E11.21^^193^2527^7
+99 ;;^UTILITY(U,$J,358.3,52272,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,52272,1,3,0)
+102 ;;=3^DM Type 2 w/ Diab Nephropathy
+103 ;;^UTILITY(U,$J,358.3,52272,1,4,0)
+104 ;;=4^E11.21
+105 ;;^UTILITY(U,$J,358.3,52272,2)
+106 ;;=^5002629
+107 ;;^UTILITY(U,$J,358.3,52273,0)
+108 ;;=E11.22^^193^2527^3
+109 ;;^UTILITY(U,$J,358.3,52273,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,52273,1,3,0)
+112 ;;=3^DM Type 2 w/ Diab CKD
+113 ;;^UTILITY(U,$J,358.3,52273,1,4,0)
+114 ;;=4^E11.22
+115 ;;^UTILITY(U,$J,358.3,52273,2)
+116 ;;=^5002630
+117 ;;^UTILITY(U,$J,358.3,52274,0)
+118 ;;=E11.39^^193^2527^28
+119 ;;^UTILITY(U,$J,358.3,52274,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,52274,1,3,0)
+122 ;;=3^DM Type 2 w/ Oth Diab Ophth Compl