IBDEI1B6 ; ; 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,21156,1,3,0)
 ;;=3^Nicotine Dependence,Unspec
 ;;^UTILITY(U,$J,358.3,21156,1,4,0)
 ;;=4^F17.200
 ;;^UTILITY(U,$J,358.3,21156,2)
 ;;=^5003360
 ;;^UTILITY(U,$J,358.3,21157,0)
 ;;=F17.201^^70^908^66
 ;;^UTILITY(U,$J,358.3,21157,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21157,1,3,0)
 ;;=3^Nicotine Dependence In Remission
 ;;^UTILITY(U,$J,358.3,21157,1,4,0)
 ;;=4^F17.201
 ;;^UTILITY(U,$J,358.3,21157,2)
 ;;=^5003361
 ;;^UTILITY(U,$J,358.3,21158,0)
 ;;=F17.203^^70^908^68
 ;;^UTILITY(U,$J,358.3,21158,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21158,1,3,0)
 ;;=3^Nicotine Dependence w/ Withdrawal
 ;;^UTILITY(U,$J,358.3,21158,1,4,0)
 ;;=4^F17.203
 ;;^UTILITY(U,$J,358.3,21158,2)
 ;;=^5003362
 ;;^UTILITY(U,$J,358.3,21159,0)
 ;;=F17.208^^70^908^67
 ;;^UTILITY(U,$J,358.3,21159,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21159,1,3,0)
 ;;=3^Nicotine Dependence w/ Nicotine-Induced Disorders
 ;;^UTILITY(U,$J,358.3,21159,1,4,0)
 ;;=4^F17.208
 ;;^UTILITY(U,$J,358.3,21159,2)
 ;;=^5003363
 ;;^UTILITY(U,$J,358.3,21160,0)
 ;;=F17.210^^70^908^69
 ;;^UTILITY(U,$J,358.3,21160,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21160,1,3,0)
 ;;=3^Nicotine Dependence,Cigarettes
 ;;^UTILITY(U,$J,358.3,21160,1,4,0)
 ;;=4^F17.210
 ;;^UTILITY(U,$J,358.3,21160,2)
 ;;=^5003365
 ;;^UTILITY(U,$J,358.3,21161,0)
 ;;=F17.211^^70^908^70
 ;;^UTILITY(U,$J,358.3,21161,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21161,1,3,0)
 ;;=3^Nicotine Dependence,Cigarettes in Remission
 ;;^UTILITY(U,$J,358.3,21161,1,4,0)
 ;;=4^F17.211
 ;;^UTILITY(U,$J,358.3,21161,2)
 ;;=^5003366
 ;;^UTILITY(U,$J,358.3,21162,0)
 ;;=F17.213^^70^908^73
 ;;^UTILITY(U,$J,358.3,21162,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21162,1,3,0)
 ;;=3^Nicotine Dependence,Cigarettes w/ Withdrawal
 ;;^UTILITY(U,$J,358.3,21162,1,4,0)
 ;;=4^F17.213
 ;;^UTILITY(U,$J,358.3,21162,2)
 ;;=^5003367
 ;;^UTILITY(U,$J,358.3,21163,0)
 ;;=F17.218^^70^908^72
 ;;^UTILITY(U,$J,358.3,21163,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21163,1,3,0)
 ;;=3^Nicotine Dependence,Cigarettes w/ Other Disorders
 ;;^UTILITY(U,$J,358.3,21163,1,4,0)
 ;;=4^F17.218
 ;;^UTILITY(U,$J,358.3,21163,2)
 ;;=^5003368
 ;;^UTILITY(U,$J,358.3,21164,0)
 ;;=F17.219^^70^908^71
 ;;^UTILITY(U,$J,358.3,21164,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21164,1,3,0)
 ;;=3^Nicotine Dependence,Cigarettes w/ Nicotine-Induced Disorders
 ;;^UTILITY(U,$J,358.3,21164,1,4,0)
 ;;=4^F17.219
 ;;^UTILITY(U,$J,358.3,21164,2)
 ;;=^5003369
 ;;^UTILITY(U,$J,358.3,21165,0)
 ;;=J98.09^^70^908^25
 ;;^UTILITY(U,$J,358.3,21165,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21165,1,3,0)
 ;;=3^Bronchus Diseases NEC
 ;;^UTILITY(U,$J,358.3,21165,1,4,0)
 ;;=4^J98.09
 ;;^UTILITY(U,$J,358.3,21165,2)
 ;;=^5008359
 ;;^UTILITY(U,$J,358.3,21166,0)
 ;;=A15.0^^70^908^114
 ;;^UTILITY(U,$J,358.3,21166,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21166,1,3,0)
 ;;=3^Tuberculosis of Lung
 ;;^UTILITY(U,$J,358.3,21166,1,4,0)
 ;;=4^A15.0
 ;;^UTILITY(U,$J,358.3,21166,2)
 ;;=^5000062
 ;;^UTILITY(U,$J,358.3,21167,0)
 ;;=J05.0^^70^908^48
 ;;^UTILITY(U,$J,358.3,21167,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21167,1,3,0)
 ;;=3^Laryngitis,Obstructive,Acute
 ;;^UTILITY(U,$J,358.3,21167,1,4,0)
 ;;=4^J05.0
 ;;^UTILITY(U,$J,358.3,21167,2)
 ;;=^5008141
 ;;^UTILITY(U,$J,358.3,21168,0)
 ;;=J06.9^^70^908^104
 ;;^UTILITY(U,$J,358.3,21168,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,21168,1,3,0)
 ;;=3^Respiratory Infection,Upper,Acute
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1B6   3819     printed  Sep 23, 2025@19:41:18                                                                                                                                                                                                    Page 2
IBDEI1B6  ; ; 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,21156,1,3,0)
 +2       ;;=3^Nicotine Dependence,Unspec
 +3       ;;^UTILITY(U,$J,358.3,21156,1,4,0)
 +4       ;;=4^F17.200
 +5       ;;^UTILITY(U,$J,358.3,21156,2)
 +6       ;;=^5003360
 +7       ;;^UTILITY(U,$J,358.3,21157,0)
 +8       ;;=F17.201^^70^908^66
 +9       ;;^UTILITY(U,$J,358.3,21157,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,21157,1,3,0)
 +12      ;;=3^Nicotine Dependence In Remission
 +13      ;;^UTILITY(U,$J,358.3,21157,1,4,0)
 +14      ;;=4^F17.201
 +15      ;;^UTILITY(U,$J,358.3,21157,2)
 +16      ;;=^5003361
 +17      ;;^UTILITY(U,$J,358.3,21158,0)
 +18      ;;=F17.203^^70^908^68
 +19      ;;^UTILITY(U,$J,358.3,21158,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,21158,1,3,0)
 +22      ;;=3^Nicotine Dependence w/ Withdrawal
 +23      ;;^UTILITY(U,$J,358.3,21158,1,4,0)
 +24      ;;=4^F17.203
 +25      ;;^UTILITY(U,$J,358.3,21158,2)
 +26      ;;=^5003362
 +27      ;;^UTILITY(U,$J,358.3,21159,0)
 +28      ;;=F17.208^^70^908^67
 +29      ;;^UTILITY(U,$J,358.3,21159,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,21159,1,3,0)
 +32      ;;=3^Nicotine Dependence w/ Nicotine-Induced Disorders
 +33      ;;^UTILITY(U,$J,358.3,21159,1,4,0)
 +34      ;;=4^F17.208
 +35      ;;^UTILITY(U,$J,358.3,21159,2)
 +36      ;;=^5003363
 +37      ;;^UTILITY(U,$J,358.3,21160,0)
 +38      ;;=F17.210^^70^908^69
 +39      ;;^UTILITY(U,$J,358.3,21160,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,21160,1,3,0)
 +42      ;;=3^Nicotine Dependence,Cigarettes
 +43      ;;^UTILITY(U,$J,358.3,21160,1,4,0)
 +44      ;;=4^F17.210
 +45      ;;^UTILITY(U,$J,358.3,21160,2)
 +46      ;;=^5003365
 +47      ;;^UTILITY(U,$J,358.3,21161,0)
 +48      ;;=F17.211^^70^908^70
 +49      ;;^UTILITY(U,$J,358.3,21161,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,21161,1,3,0)
 +52      ;;=3^Nicotine Dependence,Cigarettes in Remission
 +53      ;;^UTILITY(U,$J,358.3,21161,1,4,0)
 +54      ;;=4^F17.211
 +55      ;;^UTILITY(U,$J,358.3,21161,2)
 +56      ;;=^5003366
 +57      ;;^UTILITY(U,$J,358.3,21162,0)
 +58      ;;=F17.213^^70^908^73
 +59      ;;^UTILITY(U,$J,358.3,21162,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,21162,1,3,0)
 +62      ;;=3^Nicotine Dependence,Cigarettes w/ Withdrawal
 +63      ;;^UTILITY(U,$J,358.3,21162,1,4,0)
 +64      ;;=4^F17.213
 +65      ;;^UTILITY(U,$J,358.3,21162,2)
 +66      ;;=^5003367
 +67      ;;^UTILITY(U,$J,358.3,21163,0)
 +68      ;;=F17.218^^70^908^72
 +69      ;;^UTILITY(U,$J,358.3,21163,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,21163,1,3,0)
 +72      ;;=3^Nicotine Dependence,Cigarettes w/ Other Disorders
 +73      ;;^UTILITY(U,$J,358.3,21163,1,4,0)
 +74      ;;=4^F17.218
 +75      ;;^UTILITY(U,$J,358.3,21163,2)
 +76      ;;=^5003368
 +77      ;;^UTILITY(U,$J,358.3,21164,0)
 +78      ;;=F17.219^^70^908^71
 +79      ;;^UTILITY(U,$J,358.3,21164,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,21164,1,3,0)
 +82      ;;=3^Nicotine Dependence,Cigarettes w/ Nicotine-Induced Disorders
 +83      ;;^UTILITY(U,$J,358.3,21164,1,4,0)
 +84      ;;=4^F17.219
 +85      ;;^UTILITY(U,$J,358.3,21164,2)
 +86      ;;=^5003369
 +87      ;;^UTILITY(U,$J,358.3,21165,0)
 +88      ;;=J98.09^^70^908^25
 +89      ;;^UTILITY(U,$J,358.3,21165,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,21165,1,3,0)
 +92      ;;=3^Bronchus Diseases NEC
 +93      ;;^UTILITY(U,$J,358.3,21165,1,4,0)
 +94      ;;=4^J98.09
 +95      ;;^UTILITY(U,$J,358.3,21165,2)
 +96      ;;=^5008359
 +97      ;;^UTILITY(U,$J,358.3,21166,0)
 +98      ;;=A15.0^^70^908^114
 +99      ;;^UTILITY(U,$J,358.3,21166,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,21166,1,3,0)
 +102     ;;=3^Tuberculosis of Lung
 +103     ;;^UTILITY(U,$J,358.3,21166,1,4,0)
 +104     ;;=4^A15.0
 +105     ;;^UTILITY(U,$J,358.3,21166,2)
 +106     ;;=^5000062
 +107     ;;^UTILITY(U,$J,358.3,21167,0)
 +108     ;;=J05.0^^70^908^48
 +109     ;;^UTILITY(U,$J,358.3,21167,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,21167,1,3,0)
 +112     ;;=3^Laryngitis,Obstructive,Acute
 +113     ;;^UTILITY(U,$J,358.3,21167,1,4,0)
 +114     ;;=4^J05.0
 +115     ;;^UTILITY(U,$J,358.3,21167,2)
 +116     ;;=^5008141
 +117     ;;^UTILITY(U,$J,358.3,21168,0)
 +118     ;;=J06.9^^70^908^104
 +119     ;;^UTILITY(U,$J,358.3,21168,1,0)
 +120     ;;=^358.31IA^4^2
 +121     ;;^UTILITY(U,$J,358.3,21168,1,3,0)
 +122     ;;=3^Respiratory Infection,Upper,Acute