IBDEI3E6 ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.3,57034,1,3,0)
;;=3^DM Type 1 w/ Foot Ulcer
;;^UTILITY(U,$J,358.3,57034,1,4,0)
;;=4^E10.621
;;^UTILITY(U,$J,358.3,57034,2)
;;=^5002616
;;^UTILITY(U,$J,358.3,57035,0)
;;=E10.622^^264^2849^85
;;^UTILITY(U,$J,358.3,57035,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57035,1,3,0)
;;=3^DM Type 1 w/ Skin Ulcer
;;^UTILITY(U,$J,358.3,57035,1,4,0)
;;=4^E10.622
;;^UTILITY(U,$J,358.3,57035,2)
;;=^5002617
;;^UTILITY(U,$J,358.3,57036,0)
;;=E10.630^^264^2849^84
;;^UTILITY(U,$J,358.3,57036,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57036,1,3,0)
;;=3^DM Type 1 w/ Peridontal Disease
;;^UTILITY(U,$J,358.3,57036,1,4,0)
;;=4^E10.630
;;^UTILITY(U,$J,358.3,57036,2)
;;=^5002619
;;^UTILITY(U,$J,358.3,57037,0)
;;=E10.641^^264^2849^82
;;^UTILITY(U,$J,358.3,57037,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57037,1,3,0)
;;=3^DM Type 1 w/ Hypoglycemia w/ Coma
;;^UTILITY(U,$J,358.3,57037,1,4,0)
;;=4^E10.641
;;^UTILITY(U,$J,358.3,57037,2)
;;=^5002621
;;^UTILITY(U,$J,358.3,57038,0)
;;=E10.649^^264^2849^83
;;^UTILITY(U,$J,358.3,57038,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57038,1,3,0)
;;=3^DM Type 1 w/ Hypoglycemia w/o Coma
;;^UTILITY(U,$J,358.3,57038,1,4,0)
;;=4^E10.649
;;^UTILITY(U,$J,358.3,57038,2)
;;=^5002622
;;^UTILITY(U,$J,358.3,57039,0)
;;=E10.65^^264^2849^81
;;^UTILITY(U,$J,358.3,57039,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57039,1,3,0)
;;=3^DM Type 1 w/ Hyperglycemia
;;^UTILITY(U,$J,358.3,57039,1,4,0)
;;=4^E10.65
;;^UTILITY(U,$J,358.3,57039,2)
;;=^5002623
;;^UTILITY(U,$J,358.3,57040,0)
;;=E11.40^^264^2849^90
;;^UTILITY(U,$J,358.3,57040,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57040,1,3,0)
;;=3^DM Type 2 w/ DM Neuropathy,Unspec
;;^UTILITY(U,$J,358.3,57040,1,4,0)
;;=4^E11.40
;;^UTILITY(U,$J,358.3,57040,2)
;;=^5002644
;;^UTILITY(U,$J,358.3,57041,0)
;;=E11.42^^264^2849^93
;;^UTILITY(U,$J,358.3,57041,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57041,1,3,0)
;;=3^DM Type 2 w/ DM Polyneuropathy
;;^UTILITY(U,$J,358.3,57041,1,4,0)
;;=4^E11.42
;;^UTILITY(U,$J,358.3,57041,2)
;;=^5002646
;;^UTILITY(U,$J,358.3,57042,0)
;;=E11.43^^264^2849^86
;;^UTILITY(U,$J,358.3,57042,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57042,1,3,0)
;;=3^DM Type 2 w/ DM Autonomic Polyneuropathy
;;^UTILITY(U,$J,358.3,57042,1,4,0)
;;=4^E11.43
;;^UTILITY(U,$J,358.3,57042,2)
;;=^5002647
;;^UTILITY(U,$J,358.3,57043,0)
;;=E11.49^^264^2849^88
;;^UTILITY(U,$J,358.3,57043,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57043,1,3,0)
;;=3^DM Type 2 w/ DM Neurological Complications
;;^UTILITY(U,$J,358.3,57043,1,4,0)
;;=4^E11.49
;;^UTILITY(U,$J,358.3,57043,2)
;;=^5002649
;;^UTILITY(U,$J,358.3,57044,0)
;;=E11.51^^264^2849^91
;;^UTILITY(U,$J,358.3,57044,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57044,1,3,0)
;;=3^DM Type 2 w/ DM Peripheral Angiopathy w/o Gangrene
;;^UTILITY(U,$J,358.3,57044,1,4,0)
;;=4^E11.51
;;^UTILITY(U,$J,358.3,57044,2)
;;=^5002650
;;^UTILITY(U,$J,358.3,57045,0)
;;=E11.52^^264^2849^92
;;^UTILITY(U,$J,358.3,57045,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57045,1,3,0)
;;=3^DM Type 2 w/ DM Peripheral Angiopathy w/ Gangrene
;;^UTILITY(U,$J,358.3,57045,1,4,0)
;;=4^E11.52
;;^UTILITY(U,$J,358.3,57045,2)
;;=^5002651
;;^UTILITY(U,$J,358.3,57046,0)
;;=E11.610^^264^2849^89
;;^UTILITY(U,$J,358.3,57046,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57046,1,3,0)
;;=3^DM Type 2 w/ DM Neuropathic Arthropathy
;;^UTILITY(U,$J,358.3,57046,1,4,0)
;;=4^E11.610
;;^UTILITY(U,$J,358.3,57046,2)
;;=^5002653
;;^UTILITY(U,$J,358.3,57047,0)
;;=E11.620^^264^2849^87
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3E6 3981 printed Nov 22, 2024@17:57:10 Page 2
IBDEI3E6 ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+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,99)
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,57034,1,3,0)
+2 ;;=3^DM Type 1 w/ Foot Ulcer
+3 ;;^UTILITY(U,$J,358.3,57034,1,4,0)
+4 ;;=4^E10.621
+5 ;;^UTILITY(U,$J,358.3,57034,2)
+6 ;;=^5002616
+7 ;;^UTILITY(U,$J,358.3,57035,0)
+8 ;;=E10.622^^264^2849^85
+9 ;;^UTILITY(U,$J,358.3,57035,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,57035,1,3,0)
+12 ;;=3^DM Type 1 w/ Skin Ulcer
+13 ;;^UTILITY(U,$J,358.3,57035,1,4,0)
+14 ;;=4^E10.622
+15 ;;^UTILITY(U,$J,358.3,57035,2)
+16 ;;=^5002617
+17 ;;^UTILITY(U,$J,358.3,57036,0)
+18 ;;=E10.630^^264^2849^84
+19 ;;^UTILITY(U,$J,358.3,57036,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,57036,1,3,0)
+22 ;;=3^DM Type 1 w/ Peridontal Disease
+23 ;;^UTILITY(U,$J,358.3,57036,1,4,0)
+24 ;;=4^E10.630
+25 ;;^UTILITY(U,$J,358.3,57036,2)
+26 ;;=^5002619
+27 ;;^UTILITY(U,$J,358.3,57037,0)
+28 ;;=E10.641^^264^2849^82
+29 ;;^UTILITY(U,$J,358.3,57037,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,57037,1,3,0)
+32 ;;=3^DM Type 1 w/ Hypoglycemia w/ Coma
+33 ;;^UTILITY(U,$J,358.3,57037,1,4,0)
+34 ;;=4^E10.641
+35 ;;^UTILITY(U,$J,358.3,57037,2)
+36 ;;=^5002621
+37 ;;^UTILITY(U,$J,358.3,57038,0)
+38 ;;=E10.649^^264^2849^83
+39 ;;^UTILITY(U,$J,358.3,57038,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,57038,1,3,0)
+42 ;;=3^DM Type 1 w/ Hypoglycemia w/o Coma
+43 ;;^UTILITY(U,$J,358.3,57038,1,4,0)
+44 ;;=4^E10.649
+45 ;;^UTILITY(U,$J,358.3,57038,2)
+46 ;;=^5002622
+47 ;;^UTILITY(U,$J,358.3,57039,0)
+48 ;;=E10.65^^264^2849^81
+49 ;;^UTILITY(U,$J,358.3,57039,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,57039,1,3,0)
+52 ;;=3^DM Type 1 w/ Hyperglycemia
+53 ;;^UTILITY(U,$J,358.3,57039,1,4,0)
+54 ;;=4^E10.65
+55 ;;^UTILITY(U,$J,358.3,57039,2)
+56 ;;=^5002623
+57 ;;^UTILITY(U,$J,358.3,57040,0)
+58 ;;=E11.40^^264^2849^90
+59 ;;^UTILITY(U,$J,358.3,57040,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,57040,1,3,0)
+62 ;;=3^DM Type 2 w/ DM Neuropathy,Unspec
+63 ;;^UTILITY(U,$J,358.3,57040,1,4,0)
+64 ;;=4^E11.40
+65 ;;^UTILITY(U,$J,358.3,57040,2)
+66 ;;=^5002644
+67 ;;^UTILITY(U,$J,358.3,57041,0)
+68 ;;=E11.42^^264^2849^93
+69 ;;^UTILITY(U,$J,358.3,57041,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,57041,1,3,0)
+72 ;;=3^DM Type 2 w/ DM Polyneuropathy
+73 ;;^UTILITY(U,$J,358.3,57041,1,4,0)
+74 ;;=4^E11.42
+75 ;;^UTILITY(U,$J,358.3,57041,2)
+76 ;;=^5002646
+77 ;;^UTILITY(U,$J,358.3,57042,0)
+78 ;;=E11.43^^264^2849^86
+79 ;;^UTILITY(U,$J,358.3,57042,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,57042,1,3,0)
+82 ;;=3^DM Type 2 w/ DM Autonomic Polyneuropathy
+83 ;;^UTILITY(U,$J,358.3,57042,1,4,0)
+84 ;;=4^E11.43
+85 ;;^UTILITY(U,$J,358.3,57042,2)
+86 ;;=^5002647
+87 ;;^UTILITY(U,$J,358.3,57043,0)
+88 ;;=E11.49^^264^2849^88
+89 ;;^UTILITY(U,$J,358.3,57043,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,57043,1,3,0)
+92 ;;=3^DM Type 2 w/ DM Neurological Complications
+93 ;;^UTILITY(U,$J,358.3,57043,1,4,0)
+94 ;;=4^E11.49
+95 ;;^UTILITY(U,$J,358.3,57043,2)
+96 ;;=^5002649
+97 ;;^UTILITY(U,$J,358.3,57044,0)
+98 ;;=E11.51^^264^2849^91
+99 ;;^UTILITY(U,$J,358.3,57044,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,57044,1,3,0)
+102 ;;=3^DM Type 2 w/ DM Peripheral Angiopathy w/o Gangrene
+103 ;;^UTILITY(U,$J,358.3,57044,1,4,0)
+104 ;;=4^E11.51
+105 ;;^UTILITY(U,$J,358.3,57044,2)
+106 ;;=^5002650
+107 ;;^UTILITY(U,$J,358.3,57045,0)
+108 ;;=E11.52^^264^2849^92
+109 ;;^UTILITY(U,$J,358.3,57045,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,57045,1,3,0)
+112 ;;=3^DM Type 2 w/ DM Peripheral Angiopathy w/ Gangrene
+113 ;;^UTILITY(U,$J,358.3,57045,1,4,0)
+114 ;;=4^E11.52
+115 ;;^UTILITY(U,$J,358.3,57045,2)
+116 ;;=^5002651
+117 ;;^UTILITY(U,$J,358.3,57046,0)
+118 ;;=E11.610^^264^2849^89
+119 ;;^UTILITY(U,$J,358.3,57046,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,57046,1,3,0)
+122 ;;=3^DM Type 2 w/ DM Neuropathic Arthropathy
+123 ;;^UTILITY(U,$J,358.3,57046,1,4,0)
+124 ;;=4^E11.610
+125 ;;^UTILITY(U,$J,358.3,57046,2)
+126 ;;=^5002653
+127 ;;^UTILITY(U,$J,358.3,57047,0)
+128 ;;=E11.620^^264^2849^87