IBDEI1U3 ; ; 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,29301,2)
;;=^5003638
;;^UTILITY(U,$J,358.3,29302,0)
;;=F60.9^^118^1477^11
;;^UTILITY(U,$J,358.3,29302,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29302,1,3,0)
;;=3^Personality D/O,Unspec
;;^UTILITY(U,$J,358.3,29302,1,4,0)
;;=4^F60.9
;;^UTILITY(U,$J,358.3,29302,2)
;;=^5003639
;;^UTILITY(U,$J,358.3,29303,0)
;;=F07.0^^118^1477^9
;;^UTILITY(U,$J,358.3,29303,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29303,1,3,0)
;;=3^Personality Change d/t Another Medical Condition
;;^UTILITY(U,$J,358.3,29303,1,4,0)
;;=4^F07.0
;;^UTILITY(U,$J,358.3,29303,2)
;;=^5003063
;;^UTILITY(U,$J,358.3,29304,0)
;;=Z65.4^^118^1478^5
;;^UTILITY(U,$J,358.3,29304,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29304,1,3,0)
;;=3^Victim of Crime
;;^UTILITY(U,$J,358.3,29304,1,4,0)
;;=4^Z65.4
;;^UTILITY(U,$J,358.3,29304,2)
;;=^5063183
;;^UTILITY(U,$J,358.3,29305,0)
;;=Z65.0^^118^1478^1
;;^UTILITY(U,$J,358.3,29305,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29305,1,3,0)
;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
;;^UTILITY(U,$J,358.3,29305,1,4,0)
;;=4^Z65.0
;;^UTILITY(U,$J,358.3,29305,2)
;;=^5063179
;;^UTILITY(U,$J,358.3,29306,0)
;;=Z65.2^^118^1478^4
;;^UTILITY(U,$J,358.3,29306,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29306,1,3,0)
;;=3^Problems Related to Release from Prison
;;^UTILITY(U,$J,358.3,29306,1,4,0)
;;=4^Z65.2
;;^UTILITY(U,$J,358.3,29306,2)
;;=^5063181
;;^UTILITY(U,$J,358.3,29307,0)
;;=Z65.3^^118^1478^3
;;^UTILITY(U,$J,358.3,29307,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29307,1,3,0)
;;=3^Problems Related to Other Legal Circumstances
;;^UTILITY(U,$J,358.3,29307,1,4,0)
;;=4^Z65.3
;;^UTILITY(U,$J,358.3,29307,2)
;;=^5063182
;;^UTILITY(U,$J,358.3,29308,0)
;;=Z65.1^^118^1478^2
;;^UTILITY(U,$J,358.3,29308,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29308,1,3,0)
;;=3^Imprisonment or Other Incarceration
;;^UTILITY(U,$J,358.3,29308,1,4,0)
;;=4^Z65.1
;;^UTILITY(U,$J,358.3,29308,2)
;;=^5063180
;;^UTILITY(U,$J,358.3,29309,0)
;;=Z64.0^^118^1479^6
;;^UTILITY(U,$J,358.3,29309,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29309,1,3,0)
;;=3^Problems Related to Unwanted Pregnancy
;;^UTILITY(U,$J,358.3,29309,1,4,0)
;;=4^Z64.0
;;^UTILITY(U,$J,358.3,29309,2)
;;=^5063176
;;^UTILITY(U,$J,358.3,29310,0)
;;=Z64.1^^118^1479^3
;;^UTILITY(U,$J,358.3,29310,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29310,1,3,0)
;;=3^Problems Related to Multiparity
;;^UTILITY(U,$J,358.3,29310,1,4,0)
;;=4^Z64.1
;;^UTILITY(U,$J,358.3,29310,2)
;;=^5063177
;;^UTILITY(U,$J,358.3,29311,0)
;;=Z64.4^^118^1479^1
;;^UTILITY(U,$J,358.3,29311,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29311,1,3,0)
;;=3^Discord w/ Counselors
;;^UTILITY(U,$J,358.3,29311,1,4,0)
;;=4^Z64.4
;;^UTILITY(U,$J,358.3,29311,2)
;;=^5063178
;;^UTILITY(U,$J,358.3,29312,0)
;;=Z65.5^^118^1479^2
;;^UTILITY(U,$J,358.3,29312,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29312,1,3,0)
;;=3^Exposure to Disaster,War or Other Hostilities
;;^UTILITY(U,$J,358.3,29312,1,4,0)
;;=4^Z65.5
;;^UTILITY(U,$J,358.3,29312,2)
;;=^5063184
;;^UTILITY(U,$J,358.3,29313,0)
;;=Z65.8^^118^1479^4
;;^UTILITY(U,$J,358.3,29313,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,29313,1,3,0)
;;=3^Problems Related to Psychosocial Circumstances,Other
;;^UTILITY(U,$J,358.3,29313,1,4,0)
;;=4^Z65.8
;;^UTILITY(U,$J,358.3,29313,2)
;;=^5063185
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1U3 3776 printed Dec 13, 2024@02:15:49 Page 2
IBDEI1U3 ; ; 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,29301,2)
+2 ;;=^5003638
+3 ;;^UTILITY(U,$J,358.3,29302,0)
+4 ;;=F60.9^^118^1477^11
+5 ;;^UTILITY(U,$J,358.3,29302,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,29302,1,3,0)
+8 ;;=3^Personality D/O,Unspec
+9 ;;^UTILITY(U,$J,358.3,29302,1,4,0)
+10 ;;=4^F60.9
+11 ;;^UTILITY(U,$J,358.3,29302,2)
+12 ;;=^5003639
+13 ;;^UTILITY(U,$J,358.3,29303,0)
+14 ;;=F07.0^^118^1477^9
+15 ;;^UTILITY(U,$J,358.3,29303,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,29303,1,3,0)
+18 ;;=3^Personality Change d/t Another Medical Condition
+19 ;;^UTILITY(U,$J,358.3,29303,1,4,0)
+20 ;;=4^F07.0
+21 ;;^UTILITY(U,$J,358.3,29303,2)
+22 ;;=^5003063
+23 ;;^UTILITY(U,$J,358.3,29304,0)
+24 ;;=Z65.4^^118^1478^5
+25 ;;^UTILITY(U,$J,358.3,29304,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,29304,1,3,0)
+28 ;;=3^Victim of Crime
+29 ;;^UTILITY(U,$J,358.3,29304,1,4,0)
+30 ;;=4^Z65.4
+31 ;;^UTILITY(U,$J,358.3,29304,2)
+32 ;;=^5063183
+33 ;;^UTILITY(U,$J,358.3,29305,0)
+34 ;;=Z65.0^^118^1478^1
+35 ;;^UTILITY(U,$J,358.3,29305,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,29305,1,3,0)
+38 ;;=3^Conviction in Civil/Criminal Proceedings w/o Imprisonment
+39 ;;^UTILITY(U,$J,358.3,29305,1,4,0)
+40 ;;=4^Z65.0
+41 ;;^UTILITY(U,$J,358.3,29305,2)
+42 ;;=^5063179
+43 ;;^UTILITY(U,$J,358.3,29306,0)
+44 ;;=Z65.2^^118^1478^4
+45 ;;^UTILITY(U,$J,358.3,29306,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,29306,1,3,0)
+48 ;;=3^Problems Related to Release from Prison
+49 ;;^UTILITY(U,$J,358.3,29306,1,4,0)
+50 ;;=4^Z65.2
+51 ;;^UTILITY(U,$J,358.3,29306,2)
+52 ;;=^5063181
+53 ;;^UTILITY(U,$J,358.3,29307,0)
+54 ;;=Z65.3^^118^1478^3
+55 ;;^UTILITY(U,$J,358.3,29307,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,29307,1,3,0)
+58 ;;=3^Problems Related to Other Legal Circumstances
+59 ;;^UTILITY(U,$J,358.3,29307,1,4,0)
+60 ;;=4^Z65.3
+61 ;;^UTILITY(U,$J,358.3,29307,2)
+62 ;;=^5063182
+63 ;;^UTILITY(U,$J,358.3,29308,0)
+64 ;;=Z65.1^^118^1478^2
+65 ;;^UTILITY(U,$J,358.3,29308,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,29308,1,3,0)
+68 ;;=3^Imprisonment or Other Incarceration
+69 ;;^UTILITY(U,$J,358.3,29308,1,4,0)
+70 ;;=4^Z65.1
+71 ;;^UTILITY(U,$J,358.3,29308,2)
+72 ;;=^5063180
+73 ;;^UTILITY(U,$J,358.3,29309,0)
+74 ;;=Z64.0^^118^1479^6
+75 ;;^UTILITY(U,$J,358.3,29309,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,29309,1,3,0)
+78 ;;=3^Problems Related to Unwanted Pregnancy
+79 ;;^UTILITY(U,$J,358.3,29309,1,4,0)
+80 ;;=4^Z64.0
+81 ;;^UTILITY(U,$J,358.3,29309,2)
+82 ;;=^5063176
+83 ;;^UTILITY(U,$J,358.3,29310,0)
+84 ;;=Z64.1^^118^1479^3
+85 ;;^UTILITY(U,$J,358.3,29310,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,29310,1,3,0)
+88 ;;=3^Problems Related to Multiparity
+89 ;;^UTILITY(U,$J,358.3,29310,1,4,0)
+90 ;;=4^Z64.1
+91 ;;^UTILITY(U,$J,358.3,29310,2)
+92 ;;=^5063177
+93 ;;^UTILITY(U,$J,358.3,29311,0)
+94 ;;=Z64.4^^118^1479^1
+95 ;;^UTILITY(U,$J,358.3,29311,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,29311,1,3,0)
+98 ;;=3^Discord w/ Counselors
+99 ;;^UTILITY(U,$J,358.3,29311,1,4,0)
+100 ;;=4^Z64.4
+101 ;;^UTILITY(U,$J,358.3,29311,2)
+102 ;;=^5063178
+103 ;;^UTILITY(U,$J,358.3,29312,0)
+104 ;;=Z65.5^^118^1479^2
+105 ;;^UTILITY(U,$J,358.3,29312,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,29312,1,3,0)
+108 ;;=3^Exposure to Disaster,War or Other Hostilities
+109 ;;^UTILITY(U,$J,358.3,29312,1,4,0)
+110 ;;=4^Z65.5
+111 ;;^UTILITY(U,$J,358.3,29312,2)
+112 ;;=^5063184
+113 ;;^UTILITY(U,$J,358.3,29313,0)
+114 ;;=Z65.8^^118^1479^4
+115 ;;^UTILITY(U,$J,358.3,29313,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,29313,1,3,0)
+118 ;;=3^Problems Related to Psychosocial Circumstances,Other
+119 ;;^UTILITY(U,$J,358.3,29313,1,4,0)
+120 ;;=4^Z65.8
+121 ;;^UTILITY(U,$J,358.3,29313,2)
+122 ;;=^5063185