- IBDEI1TQ ; ; 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,29140,2)
- ;;=^329915
- ;;^UTILITY(U,$J,358.3,29141,0)
- ;;=G94.^^118^1464^6
- ;;^UTILITY(U,$J,358.3,29141,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29141,1,3,0)
- ;;=3^Brain D/O in Diseases Classified Elsewhere NEC
- ;;^UTILITY(U,$J,358.3,29141,1,4,0)
- ;;=4^G94.
- ;;^UTILITY(U,$J,358.3,29141,2)
- ;;=^5004187
- ;;^UTILITY(U,$J,358.3,29142,0)
- ;;=G31.83^^118^1464^17
- ;;^UTILITY(U,$J,358.3,29142,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29142,1,3,0)
- ;;=3^Dementia w/ Lewy Bodies
- ;;^UTILITY(U,$J,358.3,29142,1,4,0)
- ;;=4^G31.83
- ;;^UTILITY(U,$J,358.3,29142,2)
- ;;=^329888
- ;;^UTILITY(U,$J,358.3,29143,0)
- ;;=G31.89^^118^1464^11
- ;;^UTILITY(U,$J,358.3,29143,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29143,1,3,0)
- ;;=3^Degenerative Diseases of Nervous System NEC
- ;;^UTILITY(U,$J,358.3,29143,1,4,0)
- ;;=4^G31.89
- ;;^UTILITY(U,$J,358.3,29143,2)
- ;;=^5003814
- ;;^UTILITY(U,$J,358.3,29144,0)
- ;;=G31.9^^118^1464^12
- ;;^UTILITY(U,$J,358.3,29144,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29144,1,3,0)
- ;;=3^Degenerative Diseases of Nervous System,Unspec
- ;;^UTILITY(U,$J,358.3,29144,1,4,0)
- ;;=4^G31.9
- ;;^UTILITY(U,$J,358.3,29144,2)
- ;;=^5003815
- ;;^UTILITY(U,$J,358.3,29145,0)
- ;;=G23.8^^118^1464^10
- ;;^UTILITY(U,$J,358.3,29145,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29145,1,3,0)
- ;;=3^Degenerative Diseases of Basal Ganglia NEC
- ;;^UTILITY(U,$J,358.3,29145,1,4,0)
- ;;=4^G23.8
- ;;^UTILITY(U,$J,358.3,29145,2)
- ;;=^5003782
- ;;^UTILITY(U,$J,358.3,29146,0)
- ;;=G30.0^^118^1464^2
- ;;^UTILITY(U,$J,358.3,29146,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29146,1,3,0)
- ;;=3^Alzheimer's Disease w/ Early Onset
- ;;^UTILITY(U,$J,358.3,29146,1,4,0)
- ;;=4^G30.0
- ;;^UTILITY(U,$J,358.3,29146,2)
- ;;=^5003805
- ;;^UTILITY(U,$J,358.3,29147,0)
- ;;=G30.1^^118^1464^3
- ;;^UTILITY(U,$J,358.3,29147,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29147,1,3,0)
- ;;=3^Alzheimer's Disease w/ Late Onset
- ;;^UTILITY(U,$J,358.3,29147,1,4,0)
- ;;=4^G30.1
- ;;^UTILITY(U,$J,358.3,29147,2)
- ;;=^5003806
- ;;^UTILITY(U,$J,358.3,29148,0)
- ;;=B20.^^118^1464^21
- ;;^UTILITY(U,$J,358.3,29148,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29148,1,3,0)
- ;;=3^HIV Infection
- ;;^UTILITY(U,$J,358.3,29148,1,4,0)
- ;;=4^B20.
- ;;^UTILITY(U,$J,358.3,29148,2)
- ;;=^5000555
- ;;^UTILITY(U,$J,358.3,29149,0)
- ;;=G10.^^118^1464^22
- ;;^UTILITY(U,$J,358.3,29149,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29149,1,3,0)
- ;;=3^Huntington's Disease
- ;;^UTILITY(U,$J,358.3,29149,1,4,0)
- ;;=4^G10.
- ;;^UTILITY(U,$J,358.3,29149,2)
- ;;=^5003751
- ;;^UTILITY(U,$J,358.3,29150,0)
- ;;=G30.8^^118^1464^1
- ;;^UTILITY(U,$J,358.3,29150,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29150,1,3,0)
- ;;=3^Alzheimer's Disease NEC
- ;;^UTILITY(U,$J,358.3,29150,1,4,0)
- ;;=4^G30.8
- ;;^UTILITY(U,$J,358.3,29150,2)
- ;;=^5003807
- ;;^UTILITY(U,$J,358.3,29151,0)
- ;;=A81.89^^118^1464^5
- ;;^UTILITY(U,$J,358.3,29151,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29151,1,3,0)
- ;;=3^Atypical Virus Infections of CNS NEC
- ;;^UTILITY(U,$J,358.3,29151,1,4,0)
- ;;=4^A81.89
- ;;^UTILITY(U,$J,358.3,29151,2)
- ;;=^5000413
- ;;^UTILITY(U,$J,358.3,29152,0)
- ;;=G20.^^118^1464^26
- ;;^UTILITY(U,$J,358.3,29152,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,29152,1,3,0)
- ;;=3^Parkinson's Disease
- ;;^UTILITY(U,$J,358.3,29152,1,4,0)
- ;;=4^G20.
- ;;^UTILITY(U,$J,358.3,29152,2)
- ;;=^5003770
- ;;^UTILITY(U,$J,358.3,29153,0)
- ;;=G23.1^^118^1464^30
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1TQ 3765 printed Dec 13, 2024@02:15:37 Page 2
- IBDEI1TQ ; ; 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,29140,2)
- +2 ;;=^329915
- +3 ;;^UTILITY(U,$J,358.3,29141,0)
- +4 ;;=G94.^^118^1464^6
- +5 ;;^UTILITY(U,$J,358.3,29141,1,0)
- +6 ;;=^358.31IA^4^2
- +7 ;;^UTILITY(U,$J,358.3,29141,1,3,0)
- +8 ;;=3^Brain D/O in Diseases Classified Elsewhere NEC
- +9 ;;^UTILITY(U,$J,358.3,29141,1,4,0)
- +10 ;;=4^G94.
- +11 ;;^UTILITY(U,$J,358.3,29141,2)
- +12 ;;=^5004187
- +13 ;;^UTILITY(U,$J,358.3,29142,0)
- +14 ;;=G31.83^^118^1464^17
- +15 ;;^UTILITY(U,$J,358.3,29142,1,0)
- +16 ;;=^358.31IA^4^2
- +17 ;;^UTILITY(U,$J,358.3,29142,1,3,0)
- +18 ;;=3^Dementia w/ Lewy Bodies
- +19 ;;^UTILITY(U,$J,358.3,29142,1,4,0)
- +20 ;;=4^G31.83
- +21 ;;^UTILITY(U,$J,358.3,29142,2)
- +22 ;;=^329888
- +23 ;;^UTILITY(U,$J,358.3,29143,0)
- +24 ;;=G31.89^^118^1464^11
- +25 ;;^UTILITY(U,$J,358.3,29143,1,0)
- +26 ;;=^358.31IA^4^2
- +27 ;;^UTILITY(U,$J,358.3,29143,1,3,0)
- +28 ;;=3^Degenerative Diseases of Nervous System NEC
- +29 ;;^UTILITY(U,$J,358.3,29143,1,4,0)
- +30 ;;=4^G31.89
- +31 ;;^UTILITY(U,$J,358.3,29143,2)
- +32 ;;=^5003814
- +33 ;;^UTILITY(U,$J,358.3,29144,0)
- +34 ;;=G31.9^^118^1464^12
- +35 ;;^UTILITY(U,$J,358.3,29144,1,0)
- +36 ;;=^358.31IA^4^2
- +37 ;;^UTILITY(U,$J,358.3,29144,1,3,0)
- +38 ;;=3^Degenerative Diseases of Nervous System,Unspec
- +39 ;;^UTILITY(U,$J,358.3,29144,1,4,0)
- +40 ;;=4^G31.9
- +41 ;;^UTILITY(U,$J,358.3,29144,2)
- +42 ;;=^5003815
- +43 ;;^UTILITY(U,$J,358.3,29145,0)
- +44 ;;=G23.8^^118^1464^10
- +45 ;;^UTILITY(U,$J,358.3,29145,1,0)
- +46 ;;=^358.31IA^4^2
- +47 ;;^UTILITY(U,$J,358.3,29145,1,3,0)
- +48 ;;=3^Degenerative Diseases of Basal Ganglia NEC
- +49 ;;^UTILITY(U,$J,358.3,29145,1,4,0)
- +50 ;;=4^G23.8
- +51 ;;^UTILITY(U,$J,358.3,29145,2)
- +52 ;;=^5003782
- +53 ;;^UTILITY(U,$J,358.3,29146,0)
- +54 ;;=G30.0^^118^1464^2
- +55 ;;^UTILITY(U,$J,358.3,29146,1,0)
- +56 ;;=^358.31IA^4^2
- +57 ;;^UTILITY(U,$J,358.3,29146,1,3,0)
- +58 ;;=3^Alzheimer's Disease w/ Early Onset
- +59 ;;^UTILITY(U,$J,358.3,29146,1,4,0)
- +60 ;;=4^G30.0
- +61 ;;^UTILITY(U,$J,358.3,29146,2)
- +62 ;;=^5003805
- +63 ;;^UTILITY(U,$J,358.3,29147,0)
- +64 ;;=G30.1^^118^1464^3
- +65 ;;^UTILITY(U,$J,358.3,29147,1,0)
- +66 ;;=^358.31IA^4^2
- +67 ;;^UTILITY(U,$J,358.3,29147,1,3,0)
- +68 ;;=3^Alzheimer's Disease w/ Late Onset
- +69 ;;^UTILITY(U,$J,358.3,29147,1,4,0)
- +70 ;;=4^G30.1
- +71 ;;^UTILITY(U,$J,358.3,29147,2)
- +72 ;;=^5003806
- +73 ;;^UTILITY(U,$J,358.3,29148,0)
- +74 ;;=B20.^^118^1464^21
- +75 ;;^UTILITY(U,$J,358.3,29148,1,0)
- +76 ;;=^358.31IA^4^2
- +77 ;;^UTILITY(U,$J,358.3,29148,1,3,0)
- +78 ;;=3^HIV Infection
- +79 ;;^UTILITY(U,$J,358.3,29148,1,4,0)
- +80 ;;=4^B20.
- +81 ;;^UTILITY(U,$J,358.3,29148,2)
- +82 ;;=^5000555
- +83 ;;^UTILITY(U,$J,358.3,29149,0)
- +84 ;;=G10.^^118^1464^22
- +85 ;;^UTILITY(U,$J,358.3,29149,1,0)
- +86 ;;=^358.31IA^4^2
- +87 ;;^UTILITY(U,$J,358.3,29149,1,3,0)
- +88 ;;=3^Huntington's Disease
- +89 ;;^UTILITY(U,$J,358.3,29149,1,4,0)
- +90 ;;=4^G10.
- +91 ;;^UTILITY(U,$J,358.3,29149,2)
- +92 ;;=^5003751
- +93 ;;^UTILITY(U,$J,358.3,29150,0)
- +94 ;;=G30.8^^118^1464^1
- +95 ;;^UTILITY(U,$J,358.3,29150,1,0)
- +96 ;;=^358.31IA^4^2
- +97 ;;^UTILITY(U,$J,358.3,29150,1,3,0)
- +98 ;;=3^Alzheimer's Disease NEC
- +99 ;;^UTILITY(U,$J,358.3,29150,1,4,0)
- +100 ;;=4^G30.8
- +101 ;;^UTILITY(U,$J,358.3,29150,2)
- +102 ;;=^5003807
- +103 ;;^UTILITY(U,$J,358.3,29151,0)
- +104 ;;=A81.89^^118^1464^5
- +105 ;;^UTILITY(U,$J,358.3,29151,1,0)
- +106 ;;=^358.31IA^4^2
- +107 ;;^UTILITY(U,$J,358.3,29151,1,3,0)
- +108 ;;=3^Atypical Virus Infections of CNS NEC
- +109 ;;^UTILITY(U,$J,358.3,29151,1,4,0)
- +110 ;;=4^A81.89
- +111 ;;^UTILITY(U,$J,358.3,29151,2)
- +112 ;;=^5000413
- +113 ;;^UTILITY(U,$J,358.3,29152,0)
- +114 ;;=G20.^^118^1464^26
- +115 ;;^UTILITY(U,$J,358.3,29152,1,0)
- +116 ;;=^358.31IA^4^2
- +117 ;;^UTILITY(U,$J,358.3,29152,1,3,0)
- +118 ;;=3^Parkinson's Disease
- +119 ;;^UTILITY(U,$J,358.3,29152,1,4,0)
- +120 ;;=4^G20.
- +121 ;;^UTILITY(U,$J,358.3,29152,2)
- +122 ;;=^5003770
- +123 ;;^UTILITY(U,$J,358.3,29153,0)
- +124 ;;=G23.1^^118^1464^30