IBDEI0MN ; ; 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,10177,1,4,0)
;;=4^E10.618
;;^UTILITY(U,$J,358.3,10177,2)
;;=^5002614
;;^UTILITY(U,$J,358.3,10178,0)
;;=E10.630^^39^430^30
;;^UTILITY(U,$J,358.3,10178,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10178,1,3,0)
;;=3^DM Type 1 w/ Peridontal Disease
;;^UTILITY(U,$J,358.3,10178,1,4,0)
;;=4^E10.630
;;^UTILITY(U,$J,358.3,10178,2)
;;=^5002619
;;^UTILITY(U,$J,358.3,10179,0)
;;=E10.638^^39^430^27
;;^UTILITY(U,$J,358.3,10179,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10179,1,3,0)
;;=3^DM Type 1 w/ Oth Oral Compl
;;^UTILITY(U,$J,358.3,10179,1,4,0)
;;=4^E10.638
;;^UTILITY(U,$J,358.3,10179,2)
;;=^5002620
;;^UTILITY(U,$J,358.3,10180,0)
;;=E10.641^^39^430^15
;;^UTILITY(U,$J,358.3,10180,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10180,1,3,0)
;;=3^DM Type 1 w/ Hypoglycemia w/ Coma
;;^UTILITY(U,$J,358.3,10180,1,4,0)
;;=4^E10.641
;;^UTILITY(U,$J,358.3,10180,2)
;;=^5002621
;;^UTILITY(U,$J,358.3,10181,0)
;;=E10.649^^39^430^16
;;^UTILITY(U,$J,358.3,10181,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10181,1,3,0)
;;=3^DM Type 1 w/ Hypoglycemia w/o Coma
;;^UTILITY(U,$J,358.3,10181,1,4,0)
;;=4^E10.649
;;^UTILITY(U,$J,358.3,10181,2)
;;=^5002622
;;^UTILITY(U,$J,358.3,10182,0)
;;=E10.65^^39^430^14
;;^UTILITY(U,$J,358.3,10182,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10182,1,3,0)
;;=3^DM Type 1 w/ Hyperglycemia
;;^UTILITY(U,$J,358.3,10182,1,4,0)
;;=4^E10.65
;;^UTILITY(U,$J,358.3,10182,2)
;;=^5002623
;;^UTILITY(U,$J,358.3,10183,0)
;;=E10.69^^39^430^29
;;^UTILITY(U,$J,358.3,10183,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10183,1,3,0)
;;=3^DM Type 1 w/ Oth Spec Compl
;;^UTILITY(U,$J,358.3,10183,1,4,0)
;;=4^E10.69
;;^UTILITY(U,$J,358.3,10183,2)
;;=^5002624
;;^UTILITY(U,$J,358.3,10184,0)
;;=E10.8^^39^430^33
;;^UTILITY(U,$J,358.3,10184,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10184,1,3,0)
;;=3^DM Type 1 w/ Unspec Compl
;;^UTILITY(U,$J,358.3,10184,1,4,0)
;;=4^E10.8
;;^UTILITY(U,$J,358.3,10184,2)
;;=^5002625
;;^UTILITY(U,$J,358.3,10185,0)
;;=E10.9^^39^430^34
;;^UTILITY(U,$J,358.3,10185,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10185,1,3,0)
;;=3^DM Type 1 w/o Compl
;;^UTILITY(U,$J,358.3,10185,1,4,0)
;;=4^E10.9
;;^UTILITY(U,$J,358.3,10185,2)
;;=^5002626
;;^UTILITY(U,$J,358.3,10186,0)
;;=E10.620^^39^430^5
;;^UTILITY(U,$J,358.3,10186,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10186,1,3,0)
;;=3^DM Type 1 w/ Diab Dermatitis
;;^UTILITY(U,$J,358.3,10186,1,4,0)
;;=4^E10.620
;;^UTILITY(U,$J,358.3,10186,2)
;;=^5002615
;;^UTILITY(U,$J,358.3,10187,0)
;;=E10.36^^39^430^4
;;^UTILITY(U,$J,358.3,10187,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10187,1,3,0)
;;=3^DM Type 1 w/ Diab Cataract
;;^UTILITY(U,$J,358.3,10187,1,4,0)
;;=4^E10.36
;;^UTILITY(U,$J,358.3,10187,2)
;;=^5002602
;;^UTILITY(U,$J,358.3,10188,0)
;;=E10.621^^39^430^6
;;^UTILITY(U,$J,358.3,10188,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10188,1,3,0)
;;=3^DM Type 1 w/ Diab Foot Ulcer
;;^UTILITY(U,$J,358.3,10188,1,4,0)
;;=4^E10.621
;;^UTILITY(U,$J,358.3,10188,2)
;;=^5002616
;;^UTILITY(U,$J,358.3,10189,0)
;;=E10.622^^39^430^28
;;^UTILITY(U,$J,358.3,10189,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10189,1,3,0)
;;=3^DM Type 1 w/ Oth Skin Ulcer
;;^UTILITY(U,$J,358.3,10189,1,4,0)
;;=4^E10.622
;;^UTILITY(U,$J,358.3,10189,2)
;;=^5002617
;;^UTILITY(U,$J,358.3,10190,0)
;;=E10.51^^39^430^32
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0MN 3785 printed Nov 22, 2024@17:01:51 Page 2
IBDEI0MN ; ; 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,10177,1,4,0)
+2 ;;=4^E10.618
+3 ;;^UTILITY(U,$J,358.3,10177,2)
+4 ;;=^5002614
+5 ;;^UTILITY(U,$J,358.3,10178,0)
+6 ;;=E10.630^^39^430^30
+7 ;;^UTILITY(U,$J,358.3,10178,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,10178,1,3,0)
+10 ;;=3^DM Type 1 w/ Peridontal Disease
+11 ;;^UTILITY(U,$J,358.3,10178,1,4,0)
+12 ;;=4^E10.630
+13 ;;^UTILITY(U,$J,358.3,10178,2)
+14 ;;=^5002619
+15 ;;^UTILITY(U,$J,358.3,10179,0)
+16 ;;=E10.638^^39^430^27
+17 ;;^UTILITY(U,$J,358.3,10179,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,10179,1,3,0)
+20 ;;=3^DM Type 1 w/ Oth Oral Compl
+21 ;;^UTILITY(U,$J,358.3,10179,1,4,0)
+22 ;;=4^E10.638
+23 ;;^UTILITY(U,$J,358.3,10179,2)
+24 ;;=^5002620
+25 ;;^UTILITY(U,$J,358.3,10180,0)
+26 ;;=E10.641^^39^430^15
+27 ;;^UTILITY(U,$J,358.3,10180,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,10180,1,3,0)
+30 ;;=3^DM Type 1 w/ Hypoglycemia w/ Coma
+31 ;;^UTILITY(U,$J,358.3,10180,1,4,0)
+32 ;;=4^E10.641
+33 ;;^UTILITY(U,$J,358.3,10180,2)
+34 ;;=^5002621
+35 ;;^UTILITY(U,$J,358.3,10181,0)
+36 ;;=E10.649^^39^430^16
+37 ;;^UTILITY(U,$J,358.3,10181,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,10181,1,3,0)
+40 ;;=3^DM Type 1 w/ Hypoglycemia w/o Coma
+41 ;;^UTILITY(U,$J,358.3,10181,1,4,0)
+42 ;;=4^E10.649
+43 ;;^UTILITY(U,$J,358.3,10181,2)
+44 ;;=^5002622
+45 ;;^UTILITY(U,$J,358.3,10182,0)
+46 ;;=E10.65^^39^430^14
+47 ;;^UTILITY(U,$J,358.3,10182,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,10182,1,3,0)
+50 ;;=3^DM Type 1 w/ Hyperglycemia
+51 ;;^UTILITY(U,$J,358.3,10182,1,4,0)
+52 ;;=4^E10.65
+53 ;;^UTILITY(U,$J,358.3,10182,2)
+54 ;;=^5002623
+55 ;;^UTILITY(U,$J,358.3,10183,0)
+56 ;;=E10.69^^39^430^29
+57 ;;^UTILITY(U,$J,358.3,10183,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,10183,1,3,0)
+60 ;;=3^DM Type 1 w/ Oth Spec Compl
+61 ;;^UTILITY(U,$J,358.3,10183,1,4,0)
+62 ;;=4^E10.69
+63 ;;^UTILITY(U,$J,358.3,10183,2)
+64 ;;=^5002624
+65 ;;^UTILITY(U,$J,358.3,10184,0)
+66 ;;=E10.8^^39^430^33
+67 ;;^UTILITY(U,$J,358.3,10184,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,10184,1,3,0)
+70 ;;=3^DM Type 1 w/ Unspec Compl
+71 ;;^UTILITY(U,$J,358.3,10184,1,4,0)
+72 ;;=4^E10.8
+73 ;;^UTILITY(U,$J,358.3,10184,2)
+74 ;;=^5002625
+75 ;;^UTILITY(U,$J,358.3,10185,0)
+76 ;;=E10.9^^39^430^34
+77 ;;^UTILITY(U,$J,358.3,10185,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,10185,1,3,0)
+80 ;;=3^DM Type 1 w/o Compl
+81 ;;^UTILITY(U,$J,358.3,10185,1,4,0)
+82 ;;=4^E10.9
+83 ;;^UTILITY(U,$J,358.3,10185,2)
+84 ;;=^5002626
+85 ;;^UTILITY(U,$J,358.3,10186,0)
+86 ;;=E10.620^^39^430^5
+87 ;;^UTILITY(U,$J,358.3,10186,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,10186,1,3,0)
+90 ;;=3^DM Type 1 w/ Diab Dermatitis
+91 ;;^UTILITY(U,$J,358.3,10186,1,4,0)
+92 ;;=4^E10.620
+93 ;;^UTILITY(U,$J,358.3,10186,2)
+94 ;;=^5002615
+95 ;;^UTILITY(U,$J,358.3,10187,0)
+96 ;;=E10.36^^39^430^4
+97 ;;^UTILITY(U,$J,358.3,10187,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,10187,1,3,0)
+100 ;;=3^DM Type 1 w/ Diab Cataract
+101 ;;^UTILITY(U,$J,358.3,10187,1,4,0)
+102 ;;=4^E10.36
+103 ;;^UTILITY(U,$J,358.3,10187,2)
+104 ;;=^5002602
+105 ;;^UTILITY(U,$J,358.3,10188,0)
+106 ;;=E10.621^^39^430^6
+107 ;;^UTILITY(U,$J,358.3,10188,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,10188,1,3,0)
+110 ;;=3^DM Type 1 w/ Diab Foot Ulcer
+111 ;;^UTILITY(U,$J,358.3,10188,1,4,0)
+112 ;;=4^E10.621
+113 ;;^UTILITY(U,$J,358.3,10188,2)
+114 ;;=^5002616
+115 ;;^UTILITY(U,$J,358.3,10189,0)
+116 ;;=E10.622^^39^430^28
+117 ;;^UTILITY(U,$J,358.3,10189,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,10189,1,3,0)
+120 ;;=3^DM Type 1 w/ Oth Skin Ulcer
+121 ;;^UTILITY(U,$J,358.3,10189,1,4,0)
+122 ;;=4^E10.622
+123 ;;^UTILITY(U,$J,358.3,10189,2)
+124 ;;=^5002617
+125 ;;^UTILITY(U,$J,358.3,10190,0)
+126 ;;=E10.51^^39^430^32