IBDEI11B ; ; 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,16817,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16817,1,3,0)
;;=3^Presence of Coronary Angioplasty Implant/Graft
;;^UTILITY(U,$J,358.3,16817,1,4,0)
;;=4^Z95.5
;;^UTILITY(U,$J,358.3,16817,2)
;;=^5063673
;;^UTILITY(U,$J,358.3,16818,0)
;;=Z97.2^^61^776^130
;;^UTILITY(U,$J,358.3,16818,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16818,1,3,0)
;;=3^Presence of Dental Prosthetic Device
;;^UTILITY(U,$J,358.3,16818,1,4,0)
;;=4^Z97.2
;;^UTILITY(U,$J,358.3,16818,2)
;;=^5063728
;;^UTILITY(U,$J,358.3,16819,0)
;;=Z97.4^^61^776^131
;;^UTILITY(U,$J,358.3,16819,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16819,1,3,0)
;;=3^Presence of External Hearing Aid
;;^UTILITY(U,$J,358.3,16819,1,4,0)
;;=4^Z97.4
;;^UTILITY(U,$J,358.3,16819,2)
;;=^5063730
;;^UTILITY(U,$J,358.3,16820,0)
;;=Z96.622^^61^776^117
;;^UTILITY(U,$J,358.3,16820,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16820,1,3,0)
;;=3^Presence of Artificial Elbow Joint,Left
;;^UTILITY(U,$J,358.3,16820,1,4,0)
;;=4^Z96.622
;;^UTILITY(U,$J,358.3,16820,2)
;;=^5063696
;;^UTILITY(U,$J,358.3,16821,0)
;;=Z96.632^^61^776^122
;;^UTILITY(U,$J,358.3,16821,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16821,1,3,0)
;;=3^Presence of Artificial Wrist Joint,Left
;;^UTILITY(U,$J,358.3,16821,1,4,0)
;;=4^Z96.632
;;^UTILITY(U,$J,358.3,16821,2)
;;=^5063699
;;^UTILITY(U,$J,358.3,16822,0)
;;=Z96.621^^61^776^118
;;^UTILITY(U,$J,358.3,16822,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16822,1,3,0)
;;=3^Presence of Artificial Elbow Joint,Right
;;^UTILITY(U,$J,358.3,16822,1,4,0)
;;=4^Z96.621
;;^UTILITY(U,$J,358.3,16822,2)
;;=^5063695
;;^UTILITY(U,$J,358.3,16823,0)
;;=Z96.631^^61^776^123
;;^UTILITY(U,$J,358.3,16823,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16823,1,3,0)
;;=3^Presence of Artificial Wrist Joint,Right
;;^UTILITY(U,$J,358.3,16823,1,4,0)
;;=4^Z96.631
;;^UTILITY(U,$J,358.3,16823,2)
;;=^5063698
;;^UTILITY(U,$J,358.3,16824,0)
;;=Z93.6^^61^776^154
;;^UTILITY(U,$J,358.3,16824,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16824,1,3,0)
;;=3^Urostomy Status
;;^UTILITY(U,$J,358.3,16824,1,4,0)
;;=4^Z93.6
;;^UTILITY(U,$J,358.3,16824,2)
;;=^5063651
;;^UTILITY(U,$J,358.3,16825,0)
;;=Z95.820^^61^776^67
;;^UTILITY(U,$J,358.3,16825,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16825,1,3,0)
;;=3^Peripheral Vascular Angioplasty Status w/ Graft
;;^UTILITY(U,$J,358.3,16825,1,4,0)
;;=4^Z95.820
;;^UTILITY(U,$J,358.3,16825,2)
;;=^5063678
;;^UTILITY(U,$J,358.3,16826,0)
;;=Z95.0^^61^776^126
;;^UTILITY(U,$J,358.3,16826,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16826,1,3,0)
;;=3^Presence of Cardiac Pacemaker
;;^UTILITY(U,$J,358.3,16826,1,4,0)
;;=4^Z95.0
;;^UTILITY(U,$J,358.3,16826,2)
;;=^5063668
;;^UTILITY(U,$J,358.3,16827,0)
;;=Z95.810^^61^776^124
;;^UTILITY(U,$J,358.3,16827,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16827,1,3,0)
;;=3^Presence of Automatic Cardiac Debribrillator
;;^UTILITY(U,$J,358.3,16827,1,4,0)
;;=4^Z95.810
;;^UTILITY(U,$J,358.3,16827,2)
;;=^5063674
;;^UTILITY(U,$J,358.3,16828,0)
;;=Z91.51^^61^776^104
;;^UTILITY(U,$J,358.3,16828,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16828,1,3,0)
;;=3^Personal Hx of Suicidal Behavior
;;^UTILITY(U,$J,358.3,16828,1,4,0)
;;=4^Z91.51
;;^UTILITY(U,$J,358.3,16828,2)
;;=^5161317
;;^UTILITY(U,$J,358.3,16829,0)
;;=A15.0^^61^777^91
;;^UTILITY(U,$J,358.3,16829,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI11B 3797 printed Nov 22, 2024@17:10 Page 2
IBDEI11B ; ; 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,16817,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,16817,1,3,0)
+4 ;;=3^Presence of Coronary Angioplasty Implant/Graft
+5 ;;^UTILITY(U,$J,358.3,16817,1,4,0)
+6 ;;=4^Z95.5
+7 ;;^UTILITY(U,$J,358.3,16817,2)
+8 ;;=^5063673
+9 ;;^UTILITY(U,$J,358.3,16818,0)
+10 ;;=Z97.2^^61^776^130
+11 ;;^UTILITY(U,$J,358.3,16818,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,16818,1,3,0)
+14 ;;=3^Presence of Dental Prosthetic Device
+15 ;;^UTILITY(U,$J,358.3,16818,1,4,0)
+16 ;;=4^Z97.2
+17 ;;^UTILITY(U,$J,358.3,16818,2)
+18 ;;=^5063728
+19 ;;^UTILITY(U,$J,358.3,16819,0)
+20 ;;=Z97.4^^61^776^131
+21 ;;^UTILITY(U,$J,358.3,16819,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,16819,1,3,0)
+24 ;;=3^Presence of External Hearing Aid
+25 ;;^UTILITY(U,$J,358.3,16819,1,4,0)
+26 ;;=4^Z97.4
+27 ;;^UTILITY(U,$J,358.3,16819,2)
+28 ;;=^5063730
+29 ;;^UTILITY(U,$J,358.3,16820,0)
+30 ;;=Z96.622^^61^776^117
+31 ;;^UTILITY(U,$J,358.3,16820,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,16820,1,3,0)
+34 ;;=3^Presence of Artificial Elbow Joint,Left
+35 ;;^UTILITY(U,$J,358.3,16820,1,4,0)
+36 ;;=4^Z96.622
+37 ;;^UTILITY(U,$J,358.3,16820,2)
+38 ;;=^5063696
+39 ;;^UTILITY(U,$J,358.3,16821,0)
+40 ;;=Z96.632^^61^776^122
+41 ;;^UTILITY(U,$J,358.3,16821,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,16821,1,3,0)
+44 ;;=3^Presence of Artificial Wrist Joint,Left
+45 ;;^UTILITY(U,$J,358.3,16821,1,4,0)
+46 ;;=4^Z96.632
+47 ;;^UTILITY(U,$J,358.3,16821,2)
+48 ;;=^5063699
+49 ;;^UTILITY(U,$J,358.3,16822,0)
+50 ;;=Z96.621^^61^776^118
+51 ;;^UTILITY(U,$J,358.3,16822,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,16822,1,3,0)
+54 ;;=3^Presence of Artificial Elbow Joint,Right
+55 ;;^UTILITY(U,$J,358.3,16822,1,4,0)
+56 ;;=4^Z96.621
+57 ;;^UTILITY(U,$J,358.3,16822,2)
+58 ;;=^5063695
+59 ;;^UTILITY(U,$J,358.3,16823,0)
+60 ;;=Z96.631^^61^776^123
+61 ;;^UTILITY(U,$J,358.3,16823,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,16823,1,3,0)
+64 ;;=3^Presence of Artificial Wrist Joint,Right
+65 ;;^UTILITY(U,$J,358.3,16823,1,4,0)
+66 ;;=4^Z96.631
+67 ;;^UTILITY(U,$J,358.3,16823,2)
+68 ;;=^5063698
+69 ;;^UTILITY(U,$J,358.3,16824,0)
+70 ;;=Z93.6^^61^776^154
+71 ;;^UTILITY(U,$J,358.3,16824,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,16824,1,3,0)
+74 ;;=3^Urostomy Status
+75 ;;^UTILITY(U,$J,358.3,16824,1,4,0)
+76 ;;=4^Z93.6
+77 ;;^UTILITY(U,$J,358.3,16824,2)
+78 ;;=^5063651
+79 ;;^UTILITY(U,$J,358.3,16825,0)
+80 ;;=Z95.820^^61^776^67
+81 ;;^UTILITY(U,$J,358.3,16825,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,16825,1,3,0)
+84 ;;=3^Peripheral Vascular Angioplasty Status w/ Graft
+85 ;;^UTILITY(U,$J,358.3,16825,1,4,0)
+86 ;;=4^Z95.820
+87 ;;^UTILITY(U,$J,358.3,16825,2)
+88 ;;=^5063678
+89 ;;^UTILITY(U,$J,358.3,16826,0)
+90 ;;=Z95.0^^61^776^126
+91 ;;^UTILITY(U,$J,358.3,16826,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,16826,1,3,0)
+94 ;;=3^Presence of Cardiac Pacemaker
+95 ;;^UTILITY(U,$J,358.3,16826,1,4,0)
+96 ;;=4^Z95.0
+97 ;;^UTILITY(U,$J,358.3,16826,2)
+98 ;;=^5063668
+99 ;;^UTILITY(U,$J,358.3,16827,0)
+100 ;;=Z95.810^^61^776^124
+101 ;;^UTILITY(U,$J,358.3,16827,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,16827,1,3,0)
+104 ;;=3^Presence of Automatic Cardiac Debribrillator
+105 ;;^UTILITY(U,$J,358.3,16827,1,4,0)
+106 ;;=4^Z95.810
+107 ;;^UTILITY(U,$J,358.3,16827,2)
+108 ;;=^5063674
+109 ;;^UTILITY(U,$J,358.3,16828,0)
+110 ;;=Z91.51^^61^776^104
+111 ;;^UTILITY(U,$J,358.3,16828,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,16828,1,3,0)
+114 ;;=3^Personal Hx of Suicidal Behavior
+115 ;;^UTILITY(U,$J,358.3,16828,1,4,0)
+116 ;;=4^Z91.51
+117 ;;^UTILITY(U,$J,358.3,16828,2)
+118 ;;=^5161317
+119 ;;^UTILITY(U,$J,358.3,16829,0)
+120 ;;=A15.0^^61^777^91
+121 ;;^UTILITY(U,$J,358.3,16829,1,0)
+122 ;;=^358.31IA^4^2