IBDEI36Y ; ; 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,50952,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50952,1,3,0)
;;=3^Presence of Right Artificial Shoulder Joint
;;^UTILITY(U,$J,358.3,50952,1,4,0)
;;=4^Z96.611
;;^UTILITY(U,$J,358.3,50952,2)
;;=^5063692
;;^UTILITY(U,$J,358.3,50953,0)
;;=Z93.0^^193^2498^151
;;^UTILITY(U,$J,358.3,50953,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50953,1,3,0)
;;=3^Tracheostomy Status
;;^UTILITY(U,$J,358.3,50953,1,4,0)
;;=4^Z93.0
;;^UTILITY(U,$J,358.3,50953,2)
;;=^5063642
;;^UTILITY(U,$J,358.3,50954,0)
;;=Z99.3^^193^2498^156
;;^UTILITY(U,$J,358.3,50954,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50954,1,3,0)
;;=3^Wheelchair Dependence
;;^UTILITY(U,$J,358.3,50954,1,4,0)
;;=4^Z99.3
;;^UTILITY(U,$J,358.3,50954,2)
;;=^5063759
;;^UTILITY(U,$J,358.3,50955,0)
;;=Z83.42^^193^2498^21
;;^UTILITY(U,$J,358.3,50955,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50955,1,3,0)
;;=3^Family Hx of Familial Hypercholesterolemia
;;^UTILITY(U,$J,358.3,50955,1,4,0)
;;=4^Z83.42
;;^UTILITY(U,$J,358.3,50955,2)
;;=^8132985
;;^UTILITY(U,$J,358.3,50956,0)
;;=Z98.890^^193^2498^114
;;^UTILITY(U,$J,358.3,50956,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50956,1,3,0)
;;=3^Postprocedural States/HX of Surgery NEC
;;^UTILITY(U,$J,358.3,50956,1,4,0)
;;=4^Z98.890
;;^UTILITY(U,$J,358.3,50956,2)
;;=^5063754
;;^UTILITY(U,$J,358.3,50957,0)
;;=Z95.1^^193^2498^115
;;^UTILITY(U,$J,358.3,50957,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50957,1,3,0)
;;=3^Presence of Aortocoronary Bypass
;;^UTILITY(U,$J,358.3,50957,1,4,0)
;;=4^Z95.1
;;^UTILITY(U,$J,358.3,50957,2)
;;=^5063669
;;^UTILITY(U,$J,358.3,50958,0)
;;=Z98.2^^193^2498^127
;;^UTILITY(U,$J,358.3,50958,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50958,1,3,0)
;;=3^Presence of Cerebrospinal Fluid Drainage Device
;;^UTILITY(U,$J,358.3,50958,1,4,0)
;;=4^Z98.2
;;^UTILITY(U,$J,358.3,50958,2)
;;=^5063735
;;^UTILITY(U,$J,358.3,50959,0)
;;=Z97.5^^193^2498^128
;;^UTILITY(U,$J,358.3,50959,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50959,1,3,0)
;;=3^Presence of Contraceptive (Intrauterine) Device
;;^UTILITY(U,$J,358.3,50959,1,4,0)
;;=4^Z97.5
;;^UTILITY(U,$J,358.3,50959,2)
;;=^5063731
;;^UTILITY(U,$J,358.3,50960,0)
;;=Z95.5^^193^2498^129
;;^UTILITY(U,$J,358.3,50960,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50960,1,3,0)
;;=3^Presence of Coronary Angioplasty Implant/Graft
;;^UTILITY(U,$J,358.3,50960,1,4,0)
;;=4^Z95.5
;;^UTILITY(U,$J,358.3,50960,2)
;;=^5063673
;;^UTILITY(U,$J,358.3,50961,0)
;;=Z97.2^^193^2498^130
;;^UTILITY(U,$J,358.3,50961,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50961,1,3,0)
;;=3^Presence of Dental Prosthetic Device
;;^UTILITY(U,$J,358.3,50961,1,4,0)
;;=4^Z97.2
;;^UTILITY(U,$J,358.3,50961,2)
;;=^5063728
;;^UTILITY(U,$J,358.3,50962,0)
;;=Z97.4^^193^2498^131
;;^UTILITY(U,$J,358.3,50962,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50962,1,3,0)
;;=3^Presence of External Hearing Aid
;;^UTILITY(U,$J,358.3,50962,1,4,0)
;;=4^Z97.4
;;^UTILITY(U,$J,358.3,50962,2)
;;=^5063730
;;^UTILITY(U,$J,358.3,50963,0)
;;=Z96.622^^193^2498^117
;;^UTILITY(U,$J,358.3,50963,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,50963,1,3,0)
;;=3^Presence of Artificial Elbow Joint,Left
;;^UTILITY(U,$J,358.3,50963,1,4,0)
;;=4^Z96.622
;;^UTILITY(U,$J,358.3,50963,2)
;;=^5063696
;;^UTILITY(U,$J,358.3,50964,0)
;;=Z96.632^^193^2498^122
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI36Y 3760 printed Dec 13, 2024@02:43 Page 2
IBDEI36Y ; ; 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,50952,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,50952,1,3,0)
+4 ;;=3^Presence of Right Artificial Shoulder Joint
+5 ;;^UTILITY(U,$J,358.3,50952,1,4,0)
+6 ;;=4^Z96.611
+7 ;;^UTILITY(U,$J,358.3,50952,2)
+8 ;;=^5063692
+9 ;;^UTILITY(U,$J,358.3,50953,0)
+10 ;;=Z93.0^^193^2498^151
+11 ;;^UTILITY(U,$J,358.3,50953,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,50953,1,3,0)
+14 ;;=3^Tracheostomy Status
+15 ;;^UTILITY(U,$J,358.3,50953,1,4,0)
+16 ;;=4^Z93.0
+17 ;;^UTILITY(U,$J,358.3,50953,2)
+18 ;;=^5063642
+19 ;;^UTILITY(U,$J,358.3,50954,0)
+20 ;;=Z99.3^^193^2498^156
+21 ;;^UTILITY(U,$J,358.3,50954,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,50954,1,3,0)
+24 ;;=3^Wheelchair Dependence
+25 ;;^UTILITY(U,$J,358.3,50954,1,4,0)
+26 ;;=4^Z99.3
+27 ;;^UTILITY(U,$J,358.3,50954,2)
+28 ;;=^5063759
+29 ;;^UTILITY(U,$J,358.3,50955,0)
+30 ;;=Z83.42^^193^2498^21
+31 ;;^UTILITY(U,$J,358.3,50955,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,50955,1,3,0)
+34 ;;=3^Family Hx of Familial Hypercholesterolemia
+35 ;;^UTILITY(U,$J,358.3,50955,1,4,0)
+36 ;;=4^Z83.42
+37 ;;^UTILITY(U,$J,358.3,50955,2)
+38 ;;=^8132985
+39 ;;^UTILITY(U,$J,358.3,50956,0)
+40 ;;=Z98.890^^193^2498^114
+41 ;;^UTILITY(U,$J,358.3,50956,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,50956,1,3,0)
+44 ;;=3^Postprocedural States/HX of Surgery NEC
+45 ;;^UTILITY(U,$J,358.3,50956,1,4,0)
+46 ;;=4^Z98.890
+47 ;;^UTILITY(U,$J,358.3,50956,2)
+48 ;;=^5063754
+49 ;;^UTILITY(U,$J,358.3,50957,0)
+50 ;;=Z95.1^^193^2498^115
+51 ;;^UTILITY(U,$J,358.3,50957,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,50957,1,3,0)
+54 ;;=3^Presence of Aortocoronary Bypass
+55 ;;^UTILITY(U,$J,358.3,50957,1,4,0)
+56 ;;=4^Z95.1
+57 ;;^UTILITY(U,$J,358.3,50957,2)
+58 ;;=^5063669
+59 ;;^UTILITY(U,$J,358.3,50958,0)
+60 ;;=Z98.2^^193^2498^127
+61 ;;^UTILITY(U,$J,358.3,50958,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,50958,1,3,0)
+64 ;;=3^Presence of Cerebrospinal Fluid Drainage Device
+65 ;;^UTILITY(U,$J,358.3,50958,1,4,0)
+66 ;;=4^Z98.2
+67 ;;^UTILITY(U,$J,358.3,50958,2)
+68 ;;=^5063735
+69 ;;^UTILITY(U,$J,358.3,50959,0)
+70 ;;=Z97.5^^193^2498^128
+71 ;;^UTILITY(U,$J,358.3,50959,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,50959,1,3,0)
+74 ;;=3^Presence of Contraceptive (Intrauterine) Device
+75 ;;^UTILITY(U,$J,358.3,50959,1,4,0)
+76 ;;=4^Z97.5
+77 ;;^UTILITY(U,$J,358.3,50959,2)
+78 ;;=^5063731
+79 ;;^UTILITY(U,$J,358.3,50960,0)
+80 ;;=Z95.5^^193^2498^129
+81 ;;^UTILITY(U,$J,358.3,50960,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,50960,1,3,0)
+84 ;;=3^Presence of Coronary Angioplasty Implant/Graft
+85 ;;^UTILITY(U,$J,358.3,50960,1,4,0)
+86 ;;=4^Z95.5
+87 ;;^UTILITY(U,$J,358.3,50960,2)
+88 ;;=^5063673
+89 ;;^UTILITY(U,$J,358.3,50961,0)
+90 ;;=Z97.2^^193^2498^130
+91 ;;^UTILITY(U,$J,358.3,50961,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,50961,1,3,0)
+94 ;;=3^Presence of Dental Prosthetic Device
+95 ;;^UTILITY(U,$J,358.3,50961,1,4,0)
+96 ;;=4^Z97.2
+97 ;;^UTILITY(U,$J,358.3,50961,2)
+98 ;;=^5063728
+99 ;;^UTILITY(U,$J,358.3,50962,0)
+100 ;;=Z97.4^^193^2498^131
+101 ;;^UTILITY(U,$J,358.3,50962,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,50962,1,3,0)
+104 ;;=3^Presence of External Hearing Aid
+105 ;;^UTILITY(U,$J,358.3,50962,1,4,0)
+106 ;;=4^Z97.4
+107 ;;^UTILITY(U,$J,358.3,50962,2)
+108 ;;=^5063730
+109 ;;^UTILITY(U,$J,358.3,50963,0)
+110 ;;=Z96.622^^193^2498^117
+111 ;;^UTILITY(U,$J,358.3,50963,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,50963,1,3,0)
+114 ;;=3^Presence of Artificial Elbow Joint,Left
+115 ;;^UTILITY(U,$J,358.3,50963,1,4,0)
+116 ;;=4^Z96.622
+117 ;;^UTILITY(U,$J,358.3,50963,2)
+118 ;;=^5063696
+119 ;;^UTILITY(U,$J,358.3,50964,0)
+120 ;;=Z96.632^^193^2498^122