IBDEI1HF ; ; 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,23976,1,3,0)
;;=3^Cough,Unspec
;;^UTILITY(U,$J,358.3,23976,1,4,0)
;;=4^R05.9
;;^UTILITY(U,$J,358.3,23976,2)
;;=^5161232
;;^UTILITY(U,$J,358.3,23977,0)
;;=F41.9^^82^1040^4
;;^UTILITY(U,$J,358.3,23977,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23977,1,3,0)
;;=3^Anxiety Disorder,Unspec
;;^UTILITY(U,$J,358.3,23977,1,4,0)
;;=4^F41.9
;;^UTILITY(U,$J,358.3,23977,2)
;;=^5003567
;;^UTILITY(U,$J,358.3,23978,0)
;;=F10.20^^82^1040^3
;;^UTILITY(U,$J,358.3,23978,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23978,1,3,0)
;;=3^Alcohol Dependence,Uncomplicated
;;^UTILITY(U,$J,358.3,23978,1,4,0)
;;=4^F10.20
;;^UTILITY(U,$J,358.3,23978,2)
;;=^5003081
;;^UTILITY(U,$J,358.3,23979,0)
;;=F10.21^^82^1040^2
;;^UTILITY(U,$J,358.3,23979,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23979,1,3,0)
;;=3^Alcohol Dependence,In Remission
;;^UTILITY(U,$J,358.3,23979,1,4,0)
;;=4^F10.21
;;^UTILITY(U,$J,358.3,23979,2)
;;=^5003082
;;^UTILITY(U,$J,358.3,23980,0)
;;=F17.200^^82^1040^7
;;^UTILITY(U,$J,358.3,23980,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23980,1,3,0)
;;=3^Nicotine Dependence,Unspec,Uncomplicated
;;^UTILITY(U,$J,358.3,23980,1,4,0)
;;=4^F17.200
;;^UTILITY(U,$J,358.3,23980,2)
;;=^5003360
;;^UTILITY(U,$J,358.3,23981,0)
;;=F43.10^^82^1040^9
;;^UTILITY(U,$J,358.3,23981,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23981,1,3,0)
;;=3^PTSD,Unspec
;;^UTILITY(U,$J,358.3,23981,1,4,0)
;;=4^F43.10
;;^UTILITY(U,$J,358.3,23981,2)
;;=^5003570
;;^UTILITY(U,$J,358.3,23982,0)
;;=F43.12^^82^1040^8
;;^UTILITY(U,$J,358.3,23982,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23982,1,3,0)
;;=3^PTSD,Chronic
;;^UTILITY(U,$J,358.3,23982,1,4,0)
;;=4^F43.12
;;^UTILITY(U,$J,358.3,23982,2)
;;=^5003572
;;^UTILITY(U,$J,358.3,23983,0)
;;=F32.9^^82^1040^6
;;^UTILITY(U,$J,358.3,23983,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23983,1,3,0)
;;=3^MDD,Single Episode,Unspec
;;^UTILITY(U,$J,358.3,23983,1,4,0)
;;=4^F32.9
;;^UTILITY(U,$J,358.3,23983,2)
;;=^5003528
;;^UTILITY(U,$J,358.3,23984,0)
;;=G47.00^^82^1040^5
;;^UTILITY(U,$J,358.3,23984,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23984,1,3,0)
;;=3^Insomnia,Unspec
;;^UTILITY(U,$J,358.3,23984,1,4,0)
;;=4^G47.00
;;^UTILITY(U,$J,358.3,23984,2)
;;=^332924
;;^UTILITY(U,$J,358.3,23985,0)
;;=Z91.410^^82^1040^10
;;^UTILITY(U,$J,358.3,23985,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23985,1,3,0)
;;=3^Personal Hx of Adult Phys & Sex Abuse
;;^UTILITY(U,$J,358.3,23985,1,4,0)
;;=4^Z91.410
;;^UTILITY(U,$J,358.3,23985,2)
;;=^5063619
;;^UTILITY(U,$J,358.3,23986,0)
;;=F19.10^^82^1040^11
;;^UTILITY(U,$J,358.3,23986,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23986,1,3,0)
;;=3^Substance Abuse,Unspec
;;^UTILITY(U,$J,358.3,23986,1,4,0)
;;=4^F19.10
;;^UTILITY(U,$J,358.3,23986,2)
;;=^5003416
;;^UTILITY(U,$J,358.3,23987,0)
;;=F19.90^^82^1040^12
;;^UTILITY(U,$J,358.3,23987,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23987,1,3,0)
;;=3^Substance Use,Unspec
;;^UTILITY(U,$J,358.3,23987,1,4,0)
;;=4^F19.90
;;^UTILITY(U,$J,358.3,23987,2)
;;=^5003451
;;^UTILITY(U,$J,358.3,23988,0)
;;=F10.11^^82^1040^1
;;^UTILITY(U,$J,358.3,23988,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23988,1,3,0)
;;=3^Alcohol Abuse,In Remission
;;^UTILITY(U,$J,358.3,23988,1,4,0)
;;=4^F10.11
;;^UTILITY(U,$J,358.3,23988,2)
;;=^268230
;;^UTILITY(U,$J,358.3,23989,0)
;;=F64.0^^82^1040^13
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1HF 3797 printed Dec 13, 2024@02:08:46 Page 2
IBDEI1HF ; ; 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,23976,1,3,0)
+2 ;;=3^Cough,Unspec
+3 ;;^UTILITY(U,$J,358.3,23976,1,4,0)
+4 ;;=4^R05.9
+5 ;;^UTILITY(U,$J,358.3,23976,2)
+6 ;;=^5161232
+7 ;;^UTILITY(U,$J,358.3,23977,0)
+8 ;;=F41.9^^82^1040^4
+9 ;;^UTILITY(U,$J,358.3,23977,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,23977,1,3,0)
+12 ;;=3^Anxiety Disorder,Unspec
+13 ;;^UTILITY(U,$J,358.3,23977,1,4,0)
+14 ;;=4^F41.9
+15 ;;^UTILITY(U,$J,358.3,23977,2)
+16 ;;=^5003567
+17 ;;^UTILITY(U,$J,358.3,23978,0)
+18 ;;=F10.20^^82^1040^3
+19 ;;^UTILITY(U,$J,358.3,23978,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,23978,1,3,0)
+22 ;;=3^Alcohol Dependence,Uncomplicated
+23 ;;^UTILITY(U,$J,358.3,23978,1,4,0)
+24 ;;=4^F10.20
+25 ;;^UTILITY(U,$J,358.3,23978,2)
+26 ;;=^5003081
+27 ;;^UTILITY(U,$J,358.3,23979,0)
+28 ;;=F10.21^^82^1040^2
+29 ;;^UTILITY(U,$J,358.3,23979,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,23979,1,3,0)
+32 ;;=3^Alcohol Dependence,In Remission
+33 ;;^UTILITY(U,$J,358.3,23979,1,4,0)
+34 ;;=4^F10.21
+35 ;;^UTILITY(U,$J,358.3,23979,2)
+36 ;;=^5003082
+37 ;;^UTILITY(U,$J,358.3,23980,0)
+38 ;;=F17.200^^82^1040^7
+39 ;;^UTILITY(U,$J,358.3,23980,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,23980,1,3,0)
+42 ;;=3^Nicotine Dependence,Unspec,Uncomplicated
+43 ;;^UTILITY(U,$J,358.3,23980,1,4,0)
+44 ;;=4^F17.200
+45 ;;^UTILITY(U,$J,358.3,23980,2)
+46 ;;=^5003360
+47 ;;^UTILITY(U,$J,358.3,23981,0)
+48 ;;=F43.10^^82^1040^9
+49 ;;^UTILITY(U,$J,358.3,23981,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,23981,1,3,0)
+52 ;;=3^PTSD,Unspec
+53 ;;^UTILITY(U,$J,358.3,23981,1,4,0)
+54 ;;=4^F43.10
+55 ;;^UTILITY(U,$J,358.3,23981,2)
+56 ;;=^5003570
+57 ;;^UTILITY(U,$J,358.3,23982,0)
+58 ;;=F43.12^^82^1040^8
+59 ;;^UTILITY(U,$J,358.3,23982,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,23982,1,3,0)
+62 ;;=3^PTSD,Chronic
+63 ;;^UTILITY(U,$J,358.3,23982,1,4,0)
+64 ;;=4^F43.12
+65 ;;^UTILITY(U,$J,358.3,23982,2)
+66 ;;=^5003572
+67 ;;^UTILITY(U,$J,358.3,23983,0)
+68 ;;=F32.9^^82^1040^6
+69 ;;^UTILITY(U,$J,358.3,23983,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,23983,1,3,0)
+72 ;;=3^MDD,Single Episode,Unspec
+73 ;;^UTILITY(U,$J,358.3,23983,1,4,0)
+74 ;;=4^F32.9
+75 ;;^UTILITY(U,$J,358.3,23983,2)
+76 ;;=^5003528
+77 ;;^UTILITY(U,$J,358.3,23984,0)
+78 ;;=G47.00^^82^1040^5
+79 ;;^UTILITY(U,$J,358.3,23984,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,23984,1,3,0)
+82 ;;=3^Insomnia,Unspec
+83 ;;^UTILITY(U,$J,358.3,23984,1,4,0)
+84 ;;=4^G47.00
+85 ;;^UTILITY(U,$J,358.3,23984,2)
+86 ;;=^332924
+87 ;;^UTILITY(U,$J,358.3,23985,0)
+88 ;;=Z91.410^^82^1040^10
+89 ;;^UTILITY(U,$J,358.3,23985,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,23985,1,3,0)
+92 ;;=3^Personal Hx of Adult Phys & Sex Abuse
+93 ;;^UTILITY(U,$J,358.3,23985,1,4,0)
+94 ;;=4^Z91.410
+95 ;;^UTILITY(U,$J,358.3,23985,2)
+96 ;;=^5063619
+97 ;;^UTILITY(U,$J,358.3,23986,0)
+98 ;;=F19.10^^82^1040^11
+99 ;;^UTILITY(U,$J,358.3,23986,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,23986,1,3,0)
+102 ;;=3^Substance Abuse,Unspec
+103 ;;^UTILITY(U,$J,358.3,23986,1,4,0)
+104 ;;=4^F19.10
+105 ;;^UTILITY(U,$J,358.3,23986,2)
+106 ;;=^5003416
+107 ;;^UTILITY(U,$J,358.3,23987,0)
+108 ;;=F19.90^^82^1040^12
+109 ;;^UTILITY(U,$J,358.3,23987,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,23987,1,3,0)
+112 ;;=3^Substance Use,Unspec
+113 ;;^UTILITY(U,$J,358.3,23987,1,4,0)
+114 ;;=4^F19.90
+115 ;;^UTILITY(U,$J,358.3,23987,2)
+116 ;;=^5003451
+117 ;;^UTILITY(U,$J,358.3,23988,0)
+118 ;;=F10.11^^82^1040^1
+119 ;;^UTILITY(U,$J,358.3,23988,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,23988,1,3,0)
+122 ;;=3^Alcohol Abuse,In Remission
+123 ;;^UTILITY(U,$J,358.3,23988,1,4,0)
+124 ;;=4^F10.11
+125 ;;^UTILITY(U,$J,358.3,23988,2)
+126 ;;=^268230
+127 ;;^UTILITY(U,$J,358.3,23989,0)
+128 ;;=F64.0^^82^1040^13