IBDEI0JL ; ; 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,8814,0)
;;=Z96.21^^39^402^6
;;^UTILITY(U,$J,358.3,8814,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8814,1,3,0)
;;=3^Cochlear Implant Status
;;^UTILITY(U,$J,358.3,8814,1,4,0)
;;=4^Z96.21
;;^UTILITY(U,$J,358.3,8814,2)
;;=^5063684
;;^UTILITY(U,$J,358.3,8815,0)
;;=Z96.41^^39^402^132
;;^UTILITY(U,$J,358.3,8815,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8815,1,3,0)
;;=3^Presence of Insulin Pump
;;^UTILITY(U,$J,358.3,8815,1,4,0)
;;=4^Z96.41
;;^UTILITY(U,$J,358.3,8815,2)
;;=^5063688
;;^UTILITY(U,$J,358.3,8816,0)
;;=Z96.641^^39^402^140
;;^UTILITY(U,$J,358.3,8816,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8816,1,3,0)
;;=3^Presence of Right Artificial Hip Jt
;;^UTILITY(U,$J,358.3,8816,1,4,0)
;;=4^Z96.641
;;^UTILITY(U,$J,358.3,8816,2)
;;=^5063701
;;^UTILITY(U,$J,358.3,8817,0)
;;=Z96.642^^39^402^135
;;^UTILITY(U,$J,358.3,8817,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8817,1,3,0)
;;=3^Presence of Left Artificial Hip Jt
;;^UTILITY(U,$J,358.3,8817,1,4,0)
;;=4^Z96.642
;;^UTILITY(U,$J,358.3,8817,2)
;;=^5063702
;;^UTILITY(U,$J,358.3,8818,0)
;;=Z96.643^^39^402^119
;;^UTILITY(U,$J,358.3,8818,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8818,1,3,0)
;;=3^Presence of Artificial Hip Jt,Bilateral
;;^UTILITY(U,$J,358.3,8818,1,4,0)
;;=4^Z96.643
;;^UTILITY(U,$J,358.3,8818,2)
;;=^5063703
;;^UTILITY(U,$J,358.3,8819,0)
;;=Z96.651^^39^402^141
;;^UTILITY(U,$J,358.3,8819,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8819,1,3,0)
;;=3^Presence of Right Artificial Knee Jt
;;^UTILITY(U,$J,358.3,8819,1,4,0)
;;=4^Z96.651
;;^UTILITY(U,$J,358.3,8819,2)
;;=^5063705
;;^UTILITY(U,$J,358.3,8820,0)
;;=Z96.652^^39^402^136
;;^UTILITY(U,$J,358.3,8820,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8820,1,3,0)
;;=3^Presence of Left Artificial Knee Jt
;;^UTILITY(U,$J,358.3,8820,1,4,0)
;;=4^Z96.652
;;^UTILITY(U,$J,358.3,8820,2)
;;=^5063706
;;^UTILITY(U,$J,358.3,8821,0)
;;=Z96.653^^39^402^120
;;^UTILITY(U,$J,358.3,8821,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8821,1,3,0)
;;=3^Presence of Artificial Knee Jt,Bilateral
;;^UTILITY(U,$J,358.3,8821,1,4,0)
;;=4^Z96.653
;;^UTILITY(U,$J,358.3,8821,2)
;;=^5063707
;;^UTILITY(U,$J,358.3,8822,0)
;;=Z96.7^^39^402^125
;;^UTILITY(U,$J,358.3,8822,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8822,1,3,0)
;;=3^Presence of Bone/Tendon Implants NEC
;;^UTILITY(U,$J,358.3,8822,1,4,0)
;;=4^Z96.7
;;^UTILITY(U,$J,358.3,8822,2)
;;=^5063716
;;^UTILITY(U,$J,358.3,8823,0)
;;=Z97.11^^39^402^139
;;^UTILITY(U,$J,358.3,8823,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8823,1,3,0)
;;=3^Presence of Right Artificial Arm
;;^UTILITY(U,$J,358.3,8823,1,4,0)
;;=4^Z97.11
;;^UTILITY(U,$J,358.3,8823,2)
;;=^5063722
;;^UTILITY(U,$J,358.3,8824,0)
;;=Z97.12^^39^402^134
;;^UTILITY(U,$J,358.3,8824,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8824,1,3,0)
;;=3^Presence of Left Artificial Arm
;;^UTILITY(U,$J,358.3,8824,1,4,0)
;;=4^Z97.12
;;^UTILITY(U,$J,358.3,8824,2)
;;=^5063723
;;^UTILITY(U,$J,358.3,8825,0)
;;=Z97.13^^39^402^142
;;^UTILITY(U,$J,358.3,8825,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8825,1,3,0)
;;=3^Presence of Right Artificial Leg
;;^UTILITY(U,$J,358.3,8825,1,4,0)
;;=4^Z97.13
;;^UTILITY(U,$J,358.3,8825,2)
;;=^5063724
;;^UTILITY(U,$J,358.3,8826,0)
;;=Z97.14^^39^402^137
;;^UTILITY(U,$J,358.3,8826,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0JL 3758 printed Dec 13, 2024@01:49:57 Page 2
IBDEI0JL ; ; 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,8814,0)
+2 ;;=Z96.21^^39^402^6
+3 ;;^UTILITY(U,$J,358.3,8814,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,8814,1,3,0)
+6 ;;=3^Cochlear Implant Status
+7 ;;^UTILITY(U,$J,358.3,8814,1,4,0)
+8 ;;=4^Z96.21
+9 ;;^UTILITY(U,$J,358.3,8814,2)
+10 ;;=^5063684
+11 ;;^UTILITY(U,$J,358.3,8815,0)
+12 ;;=Z96.41^^39^402^132
+13 ;;^UTILITY(U,$J,358.3,8815,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,8815,1,3,0)
+16 ;;=3^Presence of Insulin Pump
+17 ;;^UTILITY(U,$J,358.3,8815,1,4,0)
+18 ;;=4^Z96.41
+19 ;;^UTILITY(U,$J,358.3,8815,2)
+20 ;;=^5063688
+21 ;;^UTILITY(U,$J,358.3,8816,0)
+22 ;;=Z96.641^^39^402^140
+23 ;;^UTILITY(U,$J,358.3,8816,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,8816,1,3,0)
+26 ;;=3^Presence of Right Artificial Hip Jt
+27 ;;^UTILITY(U,$J,358.3,8816,1,4,0)
+28 ;;=4^Z96.641
+29 ;;^UTILITY(U,$J,358.3,8816,2)
+30 ;;=^5063701
+31 ;;^UTILITY(U,$J,358.3,8817,0)
+32 ;;=Z96.642^^39^402^135
+33 ;;^UTILITY(U,$J,358.3,8817,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,8817,1,3,0)
+36 ;;=3^Presence of Left Artificial Hip Jt
+37 ;;^UTILITY(U,$J,358.3,8817,1,4,0)
+38 ;;=4^Z96.642
+39 ;;^UTILITY(U,$J,358.3,8817,2)
+40 ;;=^5063702
+41 ;;^UTILITY(U,$J,358.3,8818,0)
+42 ;;=Z96.643^^39^402^119
+43 ;;^UTILITY(U,$J,358.3,8818,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,8818,1,3,0)
+46 ;;=3^Presence of Artificial Hip Jt,Bilateral
+47 ;;^UTILITY(U,$J,358.3,8818,1,4,0)
+48 ;;=4^Z96.643
+49 ;;^UTILITY(U,$J,358.3,8818,2)
+50 ;;=^5063703
+51 ;;^UTILITY(U,$J,358.3,8819,0)
+52 ;;=Z96.651^^39^402^141
+53 ;;^UTILITY(U,$J,358.3,8819,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,8819,1,3,0)
+56 ;;=3^Presence of Right Artificial Knee Jt
+57 ;;^UTILITY(U,$J,358.3,8819,1,4,0)
+58 ;;=4^Z96.651
+59 ;;^UTILITY(U,$J,358.3,8819,2)
+60 ;;=^5063705
+61 ;;^UTILITY(U,$J,358.3,8820,0)
+62 ;;=Z96.652^^39^402^136
+63 ;;^UTILITY(U,$J,358.3,8820,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,8820,1,3,0)
+66 ;;=3^Presence of Left Artificial Knee Jt
+67 ;;^UTILITY(U,$J,358.3,8820,1,4,0)
+68 ;;=4^Z96.652
+69 ;;^UTILITY(U,$J,358.3,8820,2)
+70 ;;=^5063706
+71 ;;^UTILITY(U,$J,358.3,8821,0)
+72 ;;=Z96.653^^39^402^120
+73 ;;^UTILITY(U,$J,358.3,8821,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,8821,1,3,0)
+76 ;;=3^Presence of Artificial Knee Jt,Bilateral
+77 ;;^UTILITY(U,$J,358.3,8821,1,4,0)
+78 ;;=4^Z96.653
+79 ;;^UTILITY(U,$J,358.3,8821,2)
+80 ;;=^5063707
+81 ;;^UTILITY(U,$J,358.3,8822,0)
+82 ;;=Z96.7^^39^402^125
+83 ;;^UTILITY(U,$J,358.3,8822,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,8822,1,3,0)
+86 ;;=3^Presence of Bone/Tendon Implants NEC
+87 ;;^UTILITY(U,$J,358.3,8822,1,4,0)
+88 ;;=4^Z96.7
+89 ;;^UTILITY(U,$J,358.3,8822,2)
+90 ;;=^5063716
+91 ;;^UTILITY(U,$J,358.3,8823,0)
+92 ;;=Z97.11^^39^402^139
+93 ;;^UTILITY(U,$J,358.3,8823,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,8823,1,3,0)
+96 ;;=3^Presence of Right Artificial Arm
+97 ;;^UTILITY(U,$J,358.3,8823,1,4,0)
+98 ;;=4^Z97.11
+99 ;;^UTILITY(U,$J,358.3,8823,2)
+100 ;;=^5063722
+101 ;;^UTILITY(U,$J,358.3,8824,0)
+102 ;;=Z97.12^^39^402^134
+103 ;;^UTILITY(U,$J,358.3,8824,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,8824,1,3,0)
+106 ;;=3^Presence of Left Artificial Arm
+107 ;;^UTILITY(U,$J,358.3,8824,1,4,0)
+108 ;;=4^Z97.12
+109 ;;^UTILITY(U,$J,358.3,8824,2)
+110 ;;=^5063723
+111 ;;^UTILITY(U,$J,358.3,8825,0)
+112 ;;=Z97.13^^39^402^142
+113 ;;^UTILITY(U,$J,358.3,8825,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,8825,1,3,0)
+116 ;;=3^Presence of Right Artificial Leg
+117 ;;^UTILITY(U,$J,358.3,8825,1,4,0)
+118 ;;=4^Z97.13
+119 ;;^UTILITY(U,$J,358.3,8825,2)
+120 ;;=^5063724
+121 ;;^UTILITY(U,$J,358.3,8826,0)
+122 ;;=Z97.14^^39^402^137
+123 ;;^UTILITY(U,$J,358.3,8826,1,0)
+124 ;;=^358.31IA^4^2