IBDEI27S ; ; 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,35362,1,4,0)
;;=4^Z96.60
;;^UTILITY(U,$J,358.3,35362,2)
;;=^5063691
;;^UTILITY(U,$J,358.3,35363,0)
;;=Z96.661^^137^1801^8
;;^UTILITY(U,$J,358.3,35363,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35363,1,3,0)
;;=3^Presence of right artificial ankle joint
;;^UTILITY(U,$J,358.3,35363,1,4,0)
;;=4^Z96.661
;;^UTILITY(U,$J,358.3,35363,2)
;;=^5063709
;;^UTILITY(U,$J,358.3,35364,0)
;;=Z96.621^^137^1801^9
;;^UTILITY(U,$J,358.3,35364,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35364,1,3,0)
;;=3^Presence of right artificial elbow joint
;;^UTILITY(U,$J,358.3,35364,1,4,0)
;;=4^Z96.621
;;^UTILITY(U,$J,358.3,35364,2)
;;=^5063695
;;^UTILITY(U,$J,358.3,35365,0)
;;=Z96.641^^137^1801^10
;;^UTILITY(U,$J,358.3,35365,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35365,1,3,0)
;;=3^Presence of right artificial hip joint
;;^UTILITY(U,$J,358.3,35365,1,4,0)
;;=4^Z96.641
;;^UTILITY(U,$J,358.3,35365,2)
;;=^5063701
;;^UTILITY(U,$J,358.3,35366,0)
;;=Z96.651^^137^1801^11
;;^UTILITY(U,$J,358.3,35366,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35366,1,3,0)
;;=3^Presence of right artificial knee joint
;;^UTILITY(U,$J,358.3,35366,1,4,0)
;;=4^Z96.651
;;^UTILITY(U,$J,358.3,35366,2)
;;=^5063705
;;^UTILITY(U,$J,358.3,35367,0)
;;=Z96.611^^137^1801^12
;;^UTILITY(U,$J,358.3,35367,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35367,1,3,0)
;;=3^Presence of right artificial shoulder joint
;;^UTILITY(U,$J,358.3,35367,1,4,0)
;;=4^Z96.611
;;^UTILITY(U,$J,358.3,35367,2)
;;=^5063692
;;^UTILITY(U,$J,358.3,35368,0)
;;=Z96.631^^137^1801^13
;;^UTILITY(U,$J,358.3,35368,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35368,1,3,0)
;;=3^Presence of right artificial wrist joint
;;^UTILITY(U,$J,358.3,35368,1,4,0)
;;=4^Z96.631
;;^UTILITY(U,$J,358.3,35368,2)
;;=^5063698
;;^UTILITY(U,$J,358.3,35369,0)
;;=M05.772^^137^1802^1
;;^UTILITY(U,$J,358.3,35369,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35369,1,3,0)
;;=3^Rheum Arthritis w/ Rheum Factor,Lt Ankle/Foot
;;^UTILITY(U,$J,358.3,35369,1,4,0)
;;=4^M05.772
;;^UTILITY(U,$J,358.3,35369,2)
;;=^5010020
;;^UTILITY(U,$J,358.3,35370,0)
;;=M05.722^^137^1802^2
;;^UTILITY(U,$J,358.3,35370,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35370,1,3,0)
;;=3^Rheum Arthritis w/ Rheum Factor,Lt Elbow
;;^UTILITY(U,$J,358.3,35370,1,4,0)
;;=4^M05.722
;;^UTILITY(U,$J,358.3,35370,2)
;;=^5010005
;;^UTILITY(U,$J,358.3,35371,0)
;;=M05.742^^137^1802^3
;;^UTILITY(U,$J,358.3,35371,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35371,1,3,0)
;;=3^Rheum Arthritis w/ Rheum Factor,Lt Hand
;;^UTILITY(U,$J,358.3,35371,1,4,0)
;;=4^M05.742
;;^UTILITY(U,$J,358.3,35371,2)
;;=^5010011
;;^UTILITY(U,$J,358.3,35372,0)
;;=M05.752^^137^1802^4
;;^UTILITY(U,$J,358.3,35372,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35372,1,3,0)
;;=3^Rheum Arthritis w/ Rheum Factor,Lt Hip
;;^UTILITY(U,$J,358.3,35372,1,4,0)
;;=4^M05.752
;;^UTILITY(U,$J,358.3,35372,2)
;;=^5010014
;;^UTILITY(U,$J,358.3,35373,0)
;;=M05.752^^137^1802^5
;;^UTILITY(U,$J,358.3,35373,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35373,1,3,0)
;;=3^Rheum Arthritis w/ Rheum Factor,Lt Hip
;;^UTILITY(U,$J,358.3,35373,1,4,0)
;;=4^M05.752
;;^UTILITY(U,$J,358.3,35373,2)
;;=^5010014
;;^UTILITY(U,$J,358.3,35374,0)
;;=M05.762^^137^1802^6
;;^UTILITY(U,$J,358.3,35374,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,35374,1,3,0)
;;=3^Rheum Arthritis w/ Rheum Factor,Lt Knee
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI27S 3810 printed Dec 13, 2024@02:23:26 Page 2
IBDEI27S ; ; 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,35362,1,4,0)
+2 ;;=4^Z96.60
+3 ;;^UTILITY(U,$J,358.3,35362,2)
+4 ;;=^5063691
+5 ;;^UTILITY(U,$J,358.3,35363,0)
+6 ;;=Z96.661^^137^1801^8
+7 ;;^UTILITY(U,$J,358.3,35363,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,35363,1,3,0)
+10 ;;=3^Presence of right artificial ankle joint
+11 ;;^UTILITY(U,$J,358.3,35363,1,4,0)
+12 ;;=4^Z96.661
+13 ;;^UTILITY(U,$J,358.3,35363,2)
+14 ;;=^5063709
+15 ;;^UTILITY(U,$J,358.3,35364,0)
+16 ;;=Z96.621^^137^1801^9
+17 ;;^UTILITY(U,$J,358.3,35364,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,35364,1,3,0)
+20 ;;=3^Presence of right artificial elbow joint
+21 ;;^UTILITY(U,$J,358.3,35364,1,4,0)
+22 ;;=4^Z96.621
+23 ;;^UTILITY(U,$J,358.3,35364,2)
+24 ;;=^5063695
+25 ;;^UTILITY(U,$J,358.3,35365,0)
+26 ;;=Z96.641^^137^1801^10
+27 ;;^UTILITY(U,$J,358.3,35365,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,35365,1,3,0)
+30 ;;=3^Presence of right artificial hip joint
+31 ;;^UTILITY(U,$J,358.3,35365,1,4,0)
+32 ;;=4^Z96.641
+33 ;;^UTILITY(U,$J,358.3,35365,2)
+34 ;;=^5063701
+35 ;;^UTILITY(U,$J,358.3,35366,0)
+36 ;;=Z96.651^^137^1801^11
+37 ;;^UTILITY(U,$J,358.3,35366,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,35366,1,3,0)
+40 ;;=3^Presence of right artificial knee joint
+41 ;;^UTILITY(U,$J,358.3,35366,1,4,0)
+42 ;;=4^Z96.651
+43 ;;^UTILITY(U,$J,358.3,35366,2)
+44 ;;=^5063705
+45 ;;^UTILITY(U,$J,358.3,35367,0)
+46 ;;=Z96.611^^137^1801^12
+47 ;;^UTILITY(U,$J,358.3,35367,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,35367,1,3,0)
+50 ;;=3^Presence of right artificial shoulder joint
+51 ;;^UTILITY(U,$J,358.3,35367,1,4,0)
+52 ;;=4^Z96.611
+53 ;;^UTILITY(U,$J,358.3,35367,2)
+54 ;;=^5063692
+55 ;;^UTILITY(U,$J,358.3,35368,0)
+56 ;;=Z96.631^^137^1801^13
+57 ;;^UTILITY(U,$J,358.3,35368,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,35368,1,3,0)
+60 ;;=3^Presence of right artificial wrist joint
+61 ;;^UTILITY(U,$J,358.3,35368,1,4,0)
+62 ;;=4^Z96.631
+63 ;;^UTILITY(U,$J,358.3,35368,2)
+64 ;;=^5063698
+65 ;;^UTILITY(U,$J,358.3,35369,0)
+66 ;;=M05.772^^137^1802^1
+67 ;;^UTILITY(U,$J,358.3,35369,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,35369,1,3,0)
+70 ;;=3^Rheum Arthritis w/ Rheum Factor,Lt Ankle/Foot
+71 ;;^UTILITY(U,$J,358.3,35369,1,4,0)
+72 ;;=4^M05.772
+73 ;;^UTILITY(U,$J,358.3,35369,2)
+74 ;;=^5010020
+75 ;;^UTILITY(U,$J,358.3,35370,0)
+76 ;;=M05.722^^137^1802^2
+77 ;;^UTILITY(U,$J,358.3,35370,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,35370,1,3,0)
+80 ;;=3^Rheum Arthritis w/ Rheum Factor,Lt Elbow
+81 ;;^UTILITY(U,$J,358.3,35370,1,4,0)
+82 ;;=4^M05.722
+83 ;;^UTILITY(U,$J,358.3,35370,2)
+84 ;;=^5010005
+85 ;;^UTILITY(U,$J,358.3,35371,0)
+86 ;;=M05.742^^137^1802^3
+87 ;;^UTILITY(U,$J,358.3,35371,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,35371,1,3,0)
+90 ;;=3^Rheum Arthritis w/ Rheum Factor,Lt Hand
+91 ;;^UTILITY(U,$J,358.3,35371,1,4,0)
+92 ;;=4^M05.742
+93 ;;^UTILITY(U,$J,358.3,35371,2)
+94 ;;=^5010011
+95 ;;^UTILITY(U,$J,358.3,35372,0)
+96 ;;=M05.752^^137^1802^4
+97 ;;^UTILITY(U,$J,358.3,35372,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,35372,1,3,0)
+100 ;;=3^Rheum Arthritis w/ Rheum Factor,Lt Hip
+101 ;;^UTILITY(U,$J,358.3,35372,1,4,0)
+102 ;;=4^M05.752
+103 ;;^UTILITY(U,$J,358.3,35372,2)
+104 ;;=^5010014
+105 ;;^UTILITY(U,$J,358.3,35373,0)
+106 ;;=M05.752^^137^1802^5
+107 ;;^UTILITY(U,$J,358.3,35373,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,35373,1,3,0)
+110 ;;=3^Rheum Arthritis w/ Rheum Factor,Lt Hip
+111 ;;^UTILITY(U,$J,358.3,35373,1,4,0)
+112 ;;=4^M05.752
+113 ;;^UTILITY(U,$J,358.3,35373,2)
+114 ;;=^5010014
+115 ;;^UTILITY(U,$J,358.3,35374,0)
+116 ;;=M05.762^^137^1802^6
+117 ;;^UTILITY(U,$J,358.3,35374,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,35374,1,3,0)
+120 ;;=3^Rheum Arthritis w/ Rheum Factor,Lt Knee