IBDEI2VD ; ; 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,45773,1,4,0)
 ;;=4^F17.221
 ;;^UTILITY(U,$J,358.3,45773,2)
 ;;=^5003371
 ;;^UTILITY(U,$J,358.3,45774,0)
 ;;=F17.223^^172^2281^3
 ;;^UTILITY(U,$J,358.3,45774,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45774,1,3,0)
 ;;=3^Nicotine Dependence,Chewing Tobacco w/ Withdrawal
 ;;^UTILITY(U,$J,358.3,45774,1,4,0)
 ;;=4^F17.223
 ;;^UTILITY(U,$J,358.3,45774,2)
 ;;=^5003372
 ;;^UTILITY(U,$J,358.3,45775,0)
 ;;=F17.228^^172^2281^4
 ;;^UTILITY(U,$J,358.3,45775,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45775,1,3,0)
 ;;=3^Nicotine Dependence,Chewing Tobacco w/ Oth Disorders
 ;;^UTILITY(U,$J,358.3,45775,1,4,0)
 ;;=4^F17.228
 ;;^UTILITY(U,$J,358.3,45775,2)
 ;;=^5003373
 ;;^UTILITY(U,$J,358.3,45776,0)
 ;;=Z51.81^^172^2282^19
 ;;^UTILITY(U,$J,358.3,45776,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45776,1,3,0)
 ;;=3^Therapeutic Drug Monitoring
 ;;^UTILITY(U,$J,358.3,45776,1,4,0)
 ;;=4^Z51.81
 ;;^UTILITY(U,$J,358.3,45776,2)
 ;;=^5063064
 ;;^UTILITY(U,$J,358.3,45777,0)
 ;;=Z79.01^^172^2282^6
 ;;^UTILITY(U,$J,358.3,45777,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45777,1,3,0)
 ;;=3^Long Term Current Use of Anticoagulants
 ;;^UTILITY(U,$J,358.3,45777,1,4,0)
 ;;=4^Z79.01
 ;;^UTILITY(U,$J,358.3,45777,2)
 ;;=^5063330
 ;;^UTILITY(U,$J,358.3,45778,0)
 ;;=Z79.02^^172^2282^7
 ;;^UTILITY(U,$J,358.3,45778,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45778,1,3,0)
 ;;=3^Long Term Current Use of Antithrombotics/Antiplatelets
 ;;^UTILITY(U,$J,358.3,45778,1,4,0)
 ;;=4^Z79.02
 ;;^UTILITY(U,$J,358.3,45778,2)
 ;;=^5063331
 ;;^UTILITY(U,$J,358.3,45779,0)
 ;;=Z79.1^^172^2282^10
 ;;^UTILITY(U,$J,358.3,45779,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45779,1,3,0)
 ;;=3^Long Term Current Use of NSAIDs
 ;;^UTILITY(U,$J,358.3,45779,1,4,0)
 ;;=4^Z79.1
 ;;^UTILITY(U,$J,358.3,45779,2)
 ;;=^5063332
 ;;^UTILITY(U,$J,358.3,45780,0)
 ;;=Z79.2^^172^2282^5
 ;;^UTILITY(U,$J,358.3,45780,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45780,1,3,0)
 ;;=3^Long Term Current Use of Antibiotics
 ;;^UTILITY(U,$J,358.3,45780,1,4,0)
 ;;=4^Z79.2
 ;;^UTILITY(U,$J,358.3,45780,2)
 ;;=^321546
 ;;^UTILITY(U,$J,358.3,45781,0)
 ;;=Z79.82^^172^2282^8
 ;;^UTILITY(U,$J,358.3,45781,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45781,1,3,0)
 ;;=3^Long Term Current Use of Aspirin
 ;;^UTILITY(U,$J,358.3,45781,1,4,0)
 ;;=4^Z79.82
 ;;^UTILITY(U,$J,358.3,45781,2)
 ;;=^5063340
 ;;^UTILITY(U,$J,358.3,45782,0)
 ;;=Z79.51^^172^2282^9
 ;;^UTILITY(U,$J,358.3,45782,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45782,1,3,0)
 ;;=3^Long Term Current Use of Inhaled Steroids
 ;;^UTILITY(U,$J,358.3,45782,1,4,0)
 ;;=4^Z79.51
 ;;^UTILITY(U,$J,358.3,45782,2)
 ;;=^5063335
 ;;^UTILITY(U,$J,358.3,45783,0)
 ;;=Z79.52^^172^2282^11
 ;;^UTILITY(U,$J,358.3,45783,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45783,1,3,0)
 ;;=3^Long Term Current Use of Systemic Steroids
 ;;^UTILITY(U,$J,358.3,45783,1,4,0)
 ;;=4^Z79.52
 ;;^UTILITY(U,$J,358.3,45783,2)
 ;;=^5063336
 ;;^UTILITY(U,$J,358.3,45784,0)
 ;;=Z91.19^^172^2282^12
 ;;^UTILITY(U,$J,358.3,45784,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45784,1,3,0)
 ;;=3^Non-Compliance w/ Treatment/Regimen
 ;;^UTILITY(U,$J,358.3,45784,1,4,0)
 ;;=4^Z91.19
 ;;^UTILITY(U,$J,358.3,45784,2)
 ;;=^5063618
 ;;^UTILITY(U,$J,358.3,45785,0)
 ;;=Z87.01^^172^2282^15
 ;;^UTILITY(U,$J,358.3,45785,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,45785,1,3,0)
 ;;=3^Personal Hx of Pneumonia,Recurrent
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2VD   3781     printed  Sep 23, 2025@20:12:34                                                                                                                                                                                                    Page 2
IBDEI2VD  ; ; 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,45773,1,4,0)
 +2       ;;=4^F17.221
 +3       ;;^UTILITY(U,$J,358.3,45773,2)
 +4       ;;=^5003371
 +5       ;;^UTILITY(U,$J,358.3,45774,0)
 +6       ;;=F17.223^^172^2281^3
 +7       ;;^UTILITY(U,$J,358.3,45774,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,45774,1,3,0)
 +10      ;;=3^Nicotine Dependence,Chewing Tobacco w/ Withdrawal
 +11      ;;^UTILITY(U,$J,358.3,45774,1,4,0)
 +12      ;;=4^F17.223
 +13      ;;^UTILITY(U,$J,358.3,45774,2)
 +14      ;;=^5003372
 +15      ;;^UTILITY(U,$J,358.3,45775,0)
 +16      ;;=F17.228^^172^2281^4
 +17      ;;^UTILITY(U,$J,358.3,45775,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,45775,1,3,0)
 +20      ;;=3^Nicotine Dependence,Chewing Tobacco w/ Oth Disorders
 +21      ;;^UTILITY(U,$J,358.3,45775,1,4,0)
 +22      ;;=4^F17.228
 +23      ;;^UTILITY(U,$J,358.3,45775,2)
 +24      ;;=^5003373
 +25      ;;^UTILITY(U,$J,358.3,45776,0)
 +26      ;;=Z51.81^^172^2282^19
 +27      ;;^UTILITY(U,$J,358.3,45776,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,45776,1,3,0)
 +30      ;;=3^Therapeutic Drug Monitoring
 +31      ;;^UTILITY(U,$J,358.3,45776,1,4,0)
 +32      ;;=4^Z51.81
 +33      ;;^UTILITY(U,$J,358.3,45776,2)
 +34      ;;=^5063064
 +35      ;;^UTILITY(U,$J,358.3,45777,0)
 +36      ;;=Z79.01^^172^2282^6
 +37      ;;^UTILITY(U,$J,358.3,45777,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,45777,1,3,0)
 +40      ;;=3^Long Term Current Use of Anticoagulants
 +41      ;;^UTILITY(U,$J,358.3,45777,1,4,0)
 +42      ;;=4^Z79.01
 +43      ;;^UTILITY(U,$J,358.3,45777,2)
 +44      ;;=^5063330
 +45      ;;^UTILITY(U,$J,358.3,45778,0)
 +46      ;;=Z79.02^^172^2282^7
 +47      ;;^UTILITY(U,$J,358.3,45778,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,45778,1,3,0)
 +50      ;;=3^Long Term Current Use of Antithrombotics/Antiplatelets
 +51      ;;^UTILITY(U,$J,358.3,45778,1,4,0)
 +52      ;;=4^Z79.02
 +53      ;;^UTILITY(U,$J,358.3,45778,2)
 +54      ;;=^5063331
 +55      ;;^UTILITY(U,$J,358.3,45779,0)
 +56      ;;=Z79.1^^172^2282^10
 +57      ;;^UTILITY(U,$J,358.3,45779,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,45779,1,3,0)
 +60      ;;=3^Long Term Current Use of NSAIDs
 +61      ;;^UTILITY(U,$J,358.3,45779,1,4,0)
 +62      ;;=4^Z79.1
 +63      ;;^UTILITY(U,$J,358.3,45779,2)
 +64      ;;=^5063332
 +65      ;;^UTILITY(U,$J,358.3,45780,0)
 +66      ;;=Z79.2^^172^2282^5
 +67      ;;^UTILITY(U,$J,358.3,45780,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,45780,1,3,0)
 +70      ;;=3^Long Term Current Use of Antibiotics
 +71      ;;^UTILITY(U,$J,358.3,45780,1,4,0)
 +72      ;;=4^Z79.2
 +73      ;;^UTILITY(U,$J,358.3,45780,2)
 +74      ;;=^321546
 +75      ;;^UTILITY(U,$J,358.3,45781,0)
 +76      ;;=Z79.82^^172^2282^8
 +77      ;;^UTILITY(U,$J,358.3,45781,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,45781,1,3,0)
 +80      ;;=3^Long Term Current Use of Aspirin
 +81      ;;^UTILITY(U,$J,358.3,45781,1,4,0)
 +82      ;;=4^Z79.82
 +83      ;;^UTILITY(U,$J,358.3,45781,2)
 +84      ;;=^5063340
 +85      ;;^UTILITY(U,$J,358.3,45782,0)
 +86      ;;=Z79.51^^172^2282^9
 +87      ;;^UTILITY(U,$J,358.3,45782,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,45782,1,3,0)
 +90      ;;=3^Long Term Current Use of Inhaled Steroids
 +91      ;;^UTILITY(U,$J,358.3,45782,1,4,0)
 +92      ;;=4^Z79.51
 +93      ;;^UTILITY(U,$J,358.3,45782,2)
 +94      ;;=^5063335
 +95      ;;^UTILITY(U,$J,358.3,45783,0)
 +96      ;;=Z79.52^^172^2282^11
 +97      ;;^UTILITY(U,$J,358.3,45783,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,45783,1,3,0)
 +100     ;;=3^Long Term Current Use of Systemic Steroids
 +101     ;;^UTILITY(U,$J,358.3,45783,1,4,0)
 +102     ;;=4^Z79.52
 +103     ;;^UTILITY(U,$J,358.3,45783,2)
 +104     ;;=^5063336
 +105     ;;^UTILITY(U,$J,358.3,45784,0)
 +106     ;;=Z91.19^^172^2282^12
 +107     ;;^UTILITY(U,$J,358.3,45784,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,45784,1,3,0)
 +110     ;;=3^Non-Compliance w/ Treatment/Regimen
 +111     ;;^UTILITY(U,$J,358.3,45784,1,4,0)
 +112     ;;=4^Z91.19
 +113     ;;^UTILITY(U,$J,358.3,45784,2)
 +114     ;;=^5063618
 +115     ;;^UTILITY(U,$J,358.3,45785,0)
 +116     ;;=Z87.01^^172^2282^15
 +117     ;;^UTILITY(U,$J,358.3,45785,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,45785,1,3,0)
 +120     ;;=3^Personal Hx of Pneumonia,Recurrent