IBDEI0MA ; ; 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,10018,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10018,1,3,0)
 ;;=3^HIV Disease w/ Dementia w/ Behavioral Disturbances
 ;;^UTILITY(U,$J,358.3,10018,1,4,0)
 ;;=4^B20.
 ;;^UTILITY(U,$J,358.3,10018,2)
 ;;=^5000555^F02.81
 ;;^UTILITY(U,$J,358.3,10019,0)
 ;;=B20.^^39^421^18
 ;;^UTILITY(U,$J,358.3,10019,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10019,1,3,0)
 ;;=3^HIV Disease w/ Dementia w/o Behavioral Disturbances
 ;;^UTILITY(U,$J,358.3,10019,1,4,0)
 ;;=4^B20.
 ;;^UTILITY(U,$J,358.3,10019,2)
 ;;=^5000555^F02.80
 ;;^UTILITY(U,$J,358.3,10020,0)
 ;;=F10.27^^39^421^1
 ;;^UTILITY(U,$J,358.3,10020,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10020,1,3,0)
 ;;=3^Alcohol Dependence w/ Alcohol-Induced Persisting Dementia
 ;;^UTILITY(U,$J,358.3,10020,1,4,0)
 ;;=4^F10.27
 ;;^UTILITY(U,$J,358.3,10020,2)
 ;;=^5003095
 ;;^UTILITY(U,$J,358.3,10021,0)
 ;;=F19.97^^39^421^29
 ;;^UTILITY(U,$J,358.3,10021,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10021,1,3,0)
 ;;=3^Psychoactive Substance Use w/ Persisting Dementia NEC
 ;;^UTILITY(U,$J,358.3,10021,1,4,0)
 ;;=4^F19.97
 ;;^UTILITY(U,$J,358.3,10021,2)
 ;;=^5003465
 ;;^UTILITY(U,$J,358.3,10022,0)
 ;;=F03.90^^39^421^15
 ;;^UTILITY(U,$J,358.3,10022,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10022,1,3,0)
 ;;=3^Dementia w/o Behavioral Disturbance,Unspec
 ;;^UTILITY(U,$J,358.3,10022,1,4,0)
 ;;=4^F03.90
 ;;^UTILITY(U,$J,358.3,10022,2)
 ;;=^5003050
 ;;^UTILITY(U,$J,358.3,10023,0)
 ;;=G30.0^^39^421^2
 ;;^UTILITY(U,$J,358.3,10023,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10023,1,3,0)
 ;;=3^Alzheimer's Disease w/ Early Onset
 ;;^UTILITY(U,$J,358.3,10023,1,4,0)
 ;;=4^G30.0
 ;;^UTILITY(U,$J,358.3,10023,2)
 ;;=^5003805
 ;;^UTILITY(U,$J,358.3,10024,0)
 ;;=G30.1^^39^421^3
 ;;^UTILITY(U,$J,358.3,10024,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10024,1,3,0)
 ;;=3^Alzheimer's Disease w/ Late Onset
 ;;^UTILITY(U,$J,358.3,10024,1,4,0)
 ;;=4^G30.1
 ;;^UTILITY(U,$J,358.3,10024,2)
 ;;=^5003806
 ;;^UTILITY(U,$J,358.3,10025,0)
 ;;=G30.9^^39^421^4
 ;;^UTILITY(U,$J,358.3,10025,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10025,1,3,0)
 ;;=3^Alzheimer's Disease,Unspec
 ;;^UTILITY(U,$J,358.3,10025,1,4,0)
 ;;=4^G30.9
 ;;^UTILITY(U,$J,358.3,10025,2)
 ;;=^5003808
 ;;^UTILITY(U,$J,358.3,10026,0)
 ;;=G10.^^39^421^19
 ;;^UTILITY(U,$J,358.3,10026,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10026,1,3,0)
 ;;=3^Huntington's Disease w/ Dementia w/ Behavioral Disturbance
 ;;^UTILITY(U,$J,358.3,10026,1,4,0)
 ;;=4^G10.
 ;;^UTILITY(U,$J,358.3,10026,2)
 ;;=^5003751^F02.81
 ;;^UTILITY(U,$J,358.3,10027,0)
 ;;=G10.^^39^421^20
 ;;^UTILITY(U,$J,358.3,10027,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10027,1,3,0)
 ;;=3^Huntington's Disease w/ Dementia w/o Behavioral Disturbances
 ;;^UTILITY(U,$J,358.3,10027,1,4,0)
 ;;=4^G10.
 ;;^UTILITY(U,$J,358.3,10027,2)
 ;;=^5003751^F02.80
 ;;^UTILITY(U,$J,358.3,10028,0)
 ;;=G90.3^^39^421^21
 ;;^UTILITY(U,$J,358.3,10028,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10028,1,3,0)
 ;;=3^Multi-System Degeneration of the Autonomic Nervous System
 ;;^UTILITY(U,$J,358.3,10028,1,4,0)
 ;;=4^G90.3
 ;;^UTILITY(U,$J,358.3,10028,2)
 ;;=^5004162
 ;;^UTILITY(U,$J,358.3,10029,0)
 ;;=G91.2^^39^421^22
 ;;^UTILITY(U,$J,358.3,10029,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10029,1,3,0)
 ;;=3^NPH w/ Dementia w/ Behavioral Disturbances
 ;;^UTILITY(U,$J,358.3,10029,1,4,0)
 ;;=4^G91.2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0MA   3752     printed  Sep 23, 2025@19:27:26                                                                                                                                                                                                    Page 2
IBDEI0MA  ; ; 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,10018,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,10018,1,3,0)
 +4       ;;=3^HIV Disease w/ Dementia w/ Behavioral Disturbances
 +5       ;;^UTILITY(U,$J,358.3,10018,1,4,0)
 +6       ;;=4^B20.
 +7       ;;^UTILITY(U,$J,358.3,10018,2)
 +8       ;;=^5000555^F02.81
 +9       ;;^UTILITY(U,$J,358.3,10019,0)
 +10      ;;=B20.^^39^421^18
 +11      ;;^UTILITY(U,$J,358.3,10019,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,10019,1,3,0)
 +14      ;;=3^HIV Disease w/ Dementia w/o Behavioral Disturbances
 +15      ;;^UTILITY(U,$J,358.3,10019,1,4,0)
 +16      ;;=4^B20.
 +17      ;;^UTILITY(U,$J,358.3,10019,2)
 +18      ;;=^5000555^F02.80
 +19      ;;^UTILITY(U,$J,358.3,10020,0)
 +20      ;;=F10.27^^39^421^1
 +21      ;;^UTILITY(U,$J,358.3,10020,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,10020,1,3,0)
 +24      ;;=3^Alcohol Dependence w/ Alcohol-Induced Persisting Dementia
 +25      ;;^UTILITY(U,$J,358.3,10020,1,4,0)
 +26      ;;=4^F10.27
 +27      ;;^UTILITY(U,$J,358.3,10020,2)
 +28      ;;=^5003095
 +29      ;;^UTILITY(U,$J,358.3,10021,0)
 +30      ;;=F19.97^^39^421^29
 +31      ;;^UTILITY(U,$J,358.3,10021,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,10021,1,3,0)
 +34      ;;=3^Psychoactive Substance Use w/ Persisting Dementia NEC
 +35      ;;^UTILITY(U,$J,358.3,10021,1,4,0)
 +36      ;;=4^F19.97
 +37      ;;^UTILITY(U,$J,358.3,10021,2)
 +38      ;;=^5003465
 +39      ;;^UTILITY(U,$J,358.3,10022,0)
 +40      ;;=F03.90^^39^421^15
 +41      ;;^UTILITY(U,$J,358.3,10022,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,10022,1,3,0)
 +44      ;;=3^Dementia w/o Behavioral Disturbance,Unspec
 +45      ;;^UTILITY(U,$J,358.3,10022,1,4,0)
 +46      ;;=4^F03.90
 +47      ;;^UTILITY(U,$J,358.3,10022,2)
 +48      ;;=^5003050
 +49      ;;^UTILITY(U,$J,358.3,10023,0)
 +50      ;;=G30.0^^39^421^2
 +51      ;;^UTILITY(U,$J,358.3,10023,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,10023,1,3,0)
 +54      ;;=3^Alzheimer's Disease w/ Early Onset
 +55      ;;^UTILITY(U,$J,358.3,10023,1,4,0)
 +56      ;;=4^G30.0
 +57      ;;^UTILITY(U,$J,358.3,10023,2)
 +58      ;;=^5003805
 +59      ;;^UTILITY(U,$J,358.3,10024,0)
 +60      ;;=G30.1^^39^421^3
 +61      ;;^UTILITY(U,$J,358.3,10024,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,10024,1,3,0)
 +64      ;;=3^Alzheimer's Disease w/ Late Onset
 +65      ;;^UTILITY(U,$J,358.3,10024,1,4,0)
 +66      ;;=4^G30.1
 +67      ;;^UTILITY(U,$J,358.3,10024,2)
 +68      ;;=^5003806
 +69      ;;^UTILITY(U,$J,358.3,10025,0)
 +70      ;;=G30.9^^39^421^4
 +71      ;;^UTILITY(U,$J,358.3,10025,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,10025,1,3,0)
 +74      ;;=3^Alzheimer's Disease,Unspec
 +75      ;;^UTILITY(U,$J,358.3,10025,1,4,0)
 +76      ;;=4^G30.9
 +77      ;;^UTILITY(U,$J,358.3,10025,2)
 +78      ;;=^5003808
 +79      ;;^UTILITY(U,$J,358.3,10026,0)
 +80      ;;=G10.^^39^421^19
 +81      ;;^UTILITY(U,$J,358.3,10026,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,10026,1,3,0)
 +84      ;;=3^Huntington's Disease w/ Dementia w/ Behavioral Disturbance
 +85      ;;^UTILITY(U,$J,358.3,10026,1,4,0)
 +86      ;;=4^G10.
 +87      ;;^UTILITY(U,$J,358.3,10026,2)
 +88      ;;=^5003751^F02.81
 +89      ;;^UTILITY(U,$J,358.3,10027,0)
 +90      ;;=G10.^^39^421^20
 +91      ;;^UTILITY(U,$J,358.3,10027,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,10027,1,3,0)
 +94      ;;=3^Huntington's Disease w/ Dementia w/o Behavioral Disturbances
 +95      ;;^UTILITY(U,$J,358.3,10027,1,4,0)
 +96      ;;=4^G10.
 +97      ;;^UTILITY(U,$J,358.3,10027,2)
 +98      ;;=^5003751^F02.80
 +99      ;;^UTILITY(U,$J,358.3,10028,0)
 +100     ;;=G90.3^^39^421^21
 +101     ;;^UTILITY(U,$J,358.3,10028,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,10028,1,3,0)
 +104     ;;=3^Multi-System Degeneration of the Autonomic Nervous System
 +105     ;;^UTILITY(U,$J,358.3,10028,1,4,0)
 +106     ;;=4^G90.3
 +107     ;;^UTILITY(U,$J,358.3,10028,2)
 +108     ;;=^5004162
 +109     ;;^UTILITY(U,$J,358.3,10029,0)
 +110     ;;=G91.2^^39^421^22
 +111     ;;^UTILITY(U,$J,358.3,10029,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,10029,1,3,0)
 +114     ;;=3^NPH w/ Dementia w/ Behavioral Disturbances
 +115     ;;^UTILITY(U,$J,358.3,10029,1,4,0)
 +116     ;;=4^G91.2