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