IBDEI1WZ ; ; 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,30566,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30566,1,1,0)
;;=1^Comp/Mod MDM
;;^UTILITY(U,$J,358.3,30566,1,2,0)
;;=2^99254
;;^UTILITY(U,$J,358.3,30567,0)
;;=99255^^121^1564^5
;;^UTILITY(U,$J,358.3,30567,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30567,1,1,0)
;;=1^Comp/High Complex MDM
;;^UTILITY(U,$J,358.3,30567,1,2,0)
;;=2^99255
;;^UTILITY(U,$J,358.3,30568,0)
;;=99221^^121^1565^1
;;^UTILITY(U,$J,358.3,30568,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30568,1,1,0)
;;=1^Detailed/Comp HX/Exam;Straight MDM
;;^UTILITY(U,$J,358.3,30568,1,2,0)
;;=2^99221
;;^UTILITY(U,$J,358.3,30569,0)
;;=99222^^121^1565^2
;;^UTILITY(U,$J,358.3,30569,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30569,1,1,0)
;;=1^Detailed/Comp HX/Exam;Mod MDM
;;^UTILITY(U,$J,358.3,30569,1,2,0)
;;=2^99222
;;^UTILITY(U,$J,358.3,30570,0)
;;=99223^^121^1565^3
;;^UTILITY(U,$J,358.3,30570,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30570,1,1,0)
;;=1^Comp HX/Exam;High Complex MDM
;;^UTILITY(U,$J,358.3,30570,1,2,0)
;;=2^99223
;;^UTILITY(U,$J,358.3,30571,0)
;;=99231^^121^1566^1
;;^UTILITY(U,$J,358.3,30571,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30571,1,1,0)
;;=1^Prob Foc HX/Exam;Straight MDM
;;^UTILITY(U,$J,358.3,30571,1,2,0)
;;=2^99231
;;^UTILITY(U,$J,358.3,30572,0)
;;=99232^^121^1566^2
;;^UTILITY(U,$J,358.3,30572,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30572,1,1,0)
;;=1^Exp Prob Foc HX/Exam;Mod MDM
;;^UTILITY(U,$J,358.3,30572,1,2,0)
;;=2^99232
;;^UTILITY(U,$J,358.3,30573,0)
;;=99233^^121^1566^3
;;^UTILITY(U,$J,358.3,30573,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30573,1,1,0)
;;=1^Comp HS/Exam;High Complex MDM
;;^UTILITY(U,$J,358.3,30573,1,2,0)
;;=2^99233
;;^UTILITY(U,$J,358.3,30574,0)
;;=99238^^121^1567^1
;;^UTILITY(U,$J,358.3,30574,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30574,1,1,0)
;;=1^D/C Day Mgmt;< 31min
;;^UTILITY(U,$J,358.3,30574,1,2,0)
;;=2^99238
;;^UTILITY(U,$J,358.3,30575,0)
;;=99239^^121^1567^2
;;^UTILITY(U,$J,358.3,30575,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30575,1,1,0)
;;=1^D/C Day Mgmt;> 30min
;;^UTILITY(U,$J,358.3,30575,1,2,0)
;;=2^99239
;;^UTILITY(U,$J,358.3,30576,0)
;;=99224^^121^1568^1
;;^UTILITY(U,$J,358.3,30576,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30576,1,1,0)
;;=1^Prob Foc HX/Exam;Straight MDM
;;^UTILITY(U,$J,358.3,30576,1,2,0)
;;=2^99224
;;^UTILITY(U,$J,358.3,30577,0)
;;=99225^^121^1568^2
;;^UTILITY(U,$J,358.3,30577,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30577,1,1,0)
;;=1^Exp Prob Foc HX/Exam;Mod MDM
;;^UTILITY(U,$J,358.3,30577,1,2,0)
;;=2^99225
;;^UTILITY(U,$J,358.3,30578,0)
;;=99226^^121^1568^3
;;^UTILITY(U,$J,358.3,30578,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30578,1,1,0)
;;=1^Detail HX/Exam;High Complex MDM
;;^UTILITY(U,$J,358.3,30578,1,2,0)
;;=2^99226
;;^UTILITY(U,$J,358.3,30579,0)
;;=99217^^121^1569^1
;;^UTILITY(U,$J,358.3,30579,1,0)
;;=^358.31IA^2^2
;;^UTILITY(U,$J,358.3,30579,1,1,0)
;;=1^Observation D/C Day Mgmt
;;^UTILITY(U,$J,358.3,30579,1,2,0)
;;=2^99217
;;^UTILITY(U,$J,358.3,30580,0)
;;=99354^^122^1570^3^^^^1
;;^UTILITY(U,$J,358.3,30580,1,0)
;;=^358.31IA^3^2
;;^UTILITY(U,$J,358.3,30580,1,2,0)
;;=2^Outpt Prolonged Svc,1st Hr
;;^UTILITY(U,$J,358.3,30580,1,3,0)
;;=3^99354
;;^UTILITY(U,$J,358.3,30581,0)
;;=99355^^122^1570^4^^^^1
;;^UTILITY(U,$J,358.3,30581,1,0)
;;=^358.31IA^3^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1WZ 3784 printed Nov 22, 2024@17:27:36 Page 2
IBDEI1WZ ; ; 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,30566,1,0)
+2 ;;=^358.31IA^2^2
+3 ;;^UTILITY(U,$J,358.3,30566,1,1,0)
+4 ;;=1^Comp/Mod MDM
+5 ;;^UTILITY(U,$J,358.3,30566,1,2,0)
+6 ;;=2^99254
+7 ;;^UTILITY(U,$J,358.3,30567,0)
+8 ;;=99255^^121^1564^5
+9 ;;^UTILITY(U,$J,358.3,30567,1,0)
+10 ;;=^358.31IA^2^2
+11 ;;^UTILITY(U,$J,358.3,30567,1,1,0)
+12 ;;=1^Comp/High Complex MDM
+13 ;;^UTILITY(U,$J,358.3,30567,1,2,0)
+14 ;;=2^99255
+15 ;;^UTILITY(U,$J,358.3,30568,0)
+16 ;;=99221^^121^1565^1
+17 ;;^UTILITY(U,$J,358.3,30568,1,0)
+18 ;;=^358.31IA^2^2
+19 ;;^UTILITY(U,$J,358.3,30568,1,1,0)
+20 ;;=1^Detailed/Comp HX/Exam;Straight MDM
+21 ;;^UTILITY(U,$J,358.3,30568,1,2,0)
+22 ;;=2^99221
+23 ;;^UTILITY(U,$J,358.3,30569,0)
+24 ;;=99222^^121^1565^2
+25 ;;^UTILITY(U,$J,358.3,30569,1,0)
+26 ;;=^358.31IA^2^2
+27 ;;^UTILITY(U,$J,358.3,30569,1,1,0)
+28 ;;=1^Detailed/Comp HX/Exam;Mod MDM
+29 ;;^UTILITY(U,$J,358.3,30569,1,2,0)
+30 ;;=2^99222
+31 ;;^UTILITY(U,$J,358.3,30570,0)
+32 ;;=99223^^121^1565^3
+33 ;;^UTILITY(U,$J,358.3,30570,1,0)
+34 ;;=^358.31IA^2^2
+35 ;;^UTILITY(U,$J,358.3,30570,1,1,0)
+36 ;;=1^Comp HX/Exam;High Complex MDM
+37 ;;^UTILITY(U,$J,358.3,30570,1,2,0)
+38 ;;=2^99223
+39 ;;^UTILITY(U,$J,358.3,30571,0)
+40 ;;=99231^^121^1566^1
+41 ;;^UTILITY(U,$J,358.3,30571,1,0)
+42 ;;=^358.31IA^2^2
+43 ;;^UTILITY(U,$J,358.3,30571,1,1,0)
+44 ;;=1^Prob Foc HX/Exam;Straight MDM
+45 ;;^UTILITY(U,$J,358.3,30571,1,2,0)
+46 ;;=2^99231
+47 ;;^UTILITY(U,$J,358.3,30572,0)
+48 ;;=99232^^121^1566^2
+49 ;;^UTILITY(U,$J,358.3,30572,1,0)
+50 ;;=^358.31IA^2^2
+51 ;;^UTILITY(U,$J,358.3,30572,1,1,0)
+52 ;;=1^Exp Prob Foc HX/Exam;Mod MDM
+53 ;;^UTILITY(U,$J,358.3,30572,1,2,0)
+54 ;;=2^99232
+55 ;;^UTILITY(U,$J,358.3,30573,0)
+56 ;;=99233^^121^1566^3
+57 ;;^UTILITY(U,$J,358.3,30573,1,0)
+58 ;;=^358.31IA^2^2
+59 ;;^UTILITY(U,$J,358.3,30573,1,1,0)
+60 ;;=1^Comp HS/Exam;High Complex MDM
+61 ;;^UTILITY(U,$J,358.3,30573,1,2,0)
+62 ;;=2^99233
+63 ;;^UTILITY(U,$J,358.3,30574,0)
+64 ;;=99238^^121^1567^1
+65 ;;^UTILITY(U,$J,358.3,30574,1,0)
+66 ;;=^358.31IA^2^2
+67 ;;^UTILITY(U,$J,358.3,30574,1,1,0)
+68 ;;=1^D/C Day Mgmt;< 31min
+69 ;;^UTILITY(U,$J,358.3,30574,1,2,0)
+70 ;;=2^99238
+71 ;;^UTILITY(U,$J,358.3,30575,0)
+72 ;;=99239^^121^1567^2
+73 ;;^UTILITY(U,$J,358.3,30575,1,0)
+74 ;;=^358.31IA^2^2
+75 ;;^UTILITY(U,$J,358.3,30575,1,1,0)
+76 ;;=1^D/C Day Mgmt;> 30min
+77 ;;^UTILITY(U,$J,358.3,30575,1,2,0)
+78 ;;=2^99239
+79 ;;^UTILITY(U,$J,358.3,30576,0)
+80 ;;=99224^^121^1568^1
+81 ;;^UTILITY(U,$J,358.3,30576,1,0)
+82 ;;=^358.31IA^2^2
+83 ;;^UTILITY(U,$J,358.3,30576,1,1,0)
+84 ;;=1^Prob Foc HX/Exam;Straight MDM
+85 ;;^UTILITY(U,$J,358.3,30576,1,2,0)
+86 ;;=2^99224
+87 ;;^UTILITY(U,$J,358.3,30577,0)
+88 ;;=99225^^121^1568^2
+89 ;;^UTILITY(U,$J,358.3,30577,1,0)
+90 ;;=^358.31IA^2^2
+91 ;;^UTILITY(U,$J,358.3,30577,1,1,0)
+92 ;;=1^Exp Prob Foc HX/Exam;Mod MDM
+93 ;;^UTILITY(U,$J,358.3,30577,1,2,0)
+94 ;;=2^99225
+95 ;;^UTILITY(U,$J,358.3,30578,0)
+96 ;;=99226^^121^1568^3
+97 ;;^UTILITY(U,$J,358.3,30578,1,0)
+98 ;;=^358.31IA^2^2
+99 ;;^UTILITY(U,$J,358.3,30578,1,1,0)
+100 ;;=1^Detail HX/Exam;High Complex MDM
+101 ;;^UTILITY(U,$J,358.3,30578,1,2,0)
+102 ;;=2^99226
+103 ;;^UTILITY(U,$J,358.3,30579,0)
+104 ;;=99217^^121^1569^1
+105 ;;^UTILITY(U,$J,358.3,30579,1,0)
+106 ;;=^358.31IA^2^2
+107 ;;^UTILITY(U,$J,358.3,30579,1,1,0)
+108 ;;=1^Observation D/C Day Mgmt
+109 ;;^UTILITY(U,$J,358.3,30579,1,2,0)
+110 ;;=2^99217
+111 ;;^UTILITY(U,$J,358.3,30580,0)
+112 ;;=99354^^122^1570^3^^^^1
+113 ;;^UTILITY(U,$J,358.3,30580,1,0)
+114 ;;=^358.31IA^3^2
+115 ;;^UTILITY(U,$J,358.3,30580,1,2,0)
+116 ;;=2^Outpt Prolonged Svc,1st Hr
+117 ;;^UTILITY(U,$J,358.3,30580,1,3,0)
+118 ;;=3^99354
+119 ;;^UTILITY(U,$J,358.3,30581,0)
+120 ;;=99355^^122^1570^4^^^^1
+121 ;;^UTILITY(U,$J,358.3,30581,1,0)
+122 ;;=^358.31IA^3^2