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