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