IBDEI0NX ; ; 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,10766,1,3,0)
;;=3^Avoidant Personality Disorder
;;^UTILITY(U,$J,358.3,10766,1,4,0)
;;=4^F60.6
;;^UTILITY(U,$J,358.3,10766,2)
;;=^331920
;;^UTILITY(U,$J,358.3,10767,0)
;;=F60.3^^42^484^3
;;^UTILITY(U,$J,358.3,10767,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10767,1,3,0)
;;=3^Borderline Personality Disorder
;;^UTILITY(U,$J,358.3,10767,1,4,0)
;;=4^F60.3
;;^UTILITY(U,$J,358.3,10767,2)
;;=^331921
;;^UTILITY(U,$J,358.3,10768,0)
;;=F60.89^^42^484^10
;;^UTILITY(U,$J,358.3,10768,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10768,1,3,0)
;;=3^Personality Disorder,Other
;;^UTILITY(U,$J,358.3,10768,1,4,0)
;;=4^F60.89
;;^UTILITY(U,$J,358.3,10768,2)
;;=^5003638
;;^UTILITY(U,$J,358.3,10769,0)
;;=F60.9^^42^484^11
;;^UTILITY(U,$J,358.3,10769,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10769,1,3,0)
;;=3^Personality Disorder,Unspec
;;^UTILITY(U,$J,358.3,10769,1,4,0)
;;=4^F60.9
;;^UTILITY(U,$J,358.3,10769,2)
;;=^5003639
;;^UTILITY(U,$J,358.3,10770,0)
;;=F07.0^^42^484^9
;;^UTILITY(U,$J,358.3,10770,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10770,1,3,0)
;;=3^Personality Change d/t Another Medical Condition
;;^UTILITY(U,$J,358.3,10770,1,4,0)
;;=4^F07.0
;;^UTILITY(U,$J,358.3,10770,2)
;;=^5003063
;;^UTILITY(U,$J,358.3,10771,0)
;;=Z65.4^^42^485^5
;;^UTILITY(U,$J,358.3,10771,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10771,1,3,0)
;;=3^Victim of Crime
;;^UTILITY(U,$J,358.3,10771,1,4,0)
;;=4^Z65.4
;;^UTILITY(U,$J,358.3,10771,2)
;;=^5063183
;;^UTILITY(U,$J,358.3,10772,0)
;;=Z65.0^^42^485^1
;;^UTILITY(U,$J,358.3,10772,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10772,1,3,0)
;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
;;^UTILITY(U,$J,358.3,10772,1,4,0)
;;=4^Z65.0
;;^UTILITY(U,$J,358.3,10772,2)
;;=^5063179
;;^UTILITY(U,$J,358.3,10773,0)
;;=Z65.2^^42^485^4
;;^UTILITY(U,$J,358.3,10773,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10773,1,3,0)
;;=3^Problems Related to Release from Prison
;;^UTILITY(U,$J,358.3,10773,1,4,0)
;;=4^Z65.2
;;^UTILITY(U,$J,358.3,10773,2)
;;=^5063181
;;^UTILITY(U,$J,358.3,10774,0)
;;=Z65.3^^42^485^3
;;^UTILITY(U,$J,358.3,10774,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10774,1,3,0)
;;=3^Problems Related to Other Legal Circumstances
;;^UTILITY(U,$J,358.3,10774,1,4,0)
;;=4^Z65.3
;;^UTILITY(U,$J,358.3,10774,2)
;;=^5063182
;;^UTILITY(U,$J,358.3,10775,0)
;;=Z65.1^^42^485^2
;;^UTILITY(U,$J,358.3,10775,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10775,1,3,0)
;;=3^Imprisonment or Other Incarceration
;;^UTILITY(U,$J,358.3,10775,1,4,0)
;;=4^Z65.1
;;^UTILITY(U,$J,358.3,10775,2)
;;=^5063180
;;^UTILITY(U,$J,358.3,10776,0)
;;=Z65.8^^42^486^7
;;^UTILITY(U,$J,358.3,10776,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10776,1,3,0)
;;=3^Religious/Spiritual Problem;Oth Problem Related to Psychosocial Circumstances
;;^UTILITY(U,$J,358.3,10776,1,4,0)
;;=4^Z65.8
;;^UTILITY(U,$J,358.3,10776,2)
;;=^5063185
;;^UTILITY(U,$J,358.3,10777,0)
;;=Z64.0^^42^486^6
;;^UTILITY(U,$J,358.3,10777,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10777,1,3,0)
;;=3^Problems Related to Unwanted Pregnancy
;;^UTILITY(U,$J,358.3,10777,1,4,0)
;;=4^Z64.0
;;^UTILITY(U,$J,358.3,10777,2)
;;=^5063176
;;^UTILITY(U,$J,358.3,10778,0)
;;=Z64.1^^42^486^4
;;^UTILITY(U,$J,358.3,10778,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,10778,1,3,0)
;;=3^Problems Related to Multiparity
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0NX 3801 printed Nov 22, 2024@17:02:33 Page 2
IBDEI0NX ; ; 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,10766,1,3,0)
+2 ;;=3^Avoidant Personality Disorder
+3 ;;^UTILITY(U,$J,358.3,10766,1,4,0)
+4 ;;=4^F60.6
+5 ;;^UTILITY(U,$J,358.3,10766,2)
+6 ;;=^331920
+7 ;;^UTILITY(U,$J,358.3,10767,0)
+8 ;;=F60.3^^42^484^3
+9 ;;^UTILITY(U,$J,358.3,10767,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,10767,1,3,0)
+12 ;;=3^Borderline Personality Disorder
+13 ;;^UTILITY(U,$J,358.3,10767,1,4,0)
+14 ;;=4^F60.3
+15 ;;^UTILITY(U,$J,358.3,10767,2)
+16 ;;=^331921
+17 ;;^UTILITY(U,$J,358.3,10768,0)
+18 ;;=F60.89^^42^484^10
+19 ;;^UTILITY(U,$J,358.3,10768,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,10768,1,3,0)
+22 ;;=3^Personality Disorder,Other
+23 ;;^UTILITY(U,$J,358.3,10768,1,4,0)
+24 ;;=4^F60.89
+25 ;;^UTILITY(U,$J,358.3,10768,2)
+26 ;;=^5003638
+27 ;;^UTILITY(U,$J,358.3,10769,0)
+28 ;;=F60.9^^42^484^11
+29 ;;^UTILITY(U,$J,358.3,10769,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,10769,1,3,0)
+32 ;;=3^Personality Disorder,Unspec
+33 ;;^UTILITY(U,$J,358.3,10769,1,4,0)
+34 ;;=4^F60.9
+35 ;;^UTILITY(U,$J,358.3,10769,2)
+36 ;;=^5003639
+37 ;;^UTILITY(U,$J,358.3,10770,0)
+38 ;;=F07.0^^42^484^9
+39 ;;^UTILITY(U,$J,358.3,10770,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,10770,1,3,0)
+42 ;;=3^Personality Change d/t Another Medical Condition
+43 ;;^UTILITY(U,$J,358.3,10770,1,4,0)
+44 ;;=4^F07.0
+45 ;;^UTILITY(U,$J,358.3,10770,2)
+46 ;;=^5003063
+47 ;;^UTILITY(U,$J,358.3,10771,0)
+48 ;;=Z65.4^^42^485^5
+49 ;;^UTILITY(U,$J,358.3,10771,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,10771,1,3,0)
+52 ;;=3^Victim of Crime
+53 ;;^UTILITY(U,$J,358.3,10771,1,4,0)
+54 ;;=4^Z65.4
+55 ;;^UTILITY(U,$J,358.3,10771,2)
+56 ;;=^5063183
+57 ;;^UTILITY(U,$J,358.3,10772,0)
+58 ;;=Z65.0^^42^485^1
+59 ;;^UTILITY(U,$J,358.3,10772,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,10772,1,3,0)
+62 ;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
+63 ;;^UTILITY(U,$J,358.3,10772,1,4,0)
+64 ;;=4^Z65.0
+65 ;;^UTILITY(U,$J,358.3,10772,2)
+66 ;;=^5063179
+67 ;;^UTILITY(U,$J,358.3,10773,0)
+68 ;;=Z65.2^^42^485^4
+69 ;;^UTILITY(U,$J,358.3,10773,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,10773,1,3,0)
+72 ;;=3^Problems Related to Release from Prison
+73 ;;^UTILITY(U,$J,358.3,10773,1,4,0)
+74 ;;=4^Z65.2
+75 ;;^UTILITY(U,$J,358.3,10773,2)
+76 ;;=^5063181
+77 ;;^UTILITY(U,$J,358.3,10774,0)
+78 ;;=Z65.3^^42^485^3
+79 ;;^UTILITY(U,$J,358.3,10774,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,10774,1,3,0)
+82 ;;=3^Problems Related to Other Legal Circumstances
+83 ;;^UTILITY(U,$J,358.3,10774,1,4,0)
+84 ;;=4^Z65.3
+85 ;;^UTILITY(U,$J,358.3,10774,2)
+86 ;;=^5063182
+87 ;;^UTILITY(U,$J,358.3,10775,0)
+88 ;;=Z65.1^^42^485^2
+89 ;;^UTILITY(U,$J,358.3,10775,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,10775,1,3,0)
+92 ;;=3^Imprisonment or Other Incarceration
+93 ;;^UTILITY(U,$J,358.3,10775,1,4,0)
+94 ;;=4^Z65.1
+95 ;;^UTILITY(U,$J,358.3,10775,2)
+96 ;;=^5063180
+97 ;;^UTILITY(U,$J,358.3,10776,0)
+98 ;;=Z65.8^^42^486^7
+99 ;;^UTILITY(U,$J,358.3,10776,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,10776,1,3,0)
+102 ;;=3^Religious/Spiritual Problem;Oth Problem Related to Psychosocial Circumstances
+103 ;;^UTILITY(U,$J,358.3,10776,1,4,0)
+104 ;;=4^Z65.8
+105 ;;^UTILITY(U,$J,358.3,10776,2)
+106 ;;=^5063185
+107 ;;^UTILITY(U,$J,358.3,10777,0)
+108 ;;=Z64.0^^42^486^6
+109 ;;^UTILITY(U,$J,358.3,10777,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,10777,1,3,0)
+112 ;;=3^Problems Related to Unwanted Pregnancy
+113 ;;^UTILITY(U,$J,358.3,10777,1,4,0)
+114 ;;=4^Z64.0
+115 ;;^UTILITY(U,$J,358.3,10777,2)
+116 ;;=^5063176
+117 ;;^UTILITY(U,$J,358.3,10778,0)
+118 ;;=Z64.1^^42^486^4
+119 ;;^UTILITY(U,$J,358.3,10778,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,10778,1,3,0)
+122 ;;=3^Problems Related to Multiparity