- IBDEI0NN ; ; 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,10643,1,4,0)
- ;;=4^G31.84
- ;;^UTILITY(U,$J,358.3,10643,2)
- ;;=^5003813
- ;;^UTILITY(U,$J,358.3,10644,0)
- ;;=F01.51^^42^472^49
- ;;^UTILITY(U,$J,358.3,10644,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10644,1,3,0)
- ;;=3^Major Neurocog D/O d/t Prob VASCULAR DISEASE w/ Behav Disturb
- ;;^UTILITY(U,$J,358.3,10644,1,4,0)
- ;;=4^F01.51
- ;;^UTILITY(U,$J,358.3,10644,2)
- ;;=^5003047
- ;;^UTILITY(U,$J,358.3,10645,0)
- ;;=F01.50^^42^472^50
- ;;^UTILITY(U,$J,358.3,10645,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10645,1,3,0)
- ;;=3^Major Neurocog D/O d/t Prob VASCULAR DISEASE w/o Behav Disturb
- ;;^UTILITY(U,$J,358.3,10645,1,4,0)
- ;;=4^F01.50
- ;;^UTILITY(U,$J,358.3,10645,2)
- ;;=^5003046
- ;;^UTILITY(U,$J,358.3,10646,0)
- ;;=G31.84^^42^472^66
- ;;^UTILITY(U,$J,358.3,10646,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10646,1,3,0)
- ;;=3^Mild Neurocog D/O d/t VASCULAR DISEASE
- ;;^UTILITY(U,$J,358.3,10646,1,4,0)
- ;;=4^G31.84
- ;;^UTILITY(U,$J,358.3,10646,2)
- ;;=^5003813
- ;;^UTILITY(U,$J,358.3,10647,0)
- ;;=R41.9^^42^472^69
- ;;^UTILITY(U,$J,358.3,10647,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10647,1,3,0)
- ;;=3^Neurocognitive Disorder,Unspec
- ;;^UTILITY(U,$J,358.3,10647,1,4,0)
- ;;=4^R41.9
- ;;^UTILITY(U,$J,358.3,10647,2)
- ;;=^5019449
- ;;^UTILITY(U,$J,358.3,10648,0)
- ;;=Z21.^^42^472^22
- ;;^UTILITY(U,$J,358.3,10648,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10648,1,3,0)
- ;;=3^HIV Positive/Infection Status
- ;;^UTILITY(U,$J,358.3,10648,1,4,0)
- ;;=4^Z21.
- ;;^UTILITY(U,$J,358.3,10648,2)
- ;;=^5062777
- ;;^UTILITY(U,$J,358.3,10649,0)
- ;;=F06.31^^42^473^1
- ;;^UTILITY(U,$J,358.3,10649,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10649,1,3,0)
- ;;=3^Depressive Disorder d/t Another Med Cond w/ Depressive Features
- ;;^UTILITY(U,$J,358.3,10649,1,4,0)
- ;;=4^F06.31
- ;;^UTILITY(U,$J,358.3,10649,2)
- ;;=^5003057
- ;;^UTILITY(U,$J,358.3,10650,0)
- ;;=F06.32^^42^473^2
- ;;^UTILITY(U,$J,358.3,10650,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10650,1,3,0)
- ;;=3^Depressive Disorder d/t Another Med Cond w/ Major Depressive-Like Episode
- ;;^UTILITY(U,$J,358.3,10650,1,4,0)
- ;;=4^F06.32
- ;;^UTILITY(U,$J,358.3,10650,2)
- ;;=^5003058
- ;;^UTILITY(U,$J,358.3,10651,0)
- ;;=F32.9^^42^473^17
- ;;^UTILITY(U,$J,358.3,10651,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10651,1,3,0)
- ;;=3^MDD,Single Episode,Unspec
- ;;^UTILITY(U,$J,358.3,10651,1,4,0)
- ;;=4^F32.9
- ;;^UTILITY(U,$J,358.3,10651,2)
- ;;=^5003528
- ;;^UTILITY(U,$J,358.3,10652,0)
- ;;=F32.0^^42^473^13
- ;;^UTILITY(U,$J,358.3,10652,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10652,1,3,0)
- ;;=3^MDD,Single Episode,Mild
- ;;^UTILITY(U,$J,358.3,10652,1,4,0)
- ;;=4^F32.0
- ;;^UTILITY(U,$J,358.3,10652,2)
- ;;=^5003521
- ;;^UTILITY(U,$J,358.3,10653,0)
- ;;=F32.1^^42^473^14
- ;;^UTILITY(U,$J,358.3,10653,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10653,1,3,0)
- ;;=3^MDD,Single Episode,Moderate
- ;;^UTILITY(U,$J,358.3,10653,1,4,0)
- ;;=4^F32.1
- ;;^UTILITY(U,$J,358.3,10653,2)
- ;;=^5003522
- ;;^UTILITY(U,$J,358.3,10654,0)
- ;;=F32.2^^42^473^16
- ;;^UTILITY(U,$J,358.3,10654,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10654,1,3,0)
- ;;=3^MDD,Single Episode,Severe w/o Psychotic Feat
- ;;^UTILITY(U,$J,358.3,10654,1,4,0)
- ;;=4^F32.2
- ;;^UTILITY(U,$J,358.3,10654,2)
- ;;=^5003523
- ;;^UTILITY(U,$J,358.3,10655,0)
- ;;=F32.3^^42^473^15
- ;;^UTILITY(U,$J,358.3,10655,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,10655,1,3,0)
- ;;=3^MDD,Single Episode,Severe w/ Psychotic Feat
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0NN 3793 printed Jan 18, 2025@02:53:26 Page 2
- IBDEI0NN ; ; 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,10643,1,4,0)
- +2 ;;=4^G31.84
- +3 ;;^UTILITY(U,$J,358.3,10643,2)
- +4 ;;=^5003813
- +5 ;;^UTILITY(U,$J,358.3,10644,0)
- +6 ;;=F01.51^^42^472^49
- +7 ;;^UTILITY(U,$J,358.3,10644,1,0)
- +8 ;;=^358.31IA^4^2
- +9 ;;^UTILITY(U,$J,358.3,10644,1,3,0)
- +10 ;;=3^Major Neurocog D/O d/t Prob VASCULAR DISEASE w/ Behav Disturb
- +11 ;;^UTILITY(U,$J,358.3,10644,1,4,0)
- +12 ;;=4^F01.51
- +13 ;;^UTILITY(U,$J,358.3,10644,2)
- +14 ;;=^5003047
- +15 ;;^UTILITY(U,$J,358.3,10645,0)
- +16 ;;=F01.50^^42^472^50
- +17 ;;^UTILITY(U,$J,358.3,10645,1,0)
- +18 ;;=^358.31IA^4^2
- +19 ;;^UTILITY(U,$J,358.3,10645,1,3,0)
- +20 ;;=3^Major Neurocog D/O d/t Prob VASCULAR DISEASE w/o Behav Disturb
- +21 ;;^UTILITY(U,$J,358.3,10645,1,4,0)
- +22 ;;=4^F01.50
- +23 ;;^UTILITY(U,$J,358.3,10645,2)
- +24 ;;=^5003046
- +25 ;;^UTILITY(U,$J,358.3,10646,0)
- +26 ;;=G31.84^^42^472^66
- +27 ;;^UTILITY(U,$J,358.3,10646,1,0)
- +28 ;;=^358.31IA^4^2
- +29 ;;^UTILITY(U,$J,358.3,10646,1,3,0)
- +30 ;;=3^Mild Neurocog D/O d/t VASCULAR DISEASE
- +31 ;;^UTILITY(U,$J,358.3,10646,1,4,0)
- +32 ;;=4^G31.84
- +33 ;;^UTILITY(U,$J,358.3,10646,2)
- +34 ;;=^5003813
- +35 ;;^UTILITY(U,$J,358.3,10647,0)
- +36 ;;=R41.9^^42^472^69
- +37 ;;^UTILITY(U,$J,358.3,10647,1,0)
- +38 ;;=^358.31IA^4^2
- +39 ;;^UTILITY(U,$J,358.3,10647,1,3,0)
- +40 ;;=3^Neurocognitive Disorder,Unspec
- +41 ;;^UTILITY(U,$J,358.3,10647,1,4,0)
- +42 ;;=4^R41.9
- +43 ;;^UTILITY(U,$J,358.3,10647,2)
- +44 ;;=^5019449
- +45 ;;^UTILITY(U,$J,358.3,10648,0)
- +46 ;;=Z21.^^42^472^22
- +47 ;;^UTILITY(U,$J,358.3,10648,1,0)
- +48 ;;=^358.31IA^4^2
- +49 ;;^UTILITY(U,$J,358.3,10648,1,3,0)
- +50 ;;=3^HIV Positive/Infection Status
- +51 ;;^UTILITY(U,$J,358.3,10648,1,4,0)
- +52 ;;=4^Z21.
- +53 ;;^UTILITY(U,$J,358.3,10648,2)
- +54 ;;=^5062777
- +55 ;;^UTILITY(U,$J,358.3,10649,0)
- +56 ;;=F06.31^^42^473^1
- +57 ;;^UTILITY(U,$J,358.3,10649,1,0)
- +58 ;;=^358.31IA^4^2
- +59 ;;^UTILITY(U,$J,358.3,10649,1,3,0)
- +60 ;;=3^Depressive Disorder d/t Another Med Cond w/ Depressive Features
- +61 ;;^UTILITY(U,$J,358.3,10649,1,4,0)
- +62 ;;=4^F06.31
- +63 ;;^UTILITY(U,$J,358.3,10649,2)
- +64 ;;=^5003057
- +65 ;;^UTILITY(U,$J,358.3,10650,0)
- +66 ;;=F06.32^^42^473^2
- +67 ;;^UTILITY(U,$J,358.3,10650,1,0)
- +68 ;;=^358.31IA^4^2
- +69 ;;^UTILITY(U,$J,358.3,10650,1,3,0)
- +70 ;;=3^Depressive Disorder d/t Another Med Cond w/ Major Depressive-Like Episode
- +71 ;;^UTILITY(U,$J,358.3,10650,1,4,0)
- +72 ;;=4^F06.32
- +73 ;;^UTILITY(U,$J,358.3,10650,2)
- +74 ;;=^5003058
- +75 ;;^UTILITY(U,$J,358.3,10651,0)
- +76 ;;=F32.9^^42^473^17
- +77 ;;^UTILITY(U,$J,358.3,10651,1,0)
- +78 ;;=^358.31IA^4^2
- +79 ;;^UTILITY(U,$J,358.3,10651,1,3,0)
- +80 ;;=3^MDD,Single Episode,Unspec
- +81 ;;^UTILITY(U,$J,358.3,10651,1,4,0)
- +82 ;;=4^F32.9
- +83 ;;^UTILITY(U,$J,358.3,10651,2)
- +84 ;;=^5003528
- +85 ;;^UTILITY(U,$J,358.3,10652,0)
- +86 ;;=F32.0^^42^473^13
- +87 ;;^UTILITY(U,$J,358.3,10652,1,0)
- +88 ;;=^358.31IA^4^2
- +89 ;;^UTILITY(U,$J,358.3,10652,1,3,0)
- +90 ;;=3^MDD,Single Episode,Mild
- +91 ;;^UTILITY(U,$J,358.3,10652,1,4,0)
- +92 ;;=4^F32.0
- +93 ;;^UTILITY(U,$J,358.3,10652,2)
- +94 ;;=^5003521
- +95 ;;^UTILITY(U,$J,358.3,10653,0)
- +96 ;;=F32.1^^42^473^14
- +97 ;;^UTILITY(U,$J,358.3,10653,1,0)
- +98 ;;=^358.31IA^4^2
- +99 ;;^UTILITY(U,$J,358.3,10653,1,3,0)
- +100 ;;=3^MDD,Single Episode,Moderate
- +101 ;;^UTILITY(U,$J,358.3,10653,1,4,0)
- +102 ;;=4^F32.1
- +103 ;;^UTILITY(U,$J,358.3,10653,2)
- +104 ;;=^5003522
- +105 ;;^UTILITY(U,$J,358.3,10654,0)
- +106 ;;=F32.2^^42^473^16
- +107 ;;^UTILITY(U,$J,358.3,10654,1,0)
- +108 ;;=^358.31IA^4^2
- +109 ;;^UTILITY(U,$J,358.3,10654,1,3,0)
- +110 ;;=3^MDD,Single Episode,Severe w/o Psychotic Feat
- +111 ;;^UTILITY(U,$J,358.3,10654,1,4,0)
- +112 ;;=4^F32.2
- +113 ;;^UTILITY(U,$J,358.3,10654,2)
- +114 ;;=^5003523
- +115 ;;^UTILITY(U,$J,358.3,10655,0)
- +116 ;;=F32.3^^42^473^15
- +117 ;;^UTILITY(U,$J,358.3,10655,1,0)
- +118 ;;=^358.31IA^4^2
- +119 ;;^UTILITY(U,$J,358.3,10655,1,3,0)
- +120 ;;=3^MDD,Single Episode,Severe w/ Psychotic Feat