IBDEI2RN ; ; 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,44117,2)
;;=^5063182
;;^UTILITY(U,$J,358.3,44118,0)
;;=Z65.1^^164^2183^2
;;^UTILITY(U,$J,358.3,44118,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44118,1,3,0)
;;=3^Imprisonment or Other Incarceration
;;^UTILITY(U,$J,358.3,44118,1,4,0)
;;=4^Z65.1
;;^UTILITY(U,$J,358.3,44118,2)
;;=^5063180
;;^UTILITY(U,$J,358.3,44119,0)
;;=Z64.0^^164^2184^6
;;^UTILITY(U,$J,358.3,44119,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44119,1,3,0)
;;=3^Problems Related to Unwanted Pregnancy
;;^UTILITY(U,$J,358.3,44119,1,4,0)
;;=4^Z64.0
;;^UTILITY(U,$J,358.3,44119,2)
;;=^5063176
;;^UTILITY(U,$J,358.3,44120,0)
;;=Z64.1^^164^2184^3
;;^UTILITY(U,$J,358.3,44120,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44120,1,3,0)
;;=3^Problems Related to Multiparity
;;^UTILITY(U,$J,358.3,44120,1,4,0)
;;=4^Z64.1
;;^UTILITY(U,$J,358.3,44120,2)
;;=^5063177
;;^UTILITY(U,$J,358.3,44121,0)
;;=Z64.4^^164^2184^1
;;^UTILITY(U,$J,358.3,44121,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44121,1,3,0)
;;=3^Discord w/ Counselors
;;^UTILITY(U,$J,358.3,44121,1,4,0)
;;=4^Z64.4
;;^UTILITY(U,$J,358.3,44121,2)
;;=^5063178
;;^UTILITY(U,$J,358.3,44122,0)
;;=Z65.5^^164^2184^2
;;^UTILITY(U,$J,358.3,44122,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44122,1,3,0)
;;=3^Exposure to Disaster,War or Other Hostilities
;;^UTILITY(U,$J,358.3,44122,1,4,0)
;;=4^Z65.5
;;^UTILITY(U,$J,358.3,44122,2)
;;=^5063184
;;^UTILITY(U,$J,358.3,44123,0)
;;=Z65.8^^164^2184^4
;;^UTILITY(U,$J,358.3,44123,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44123,1,3,0)
;;=3^Problems Related to Psychosocial Circumstances,Other
;;^UTILITY(U,$J,358.3,44123,1,4,0)
;;=4^Z65.8
;;^UTILITY(U,$J,358.3,44123,2)
;;=^5063185
;;^UTILITY(U,$J,358.3,44124,0)
;;=Z65.9^^164^2184^5
;;^UTILITY(U,$J,358.3,44124,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44124,1,3,0)
;;=3^Problems Related to Psychosocial Circumstances,Unspec
;;^UTILITY(U,$J,358.3,44124,1,4,0)
;;=4^Z65.9
;;^UTILITY(U,$J,358.3,44124,2)
;;=^5063186
;;^UTILITY(U,$J,358.3,44125,0)
;;=Z65.4^^164^2184^7
;;^UTILITY(U,$J,358.3,44125,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44125,1,3,0)
;;=3^Victim of Terrorism or Torture
;;^UTILITY(U,$J,358.3,44125,1,4,0)
;;=4^Z65.4
;;^UTILITY(U,$J,358.3,44125,2)
;;=^5063183
;;^UTILITY(U,$J,358.3,44126,0)
;;=Z62.820^^164^2185^3
;;^UTILITY(U,$J,358.3,44126,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44126,1,3,0)
;;=3^Parent-Child Relational Problem
;;^UTILITY(U,$J,358.3,44126,1,4,0)
;;=4^Z62.820
;;^UTILITY(U,$J,358.3,44126,2)
;;=^5063157
;;^UTILITY(U,$J,358.3,44127,0)
;;=Z62.891^^164^2185^6
;;^UTILITY(U,$J,358.3,44127,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44127,1,3,0)
;;=3^Sibling Relational Problem
;;^UTILITY(U,$J,358.3,44127,1,4,0)
;;=4^Z62.891
;;^UTILITY(U,$J,358.3,44127,2)
;;=^5063161
;;^UTILITY(U,$J,358.3,44128,0)
;;=Z62.898^^164^2185^4
;;^UTILITY(U,$J,358.3,44128,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44128,1,3,0)
;;=3^Problems Related to Upbringing,Oth Spec
;;^UTILITY(U,$J,358.3,44128,1,4,0)
;;=4^Z62.898
;;^UTILITY(U,$J,358.3,44128,2)
;;=^5063162
;;^UTILITY(U,$J,358.3,44129,0)
;;=Z63.0^^164^2185^5
;;^UTILITY(U,$J,358.3,44129,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44129,1,3,0)
;;=3^Relationship Distress w/ Spouse/Partner
;;^UTILITY(U,$J,358.3,44129,1,4,0)
;;=4^Z63.0
;;^UTILITY(U,$J,358.3,44129,2)
;;=^5063164
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2RN 3779 printed Nov 22, 2024@17:44:39 Page 2
IBDEI2RN ; ; 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,44117,2)
+2 ;;=^5063182
+3 ;;^UTILITY(U,$J,358.3,44118,0)
+4 ;;=Z65.1^^164^2183^2
+5 ;;^UTILITY(U,$J,358.3,44118,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,44118,1,3,0)
+8 ;;=3^Imprisonment or Other Incarceration
+9 ;;^UTILITY(U,$J,358.3,44118,1,4,0)
+10 ;;=4^Z65.1
+11 ;;^UTILITY(U,$J,358.3,44118,2)
+12 ;;=^5063180
+13 ;;^UTILITY(U,$J,358.3,44119,0)
+14 ;;=Z64.0^^164^2184^6
+15 ;;^UTILITY(U,$J,358.3,44119,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,44119,1,3,0)
+18 ;;=3^Problems Related to Unwanted Pregnancy
+19 ;;^UTILITY(U,$J,358.3,44119,1,4,0)
+20 ;;=4^Z64.0
+21 ;;^UTILITY(U,$J,358.3,44119,2)
+22 ;;=^5063176
+23 ;;^UTILITY(U,$J,358.3,44120,0)
+24 ;;=Z64.1^^164^2184^3
+25 ;;^UTILITY(U,$J,358.3,44120,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,44120,1,3,0)
+28 ;;=3^Problems Related to Multiparity
+29 ;;^UTILITY(U,$J,358.3,44120,1,4,0)
+30 ;;=4^Z64.1
+31 ;;^UTILITY(U,$J,358.3,44120,2)
+32 ;;=^5063177
+33 ;;^UTILITY(U,$J,358.3,44121,0)
+34 ;;=Z64.4^^164^2184^1
+35 ;;^UTILITY(U,$J,358.3,44121,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,44121,1,3,0)
+38 ;;=3^Discord w/ Counselors
+39 ;;^UTILITY(U,$J,358.3,44121,1,4,0)
+40 ;;=4^Z64.4
+41 ;;^UTILITY(U,$J,358.3,44121,2)
+42 ;;=^5063178
+43 ;;^UTILITY(U,$J,358.3,44122,0)
+44 ;;=Z65.5^^164^2184^2
+45 ;;^UTILITY(U,$J,358.3,44122,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,44122,1,3,0)
+48 ;;=3^Exposure to Disaster,War or Other Hostilities
+49 ;;^UTILITY(U,$J,358.3,44122,1,4,0)
+50 ;;=4^Z65.5
+51 ;;^UTILITY(U,$J,358.3,44122,2)
+52 ;;=^5063184
+53 ;;^UTILITY(U,$J,358.3,44123,0)
+54 ;;=Z65.8^^164^2184^4
+55 ;;^UTILITY(U,$J,358.3,44123,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,44123,1,3,0)
+58 ;;=3^Problems Related to Psychosocial Circumstances,Other
+59 ;;^UTILITY(U,$J,358.3,44123,1,4,0)
+60 ;;=4^Z65.8
+61 ;;^UTILITY(U,$J,358.3,44123,2)
+62 ;;=^5063185
+63 ;;^UTILITY(U,$J,358.3,44124,0)
+64 ;;=Z65.9^^164^2184^5
+65 ;;^UTILITY(U,$J,358.3,44124,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,44124,1,3,0)
+68 ;;=3^Problems Related to Psychosocial Circumstances,Unspec
+69 ;;^UTILITY(U,$J,358.3,44124,1,4,0)
+70 ;;=4^Z65.9
+71 ;;^UTILITY(U,$J,358.3,44124,2)
+72 ;;=^5063186
+73 ;;^UTILITY(U,$J,358.3,44125,0)
+74 ;;=Z65.4^^164^2184^7
+75 ;;^UTILITY(U,$J,358.3,44125,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,44125,1,3,0)
+78 ;;=3^Victim of Terrorism or Torture
+79 ;;^UTILITY(U,$J,358.3,44125,1,4,0)
+80 ;;=4^Z65.4
+81 ;;^UTILITY(U,$J,358.3,44125,2)
+82 ;;=^5063183
+83 ;;^UTILITY(U,$J,358.3,44126,0)
+84 ;;=Z62.820^^164^2185^3
+85 ;;^UTILITY(U,$J,358.3,44126,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,44126,1,3,0)
+88 ;;=3^Parent-Child Relational Problem
+89 ;;^UTILITY(U,$J,358.3,44126,1,4,0)
+90 ;;=4^Z62.820
+91 ;;^UTILITY(U,$J,358.3,44126,2)
+92 ;;=^5063157
+93 ;;^UTILITY(U,$J,358.3,44127,0)
+94 ;;=Z62.891^^164^2185^6
+95 ;;^UTILITY(U,$J,358.3,44127,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,44127,1,3,0)
+98 ;;=3^Sibling Relational Problem
+99 ;;^UTILITY(U,$J,358.3,44127,1,4,0)
+100 ;;=4^Z62.891
+101 ;;^UTILITY(U,$J,358.3,44127,2)
+102 ;;=^5063161
+103 ;;^UTILITY(U,$J,358.3,44128,0)
+104 ;;=Z62.898^^164^2185^4
+105 ;;^UTILITY(U,$J,358.3,44128,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,44128,1,3,0)
+108 ;;=3^Problems Related to Upbringing,Oth Spec
+109 ;;^UTILITY(U,$J,358.3,44128,1,4,0)
+110 ;;=4^Z62.898
+111 ;;^UTILITY(U,$J,358.3,44128,2)
+112 ;;=^5063162
+113 ;;^UTILITY(U,$J,358.3,44129,0)
+114 ;;=Z63.0^^164^2185^5
+115 ;;^UTILITY(U,$J,358.3,44129,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,44129,1,3,0)
+118 ;;=3^Relationship Distress w/ Spouse/Partner
+119 ;;^UTILITY(U,$J,358.3,44129,1,4,0)
+120 ;;=4^Z63.0
+121 ;;^UTILITY(U,$J,358.3,44129,2)
+122 ;;=^5063164