IBDEI0H0 ; ; 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,7659,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7659,1,3,0)
;;=3^Encounter for Immunization(s)
;;^UTILITY(U,$J,358.3,7659,1,4,0)
;;=4^Z23.
;;^UTILITY(U,$J,358.3,7659,2)
;;=^5062795
;;^UTILITY(U,$J,358.3,7660,0)
;;=E11.65^^39^386^20
;;^UTILITY(U,$J,358.3,7660,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7660,1,3,0)
;;=3^DM Type 2 Uncontrolled w/ Hyperglycemia
;;^UTILITY(U,$J,358.3,7660,1,4,0)
;;=4^E11.65
;;^UTILITY(U,$J,358.3,7660,2)
;;=^5002663
;;^UTILITY(U,$J,358.3,7661,0)
;;=E11.649^^39^386^21
;;^UTILITY(U,$J,358.3,7661,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7661,1,3,0)
;;=3^DM Type 2 Uncontrolled w/ Hypoglycemia w/o Coma
;;^UTILITY(U,$J,358.3,7661,1,4,0)
;;=4^E11.649
;;^UTILITY(U,$J,358.3,7661,2)
;;=^5002662
;;^UTILITY(U,$J,358.3,7662,0)
;;=I16.0^^39^386^44
;;^UTILITY(U,$J,358.3,7662,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7662,1,3,0)
;;=3^Hypertensive Urgency
;;^UTILITY(U,$J,358.3,7662,1,4,0)
;;=4^I16.0
;;^UTILITY(U,$J,358.3,7662,2)
;;=^8133013
;;^UTILITY(U,$J,358.3,7663,0)
;;=H54.8^^39^386^47
;;^UTILITY(U,$J,358.3,7663,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7663,1,3,0)
;;=3^Legal Blindness,USA Definition
;;^UTILITY(U,$J,358.3,7663,1,4,0)
;;=4^H54.8
;;^UTILITY(U,$J,358.3,7663,2)
;;=^5006369
;;^UTILITY(U,$J,358.3,7664,0)
;;=F10.10^^39^386^2
;;^UTILITY(U,$J,358.3,7664,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7664,1,3,0)
;;=3^Alcohol Abuse,Uncomplicated
;;^UTILITY(U,$J,358.3,7664,1,4,0)
;;=4^F10.10
;;^UTILITY(U,$J,358.3,7664,2)
;;=^5003068
;;^UTILITY(U,$J,358.3,7665,0)
;;=J30.9^^39^386^3
;;^UTILITY(U,$J,358.3,7665,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7665,1,3,0)
;;=3^Allergic Rhinitis,Unspec
;;^UTILITY(U,$J,358.3,7665,1,4,0)
;;=4^J30.9
;;^UTILITY(U,$J,358.3,7665,2)
;;=^5008205
;;^UTILITY(U,$J,358.3,7666,0)
;;=I48.0^^39^386^7
;;^UTILITY(U,$J,358.3,7666,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7666,1,3,0)
;;=3^Atrial Fibrillation Paroxysmal (PAF)
;;^UTILITY(U,$J,358.3,7666,1,4,0)
;;=4^I48.0
;;^UTILITY(U,$J,358.3,7666,2)
;;=^90473
;;^UTILITY(U,$J,358.3,7667,0)
;;=N18.1^^39^386^9
;;^UTILITY(U,$J,358.3,7667,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7667,1,3,0)
;;=3^CKD,Stage 1
;;^UTILITY(U,$J,358.3,7667,1,4,0)
;;=4^N18.1
;;^UTILITY(U,$J,358.3,7667,2)
;;=^5015602
;;^UTILITY(U,$J,358.3,7668,0)
;;=N18.2^^39^386^10
;;^UTILITY(U,$J,358.3,7668,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7668,1,3,0)
;;=3^CKD,Stage 2
;;^UTILITY(U,$J,358.3,7668,1,4,0)
;;=4^N18.2
;;^UTILITY(U,$J,358.3,7668,2)
;;=^5015603
;;^UTILITY(U,$J,358.3,7669,0)
;;=N18.4^^39^386^14
;;^UTILITY(U,$J,358.3,7669,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7669,1,3,0)
;;=3^CKD,Stage 4
;;^UTILITY(U,$J,358.3,7669,1,4,0)
;;=4^N18.4
;;^UTILITY(U,$J,358.3,7669,2)
;;=^5015605
;;^UTILITY(U,$J,358.3,7670,0)
;;=N18.5^^39^386^15
;;^UTILITY(U,$J,358.3,7670,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7670,1,3,0)
;;=3^CKD,Stage 5
;;^UTILITY(U,$J,358.3,7670,1,4,0)
;;=4^N18.5
;;^UTILITY(U,$J,358.3,7670,2)
;;=^5015606
;;^UTILITY(U,$J,358.3,7671,0)
;;=N18.6^^39^386^26
;;^UTILITY(U,$J,358.3,7671,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7671,1,3,0)
;;=3^ESRD
;;^UTILITY(U,$J,358.3,7671,1,4,0)
;;=4^N18.6
;;^UTILITY(U,$J,358.3,7671,2)
;;=^303986
;;^UTILITY(U,$J,358.3,7672,0)
;;=E11.22^^39^386^22
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0H0 3755 printed Dec 13, 2024@01:48:30 Page 2
IBDEI0H0 ; ; 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,7659,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,7659,1,3,0)
+4 ;;=3^Encounter for Immunization(s)
+5 ;;^UTILITY(U,$J,358.3,7659,1,4,0)
+6 ;;=4^Z23.
+7 ;;^UTILITY(U,$J,358.3,7659,2)
+8 ;;=^5062795
+9 ;;^UTILITY(U,$J,358.3,7660,0)
+10 ;;=E11.65^^39^386^20
+11 ;;^UTILITY(U,$J,358.3,7660,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,7660,1,3,0)
+14 ;;=3^DM Type 2 Uncontrolled w/ Hyperglycemia
+15 ;;^UTILITY(U,$J,358.3,7660,1,4,0)
+16 ;;=4^E11.65
+17 ;;^UTILITY(U,$J,358.3,7660,2)
+18 ;;=^5002663
+19 ;;^UTILITY(U,$J,358.3,7661,0)
+20 ;;=E11.649^^39^386^21
+21 ;;^UTILITY(U,$J,358.3,7661,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,7661,1,3,0)
+24 ;;=3^DM Type 2 Uncontrolled w/ Hypoglycemia w/o Coma
+25 ;;^UTILITY(U,$J,358.3,7661,1,4,0)
+26 ;;=4^E11.649
+27 ;;^UTILITY(U,$J,358.3,7661,2)
+28 ;;=^5002662
+29 ;;^UTILITY(U,$J,358.3,7662,0)
+30 ;;=I16.0^^39^386^44
+31 ;;^UTILITY(U,$J,358.3,7662,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,7662,1,3,0)
+34 ;;=3^Hypertensive Urgency
+35 ;;^UTILITY(U,$J,358.3,7662,1,4,0)
+36 ;;=4^I16.0
+37 ;;^UTILITY(U,$J,358.3,7662,2)
+38 ;;=^8133013
+39 ;;^UTILITY(U,$J,358.3,7663,0)
+40 ;;=H54.8^^39^386^47
+41 ;;^UTILITY(U,$J,358.3,7663,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,7663,1,3,0)
+44 ;;=3^Legal Blindness,USA Definition
+45 ;;^UTILITY(U,$J,358.3,7663,1,4,0)
+46 ;;=4^H54.8
+47 ;;^UTILITY(U,$J,358.3,7663,2)
+48 ;;=^5006369
+49 ;;^UTILITY(U,$J,358.3,7664,0)
+50 ;;=F10.10^^39^386^2
+51 ;;^UTILITY(U,$J,358.3,7664,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,7664,1,3,0)
+54 ;;=3^Alcohol Abuse,Uncomplicated
+55 ;;^UTILITY(U,$J,358.3,7664,1,4,0)
+56 ;;=4^F10.10
+57 ;;^UTILITY(U,$J,358.3,7664,2)
+58 ;;=^5003068
+59 ;;^UTILITY(U,$J,358.3,7665,0)
+60 ;;=J30.9^^39^386^3
+61 ;;^UTILITY(U,$J,358.3,7665,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,7665,1,3,0)
+64 ;;=3^Allergic Rhinitis,Unspec
+65 ;;^UTILITY(U,$J,358.3,7665,1,4,0)
+66 ;;=4^J30.9
+67 ;;^UTILITY(U,$J,358.3,7665,2)
+68 ;;=^5008205
+69 ;;^UTILITY(U,$J,358.3,7666,0)
+70 ;;=I48.0^^39^386^7
+71 ;;^UTILITY(U,$J,358.3,7666,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,7666,1,3,0)
+74 ;;=3^Atrial Fibrillation Paroxysmal (PAF)
+75 ;;^UTILITY(U,$J,358.3,7666,1,4,0)
+76 ;;=4^I48.0
+77 ;;^UTILITY(U,$J,358.3,7666,2)
+78 ;;=^90473
+79 ;;^UTILITY(U,$J,358.3,7667,0)
+80 ;;=N18.1^^39^386^9
+81 ;;^UTILITY(U,$J,358.3,7667,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,7667,1,3,0)
+84 ;;=3^CKD,Stage 1
+85 ;;^UTILITY(U,$J,358.3,7667,1,4,0)
+86 ;;=4^N18.1
+87 ;;^UTILITY(U,$J,358.3,7667,2)
+88 ;;=^5015602
+89 ;;^UTILITY(U,$J,358.3,7668,0)
+90 ;;=N18.2^^39^386^10
+91 ;;^UTILITY(U,$J,358.3,7668,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,7668,1,3,0)
+94 ;;=3^CKD,Stage 2
+95 ;;^UTILITY(U,$J,358.3,7668,1,4,0)
+96 ;;=4^N18.2
+97 ;;^UTILITY(U,$J,358.3,7668,2)
+98 ;;=^5015603
+99 ;;^UTILITY(U,$J,358.3,7669,0)
+100 ;;=N18.4^^39^386^14
+101 ;;^UTILITY(U,$J,358.3,7669,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,7669,1,3,0)
+104 ;;=3^CKD,Stage 4
+105 ;;^UTILITY(U,$J,358.3,7669,1,4,0)
+106 ;;=4^N18.4
+107 ;;^UTILITY(U,$J,358.3,7669,2)
+108 ;;=^5015605
+109 ;;^UTILITY(U,$J,358.3,7670,0)
+110 ;;=N18.5^^39^386^15
+111 ;;^UTILITY(U,$J,358.3,7670,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,7670,1,3,0)
+114 ;;=3^CKD,Stage 5
+115 ;;^UTILITY(U,$J,358.3,7670,1,4,0)
+116 ;;=4^N18.5
+117 ;;^UTILITY(U,$J,358.3,7670,2)
+118 ;;=^5015606
+119 ;;^UTILITY(U,$J,358.3,7671,0)
+120 ;;=N18.6^^39^386^26
+121 ;;^UTILITY(U,$J,358.3,7671,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,7671,1,3,0)
+124 ;;=3^ESRD
+125 ;;^UTILITY(U,$J,358.3,7671,1,4,0)
+126 ;;=4^N18.6
+127 ;;^UTILITY(U,$J,358.3,7671,2)
+128 ;;=^303986
+129 ;;^UTILITY(U,$J,358.3,7672,0)
+130 ;;=E11.22^^39^386^22