- IBDEI0OZ ; ; 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,11213,2)
- ;;=^5063063
- ;;^UTILITY(U,$J,358.3,11214,0)
- ;;=Z63.32^^42^513^1
- ;;^UTILITY(U,$J,358.3,11214,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11214,1,3,0)
- ;;=3^Absence of Family Member
- ;;^UTILITY(U,$J,358.3,11214,1,4,0)
- ;;=4^Z63.32
- ;;^UTILITY(U,$J,358.3,11214,2)
- ;;=^5063167
- ;;^UTILITY(U,$J,358.3,11215,0)
- ;;=Z63.8^^42^513^10
- ;;^UTILITY(U,$J,358.3,11215,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11215,1,3,0)
- ;;=3^Primary Support Group Problems
- ;;^UTILITY(U,$J,358.3,11215,1,4,0)
- ;;=4^Z63.8
- ;;^UTILITY(U,$J,358.3,11215,2)
- ;;=^5063174
- ;;^UTILITY(U,$J,358.3,11216,0)
- ;;=Z63.5^^42^513^4
- ;;^UTILITY(U,$J,358.3,11216,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11216,1,3,0)
- ;;=3^Disruption of Family by Separation/Divorce
- ;;^UTILITY(U,$J,358.3,11216,1,4,0)
- ;;=4^Z63.5
- ;;^UTILITY(U,$J,358.3,11216,2)
- ;;=^5063169
- ;;^UTILITY(U,$J,358.3,11217,0)
- ;;=Z71.89^^42^513^5
- ;;^UTILITY(U,$J,358.3,11217,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11217,1,3,0)
- ;;=3^Family Counseling
- ;;^UTILITY(U,$J,358.3,11217,1,4,0)
- ;;=4^Z71.89
- ;;^UTILITY(U,$J,358.3,11217,2)
- ;;=^5063253
- ;;^UTILITY(U,$J,358.3,11218,0)
- ;;=Z69.11^^42^513^9
- ;;^UTILITY(U,$J,358.3,11218,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11218,1,3,0)
- ;;=3^Mental Hlth Svc for Victim of Spousal/Partner Abuse
- ;;^UTILITY(U,$J,358.3,11218,1,4,0)
- ;;=4^Z69.11
- ;;^UTILITY(U,$J,358.3,11218,2)
- ;;=^5063232
- ;;^UTILITY(U,$J,358.3,11219,0)
- ;;=Z69.12^^42^513^7
- ;;^UTILITY(U,$J,358.3,11219,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11219,1,3,0)
- ;;=3^Mental Hlth Svc for Perpetrator of Spousal/Partner Abuse
- ;;^UTILITY(U,$J,358.3,11219,1,4,0)
- ;;=4^Z69.12
- ;;^UTILITY(U,$J,358.3,11219,2)
- ;;=^5063233
- ;;^UTILITY(U,$J,358.3,11220,0)
- ;;=Z69.010^^42^513^8
- ;;^UTILITY(U,$J,358.3,11220,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11220,1,3,0)
- ;;=3^Mental Hlth Svc for Victim of Parental Child Abuse
- ;;^UTILITY(U,$J,358.3,11220,1,4,0)
- ;;=4^Z69.010
- ;;^UTILITY(U,$J,358.3,11220,2)
- ;;=^5063228
- ;;^UTILITY(U,$J,358.3,11221,0)
- ;;=Z69.011^^42^513^6
- ;;^UTILITY(U,$J,358.3,11221,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11221,1,3,0)
- ;;=3^Mental Hlth Svc for Perpetrator of Parental Child Abuse
- ;;^UTILITY(U,$J,358.3,11221,1,4,0)
- ;;=4^Z69.011
- ;;^UTILITY(U,$J,358.3,11221,2)
- ;;=^5063229
- ;;^UTILITY(U,$J,358.3,11222,0)
- ;;=Z62.898^^42^513^11
- ;;^UTILITY(U,$J,358.3,11222,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11222,1,3,0)
- ;;=3^Problems Related to Upbringing
- ;;^UTILITY(U,$J,358.3,11222,1,4,0)
- ;;=4^Z62.898
- ;;^UTILITY(U,$J,358.3,11222,2)
- ;;=^5063162
- ;;^UTILITY(U,$J,358.3,11223,0)
- ;;=Z63.79^^42^513^12
- ;;^UTILITY(U,$J,358.3,11223,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11223,1,3,0)
- ;;=3^Stressful Life Events
- ;;^UTILITY(U,$J,358.3,11223,1,4,0)
- ;;=4^Z63.79
- ;;^UTILITY(U,$J,358.3,11223,2)
- ;;=^5063173
- ;;^UTILITY(U,$J,358.3,11224,0)
- ;;=Z63.72^^42^513^2
- ;;^UTILITY(U,$J,358.3,11224,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11224,1,3,0)
- ;;=3^Alcoholism/Drug Addiction in Family
- ;;^UTILITY(U,$J,358.3,11224,1,4,0)
- ;;=4^Z63.72
- ;;^UTILITY(U,$J,358.3,11224,2)
- ;;=^5063172
- ;;^UTILITY(U,$J,358.3,11225,0)
- ;;=Z63.6^^42^513^3
- ;;^UTILITY(U,$J,358.3,11225,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,11225,1,3,0)
- ;;=3^Dependent Relative Needing Care at Home
- ;;^UTILITY(U,$J,358.3,11225,1,4,0)
- ;;=4^Z63.6
- ;;^UTILITY(U,$J,358.3,11225,2)
- ;;=^5063170
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0OZ 3780 printed Mar 13, 2025@20:57:36 Page 2
- IBDEI0OZ ; ; 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,11213,2)
- +2 ;;=^5063063
- +3 ;;^UTILITY(U,$J,358.3,11214,0)
- +4 ;;=Z63.32^^42^513^1
- +5 ;;^UTILITY(U,$J,358.3,11214,1,0)
- +6 ;;=^358.31IA^4^2
- +7 ;;^UTILITY(U,$J,358.3,11214,1,3,0)
- +8 ;;=3^Absence of Family Member
- +9 ;;^UTILITY(U,$J,358.3,11214,1,4,0)
- +10 ;;=4^Z63.32
- +11 ;;^UTILITY(U,$J,358.3,11214,2)
- +12 ;;=^5063167
- +13 ;;^UTILITY(U,$J,358.3,11215,0)
- +14 ;;=Z63.8^^42^513^10
- +15 ;;^UTILITY(U,$J,358.3,11215,1,0)
- +16 ;;=^358.31IA^4^2
- +17 ;;^UTILITY(U,$J,358.3,11215,1,3,0)
- +18 ;;=3^Primary Support Group Problems
- +19 ;;^UTILITY(U,$J,358.3,11215,1,4,0)
- +20 ;;=4^Z63.8
- +21 ;;^UTILITY(U,$J,358.3,11215,2)
- +22 ;;=^5063174
- +23 ;;^UTILITY(U,$J,358.3,11216,0)
- +24 ;;=Z63.5^^42^513^4
- +25 ;;^UTILITY(U,$J,358.3,11216,1,0)
- +26 ;;=^358.31IA^4^2
- +27 ;;^UTILITY(U,$J,358.3,11216,1,3,0)
- +28 ;;=3^Disruption of Family by Separation/Divorce
- +29 ;;^UTILITY(U,$J,358.3,11216,1,4,0)
- +30 ;;=4^Z63.5
- +31 ;;^UTILITY(U,$J,358.3,11216,2)
- +32 ;;=^5063169
- +33 ;;^UTILITY(U,$J,358.3,11217,0)
- +34 ;;=Z71.89^^42^513^5
- +35 ;;^UTILITY(U,$J,358.3,11217,1,0)
- +36 ;;=^358.31IA^4^2
- +37 ;;^UTILITY(U,$J,358.3,11217,1,3,0)
- +38 ;;=3^Family Counseling
- +39 ;;^UTILITY(U,$J,358.3,11217,1,4,0)
- +40 ;;=4^Z71.89
- +41 ;;^UTILITY(U,$J,358.3,11217,2)
- +42 ;;=^5063253
- +43 ;;^UTILITY(U,$J,358.3,11218,0)
- +44 ;;=Z69.11^^42^513^9
- +45 ;;^UTILITY(U,$J,358.3,11218,1,0)
- +46 ;;=^358.31IA^4^2
- +47 ;;^UTILITY(U,$J,358.3,11218,1,3,0)
- +48 ;;=3^Mental Hlth Svc for Victim of Spousal/Partner Abuse
- +49 ;;^UTILITY(U,$J,358.3,11218,1,4,0)
- +50 ;;=4^Z69.11
- +51 ;;^UTILITY(U,$J,358.3,11218,2)
- +52 ;;=^5063232
- +53 ;;^UTILITY(U,$J,358.3,11219,0)
- +54 ;;=Z69.12^^42^513^7
- +55 ;;^UTILITY(U,$J,358.3,11219,1,0)
- +56 ;;=^358.31IA^4^2
- +57 ;;^UTILITY(U,$J,358.3,11219,1,3,0)
- +58 ;;=3^Mental Hlth Svc for Perpetrator of Spousal/Partner Abuse
- +59 ;;^UTILITY(U,$J,358.3,11219,1,4,0)
- +60 ;;=4^Z69.12
- +61 ;;^UTILITY(U,$J,358.3,11219,2)
- +62 ;;=^5063233
- +63 ;;^UTILITY(U,$J,358.3,11220,0)
- +64 ;;=Z69.010^^42^513^8
- +65 ;;^UTILITY(U,$J,358.3,11220,1,0)
- +66 ;;=^358.31IA^4^2
- +67 ;;^UTILITY(U,$J,358.3,11220,1,3,0)
- +68 ;;=3^Mental Hlth Svc for Victim of Parental Child Abuse
- +69 ;;^UTILITY(U,$J,358.3,11220,1,4,0)
- +70 ;;=4^Z69.010
- +71 ;;^UTILITY(U,$J,358.3,11220,2)
- +72 ;;=^5063228
- +73 ;;^UTILITY(U,$J,358.3,11221,0)
- +74 ;;=Z69.011^^42^513^6
- +75 ;;^UTILITY(U,$J,358.3,11221,1,0)
- +76 ;;=^358.31IA^4^2
- +77 ;;^UTILITY(U,$J,358.3,11221,1,3,0)
- +78 ;;=3^Mental Hlth Svc for Perpetrator of Parental Child Abuse
- +79 ;;^UTILITY(U,$J,358.3,11221,1,4,0)
- +80 ;;=4^Z69.011
- +81 ;;^UTILITY(U,$J,358.3,11221,2)
- +82 ;;=^5063229
- +83 ;;^UTILITY(U,$J,358.3,11222,0)
- +84 ;;=Z62.898^^42^513^11
- +85 ;;^UTILITY(U,$J,358.3,11222,1,0)
- +86 ;;=^358.31IA^4^2
- +87 ;;^UTILITY(U,$J,358.3,11222,1,3,0)
- +88 ;;=3^Problems Related to Upbringing
- +89 ;;^UTILITY(U,$J,358.3,11222,1,4,0)
- +90 ;;=4^Z62.898
- +91 ;;^UTILITY(U,$J,358.3,11222,2)
- +92 ;;=^5063162
- +93 ;;^UTILITY(U,$J,358.3,11223,0)
- +94 ;;=Z63.79^^42^513^12
- +95 ;;^UTILITY(U,$J,358.3,11223,1,0)
- +96 ;;=^358.31IA^4^2
- +97 ;;^UTILITY(U,$J,358.3,11223,1,3,0)
- +98 ;;=3^Stressful Life Events
- +99 ;;^UTILITY(U,$J,358.3,11223,1,4,0)
- +100 ;;=4^Z63.79
- +101 ;;^UTILITY(U,$J,358.3,11223,2)
- +102 ;;=^5063173
- +103 ;;^UTILITY(U,$J,358.3,11224,0)
- +104 ;;=Z63.72^^42^513^2
- +105 ;;^UTILITY(U,$J,358.3,11224,1,0)
- +106 ;;=^358.31IA^4^2
- +107 ;;^UTILITY(U,$J,358.3,11224,1,3,0)
- +108 ;;=3^Alcoholism/Drug Addiction in Family
- +109 ;;^UTILITY(U,$J,358.3,11224,1,4,0)
- +110 ;;=4^Z63.72
- +111 ;;^UTILITY(U,$J,358.3,11224,2)
- +112 ;;=^5063172
- +113 ;;^UTILITY(U,$J,358.3,11225,0)
- +114 ;;=Z63.6^^42^513^3
- +115 ;;^UTILITY(U,$J,358.3,11225,1,0)
- +116 ;;=^358.31IA^4^2
- +117 ;;^UTILITY(U,$J,358.3,11225,1,3,0)
- +118 ;;=3^Dependent Relative Needing Care at Home
- +119 ;;^UTILITY(U,$J,358.3,11225,1,4,0)
- +120 ;;=4^Z63.6
- +121 ;;^UTILITY(U,$J,358.3,11225,2)
- +122 ;;=^5063170