IBDEI1BM ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,21352,2)
;;=^5003026
;;^UTILITY(U,$J,358.3,21353,0)
;;=E11.9^^70^914^11
;;^UTILITY(U,$J,358.3,21353,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21353,1,3,0)
;;=3^DM Type 2 w/o Complications
;;^UTILITY(U,$J,358.3,21353,1,4,0)
;;=4^E11.9
;;^UTILITY(U,$J,358.3,21353,2)
;;=^5002666
;;^UTILITY(U,$J,358.3,21354,0)
;;=E10.9^^70^914^1
;;^UTILITY(U,$J,358.3,21354,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21354,1,3,0)
;;=3^DM Type 1 w/o Complications
;;^UTILITY(U,$J,358.3,21354,1,4,0)
;;=4^E10.9
;;^UTILITY(U,$J,358.3,21354,2)
;;=^5002626
;;^UTILITY(U,$J,358.3,21355,0)
;;=Z79.4^^70^914^14
;;^UTILITY(U,$J,358.3,21355,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21355,1,3,0)
;;=3^Long Term Use of Insulin
;;^UTILITY(U,$J,358.3,21355,1,4,0)
;;=4^Z79.4
;;^UTILITY(U,$J,358.3,21355,2)
;;=^5063334
;;^UTILITY(U,$J,358.3,21356,0)
;;=E11.22^^70^914^3
;;^UTILITY(U,$J,358.3,21356,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21356,1,3,0)
;;=3^DM Type 2 w/ CKD
;;^UTILITY(U,$J,358.3,21356,1,4,0)
;;=4^E11.22
;;^UTILITY(U,$J,358.3,21356,2)
;;=^5002630
;;^UTILITY(U,$J,358.3,21357,0)
;;=E11.42^^70^914^10
;;^UTILITY(U,$J,358.3,21357,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21357,1,3,0)
;;=3^DM Type 2 w/ Peripheral Neuropathy
;;^UTILITY(U,$J,358.3,21357,1,4,0)
;;=4^E11.42
;;^UTILITY(U,$J,358.3,21357,2)
;;=^5002646
;;^UTILITY(U,$J,358.3,21358,0)
;;=E11.43^^70^914^2
;;^UTILITY(U,$J,358.3,21358,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21358,1,3,0)
;;=3^DM Type 2 w/ Autonomic Neuropathy
;;^UTILITY(U,$J,358.3,21358,1,4,0)
;;=4^E11.43
;;^UTILITY(U,$J,358.3,21358,2)
;;=^5002647
;;^UTILITY(U,$J,358.3,21359,0)
;;=E11.51^^70^914^9
;;^UTILITY(U,$J,358.3,21359,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21359,1,3,0)
;;=3^DM Type 2 w/ Peripheral Angiopathy w/o Gangrene
;;^UTILITY(U,$J,358.3,21359,1,4,0)
;;=4^E11.51
;;^UTILITY(U,$J,358.3,21359,2)
;;=^5002650
;;^UTILITY(U,$J,358.3,21360,0)
;;=E11.52^^70^914^8
;;^UTILITY(U,$J,358.3,21360,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21360,1,3,0)
;;=3^DM Type 2 w/ Peripheral Angiopathy w/ Gangrene
;;^UTILITY(U,$J,358.3,21360,1,4,0)
;;=4^E11.52
;;^UTILITY(U,$J,358.3,21360,2)
;;=^5002651
;;^UTILITY(U,$J,358.3,21361,0)
;;=E11.621^^70^914^4
;;^UTILITY(U,$J,358.3,21361,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21361,1,3,0)
;;=3^DM Type 2 w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,21361,1,4,0)
;;=4^E11.621
;;^UTILITY(U,$J,358.3,21361,2)
;;=^5002656
;;^UTILITY(U,$J,358.3,21362,0)
;;=E11.649^^70^914^6
;;^UTILITY(U,$J,358.3,21362,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21362,1,3,0)
;;=3^DM Type 2 w/ Hypoglycemia w/o Coma
;;^UTILITY(U,$J,358.3,21362,1,4,0)
;;=4^E11.649
;;^UTILITY(U,$J,358.3,21362,2)
;;=^5002662
;;^UTILITY(U,$J,358.3,21363,0)
;;=E11.65^^70^914^5
;;^UTILITY(U,$J,358.3,21363,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21363,1,3,0)
;;=3^DM Type 2 w/ Hyperglycemia
;;^UTILITY(U,$J,358.3,21363,1,4,0)
;;=4^E11.65
;;^UTILITY(U,$J,358.3,21363,2)
;;=^5002663
;;^UTILITY(U,$J,358.3,21364,0)
;;=E11.69^^70^914^7
;;^UTILITY(U,$J,358.3,21364,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,21364,1,3,0)
;;=3^DM Type 2 w/ Other Complications
;;^UTILITY(U,$J,358.3,21364,1,4,0)
;;=4^E11.69
;;^UTILITY(U,$J,358.3,21364,2)
;;=^5002664
;;^UTILITY(U,$J,358.3,21365,0)
;;=Z79.84^^70^914^13
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1BM 3753 printed Nov 22, 2024@17:15:44 Page 2
IBDEI1BM ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,21352,2)
+2 ;;=^5003026
+3 ;;^UTILITY(U,$J,358.3,21353,0)
+4 ;;=E11.9^^70^914^11
+5 ;;^UTILITY(U,$J,358.3,21353,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,21353,1,3,0)
+8 ;;=3^DM Type 2 w/o Complications
+9 ;;^UTILITY(U,$J,358.3,21353,1,4,0)
+10 ;;=4^E11.9
+11 ;;^UTILITY(U,$J,358.3,21353,2)
+12 ;;=^5002666
+13 ;;^UTILITY(U,$J,358.3,21354,0)
+14 ;;=E10.9^^70^914^1
+15 ;;^UTILITY(U,$J,358.3,21354,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,21354,1,3,0)
+18 ;;=3^DM Type 1 w/o Complications
+19 ;;^UTILITY(U,$J,358.3,21354,1,4,0)
+20 ;;=4^E10.9
+21 ;;^UTILITY(U,$J,358.3,21354,2)
+22 ;;=^5002626
+23 ;;^UTILITY(U,$J,358.3,21355,0)
+24 ;;=Z79.4^^70^914^14
+25 ;;^UTILITY(U,$J,358.3,21355,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,21355,1,3,0)
+28 ;;=3^Long Term Use of Insulin
+29 ;;^UTILITY(U,$J,358.3,21355,1,4,0)
+30 ;;=4^Z79.4
+31 ;;^UTILITY(U,$J,358.3,21355,2)
+32 ;;=^5063334
+33 ;;^UTILITY(U,$J,358.3,21356,0)
+34 ;;=E11.22^^70^914^3
+35 ;;^UTILITY(U,$J,358.3,21356,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,21356,1,3,0)
+38 ;;=3^DM Type 2 w/ CKD
+39 ;;^UTILITY(U,$J,358.3,21356,1,4,0)
+40 ;;=4^E11.22
+41 ;;^UTILITY(U,$J,358.3,21356,2)
+42 ;;=^5002630
+43 ;;^UTILITY(U,$J,358.3,21357,0)
+44 ;;=E11.42^^70^914^10
+45 ;;^UTILITY(U,$J,358.3,21357,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,21357,1,3,0)
+48 ;;=3^DM Type 2 w/ Peripheral Neuropathy
+49 ;;^UTILITY(U,$J,358.3,21357,1,4,0)
+50 ;;=4^E11.42
+51 ;;^UTILITY(U,$J,358.3,21357,2)
+52 ;;=^5002646
+53 ;;^UTILITY(U,$J,358.3,21358,0)
+54 ;;=E11.43^^70^914^2
+55 ;;^UTILITY(U,$J,358.3,21358,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,21358,1,3,0)
+58 ;;=3^DM Type 2 w/ Autonomic Neuropathy
+59 ;;^UTILITY(U,$J,358.3,21358,1,4,0)
+60 ;;=4^E11.43
+61 ;;^UTILITY(U,$J,358.3,21358,2)
+62 ;;=^5002647
+63 ;;^UTILITY(U,$J,358.3,21359,0)
+64 ;;=E11.51^^70^914^9
+65 ;;^UTILITY(U,$J,358.3,21359,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,21359,1,3,0)
+68 ;;=3^DM Type 2 w/ Peripheral Angiopathy w/o Gangrene
+69 ;;^UTILITY(U,$J,358.3,21359,1,4,0)
+70 ;;=4^E11.51
+71 ;;^UTILITY(U,$J,358.3,21359,2)
+72 ;;=^5002650
+73 ;;^UTILITY(U,$J,358.3,21360,0)
+74 ;;=E11.52^^70^914^8
+75 ;;^UTILITY(U,$J,358.3,21360,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,21360,1,3,0)
+78 ;;=3^DM Type 2 w/ Peripheral Angiopathy w/ Gangrene
+79 ;;^UTILITY(U,$J,358.3,21360,1,4,0)
+80 ;;=4^E11.52
+81 ;;^UTILITY(U,$J,358.3,21360,2)
+82 ;;=^5002651
+83 ;;^UTILITY(U,$J,358.3,21361,0)
+84 ;;=E11.621^^70^914^4
+85 ;;^UTILITY(U,$J,358.3,21361,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,21361,1,3,0)
+88 ;;=3^DM Type 2 w/ Foot Ulcer
+89 ;;^UTILITY(U,$J,358.3,21361,1,4,0)
+90 ;;=4^E11.621
+91 ;;^UTILITY(U,$J,358.3,21361,2)
+92 ;;=^5002656
+93 ;;^UTILITY(U,$J,358.3,21362,0)
+94 ;;=E11.649^^70^914^6
+95 ;;^UTILITY(U,$J,358.3,21362,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,21362,1,3,0)
+98 ;;=3^DM Type 2 w/ Hypoglycemia w/o Coma
+99 ;;^UTILITY(U,$J,358.3,21362,1,4,0)
+100 ;;=4^E11.649
+101 ;;^UTILITY(U,$J,358.3,21362,2)
+102 ;;=^5002662
+103 ;;^UTILITY(U,$J,358.3,21363,0)
+104 ;;=E11.65^^70^914^5
+105 ;;^UTILITY(U,$J,358.3,21363,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,21363,1,3,0)
+108 ;;=3^DM Type 2 w/ Hyperglycemia
+109 ;;^UTILITY(U,$J,358.3,21363,1,4,0)
+110 ;;=4^E11.65
+111 ;;^UTILITY(U,$J,358.3,21363,2)
+112 ;;=^5002663
+113 ;;^UTILITY(U,$J,358.3,21364,0)
+114 ;;=E11.69^^70^914^7
+115 ;;^UTILITY(U,$J,358.3,21364,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,21364,1,3,0)
+118 ;;=3^DM Type 2 w/ Other Complications
+119 ;;^UTILITY(U,$J,358.3,21364,1,4,0)
+120 ;;=4^E11.69
+121 ;;^UTILITY(U,$J,358.3,21364,2)
+122 ;;=^5002664
+123 ;;^UTILITY(U,$J,358.3,21365,0)
+124 ;;=Z79.84^^70^914^13