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