IBDEI1GG ; ; 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,23534,0)
 ;;=F17.213^^78^1015^2
 ;;^UTILITY(U,$J,358.3,23534,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23534,1,3,0)
 ;;=3^Nicotine Dependence w/ Withdrawal
 ;;^UTILITY(U,$J,358.3,23534,1,4,0)
 ;;=4^F17.213
 ;;^UTILITY(U,$J,358.3,23534,2)
 ;;=^5003367
 ;;^UTILITY(U,$J,358.3,23535,0)
 ;;=F17.218^^78^1015^1
 ;;^UTILITY(U,$J,358.3,23535,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23535,1,3,0)
 ;;=3^Nicotine Dependence w/ Oth Disorders
 ;;^UTILITY(U,$J,358.3,23535,1,4,0)
 ;;=4^F17.218
 ;;^UTILITY(U,$J,358.3,23535,2)
 ;;=^5003368
 ;;^UTILITY(U,$J,358.3,23536,0)
 ;;=F17.220^^78^1015^6
 ;;^UTILITY(U,$J,358.3,23536,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23536,1,3,0)
 ;;=3^Nicotine Dependence,Chewing Tobacco,Uncomp
 ;;^UTILITY(U,$J,358.3,23536,1,4,0)
 ;;=4^F17.220
 ;;^UTILITY(U,$J,358.3,23536,2)
 ;;=^5003370
 ;;^UTILITY(U,$J,358.3,23537,0)
 ;;=F17.221^^78^1015^5
 ;;^UTILITY(U,$J,358.3,23537,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23537,1,3,0)
 ;;=3^Nicotine Dependence,Chewing Tobacco,In Remission
 ;;^UTILITY(U,$J,358.3,23537,1,4,0)
 ;;=4^F17.221
 ;;^UTILITY(U,$J,358.3,23537,2)
 ;;=^5003371
 ;;^UTILITY(U,$J,358.3,23538,0)
 ;;=F17.223^^78^1015^3
 ;;^UTILITY(U,$J,358.3,23538,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23538,1,3,0)
 ;;=3^Nicotine Dependence,Chewing Tobacco w/ Withdrawal
 ;;^UTILITY(U,$J,358.3,23538,1,4,0)
 ;;=4^F17.223
 ;;^UTILITY(U,$J,358.3,23538,2)
 ;;=^5003372
 ;;^UTILITY(U,$J,358.3,23539,0)
 ;;=F17.228^^78^1015^4
 ;;^UTILITY(U,$J,358.3,23539,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23539,1,3,0)
 ;;=3^Nicotine Dependence,Chewing Tobacco w/ Oth Disorders
 ;;^UTILITY(U,$J,358.3,23539,1,4,0)
 ;;=4^F17.228
 ;;^UTILITY(U,$J,358.3,23539,2)
 ;;=^5003373
 ;;^UTILITY(U,$J,358.3,23540,0)
 ;;=Z51.81^^78^1016^19
 ;;^UTILITY(U,$J,358.3,23540,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23540,1,3,0)
 ;;=3^Therapeutic Drug Monitoring
 ;;^UTILITY(U,$J,358.3,23540,1,4,0)
 ;;=4^Z51.81
 ;;^UTILITY(U,$J,358.3,23540,2)
 ;;=^5063064
 ;;^UTILITY(U,$J,358.3,23541,0)
 ;;=Z79.01^^78^1016^6
 ;;^UTILITY(U,$J,358.3,23541,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23541,1,3,0)
 ;;=3^Long Term Current Use of Anticoagulants
 ;;^UTILITY(U,$J,358.3,23541,1,4,0)
 ;;=4^Z79.01
 ;;^UTILITY(U,$J,358.3,23541,2)
 ;;=^5063330
 ;;^UTILITY(U,$J,358.3,23542,0)
 ;;=Z79.02^^78^1016^7
 ;;^UTILITY(U,$J,358.3,23542,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23542,1,3,0)
 ;;=3^Long Term Current Use of Antithrombotics/Antiplatelets
 ;;^UTILITY(U,$J,358.3,23542,1,4,0)
 ;;=4^Z79.02
 ;;^UTILITY(U,$J,358.3,23542,2)
 ;;=^5063331
 ;;^UTILITY(U,$J,358.3,23543,0)
 ;;=Z79.1^^78^1016^10
 ;;^UTILITY(U,$J,358.3,23543,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23543,1,3,0)
 ;;=3^Long Term Current Use of NSAIDs
 ;;^UTILITY(U,$J,358.3,23543,1,4,0)
 ;;=4^Z79.1
 ;;^UTILITY(U,$J,358.3,23543,2)
 ;;=^5063332
 ;;^UTILITY(U,$J,358.3,23544,0)
 ;;=Z79.2^^78^1016^5
 ;;^UTILITY(U,$J,358.3,23544,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23544,1,3,0)
 ;;=3^Long Term Current Use of Antibiotics
 ;;^UTILITY(U,$J,358.3,23544,1,4,0)
 ;;=4^Z79.2
 ;;^UTILITY(U,$J,358.3,23544,2)
 ;;=^321546
 ;;^UTILITY(U,$J,358.3,23545,0)
 ;;=Z79.82^^78^1016^8
 ;;^UTILITY(U,$J,358.3,23545,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,23545,1,3,0)
 ;;=3^Long Term Current Use of Aspirin
 ;;^UTILITY(U,$J,358.3,23545,1,4,0)
 ;;=4^Z79.82
 ;;^UTILITY(U,$J,358.3,23545,2)
 ;;=^5063340
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1GG   3780     printed  Sep 23, 2025@19:44:15                                                                                                                                                                                                    Page 2
IBDEI1GG  ; ; 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,23534,0)
 +2       ;;=F17.213^^78^1015^2
 +3       ;;^UTILITY(U,$J,358.3,23534,1,0)
 +4       ;;=^358.31IA^4^2
 +5       ;;^UTILITY(U,$J,358.3,23534,1,3,0)
 +6       ;;=3^Nicotine Dependence w/ Withdrawal
 +7       ;;^UTILITY(U,$J,358.3,23534,1,4,0)
 +8       ;;=4^F17.213
 +9       ;;^UTILITY(U,$J,358.3,23534,2)
 +10      ;;=^5003367
 +11      ;;^UTILITY(U,$J,358.3,23535,0)
 +12      ;;=F17.218^^78^1015^1
 +13      ;;^UTILITY(U,$J,358.3,23535,1,0)
 +14      ;;=^358.31IA^4^2
 +15      ;;^UTILITY(U,$J,358.3,23535,1,3,0)
 +16      ;;=3^Nicotine Dependence w/ Oth Disorders
 +17      ;;^UTILITY(U,$J,358.3,23535,1,4,0)
 +18      ;;=4^F17.218
 +19      ;;^UTILITY(U,$J,358.3,23535,2)
 +20      ;;=^5003368
 +21      ;;^UTILITY(U,$J,358.3,23536,0)
 +22      ;;=F17.220^^78^1015^6
 +23      ;;^UTILITY(U,$J,358.3,23536,1,0)
 +24      ;;=^358.31IA^4^2
 +25      ;;^UTILITY(U,$J,358.3,23536,1,3,0)
 +26      ;;=3^Nicotine Dependence,Chewing Tobacco,Uncomp
 +27      ;;^UTILITY(U,$J,358.3,23536,1,4,0)
 +28      ;;=4^F17.220
 +29      ;;^UTILITY(U,$J,358.3,23536,2)
 +30      ;;=^5003370
 +31      ;;^UTILITY(U,$J,358.3,23537,0)
 +32      ;;=F17.221^^78^1015^5
 +33      ;;^UTILITY(U,$J,358.3,23537,1,0)
 +34      ;;=^358.31IA^4^2
 +35      ;;^UTILITY(U,$J,358.3,23537,1,3,0)
 +36      ;;=3^Nicotine Dependence,Chewing Tobacco,In Remission
 +37      ;;^UTILITY(U,$J,358.3,23537,1,4,0)
 +38      ;;=4^F17.221
 +39      ;;^UTILITY(U,$J,358.3,23537,2)
 +40      ;;=^5003371
 +41      ;;^UTILITY(U,$J,358.3,23538,0)
 +42      ;;=F17.223^^78^1015^3
 +43      ;;^UTILITY(U,$J,358.3,23538,1,0)
 +44      ;;=^358.31IA^4^2
 +45      ;;^UTILITY(U,$J,358.3,23538,1,3,0)
 +46      ;;=3^Nicotine Dependence,Chewing Tobacco w/ Withdrawal
 +47      ;;^UTILITY(U,$J,358.3,23538,1,4,0)
 +48      ;;=4^F17.223
 +49      ;;^UTILITY(U,$J,358.3,23538,2)
 +50      ;;=^5003372
 +51      ;;^UTILITY(U,$J,358.3,23539,0)
 +52      ;;=F17.228^^78^1015^4
 +53      ;;^UTILITY(U,$J,358.3,23539,1,0)
 +54      ;;=^358.31IA^4^2
 +55      ;;^UTILITY(U,$J,358.3,23539,1,3,0)
 +56      ;;=3^Nicotine Dependence,Chewing Tobacco w/ Oth Disorders
 +57      ;;^UTILITY(U,$J,358.3,23539,1,4,0)
 +58      ;;=4^F17.228
 +59      ;;^UTILITY(U,$J,358.3,23539,2)
 +60      ;;=^5003373
 +61      ;;^UTILITY(U,$J,358.3,23540,0)
 +62      ;;=Z51.81^^78^1016^19
 +63      ;;^UTILITY(U,$J,358.3,23540,1,0)
 +64      ;;=^358.31IA^4^2
 +65      ;;^UTILITY(U,$J,358.3,23540,1,3,0)
 +66      ;;=3^Therapeutic Drug Monitoring
 +67      ;;^UTILITY(U,$J,358.3,23540,1,4,0)
 +68      ;;=4^Z51.81
 +69      ;;^UTILITY(U,$J,358.3,23540,2)
 +70      ;;=^5063064
 +71      ;;^UTILITY(U,$J,358.3,23541,0)
 +72      ;;=Z79.01^^78^1016^6
 +73      ;;^UTILITY(U,$J,358.3,23541,1,0)
 +74      ;;=^358.31IA^4^2
 +75      ;;^UTILITY(U,$J,358.3,23541,1,3,0)
 +76      ;;=3^Long Term Current Use of Anticoagulants
 +77      ;;^UTILITY(U,$J,358.3,23541,1,4,0)
 +78      ;;=4^Z79.01
 +79      ;;^UTILITY(U,$J,358.3,23541,2)
 +80      ;;=^5063330
 +81      ;;^UTILITY(U,$J,358.3,23542,0)
 +82      ;;=Z79.02^^78^1016^7
 +83      ;;^UTILITY(U,$J,358.3,23542,1,0)
 +84      ;;=^358.31IA^4^2
 +85      ;;^UTILITY(U,$J,358.3,23542,1,3,0)
 +86      ;;=3^Long Term Current Use of Antithrombotics/Antiplatelets
 +87      ;;^UTILITY(U,$J,358.3,23542,1,4,0)
 +88      ;;=4^Z79.02
 +89      ;;^UTILITY(U,$J,358.3,23542,2)
 +90      ;;=^5063331
 +91      ;;^UTILITY(U,$J,358.3,23543,0)
 +92      ;;=Z79.1^^78^1016^10
 +93      ;;^UTILITY(U,$J,358.3,23543,1,0)
 +94      ;;=^358.31IA^4^2
 +95      ;;^UTILITY(U,$J,358.3,23543,1,3,0)
 +96      ;;=3^Long Term Current Use of NSAIDs
 +97      ;;^UTILITY(U,$J,358.3,23543,1,4,0)
 +98      ;;=4^Z79.1
 +99      ;;^UTILITY(U,$J,358.3,23543,2)
 +100     ;;=^5063332
 +101     ;;^UTILITY(U,$J,358.3,23544,0)
 +102     ;;=Z79.2^^78^1016^5
 +103     ;;^UTILITY(U,$J,358.3,23544,1,0)
 +104     ;;=^358.31IA^4^2
 +105     ;;^UTILITY(U,$J,358.3,23544,1,3,0)
 +106     ;;=3^Long Term Current Use of Antibiotics
 +107     ;;^UTILITY(U,$J,358.3,23544,1,4,0)
 +108     ;;=4^Z79.2
 +109     ;;^UTILITY(U,$J,358.3,23544,2)
 +110     ;;=^321546
 +111     ;;^UTILITY(U,$J,358.3,23545,0)
 +112     ;;=Z79.82^^78^1016^8
 +113     ;;^UTILITY(U,$J,358.3,23545,1,0)
 +114     ;;=^358.31IA^4^2
 +115     ;;^UTILITY(U,$J,358.3,23545,1,3,0)
 +116     ;;=3^Long Term Current Use of Aspirin
 +117     ;;^UTILITY(U,$J,358.3,23545,1,4,0)
 +118     ;;=4^Z79.82
 +119     ;;^UTILITY(U,$J,358.3,23545,2)
 +120     ;;=^5063340