IBDEI1KJ ; ; 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,25432,1,4,0)
;;=4^F64.9
;;^UTILITY(U,$J,358.3,25432,2)
;;=^5003650
;;^UTILITY(U,$J,358.3,25433,0)
;;=Z59.2^^92^1156^1
;;^UTILITY(U,$J,358.3,25433,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25433,1,3,0)
;;=3^Discord w/ Neighbor,Lodger or Landlord
;;^UTILITY(U,$J,358.3,25433,1,4,0)
;;=4^Z59.2
;;^UTILITY(U,$J,358.3,25433,2)
;;=^5063131
;;^UTILITY(U,$J,358.3,25434,0)
;;=Z59.1^^92^1156^13
;;^UTILITY(U,$J,358.3,25434,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25434,1,3,0)
;;=3^Inadequate Housing
;;^UTILITY(U,$J,358.3,25434,1,4,0)
;;=4^Z59.1
;;^UTILITY(U,$J,358.3,25434,2)
;;=^5063130
;;^UTILITY(U,$J,358.3,25435,0)
;;=Z59.3^^92^1156^17
;;^UTILITY(U,$J,358.3,25435,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25435,1,3,0)
;;=3^Residential Institution Living Problems
;;^UTILITY(U,$J,358.3,25435,1,4,0)
;;=4^Z59.3
;;^UTILITY(U,$J,358.3,25435,2)
;;=^5063132
;;^UTILITY(U,$J,358.3,25436,0)
;;=Z59.5^^92^1156^2
;;^UTILITY(U,$J,358.3,25436,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25436,1,3,0)
;;=3^Extreme Poverty
;;^UTILITY(U,$J,358.3,25436,1,4,0)
;;=4^Z59.5
;;^UTILITY(U,$J,358.3,25436,2)
;;=^5063134
;;^UTILITY(U,$J,358.3,25437,0)
;;=Z59.6^^92^1156^16
;;^UTILITY(U,$J,358.3,25437,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25437,1,3,0)
;;=3^Low Income
;;^UTILITY(U,$J,358.3,25437,1,4,0)
;;=4^Z59.6
;;^UTILITY(U,$J,358.3,25437,2)
;;=^5063135
;;^UTILITY(U,$J,358.3,25438,0)
;;=Z59.7^^92^1156^14
;;^UTILITY(U,$J,358.3,25438,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25438,1,3,0)
;;=3^Insufficient Social Insurance/Welfare Support
;;^UTILITY(U,$J,358.3,25438,1,4,0)
;;=4^Z59.7
;;^UTILITY(U,$J,358.3,25438,2)
;;=^5063136
;;^UTILITY(U,$J,358.3,25439,0)
;;=Z59.9^^92^1156^11
;;^UTILITY(U,$J,358.3,25439,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25439,1,3,0)
;;=3^Housing/Economic Problems,Unspec
;;^UTILITY(U,$J,358.3,25439,1,4,0)
;;=4^Z59.9
;;^UTILITY(U,$J,358.3,25439,2)
;;=^5063138
;;^UTILITY(U,$J,358.3,25440,0)
;;=Z59.00^^92^1156^6
;;^UTILITY(U,$J,358.3,25440,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25440,1,3,0)
;;=3^Homelessness,Unspec
;;^UTILITY(U,$J,358.3,25440,1,4,0)
;;=4^Z59.00
;;^UTILITY(U,$J,358.3,25440,2)
;;=^5161304
;;^UTILITY(U,$J,358.3,25441,0)
;;=Z59.01^^92^1156^4
;;^UTILITY(U,$J,358.3,25441,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25441,1,3,0)
;;=3^Homelessness,Sheltered
;;^UTILITY(U,$J,358.3,25441,1,4,0)
;;=4^Z59.01
;;^UTILITY(U,$J,358.3,25441,2)
;;=^5161305
;;^UTILITY(U,$J,358.3,25442,0)
;;=Z59.02^^92^1156^5
;;^UTILITY(U,$J,358.3,25442,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25442,1,3,0)
;;=3^Homelessness,Unsheltered
;;^UTILITY(U,$J,358.3,25442,1,4,0)
;;=4^Z59.02
;;^UTILITY(U,$J,358.3,25442,2)
;;=^5161306
;;^UTILITY(U,$J,358.3,25443,0)
;;=Z59.811^^92^1156^7
;;^UTILITY(U,$J,358.3,25443,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25443,1,3,0)
;;=3^Housing Instability,Housed w/ Risk of Homelessness
;;^UTILITY(U,$J,358.3,25443,1,4,0)
;;=4^Z59.811
;;^UTILITY(U,$J,358.3,25443,2)
;;=^5161309
;;^UTILITY(U,$J,358.3,25444,0)
;;=Z59.812^^92^1156^8
;;^UTILITY(U,$J,358.3,25444,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25444,1,3,0)
;;=3^Housing Instability,Housed,Homelessness in Past 12 Months
;;^UTILITY(U,$J,358.3,25444,1,4,0)
;;=4^Z59.812
;;^UTILITY(U,$J,358.3,25444,2)
;;=^5161310
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1KJ 3753 printed Dec 13, 2024@02:10:30 Page 2
IBDEI1KJ ; ; 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,25432,1,4,0)
+2 ;;=4^F64.9
+3 ;;^UTILITY(U,$J,358.3,25432,2)
+4 ;;=^5003650
+5 ;;^UTILITY(U,$J,358.3,25433,0)
+6 ;;=Z59.2^^92^1156^1
+7 ;;^UTILITY(U,$J,358.3,25433,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,25433,1,3,0)
+10 ;;=3^Discord w/ Neighbor,Lodger or Landlord
+11 ;;^UTILITY(U,$J,358.3,25433,1,4,0)
+12 ;;=4^Z59.2
+13 ;;^UTILITY(U,$J,358.3,25433,2)
+14 ;;=^5063131
+15 ;;^UTILITY(U,$J,358.3,25434,0)
+16 ;;=Z59.1^^92^1156^13
+17 ;;^UTILITY(U,$J,358.3,25434,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,25434,1,3,0)
+20 ;;=3^Inadequate Housing
+21 ;;^UTILITY(U,$J,358.3,25434,1,4,0)
+22 ;;=4^Z59.1
+23 ;;^UTILITY(U,$J,358.3,25434,2)
+24 ;;=^5063130
+25 ;;^UTILITY(U,$J,358.3,25435,0)
+26 ;;=Z59.3^^92^1156^17
+27 ;;^UTILITY(U,$J,358.3,25435,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,25435,1,3,0)
+30 ;;=3^Residential Institution Living Problems
+31 ;;^UTILITY(U,$J,358.3,25435,1,4,0)
+32 ;;=4^Z59.3
+33 ;;^UTILITY(U,$J,358.3,25435,2)
+34 ;;=^5063132
+35 ;;^UTILITY(U,$J,358.3,25436,0)
+36 ;;=Z59.5^^92^1156^2
+37 ;;^UTILITY(U,$J,358.3,25436,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,25436,1,3,0)
+40 ;;=3^Extreme Poverty
+41 ;;^UTILITY(U,$J,358.3,25436,1,4,0)
+42 ;;=4^Z59.5
+43 ;;^UTILITY(U,$J,358.3,25436,2)
+44 ;;=^5063134
+45 ;;^UTILITY(U,$J,358.3,25437,0)
+46 ;;=Z59.6^^92^1156^16
+47 ;;^UTILITY(U,$J,358.3,25437,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,25437,1,3,0)
+50 ;;=3^Low Income
+51 ;;^UTILITY(U,$J,358.3,25437,1,4,0)
+52 ;;=4^Z59.6
+53 ;;^UTILITY(U,$J,358.3,25437,2)
+54 ;;=^5063135
+55 ;;^UTILITY(U,$J,358.3,25438,0)
+56 ;;=Z59.7^^92^1156^14
+57 ;;^UTILITY(U,$J,358.3,25438,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,25438,1,3,0)
+60 ;;=3^Insufficient Social Insurance/Welfare Support
+61 ;;^UTILITY(U,$J,358.3,25438,1,4,0)
+62 ;;=4^Z59.7
+63 ;;^UTILITY(U,$J,358.3,25438,2)
+64 ;;=^5063136
+65 ;;^UTILITY(U,$J,358.3,25439,0)
+66 ;;=Z59.9^^92^1156^11
+67 ;;^UTILITY(U,$J,358.3,25439,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,25439,1,3,0)
+70 ;;=3^Housing/Economic Problems,Unspec
+71 ;;^UTILITY(U,$J,358.3,25439,1,4,0)
+72 ;;=4^Z59.9
+73 ;;^UTILITY(U,$J,358.3,25439,2)
+74 ;;=^5063138
+75 ;;^UTILITY(U,$J,358.3,25440,0)
+76 ;;=Z59.00^^92^1156^6
+77 ;;^UTILITY(U,$J,358.3,25440,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,25440,1,3,0)
+80 ;;=3^Homelessness,Unspec
+81 ;;^UTILITY(U,$J,358.3,25440,1,4,0)
+82 ;;=4^Z59.00
+83 ;;^UTILITY(U,$J,358.3,25440,2)
+84 ;;=^5161304
+85 ;;^UTILITY(U,$J,358.3,25441,0)
+86 ;;=Z59.01^^92^1156^4
+87 ;;^UTILITY(U,$J,358.3,25441,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,25441,1,3,0)
+90 ;;=3^Homelessness,Sheltered
+91 ;;^UTILITY(U,$J,358.3,25441,1,4,0)
+92 ;;=4^Z59.01
+93 ;;^UTILITY(U,$J,358.3,25441,2)
+94 ;;=^5161305
+95 ;;^UTILITY(U,$J,358.3,25442,0)
+96 ;;=Z59.02^^92^1156^5
+97 ;;^UTILITY(U,$J,358.3,25442,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,25442,1,3,0)
+100 ;;=3^Homelessness,Unsheltered
+101 ;;^UTILITY(U,$J,358.3,25442,1,4,0)
+102 ;;=4^Z59.02
+103 ;;^UTILITY(U,$J,358.3,25442,2)
+104 ;;=^5161306
+105 ;;^UTILITY(U,$J,358.3,25443,0)
+106 ;;=Z59.811^^92^1156^7
+107 ;;^UTILITY(U,$J,358.3,25443,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,25443,1,3,0)
+110 ;;=3^Housing Instability,Housed w/ Risk of Homelessness
+111 ;;^UTILITY(U,$J,358.3,25443,1,4,0)
+112 ;;=4^Z59.811
+113 ;;^UTILITY(U,$J,358.3,25443,2)
+114 ;;=^5161309
+115 ;;^UTILITY(U,$J,358.3,25444,0)
+116 ;;=Z59.812^^92^1156^8
+117 ;;^UTILITY(U,$J,358.3,25444,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,25444,1,3,0)
+120 ;;=3^Housing Instability,Housed,Homelessness in Past 12 Months
+121 ;;^UTILITY(U,$J,358.3,25444,1,4,0)
+122 ;;=4^Z59.812
+123 ;;^UTILITY(U,$J,358.3,25444,2)
+124 ;;=^5161310