IBDEI32O ; ; 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,49059,0)
;;=Z87.440^^185^2428^119
;;^UTILITY(U,$J,358.3,49059,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49059,1,3,0)
;;=3^Personal Hx of Urinary Tract Infections
;;^UTILITY(U,$J,358.3,49059,1,4,0)
;;=4^Z87.440
;;^UTILITY(U,$J,358.3,49059,2)
;;=^5063495
;;^UTILITY(U,$J,358.3,49060,0)
;;=Z87.442^^185^2428^118
;;^UTILITY(U,$J,358.3,49060,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49060,1,3,0)
;;=3^Personal Hx of Urinary Calculi
;;^UTILITY(U,$J,358.3,49060,1,4,0)
;;=4^Z87.442
;;^UTILITY(U,$J,358.3,49060,2)
;;=^5063497
;;^UTILITY(U,$J,358.3,49061,0)
;;=Z91.83^^185^2428^120
;;^UTILITY(U,$J,358.3,49061,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49061,1,3,0)
;;=3^Personal Hx of Wandering
;;^UTILITY(U,$J,358.3,49061,1,4,0)
;;=4^Z91.83
;;^UTILITY(U,$J,358.3,49061,2)
;;=^5063627
;;^UTILITY(U,$J,358.3,49062,0)
;;=Z76.89^^185^2428^121
;;^UTILITY(U,$J,358.3,49062,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49062,1,3,0)
;;=3^Persons Encountering Health Services
;;^UTILITY(U,$J,358.3,49062,1,4,0)
;;=4^Z76.89
;;^UTILITY(U,$J,358.3,49062,2)
;;=^5063304
;;^UTILITY(U,$J,358.3,49063,0)
;;=Z60.0^^185^2428^122
;;^UTILITY(U,$J,358.3,49063,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49063,1,3,0)
;;=3^Problems Adjusting to Life-Cycle Transitions
;;^UTILITY(U,$J,358.3,49063,1,4,0)
;;=4^Z60.0
;;^UTILITY(U,$J,358.3,49063,2)
;;=^5063139
;;^UTILITY(U,$J,358.3,49064,0)
;;=Z63.31^^185^2428^148
;;^UTILITY(U,$J,358.3,49064,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49064,1,3,0)
;;=3^Problems Related to Military Deployment Absence
;;^UTILITY(U,$J,358.3,49064,1,4,0)
;;=4^Z63.31
;;^UTILITY(U,$J,358.3,49064,2)
;;=^5063166
;;^UTILITY(U,$J,358.3,49065,0)
;;=Z63.32^^185^2428^135
;;^UTILITY(U,$J,358.3,49065,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49065,1,3,0)
;;=3^Problems Related to Family Member Absence
;;^UTILITY(U,$J,358.3,49065,1,4,0)
;;=4^Z63.32
;;^UTILITY(U,$J,358.3,49065,2)
;;=^5063167
;;^UTILITY(U,$J,358.3,49066,0)
;;=Z60.3^^185^2428^123
;;^UTILITY(U,$J,358.3,49066,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49066,1,3,0)
;;=3^Problems Related to Acculturation Difficulty
;;^UTILITY(U,$J,358.3,49066,1,4,0)
;;=4^Z60.3
;;^UTILITY(U,$J,358.3,49066,2)
;;=^5063141
;;^UTILITY(U,$J,358.3,49067,0)
;;=Z74.9^^185^2428^128
;;^UTILITY(U,$J,358.3,49067,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49067,1,3,0)
;;=3^Problems Related to Care Provider Dependency,Unspec
;;^UTILITY(U,$J,358.3,49067,1,4,0)
;;=4^Z74.9
;;^UTILITY(U,$J,358.3,49067,2)
;;=^5063288
;;^UTILITY(U,$J,358.3,49068,0)
;;=Z63.4^^185^2428^127
;;^UTILITY(U,$J,358.3,49068,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49068,1,3,0)
;;=3^Problems Related to Bereavement
;;^UTILITY(U,$J,358.3,49068,1,4,0)
;;=4^Z63.4
;;^UTILITY(U,$J,358.3,49068,2)
;;=^5063168
;;^UTILITY(U,$J,358.3,49069,0)
;;=Z63.6^^185^2428^129
;;^UTILITY(U,$J,358.3,49069,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49069,1,3,0)
;;=3^Problems Related to Dependent Relative Needing Care at Home
;;^UTILITY(U,$J,358.3,49069,1,4,0)
;;=4^Z63.6
;;^UTILITY(U,$J,358.3,49069,2)
;;=^5063170
;;^UTILITY(U,$J,358.3,49070,0)
;;=Z59.2^^185^2428^131
;;^UTILITY(U,$J,358.3,49070,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49070,1,3,0)
;;=3^Problems Related to Discord w/ Neighbors/Lodgers/Landlord
;;^UTILITY(U,$J,358.3,49070,1,4,0)
;;=4^Z59.2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI32O 3776 printed Dec 13, 2024@02:40:37 Page 2
IBDEI32O ; ; 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,49059,0)
+2 ;;=Z87.440^^185^2428^119
+3 ;;^UTILITY(U,$J,358.3,49059,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,49059,1,3,0)
+6 ;;=3^Personal Hx of Urinary Tract Infections
+7 ;;^UTILITY(U,$J,358.3,49059,1,4,0)
+8 ;;=4^Z87.440
+9 ;;^UTILITY(U,$J,358.3,49059,2)
+10 ;;=^5063495
+11 ;;^UTILITY(U,$J,358.3,49060,0)
+12 ;;=Z87.442^^185^2428^118
+13 ;;^UTILITY(U,$J,358.3,49060,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,49060,1,3,0)
+16 ;;=3^Personal Hx of Urinary Calculi
+17 ;;^UTILITY(U,$J,358.3,49060,1,4,0)
+18 ;;=4^Z87.442
+19 ;;^UTILITY(U,$J,358.3,49060,2)
+20 ;;=^5063497
+21 ;;^UTILITY(U,$J,358.3,49061,0)
+22 ;;=Z91.83^^185^2428^120
+23 ;;^UTILITY(U,$J,358.3,49061,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,49061,1,3,0)
+26 ;;=3^Personal Hx of Wandering
+27 ;;^UTILITY(U,$J,358.3,49061,1,4,0)
+28 ;;=4^Z91.83
+29 ;;^UTILITY(U,$J,358.3,49061,2)
+30 ;;=^5063627
+31 ;;^UTILITY(U,$J,358.3,49062,0)
+32 ;;=Z76.89^^185^2428^121
+33 ;;^UTILITY(U,$J,358.3,49062,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,49062,1,3,0)
+36 ;;=3^Persons Encountering Health Services
+37 ;;^UTILITY(U,$J,358.3,49062,1,4,0)
+38 ;;=4^Z76.89
+39 ;;^UTILITY(U,$J,358.3,49062,2)
+40 ;;=^5063304
+41 ;;^UTILITY(U,$J,358.3,49063,0)
+42 ;;=Z60.0^^185^2428^122
+43 ;;^UTILITY(U,$J,358.3,49063,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,49063,1,3,0)
+46 ;;=3^Problems Adjusting to Life-Cycle Transitions
+47 ;;^UTILITY(U,$J,358.3,49063,1,4,0)
+48 ;;=4^Z60.0
+49 ;;^UTILITY(U,$J,358.3,49063,2)
+50 ;;=^5063139
+51 ;;^UTILITY(U,$J,358.3,49064,0)
+52 ;;=Z63.31^^185^2428^148
+53 ;;^UTILITY(U,$J,358.3,49064,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,49064,1,3,0)
+56 ;;=3^Problems Related to Military Deployment Absence
+57 ;;^UTILITY(U,$J,358.3,49064,1,4,0)
+58 ;;=4^Z63.31
+59 ;;^UTILITY(U,$J,358.3,49064,2)
+60 ;;=^5063166
+61 ;;^UTILITY(U,$J,358.3,49065,0)
+62 ;;=Z63.32^^185^2428^135
+63 ;;^UTILITY(U,$J,358.3,49065,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,49065,1,3,0)
+66 ;;=3^Problems Related to Family Member Absence
+67 ;;^UTILITY(U,$J,358.3,49065,1,4,0)
+68 ;;=4^Z63.32
+69 ;;^UTILITY(U,$J,358.3,49065,2)
+70 ;;=^5063167
+71 ;;^UTILITY(U,$J,358.3,49066,0)
+72 ;;=Z60.3^^185^2428^123
+73 ;;^UTILITY(U,$J,358.3,49066,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,49066,1,3,0)
+76 ;;=3^Problems Related to Acculturation Difficulty
+77 ;;^UTILITY(U,$J,358.3,49066,1,4,0)
+78 ;;=4^Z60.3
+79 ;;^UTILITY(U,$J,358.3,49066,2)
+80 ;;=^5063141
+81 ;;^UTILITY(U,$J,358.3,49067,0)
+82 ;;=Z74.9^^185^2428^128
+83 ;;^UTILITY(U,$J,358.3,49067,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,49067,1,3,0)
+86 ;;=3^Problems Related to Care Provider Dependency,Unspec
+87 ;;^UTILITY(U,$J,358.3,49067,1,4,0)
+88 ;;=4^Z74.9
+89 ;;^UTILITY(U,$J,358.3,49067,2)
+90 ;;=^5063288
+91 ;;^UTILITY(U,$J,358.3,49068,0)
+92 ;;=Z63.4^^185^2428^127
+93 ;;^UTILITY(U,$J,358.3,49068,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,49068,1,3,0)
+96 ;;=3^Problems Related to Bereavement
+97 ;;^UTILITY(U,$J,358.3,49068,1,4,0)
+98 ;;=4^Z63.4
+99 ;;^UTILITY(U,$J,358.3,49068,2)
+100 ;;=^5063168
+101 ;;^UTILITY(U,$J,358.3,49069,0)
+102 ;;=Z63.6^^185^2428^129
+103 ;;^UTILITY(U,$J,358.3,49069,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,49069,1,3,0)
+106 ;;=3^Problems Related to Dependent Relative Needing Care at Home
+107 ;;^UTILITY(U,$J,358.3,49069,1,4,0)
+108 ;;=4^Z63.6
+109 ;;^UTILITY(U,$J,358.3,49069,2)
+110 ;;=^5063170
+111 ;;^UTILITY(U,$J,358.3,49070,0)
+112 ;;=Z59.2^^185^2428^131
+113 ;;^UTILITY(U,$J,358.3,49070,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,49070,1,3,0)
+116 ;;=3^Problems Related to Discord w/ Neighbors/Lodgers/Landlord
+117 ;;^UTILITY(U,$J,358.3,49070,1,4,0)
+118 ;;=4^Z59.2