IBDEI0YP ; ; 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,15671,1,3,0)
;;=3^Therapeutic Drug Level Monitoring
;;^UTILITY(U,$J,358.3,15671,1,4,0)
;;=4^Z51.81
;;^UTILITY(U,$J,358.3,15671,2)
;;=^5063064
;;^UTILITY(U,$J,358.3,15672,0)
;;=Z02.79^^61^761^11
;;^UTILITY(U,$J,358.3,15672,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15672,1,3,0)
;;=3^Issue of Medical Certificate NEC
;;^UTILITY(U,$J,358.3,15672,1,4,0)
;;=4^Z02.79
;;^UTILITY(U,$J,358.3,15672,2)
;;=^5062641
;;^UTILITY(U,$J,358.3,15673,0)
;;=Z76.0^^61^761^12
;;^UTILITY(U,$J,358.3,15673,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15673,1,3,0)
;;=3^Issue of Repeat Prescription
;;^UTILITY(U,$J,358.3,15673,1,4,0)
;;=4^Z76.0
;;^UTILITY(U,$J,358.3,15673,2)
;;=^5063297
;;^UTILITY(U,$J,358.3,15674,0)
;;=Z04.9^^61^761^3
;;^UTILITY(U,$J,358.3,15674,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15674,1,3,0)
;;=3^Exam & Observation for Unsp Reason
;;^UTILITY(U,$J,358.3,15674,1,4,0)
;;=4^Z04.9
;;^UTILITY(U,$J,358.3,15674,2)
;;=^5062666
;;^UTILITY(U,$J,358.3,15675,0)
;;=Z02.2^^61^761^4
;;^UTILITY(U,$J,358.3,15675,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15675,1,3,0)
;;=3^Exam for Admission to Residential Institution
;;^UTILITY(U,$J,358.3,15675,1,4,0)
;;=4^Z02.2
;;^UTILITY(U,$J,358.3,15675,2)
;;=^5062635
;;^UTILITY(U,$J,358.3,15676,0)
;;=Z02.4^^61^761^5
;;^UTILITY(U,$J,358.3,15676,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15676,1,3,0)
;;=3^Exam for Driving License
;;^UTILITY(U,$J,358.3,15676,1,4,0)
;;=4^Z02.4
;;^UTILITY(U,$J,358.3,15676,2)
;;=^5062637
;;^UTILITY(U,$J,358.3,15677,0)
;;=Z00.5^^61^761^7
;;^UTILITY(U,$J,358.3,15677,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15677,1,3,0)
;;=3^Exam of Potential Donor of Organ/Tissue
;;^UTILITY(U,$J,358.3,15677,1,4,0)
;;=4^Z00.5
;;^UTILITY(U,$J,358.3,15677,2)
;;=^5062607
;;^UTILITY(U,$J,358.3,15678,0)
;;=Z02.3^^61^761^6
;;^UTILITY(U,$J,358.3,15678,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15678,1,3,0)
;;=3^Exam for Recruitment to Armed Forces
;;^UTILITY(U,$J,358.3,15678,1,4,0)
;;=4^Z02.3
;;^UTILITY(U,$J,358.3,15678,2)
;;=^5062636
;;^UTILITY(U,$J,358.3,15679,0)
;;=Z02.89^^61^761^1
;;^UTILITY(U,$J,358.3,15679,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15679,1,3,0)
;;=3^Admin Exam NEC
;;^UTILITY(U,$J,358.3,15679,1,4,0)
;;=4^Z02.89
;;^UTILITY(U,$J,358.3,15679,2)
;;=^5062645
;;^UTILITY(U,$J,358.3,15680,0)
;;=Z00.8^^61^761^8
;;^UTILITY(U,$J,358.3,15680,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15680,1,3,0)
;;=3^General Exam NEC
;;^UTILITY(U,$J,358.3,15680,1,4,0)
;;=4^Z00.8
;;^UTILITY(U,$J,358.3,15680,2)
;;=^5062611
;;^UTILITY(U,$J,358.3,15681,0)
;;=Z02.1^^61^761^14
;;^UTILITY(U,$J,358.3,15681,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15681,1,3,0)
;;=3^Pre-Employment Exam
;;^UTILITY(U,$J,358.3,15681,1,4,0)
;;=4^Z02.1
;;^UTILITY(U,$J,358.3,15681,2)
;;=^5062634
;;^UTILITY(U,$J,358.3,15682,0)
;;=Z01.810^^61^761^2
;;^UTILITY(U,$J,358.3,15682,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15682,1,3,0)
;;=3^Cardiovascular Preprocedural Exam
;;^UTILITY(U,$J,358.3,15682,1,4,0)
;;=4^Z01.810
;;^UTILITY(U,$J,358.3,15682,2)
;;=^5062625
;;^UTILITY(U,$J,358.3,15683,0)
;;=Z01.811^^61^761^16
;;^UTILITY(U,$J,358.3,15683,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15683,1,3,0)
;;=3^Respiratory Preprocedural Exam
;;^UTILITY(U,$J,358.3,15683,1,4,0)
;;=4^Z01.811
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0YP 3751 printed Oct 16, 2024@17:59:11 Page 2
IBDEI0YP ; ; 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,15671,1,3,0)
+2 ;;=3^Therapeutic Drug Level Monitoring
+3 ;;^UTILITY(U,$J,358.3,15671,1,4,0)
+4 ;;=4^Z51.81
+5 ;;^UTILITY(U,$J,358.3,15671,2)
+6 ;;=^5063064
+7 ;;^UTILITY(U,$J,358.3,15672,0)
+8 ;;=Z02.79^^61^761^11
+9 ;;^UTILITY(U,$J,358.3,15672,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,15672,1,3,0)
+12 ;;=3^Issue of Medical Certificate NEC
+13 ;;^UTILITY(U,$J,358.3,15672,1,4,0)
+14 ;;=4^Z02.79
+15 ;;^UTILITY(U,$J,358.3,15672,2)
+16 ;;=^5062641
+17 ;;^UTILITY(U,$J,358.3,15673,0)
+18 ;;=Z76.0^^61^761^12
+19 ;;^UTILITY(U,$J,358.3,15673,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,15673,1,3,0)
+22 ;;=3^Issue of Repeat Prescription
+23 ;;^UTILITY(U,$J,358.3,15673,1,4,0)
+24 ;;=4^Z76.0
+25 ;;^UTILITY(U,$J,358.3,15673,2)
+26 ;;=^5063297
+27 ;;^UTILITY(U,$J,358.3,15674,0)
+28 ;;=Z04.9^^61^761^3
+29 ;;^UTILITY(U,$J,358.3,15674,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,15674,1,3,0)
+32 ;;=3^Exam & Observation for Unsp Reason
+33 ;;^UTILITY(U,$J,358.3,15674,1,4,0)
+34 ;;=4^Z04.9
+35 ;;^UTILITY(U,$J,358.3,15674,2)
+36 ;;=^5062666
+37 ;;^UTILITY(U,$J,358.3,15675,0)
+38 ;;=Z02.2^^61^761^4
+39 ;;^UTILITY(U,$J,358.3,15675,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,15675,1,3,0)
+42 ;;=3^Exam for Admission to Residential Institution
+43 ;;^UTILITY(U,$J,358.3,15675,1,4,0)
+44 ;;=4^Z02.2
+45 ;;^UTILITY(U,$J,358.3,15675,2)
+46 ;;=^5062635
+47 ;;^UTILITY(U,$J,358.3,15676,0)
+48 ;;=Z02.4^^61^761^5
+49 ;;^UTILITY(U,$J,358.3,15676,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,15676,1,3,0)
+52 ;;=3^Exam for Driving License
+53 ;;^UTILITY(U,$J,358.3,15676,1,4,0)
+54 ;;=4^Z02.4
+55 ;;^UTILITY(U,$J,358.3,15676,2)
+56 ;;=^5062637
+57 ;;^UTILITY(U,$J,358.3,15677,0)
+58 ;;=Z00.5^^61^761^7
+59 ;;^UTILITY(U,$J,358.3,15677,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,15677,1,3,0)
+62 ;;=3^Exam of Potential Donor of Organ/Tissue
+63 ;;^UTILITY(U,$J,358.3,15677,1,4,0)
+64 ;;=4^Z00.5
+65 ;;^UTILITY(U,$J,358.3,15677,2)
+66 ;;=^5062607
+67 ;;^UTILITY(U,$J,358.3,15678,0)
+68 ;;=Z02.3^^61^761^6
+69 ;;^UTILITY(U,$J,358.3,15678,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,15678,1,3,0)
+72 ;;=3^Exam for Recruitment to Armed Forces
+73 ;;^UTILITY(U,$J,358.3,15678,1,4,0)
+74 ;;=4^Z02.3
+75 ;;^UTILITY(U,$J,358.3,15678,2)
+76 ;;=^5062636
+77 ;;^UTILITY(U,$J,358.3,15679,0)
+78 ;;=Z02.89^^61^761^1
+79 ;;^UTILITY(U,$J,358.3,15679,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,15679,1,3,0)
+82 ;;=3^Admin Exam NEC
+83 ;;^UTILITY(U,$J,358.3,15679,1,4,0)
+84 ;;=4^Z02.89
+85 ;;^UTILITY(U,$J,358.3,15679,2)
+86 ;;=^5062645
+87 ;;^UTILITY(U,$J,358.3,15680,0)
+88 ;;=Z00.8^^61^761^8
+89 ;;^UTILITY(U,$J,358.3,15680,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,15680,1,3,0)
+92 ;;=3^General Exam NEC
+93 ;;^UTILITY(U,$J,358.3,15680,1,4,0)
+94 ;;=4^Z00.8
+95 ;;^UTILITY(U,$J,358.3,15680,2)
+96 ;;=^5062611
+97 ;;^UTILITY(U,$J,358.3,15681,0)
+98 ;;=Z02.1^^61^761^14
+99 ;;^UTILITY(U,$J,358.3,15681,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,15681,1,3,0)
+102 ;;=3^Pre-Employment Exam
+103 ;;^UTILITY(U,$J,358.3,15681,1,4,0)
+104 ;;=4^Z02.1
+105 ;;^UTILITY(U,$J,358.3,15681,2)
+106 ;;=^5062634
+107 ;;^UTILITY(U,$J,358.3,15682,0)
+108 ;;=Z01.810^^61^761^2
+109 ;;^UTILITY(U,$J,358.3,15682,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,15682,1,3,0)
+112 ;;=3^Cardiovascular Preprocedural Exam
+113 ;;^UTILITY(U,$J,358.3,15682,1,4,0)
+114 ;;=4^Z01.810
+115 ;;^UTILITY(U,$J,358.3,15682,2)
+116 ;;=^5062625
+117 ;;^UTILITY(U,$J,358.3,15683,0)
+118 ;;=Z01.811^^61^761^16
+119 ;;^UTILITY(U,$J,358.3,15683,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,15683,1,3,0)
+122 ;;=3^Respiratory Preprocedural Exam
+123 ;;^UTILITY(U,$J,358.3,15683,1,4,0)
+124 ;;=4^Z01.811