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