IBDEI3AI ; ; 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,52507,1,4,0)
;;=4^E11.622
;;^UTILITY(U,$J,358.3,52507,2)
;;=^5002657
;;^UTILITY(U,$J,358.3,52508,0)
;;=E11.628^^194^2540^30
;;^UTILITY(U,$J,358.3,52508,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52508,1,3,0)
;;=3^DM Type 2 w/ Oth Skin Compl
;;^UTILITY(U,$J,358.3,52508,1,4,0)
;;=4^E11.628
;;^UTILITY(U,$J,358.3,52508,2)
;;=^5002658
;;^UTILITY(U,$J,358.3,52509,0)
;;=E11.630^^194^2540^33
;;^UTILITY(U,$J,358.3,52509,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52509,1,3,0)
;;=3^DM Type 2 w/ Periodontal Disease
;;^UTILITY(U,$J,358.3,52509,1,4,0)
;;=4^E11.630
;;^UTILITY(U,$J,358.3,52509,2)
;;=^5002659
;;^UTILITY(U,$J,358.3,52510,0)
;;=E11.638^^194^2540^29
;;^UTILITY(U,$J,358.3,52510,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52510,1,3,0)
;;=3^DM Type 2 w/ Oth Oral Compl
;;^UTILITY(U,$J,358.3,52510,1,4,0)
;;=4^E11.638
;;^UTILITY(U,$J,358.3,52510,2)
;;=^5002660
;;^UTILITY(U,$J,358.3,52511,0)
;;=E11.641^^194^2540^20
;;^UTILITY(U,$J,358.3,52511,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52511,1,3,0)
;;=3^DM Type 2 w/ Hypoglycemia w/ Coma
;;^UTILITY(U,$J,358.3,52511,1,4,0)
;;=4^E11.641
;;^UTILITY(U,$J,358.3,52511,2)
;;=^5002661
;;^UTILITY(U,$J,358.3,52512,0)
;;=E11.649^^194^2540^21
;;^UTILITY(U,$J,358.3,52512,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52512,1,3,0)
;;=3^DM Type 2 w/ Hypoglycemia w/o Coma
;;^UTILITY(U,$J,358.3,52512,1,4,0)
;;=4^E11.649
;;^UTILITY(U,$J,358.3,52512,2)
;;=^5002662
;;^UTILITY(U,$J,358.3,52513,0)
;;=E11.65^^194^2540^17
;;^UTILITY(U,$J,358.3,52513,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52513,1,3,0)
;;=3^DM Type 2 w/ Hyperglycemia
;;^UTILITY(U,$J,358.3,52513,1,4,0)
;;=4^E11.65
;;^UTILITY(U,$J,358.3,52513,2)
;;=^5002663
;;^UTILITY(U,$J,358.3,52514,0)
;;=E11.69^^194^2540^32
;;^UTILITY(U,$J,358.3,52514,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52514,1,3,0)
;;=3^DM Type 2 w/ Oth Spec Compl
;;^UTILITY(U,$J,358.3,52514,1,4,0)
;;=4^E11.69
;;^UTILITY(U,$J,358.3,52514,2)
;;=^5002664
;;^UTILITY(U,$J,358.3,52515,0)
;;=E11.8^^194^2540^34
;;^UTILITY(U,$J,358.3,52515,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52515,1,3,0)
;;=3^DM Type 2 w/ Unspec Compl
;;^UTILITY(U,$J,358.3,52515,1,4,0)
;;=4^E11.8
;;^UTILITY(U,$J,358.3,52515,2)
;;=^5002665
;;^UTILITY(U,$J,358.3,52516,0)
;;=E11.9^^194^2540^35
;;^UTILITY(U,$J,358.3,52516,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52516,1,3,0)
;;=3^DM Type 2 w/o Complications
;;^UTILITY(U,$J,358.3,52516,1,4,0)
;;=4^E11.9
;;^UTILITY(U,$J,358.3,52516,2)
;;=^5002666
;;^UTILITY(U,$J,358.3,52517,0)
;;=E11.29^^194^2540^27
;;^UTILITY(U,$J,358.3,52517,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52517,1,3,0)
;;=3^DM Type 2 w/ Oth Diab Kidney Compl
;;^UTILITY(U,$J,358.3,52517,1,4,0)
;;=4^E11.29
;;^UTILITY(U,$J,358.3,52517,2)
;;=^5002631
;;^UTILITY(U,$J,358.3,52518,0)
;;=E11.311^^194^2540^14
;;^UTILITY(U,$J,358.3,52518,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52518,1,3,0)
;;=3^DM Type 2 w/ Diab Rtnop w/ Macular Edema
;;^UTILITY(U,$J,358.3,52518,1,4,0)
;;=4^E11.311
;;^UTILITY(U,$J,358.3,52518,2)
;;=E11.319^5002632
;;^UTILITY(U,$J,358.3,52519,0)
;;=E11.319^^194^2540^15
;;^UTILITY(U,$J,358.3,52519,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,52519,1,3,0)
;;=3^DM Type 2 w/ Diab Rtnop w/o Macular Edema
;;^UTILITY(U,$J,358.3,52519,1,4,0)
;;=4^E11.319
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3AI 3758 printed Dec 13, 2024@02:44:59 Page 2
IBDEI3AI ; ; 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,52507,1,4,0)
+2 ;;=4^E11.622
+3 ;;^UTILITY(U,$J,358.3,52507,2)
+4 ;;=^5002657
+5 ;;^UTILITY(U,$J,358.3,52508,0)
+6 ;;=E11.628^^194^2540^30
+7 ;;^UTILITY(U,$J,358.3,52508,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,52508,1,3,0)
+10 ;;=3^DM Type 2 w/ Oth Skin Compl
+11 ;;^UTILITY(U,$J,358.3,52508,1,4,0)
+12 ;;=4^E11.628
+13 ;;^UTILITY(U,$J,358.3,52508,2)
+14 ;;=^5002658
+15 ;;^UTILITY(U,$J,358.3,52509,0)
+16 ;;=E11.630^^194^2540^33
+17 ;;^UTILITY(U,$J,358.3,52509,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,52509,1,3,0)
+20 ;;=3^DM Type 2 w/ Periodontal Disease
+21 ;;^UTILITY(U,$J,358.3,52509,1,4,0)
+22 ;;=4^E11.630
+23 ;;^UTILITY(U,$J,358.3,52509,2)
+24 ;;=^5002659
+25 ;;^UTILITY(U,$J,358.3,52510,0)
+26 ;;=E11.638^^194^2540^29
+27 ;;^UTILITY(U,$J,358.3,52510,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,52510,1,3,0)
+30 ;;=3^DM Type 2 w/ Oth Oral Compl
+31 ;;^UTILITY(U,$J,358.3,52510,1,4,0)
+32 ;;=4^E11.638
+33 ;;^UTILITY(U,$J,358.3,52510,2)
+34 ;;=^5002660
+35 ;;^UTILITY(U,$J,358.3,52511,0)
+36 ;;=E11.641^^194^2540^20
+37 ;;^UTILITY(U,$J,358.3,52511,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,52511,1,3,0)
+40 ;;=3^DM Type 2 w/ Hypoglycemia w/ Coma
+41 ;;^UTILITY(U,$J,358.3,52511,1,4,0)
+42 ;;=4^E11.641
+43 ;;^UTILITY(U,$J,358.3,52511,2)
+44 ;;=^5002661
+45 ;;^UTILITY(U,$J,358.3,52512,0)
+46 ;;=E11.649^^194^2540^21
+47 ;;^UTILITY(U,$J,358.3,52512,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,52512,1,3,0)
+50 ;;=3^DM Type 2 w/ Hypoglycemia w/o Coma
+51 ;;^UTILITY(U,$J,358.3,52512,1,4,0)
+52 ;;=4^E11.649
+53 ;;^UTILITY(U,$J,358.3,52512,2)
+54 ;;=^5002662
+55 ;;^UTILITY(U,$J,358.3,52513,0)
+56 ;;=E11.65^^194^2540^17
+57 ;;^UTILITY(U,$J,358.3,52513,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,52513,1,3,0)
+60 ;;=3^DM Type 2 w/ Hyperglycemia
+61 ;;^UTILITY(U,$J,358.3,52513,1,4,0)
+62 ;;=4^E11.65
+63 ;;^UTILITY(U,$J,358.3,52513,2)
+64 ;;=^5002663
+65 ;;^UTILITY(U,$J,358.3,52514,0)
+66 ;;=E11.69^^194^2540^32
+67 ;;^UTILITY(U,$J,358.3,52514,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,52514,1,3,0)
+70 ;;=3^DM Type 2 w/ Oth Spec Compl
+71 ;;^UTILITY(U,$J,358.3,52514,1,4,0)
+72 ;;=4^E11.69
+73 ;;^UTILITY(U,$J,358.3,52514,2)
+74 ;;=^5002664
+75 ;;^UTILITY(U,$J,358.3,52515,0)
+76 ;;=E11.8^^194^2540^34
+77 ;;^UTILITY(U,$J,358.3,52515,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,52515,1,3,0)
+80 ;;=3^DM Type 2 w/ Unspec Compl
+81 ;;^UTILITY(U,$J,358.3,52515,1,4,0)
+82 ;;=4^E11.8
+83 ;;^UTILITY(U,$J,358.3,52515,2)
+84 ;;=^5002665
+85 ;;^UTILITY(U,$J,358.3,52516,0)
+86 ;;=E11.9^^194^2540^35
+87 ;;^UTILITY(U,$J,358.3,52516,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,52516,1,3,0)
+90 ;;=3^DM Type 2 w/o Complications
+91 ;;^UTILITY(U,$J,358.3,52516,1,4,0)
+92 ;;=4^E11.9
+93 ;;^UTILITY(U,$J,358.3,52516,2)
+94 ;;=^5002666
+95 ;;^UTILITY(U,$J,358.3,52517,0)
+96 ;;=E11.29^^194^2540^27
+97 ;;^UTILITY(U,$J,358.3,52517,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,52517,1,3,0)
+100 ;;=3^DM Type 2 w/ Oth Diab Kidney Compl
+101 ;;^UTILITY(U,$J,358.3,52517,1,4,0)
+102 ;;=4^E11.29
+103 ;;^UTILITY(U,$J,358.3,52517,2)
+104 ;;=^5002631
+105 ;;^UTILITY(U,$J,358.3,52518,0)
+106 ;;=E11.311^^194^2540^14
+107 ;;^UTILITY(U,$J,358.3,52518,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,52518,1,3,0)
+110 ;;=3^DM Type 2 w/ Diab Rtnop w/ Macular Edema
+111 ;;^UTILITY(U,$J,358.3,52518,1,4,0)
+112 ;;=4^E11.311
+113 ;;^UTILITY(U,$J,358.3,52518,2)
+114 ;;=E11.319^5002632
+115 ;;^UTILITY(U,$J,358.3,52519,0)
+116 ;;=E11.319^^194^2540^15
+117 ;;^UTILITY(U,$J,358.3,52519,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,52519,1,3,0)
+120 ;;=3^DM Type 2 w/ Diab Rtnop w/o Macular Edema
+121 ;;^UTILITY(U,$J,358.3,52519,1,4,0)
+122 ;;=4^E11.319