IBDEI1S6 ; ; 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,28444,1,4,0)
;;=4^Z65.0
;;^UTILITY(U,$J,358.3,28444,2)
;;=^5063179
;;^UTILITY(U,$J,358.3,28445,0)
;;=Z65.2^^115^1400^4
;;^UTILITY(U,$J,358.3,28445,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28445,1,3,0)
;;=3^Problems Related to Release from Prison
;;^UTILITY(U,$J,358.3,28445,1,4,0)
;;=4^Z65.2
;;^UTILITY(U,$J,358.3,28445,2)
;;=^5063181
;;^UTILITY(U,$J,358.3,28446,0)
;;=Z65.3^^115^1400^3
;;^UTILITY(U,$J,358.3,28446,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28446,1,3,0)
;;=3^Problems Related to Other Legal Circumstances
;;^UTILITY(U,$J,358.3,28446,1,4,0)
;;=4^Z65.3
;;^UTILITY(U,$J,358.3,28446,2)
;;=^5063182
;;^UTILITY(U,$J,358.3,28447,0)
;;=Z65.1^^115^1400^2
;;^UTILITY(U,$J,358.3,28447,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28447,1,3,0)
;;=3^Imprisonment or Other Incarceration
;;^UTILITY(U,$J,358.3,28447,1,4,0)
;;=4^Z65.1
;;^UTILITY(U,$J,358.3,28447,2)
;;=^5063180
;;^UTILITY(U,$J,358.3,28448,0)
;;=Z64.0^^115^1401^6
;;^UTILITY(U,$J,358.3,28448,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28448,1,3,0)
;;=3^Problems Related to Unwanted Pregnancy
;;^UTILITY(U,$J,358.3,28448,1,4,0)
;;=4^Z64.0
;;^UTILITY(U,$J,358.3,28448,2)
;;=^5063176
;;^UTILITY(U,$J,358.3,28449,0)
;;=Z64.1^^115^1401^3
;;^UTILITY(U,$J,358.3,28449,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28449,1,3,0)
;;=3^Problems Related to Multiparity
;;^UTILITY(U,$J,358.3,28449,1,4,0)
;;=4^Z64.1
;;^UTILITY(U,$J,358.3,28449,2)
;;=^5063177
;;^UTILITY(U,$J,358.3,28450,0)
;;=Z64.4^^115^1401^1
;;^UTILITY(U,$J,358.3,28450,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28450,1,3,0)
;;=3^Discord w/ Counselors
;;^UTILITY(U,$J,358.3,28450,1,4,0)
;;=4^Z64.4
;;^UTILITY(U,$J,358.3,28450,2)
;;=^5063178
;;^UTILITY(U,$J,358.3,28451,0)
;;=Z65.5^^115^1401^2
;;^UTILITY(U,$J,358.3,28451,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28451,1,3,0)
;;=3^Exposure to Disaster,War or Other Hostilities
;;^UTILITY(U,$J,358.3,28451,1,4,0)
;;=4^Z65.5
;;^UTILITY(U,$J,358.3,28451,2)
;;=^5063184
;;^UTILITY(U,$J,358.3,28452,0)
;;=Z65.8^^115^1401^4
;;^UTILITY(U,$J,358.3,28452,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28452,1,3,0)
;;=3^Problems Related to Psychosocial Circumstances,Other
;;^UTILITY(U,$J,358.3,28452,1,4,0)
;;=4^Z65.8
;;^UTILITY(U,$J,358.3,28452,2)
;;=^5063185
;;^UTILITY(U,$J,358.3,28453,0)
;;=Z65.9^^115^1401^5
;;^UTILITY(U,$J,358.3,28453,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28453,1,3,0)
;;=3^Problems Related to Psychosocial Circumstances,Unspec
;;^UTILITY(U,$J,358.3,28453,1,4,0)
;;=4^Z65.9
;;^UTILITY(U,$J,358.3,28453,2)
;;=^5063186
;;^UTILITY(U,$J,358.3,28454,0)
;;=Z65.4^^115^1401^7
;;^UTILITY(U,$J,358.3,28454,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28454,1,3,0)
;;=3^Victim of Terrorism or Torture
;;^UTILITY(U,$J,358.3,28454,1,4,0)
;;=4^Z65.4
;;^UTILITY(U,$J,358.3,28454,2)
;;=^5063183
;;^UTILITY(U,$J,358.3,28455,0)
;;=Z62.820^^115^1402^3
;;^UTILITY(U,$J,358.3,28455,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28455,1,3,0)
;;=3^Parent-Child Relational Problem
;;^UTILITY(U,$J,358.3,28455,1,4,0)
;;=4^Z62.820
;;^UTILITY(U,$J,358.3,28455,2)
;;=^5063157
;;^UTILITY(U,$J,358.3,28456,0)
;;=Z62.891^^115^1402^6
;;^UTILITY(U,$J,358.3,28456,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28456,1,3,0)
;;=3^Sibling Relational Problem
;;^UTILITY(U,$J,358.3,28456,1,4,0)
;;=4^Z62.891
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1S6 3784 printed Nov 22, 2024@17:24:56 Page 2
IBDEI1S6 ; ; 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,28444,1,4,0)
+2 ;;=4^Z65.0
+3 ;;^UTILITY(U,$J,358.3,28444,2)
+4 ;;=^5063179
+5 ;;^UTILITY(U,$J,358.3,28445,0)
+6 ;;=Z65.2^^115^1400^4
+7 ;;^UTILITY(U,$J,358.3,28445,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,28445,1,3,0)
+10 ;;=3^Problems Related to Release from Prison
+11 ;;^UTILITY(U,$J,358.3,28445,1,4,0)
+12 ;;=4^Z65.2
+13 ;;^UTILITY(U,$J,358.3,28445,2)
+14 ;;=^5063181
+15 ;;^UTILITY(U,$J,358.3,28446,0)
+16 ;;=Z65.3^^115^1400^3
+17 ;;^UTILITY(U,$J,358.3,28446,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,28446,1,3,0)
+20 ;;=3^Problems Related to Other Legal Circumstances
+21 ;;^UTILITY(U,$J,358.3,28446,1,4,0)
+22 ;;=4^Z65.3
+23 ;;^UTILITY(U,$J,358.3,28446,2)
+24 ;;=^5063182
+25 ;;^UTILITY(U,$J,358.3,28447,0)
+26 ;;=Z65.1^^115^1400^2
+27 ;;^UTILITY(U,$J,358.3,28447,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,28447,1,3,0)
+30 ;;=3^Imprisonment or Other Incarceration
+31 ;;^UTILITY(U,$J,358.3,28447,1,4,0)
+32 ;;=4^Z65.1
+33 ;;^UTILITY(U,$J,358.3,28447,2)
+34 ;;=^5063180
+35 ;;^UTILITY(U,$J,358.3,28448,0)
+36 ;;=Z64.0^^115^1401^6
+37 ;;^UTILITY(U,$J,358.3,28448,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,28448,1,3,0)
+40 ;;=3^Problems Related to Unwanted Pregnancy
+41 ;;^UTILITY(U,$J,358.3,28448,1,4,0)
+42 ;;=4^Z64.0
+43 ;;^UTILITY(U,$J,358.3,28448,2)
+44 ;;=^5063176
+45 ;;^UTILITY(U,$J,358.3,28449,0)
+46 ;;=Z64.1^^115^1401^3
+47 ;;^UTILITY(U,$J,358.3,28449,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,28449,1,3,0)
+50 ;;=3^Problems Related to Multiparity
+51 ;;^UTILITY(U,$J,358.3,28449,1,4,0)
+52 ;;=4^Z64.1
+53 ;;^UTILITY(U,$J,358.3,28449,2)
+54 ;;=^5063177
+55 ;;^UTILITY(U,$J,358.3,28450,0)
+56 ;;=Z64.4^^115^1401^1
+57 ;;^UTILITY(U,$J,358.3,28450,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,28450,1,3,0)
+60 ;;=3^Discord w/ Counselors
+61 ;;^UTILITY(U,$J,358.3,28450,1,4,0)
+62 ;;=4^Z64.4
+63 ;;^UTILITY(U,$J,358.3,28450,2)
+64 ;;=^5063178
+65 ;;^UTILITY(U,$J,358.3,28451,0)
+66 ;;=Z65.5^^115^1401^2
+67 ;;^UTILITY(U,$J,358.3,28451,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,28451,1,3,0)
+70 ;;=3^Exposure to Disaster,War or Other Hostilities
+71 ;;^UTILITY(U,$J,358.3,28451,1,4,0)
+72 ;;=4^Z65.5
+73 ;;^UTILITY(U,$J,358.3,28451,2)
+74 ;;=^5063184
+75 ;;^UTILITY(U,$J,358.3,28452,0)
+76 ;;=Z65.8^^115^1401^4
+77 ;;^UTILITY(U,$J,358.3,28452,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,28452,1,3,0)
+80 ;;=3^Problems Related to Psychosocial Circumstances,Other
+81 ;;^UTILITY(U,$J,358.3,28452,1,4,0)
+82 ;;=4^Z65.8
+83 ;;^UTILITY(U,$J,358.3,28452,2)
+84 ;;=^5063185
+85 ;;^UTILITY(U,$J,358.3,28453,0)
+86 ;;=Z65.9^^115^1401^5
+87 ;;^UTILITY(U,$J,358.3,28453,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,28453,1,3,0)
+90 ;;=3^Problems Related to Psychosocial Circumstances,Unspec
+91 ;;^UTILITY(U,$J,358.3,28453,1,4,0)
+92 ;;=4^Z65.9
+93 ;;^UTILITY(U,$J,358.3,28453,2)
+94 ;;=^5063186
+95 ;;^UTILITY(U,$J,358.3,28454,0)
+96 ;;=Z65.4^^115^1401^7
+97 ;;^UTILITY(U,$J,358.3,28454,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,28454,1,3,0)
+100 ;;=3^Victim of Terrorism or Torture
+101 ;;^UTILITY(U,$J,358.3,28454,1,4,0)
+102 ;;=4^Z65.4
+103 ;;^UTILITY(U,$J,358.3,28454,2)
+104 ;;=^5063183
+105 ;;^UTILITY(U,$J,358.3,28455,0)
+106 ;;=Z62.820^^115^1402^3
+107 ;;^UTILITY(U,$J,358.3,28455,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,28455,1,3,0)
+110 ;;=3^Parent-Child Relational Problem
+111 ;;^UTILITY(U,$J,358.3,28455,1,4,0)
+112 ;;=4^Z62.820
+113 ;;^UTILITY(U,$J,358.3,28455,2)
+114 ;;=^5063157
+115 ;;^UTILITY(U,$J,358.3,28456,0)
+116 ;;=Z62.891^^115^1402^6
+117 ;;^UTILITY(U,$J,358.3,28456,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,28456,1,3,0)
+120 ;;=3^Sibling Relational Problem
+121 ;;^UTILITY(U,$J,358.3,28456,1,4,0)
+122 ;;=4^Z62.891