IBDEI117 ; ; 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,16768,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16768,1,3,0)
;;=3^Kidney Transplant Status
;;^UTILITY(U,$J,358.3,16768,1,4,0)
;;=4^Z94.0
;;^UTILITY(U,$J,358.3,16768,2)
;;=^5063654
;;^UTILITY(U,$J,358.3,16769,0)
;;=Z94.1^^61^776^49
;;^UTILITY(U,$J,358.3,16769,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16769,1,3,0)
;;=3^Heart Transplant Status
;;^UTILITY(U,$J,358.3,16769,1,4,0)
;;=4^Z94.1
;;^UTILITY(U,$J,358.3,16769,2)
;;=^5063655
;;^UTILITY(U,$J,358.3,16770,0)
;;=Z94.2^^61^776^59
;;^UTILITY(U,$J,358.3,16770,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16770,1,3,0)
;;=3^Lung Transplant Status
;;^UTILITY(U,$J,358.3,16770,1,4,0)
;;=4^Z94.2
;;^UTILITY(U,$J,358.3,16770,2)
;;=^5063656
;;^UTILITY(U,$J,358.3,16771,0)
;;=Z94.3^^61^776^48
;;^UTILITY(U,$J,358.3,16771,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16771,1,3,0)
;;=3^Heart & Lungs Transplant Status
;;^UTILITY(U,$J,358.3,16771,1,4,0)
;;=4^Z94.3
;;^UTILITY(U,$J,358.3,16771,2)
;;=^5063657
;;^UTILITY(U,$J,358.3,16772,0)
;;=Z94.4^^61^776^58
;;^UTILITY(U,$J,358.3,16772,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16772,1,3,0)
;;=3^Liver Transplant Status
;;^UTILITY(U,$J,358.3,16772,1,4,0)
;;=4^Z94.4
;;^UTILITY(U,$J,358.3,16772,2)
;;=^5063658
;;^UTILITY(U,$J,358.3,16773,0)
;;=Z94.84^^61^776^149
;;^UTILITY(U,$J,358.3,16773,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16773,1,3,0)
;;=3^Stem Cell Transplant Status
;;^UTILITY(U,$J,358.3,16773,1,4,0)
;;=4^Z94.84
;;^UTILITY(U,$J,358.3,16773,2)
;;=^5063665
;;^UTILITY(U,$J,358.3,16774,0)
;;=Z96.21^^61^776^6
;;^UTILITY(U,$J,358.3,16774,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16774,1,3,0)
;;=3^Cochlear Implant Status
;;^UTILITY(U,$J,358.3,16774,1,4,0)
;;=4^Z96.21
;;^UTILITY(U,$J,358.3,16774,2)
;;=^5063684
;;^UTILITY(U,$J,358.3,16775,0)
;;=Z96.41^^61^776^132
;;^UTILITY(U,$J,358.3,16775,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16775,1,3,0)
;;=3^Presence of Insulin Pump
;;^UTILITY(U,$J,358.3,16775,1,4,0)
;;=4^Z96.41
;;^UTILITY(U,$J,358.3,16775,2)
;;=^5063688
;;^UTILITY(U,$J,358.3,16776,0)
;;=Z96.641^^61^776^140
;;^UTILITY(U,$J,358.3,16776,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16776,1,3,0)
;;=3^Presence of Right Artificial Hip Jt
;;^UTILITY(U,$J,358.3,16776,1,4,0)
;;=4^Z96.641
;;^UTILITY(U,$J,358.3,16776,2)
;;=^5063701
;;^UTILITY(U,$J,358.3,16777,0)
;;=Z96.642^^61^776^135
;;^UTILITY(U,$J,358.3,16777,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16777,1,3,0)
;;=3^Presence of Left Artificial Hip Jt
;;^UTILITY(U,$J,358.3,16777,1,4,0)
;;=4^Z96.642
;;^UTILITY(U,$J,358.3,16777,2)
;;=^5063702
;;^UTILITY(U,$J,358.3,16778,0)
;;=Z96.643^^61^776^119
;;^UTILITY(U,$J,358.3,16778,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16778,1,3,0)
;;=3^Presence of Artificial Hip Jt,Bilateral
;;^UTILITY(U,$J,358.3,16778,1,4,0)
;;=4^Z96.643
;;^UTILITY(U,$J,358.3,16778,2)
;;=^5063703
;;^UTILITY(U,$J,358.3,16779,0)
;;=Z96.651^^61^776^141
;;^UTILITY(U,$J,358.3,16779,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16779,1,3,0)
;;=3^Presence of Right Artificial Knee Jt
;;^UTILITY(U,$J,358.3,16779,1,4,0)
;;=4^Z96.651
;;^UTILITY(U,$J,358.3,16779,2)
;;=^5063705
;;^UTILITY(U,$J,358.3,16780,0)
;;=Z96.652^^61^776^136
;;^UTILITY(U,$J,358.3,16780,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16780,1,3,0)
;;=3^Presence of Left Artificial Knee Jt
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI117 3773 printed Dec 13, 2024@01:59:45 Page 2
IBDEI117 ; ; 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,16768,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,16768,1,3,0)
+4 ;;=3^Kidney Transplant Status
+5 ;;^UTILITY(U,$J,358.3,16768,1,4,0)
+6 ;;=4^Z94.0
+7 ;;^UTILITY(U,$J,358.3,16768,2)
+8 ;;=^5063654
+9 ;;^UTILITY(U,$J,358.3,16769,0)
+10 ;;=Z94.1^^61^776^49
+11 ;;^UTILITY(U,$J,358.3,16769,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,16769,1,3,0)
+14 ;;=3^Heart Transplant Status
+15 ;;^UTILITY(U,$J,358.3,16769,1,4,0)
+16 ;;=4^Z94.1
+17 ;;^UTILITY(U,$J,358.3,16769,2)
+18 ;;=^5063655
+19 ;;^UTILITY(U,$J,358.3,16770,0)
+20 ;;=Z94.2^^61^776^59
+21 ;;^UTILITY(U,$J,358.3,16770,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,16770,1,3,0)
+24 ;;=3^Lung Transplant Status
+25 ;;^UTILITY(U,$J,358.3,16770,1,4,0)
+26 ;;=4^Z94.2
+27 ;;^UTILITY(U,$J,358.3,16770,2)
+28 ;;=^5063656
+29 ;;^UTILITY(U,$J,358.3,16771,0)
+30 ;;=Z94.3^^61^776^48
+31 ;;^UTILITY(U,$J,358.3,16771,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,16771,1,3,0)
+34 ;;=3^Heart & Lungs Transplant Status
+35 ;;^UTILITY(U,$J,358.3,16771,1,4,0)
+36 ;;=4^Z94.3
+37 ;;^UTILITY(U,$J,358.3,16771,2)
+38 ;;=^5063657
+39 ;;^UTILITY(U,$J,358.3,16772,0)
+40 ;;=Z94.4^^61^776^58
+41 ;;^UTILITY(U,$J,358.3,16772,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,16772,1,3,0)
+44 ;;=3^Liver Transplant Status
+45 ;;^UTILITY(U,$J,358.3,16772,1,4,0)
+46 ;;=4^Z94.4
+47 ;;^UTILITY(U,$J,358.3,16772,2)
+48 ;;=^5063658
+49 ;;^UTILITY(U,$J,358.3,16773,0)
+50 ;;=Z94.84^^61^776^149
+51 ;;^UTILITY(U,$J,358.3,16773,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,16773,1,3,0)
+54 ;;=3^Stem Cell Transplant Status
+55 ;;^UTILITY(U,$J,358.3,16773,1,4,0)
+56 ;;=4^Z94.84
+57 ;;^UTILITY(U,$J,358.3,16773,2)
+58 ;;=^5063665
+59 ;;^UTILITY(U,$J,358.3,16774,0)
+60 ;;=Z96.21^^61^776^6
+61 ;;^UTILITY(U,$J,358.3,16774,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,16774,1,3,0)
+64 ;;=3^Cochlear Implant Status
+65 ;;^UTILITY(U,$J,358.3,16774,1,4,0)
+66 ;;=4^Z96.21
+67 ;;^UTILITY(U,$J,358.3,16774,2)
+68 ;;=^5063684
+69 ;;^UTILITY(U,$J,358.3,16775,0)
+70 ;;=Z96.41^^61^776^132
+71 ;;^UTILITY(U,$J,358.3,16775,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,16775,1,3,0)
+74 ;;=3^Presence of Insulin Pump
+75 ;;^UTILITY(U,$J,358.3,16775,1,4,0)
+76 ;;=4^Z96.41
+77 ;;^UTILITY(U,$J,358.3,16775,2)
+78 ;;=^5063688
+79 ;;^UTILITY(U,$J,358.3,16776,0)
+80 ;;=Z96.641^^61^776^140
+81 ;;^UTILITY(U,$J,358.3,16776,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,16776,1,3,0)
+84 ;;=3^Presence of Right Artificial Hip Jt
+85 ;;^UTILITY(U,$J,358.3,16776,1,4,0)
+86 ;;=4^Z96.641
+87 ;;^UTILITY(U,$J,358.3,16776,2)
+88 ;;=^5063701
+89 ;;^UTILITY(U,$J,358.3,16777,0)
+90 ;;=Z96.642^^61^776^135
+91 ;;^UTILITY(U,$J,358.3,16777,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,16777,1,3,0)
+94 ;;=3^Presence of Left Artificial Hip Jt
+95 ;;^UTILITY(U,$J,358.3,16777,1,4,0)
+96 ;;=4^Z96.642
+97 ;;^UTILITY(U,$J,358.3,16777,2)
+98 ;;=^5063702
+99 ;;^UTILITY(U,$J,358.3,16778,0)
+100 ;;=Z96.643^^61^776^119
+101 ;;^UTILITY(U,$J,358.3,16778,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,16778,1,3,0)
+104 ;;=3^Presence of Artificial Hip Jt,Bilateral
+105 ;;^UTILITY(U,$J,358.3,16778,1,4,0)
+106 ;;=4^Z96.643
+107 ;;^UTILITY(U,$J,358.3,16778,2)
+108 ;;=^5063703
+109 ;;^UTILITY(U,$J,358.3,16779,0)
+110 ;;=Z96.651^^61^776^141
+111 ;;^UTILITY(U,$J,358.3,16779,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,16779,1,3,0)
+114 ;;=3^Presence of Right Artificial Knee Jt
+115 ;;^UTILITY(U,$J,358.3,16779,1,4,0)
+116 ;;=4^Z96.651
+117 ;;^UTILITY(U,$J,358.3,16779,2)
+118 ;;=^5063705
+119 ;;^UTILITY(U,$J,358.3,16780,0)
+120 ;;=Z96.652^^61^776^136
+121 ;;^UTILITY(U,$J,358.3,16780,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,16780,1,3,0)
+124 ;;=3^Presence of Left Artificial Knee Jt