IBDEI2PY ; ; 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,43344,1,4,0)
;;=4^L89.624
;;^UTILITY(U,$J,358.3,43344,2)
;;=^5009439
;;^UTILITY(U,$J,358.3,43345,0)
;;=L89.899^^158^2105^85
;;^UTILITY(U,$J,358.3,43345,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43345,1,3,0)
;;=3^Pressure Ulcer of Other Site,Stage Unspec
;;^UTILITY(U,$J,358.3,43345,1,4,0)
;;=4^L89.899
;;^UTILITY(U,$J,358.3,43345,2)
;;=^5133663
;;^UTILITY(U,$J,358.3,43346,0)
;;=Z59.0^^158^2106^4
;;^UTILITY(U,$J,358.3,43346,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43346,1,3,0)
;;=3^Homelessness
;;^UTILITY(U,$J,358.3,43346,1,4,0)
;;=4^Z59.0
;;^UTILITY(U,$J,358.3,43346,2)
;;=^5063129
;;^UTILITY(U,$J,358.3,43347,0)
;;=Z59.1^^158^2106^5
;;^UTILITY(U,$J,358.3,43347,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43347,1,3,0)
;;=3^Inadequate Housing
;;^UTILITY(U,$J,358.3,43347,1,4,0)
;;=4^Z59.1
;;^UTILITY(U,$J,358.3,43347,2)
;;=^5063130
;;^UTILITY(U,$J,358.3,43348,0)
;;=Z59.5^^158^2106^2
;;^UTILITY(U,$J,358.3,43348,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43348,1,3,0)
;;=3^Extreme Poverty
;;^UTILITY(U,$J,358.3,43348,1,4,0)
;;=4^Z59.5
;;^UTILITY(U,$J,358.3,43348,2)
;;=^5063134
;;^UTILITY(U,$J,358.3,43349,0)
;;=Z74.2^^158^2106^8
;;^UTILITY(U,$J,358.3,43349,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43349,1,3,0)
;;=3^No Household Member Able to Render Care
;;^UTILITY(U,$J,358.3,43349,1,4,0)
;;=4^Z74.2
;;^UTILITY(U,$J,358.3,43349,2)
;;=^5063285
;;^UTILITY(U,$J,358.3,43350,0)
;;=Z75.5^^158^2106^3
;;^UTILITY(U,$J,358.3,43350,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43350,1,3,0)
;;=3^Holiday Relief Care
;;^UTILITY(U,$J,358.3,43350,1,4,0)
;;=4^Z75.5
;;^UTILITY(U,$J,358.3,43350,2)
;;=^5063294
;;^UTILITY(U,$J,358.3,43351,0)
;;=Z56.0^^158^2106^10
;;^UTILITY(U,$J,358.3,43351,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43351,1,3,0)
;;=3^Unemployment,Unspec
;;^UTILITY(U,$J,358.3,43351,1,4,0)
;;=4^Z56.0
;;^UTILITY(U,$J,358.3,43351,2)
;;=^5063107
;;^UTILITY(U,$J,358.3,43352,0)
;;=Z65.5^^158^2106^1
;;^UTILITY(U,$J,358.3,43352,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43352,1,3,0)
;;=3^Exposure to Disaster/War/Oth Hostilities
;;^UTILITY(U,$J,358.3,43352,1,4,0)
;;=4^Z65.5
;;^UTILITY(U,$J,358.3,43352,2)
;;=^5063184
;;^UTILITY(U,$J,358.3,43353,0)
;;=Z65.3^^158^2106^6
;;^UTILITY(U,$J,358.3,43353,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43353,1,3,0)
;;=3^Legal Circumstance Problems
;;^UTILITY(U,$J,358.3,43353,1,4,0)
;;=4^Z65.3
;;^UTILITY(U,$J,358.3,43353,2)
;;=^5063182
;;^UTILITY(U,$J,358.3,43354,0)
;;=Z65.8^^158^2106^9
;;^UTILITY(U,$J,358.3,43354,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43354,1,3,0)
;;=3^Psychosocial Circumstance Problems
;;^UTILITY(U,$J,358.3,43354,1,4,0)
;;=4^Z65.8
;;^UTILITY(U,$J,358.3,43354,2)
;;=^5063185
;;^UTILITY(U,$J,358.3,43355,0)
;;=Z75.0^^158^2106^7
;;^UTILITY(U,$J,358.3,43355,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43355,1,3,0)
;;=3^Medical Services Not Available in Home
;;^UTILITY(U,$J,358.3,43355,1,4,0)
;;=4^Z75.0
;;^UTILITY(U,$J,358.3,43355,2)
;;=^5063289
;;^UTILITY(U,$J,358.3,43356,0)
;;=B18.2^^158^2107^30
;;^UTILITY(U,$J,358.3,43356,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,43356,1,3,0)
;;=3^Hepatitis C,Chr
;;^UTILITY(U,$J,358.3,43356,1,4,0)
;;=4^B18.2
;;^UTILITY(U,$J,358.3,43356,2)
;;=^5000548
;;^UTILITY(U,$J,358.3,43357,0)
;;=C44.99^^158^2107^60
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2PY 3761 printed Dec 13, 2024@02:33:32 Page 2
IBDEI2PY ; ; 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,43344,1,4,0)
+2 ;;=4^L89.624
+3 ;;^UTILITY(U,$J,358.3,43344,2)
+4 ;;=^5009439
+5 ;;^UTILITY(U,$J,358.3,43345,0)
+6 ;;=L89.899^^158^2105^85
+7 ;;^UTILITY(U,$J,358.3,43345,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,43345,1,3,0)
+10 ;;=3^Pressure Ulcer of Other Site,Stage Unspec
+11 ;;^UTILITY(U,$J,358.3,43345,1,4,0)
+12 ;;=4^L89.899
+13 ;;^UTILITY(U,$J,358.3,43345,2)
+14 ;;=^5133663
+15 ;;^UTILITY(U,$J,358.3,43346,0)
+16 ;;=Z59.0^^158^2106^4
+17 ;;^UTILITY(U,$J,358.3,43346,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,43346,1,3,0)
+20 ;;=3^Homelessness
+21 ;;^UTILITY(U,$J,358.3,43346,1,4,0)
+22 ;;=4^Z59.0
+23 ;;^UTILITY(U,$J,358.3,43346,2)
+24 ;;=^5063129
+25 ;;^UTILITY(U,$J,358.3,43347,0)
+26 ;;=Z59.1^^158^2106^5
+27 ;;^UTILITY(U,$J,358.3,43347,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,43347,1,3,0)
+30 ;;=3^Inadequate Housing
+31 ;;^UTILITY(U,$J,358.3,43347,1,4,0)
+32 ;;=4^Z59.1
+33 ;;^UTILITY(U,$J,358.3,43347,2)
+34 ;;=^5063130
+35 ;;^UTILITY(U,$J,358.3,43348,0)
+36 ;;=Z59.5^^158^2106^2
+37 ;;^UTILITY(U,$J,358.3,43348,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,43348,1,3,0)
+40 ;;=3^Extreme Poverty
+41 ;;^UTILITY(U,$J,358.3,43348,1,4,0)
+42 ;;=4^Z59.5
+43 ;;^UTILITY(U,$J,358.3,43348,2)
+44 ;;=^5063134
+45 ;;^UTILITY(U,$J,358.3,43349,0)
+46 ;;=Z74.2^^158^2106^8
+47 ;;^UTILITY(U,$J,358.3,43349,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,43349,1,3,0)
+50 ;;=3^No Household Member Able to Render Care
+51 ;;^UTILITY(U,$J,358.3,43349,1,4,0)
+52 ;;=4^Z74.2
+53 ;;^UTILITY(U,$J,358.3,43349,2)
+54 ;;=^5063285
+55 ;;^UTILITY(U,$J,358.3,43350,0)
+56 ;;=Z75.5^^158^2106^3
+57 ;;^UTILITY(U,$J,358.3,43350,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,43350,1,3,0)
+60 ;;=3^Holiday Relief Care
+61 ;;^UTILITY(U,$J,358.3,43350,1,4,0)
+62 ;;=4^Z75.5
+63 ;;^UTILITY(U,$J,358.3,43350,2)
+64 ;;=^5063294
+65 ;;^UTILITY(U,$J,358.3,43351,0)
+66 ;;=Z56.0^^158^2106^10
+67 ;;^UTILITY(U,$J,358.3,43351,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,43351,1,3,0)
+70 ;;=3^Unemployment,Unspec
+71 ;;^UTILITY(U,$J,358.3,43351,1,4,0)
+72 ;;=4^Z56.0
+73 ;;^UTILITY(U,$J,358.3,43351,2)
+74 ;;=^5063107
+75 ;;^UTILITY(U,$J,358.3,43352,0)
+76 ;;=Z65.5^^158^2106^1
+77 ;;^UTILITY(U,$J,358.3,43352,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,43352,1,3,0)
+80 ;;=3^Exposure to Disaster/War/Oth Hostilities
+81 ;;^UTILITY(U,$J,358.3,43352,1,4,0)
+82 ;;=4^Z65.5
+83 ;;^UTILITY(U,$J,358.3,43352,2)
+84 ;;=^5063184
+85 ;;^UTILITY(U,$J,358.3,43353,0)
+86 ;;=Z65.3^^158^2106^6
+87 ;;^UTILITY(U,$J,358.3,43353,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,43353,1,3,0)
+90 ;;=3^Legal Circumstance Problems
+91 ;;^UTILITY(U,$J,358.3,43353,1,4,0)
+92 ;;=4^Z65.3
+93 ;;^UTILITY(U,$J,358.3,43353,2)
+94 ;;=^5063182
+95 ;;^UTILITY(U,$J,358.3,43354,0)
+96 ;;=Z65.8^^158^2106^9
+97 ;;^UTILITY(U,$J,358.3,43354,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,43354,1,3,0)
+100 ;;=3^Psychosocial Circumstance Problems
+101 ;;^UTILITY(U,$J,358.3,43354,1,4,0)
+102 ;;=4^Z65.8
+103 ;;^UTILITY(U,$J,358.3,43354,2)
+104 ;;=^5063185
+105 ;;^UTILITY(U,$J,358.3,43355,0)
+106 ;;=Z75.0^^158^2106^7
+107 ;;^UTILITY(U,$J,358.3,43355,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,43355,1,3,0)
+110 ;;=3^Medical Services Not Available in Home
+111 ;;^UTILITY(U,$J,358.3,43355,1,4,0)
+112 ;;=4^Z75.0
+113 ;;^UTILITY(U,$J,358.3,43355,2)
+114 ;;=^5063289
+115 ;;^UTILITY(U,$J,358.3,43356,0)
+116 ;;=B18.2^^158^2107^30
+117 ;;^UTILITY(U,$J,358.3,43356,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,43356,1,3,0)
+120 ;;=3^Hepatitis C,Chr
+121 ;;^UTILITY(U,$J,358.3,43356,1,4,0)
+122 ;;=4^B18.2
+123 ;;^UTILITY(U,$J,358.3,43356,2)
+124 ;;=^5000548
+125 ;;^UTILITY(U,$J,358.3,43357,0)
+126 ;;=C44.99^^158^2107^60