IBDEI1MR ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
Q:'DIFQR(358.6) 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.6)
;;=^IBE(358.6,
;;^UTILITY(U,$J,358.6,0)
;;=IMP/EXP PACKAGE INTERFACE^358.6I^9^9
;;^UTILITY(U,$J,358.6,1,0)
;;=DG SELECT VISIT TYPE CPT PROCEDURES^VSIT^IBDFN4^SCHEDULING^^3^2^^1^^^1^2^^^^^^^^1
;;^UTILITY(U,$J,358.6,1,1,0)
;;=^^1^1^2941116^^^^
;;^UTILITY(U,$J,358.6,1,1,1,0)
;;=Allows for select of just Visit type CPT codes from the CPT file.
;;^UTILITY(U,$J,358.6,1,2)
;;=CODE^5^RECOMMENDED TEXT-SHORT NAME^40^RECOMMENDED HEADER^30^SHORT NAME FROM CPT FILE^28^^^^^^^^^1^1
;;^UTILITY(U,$J,358.6,1,3)
;;=SELECT TYPE OF VISIT CPT
;;^UTILITY(U,$J,358.6,1,11)
;;=D TESTVST^IBDFN7
;;^UTILITY(U,$J,358.6,1,15,0)
;;=^357.615I^4^3
;;^UTILITY(U,$J,358.6,1,15,2,0)
;;=RECOMMENDED TEXT-SHORT NAME^40^2
;;^UTILITY(U,$J,358.6,1,15,3,0)
;;=RECOMMENDED HEADER^30^3
;;^UTILITY(U,$J,358.6,1,15,4,0)
;;=SHORT NAME FROM CPT FILE^28^4
;;^UTILITY(U,$J,358.6,2,0)
;;=INPUT VISIT TYPE^^^PATIENT CARE ENCOUNTER^^1^^^1^^^1^^^^SMP
;;^UTILITY(U,$J,358.6,2,1,0)
;;=^^1^1^2951023^
;;^UTILITY(U,$J,358.6,2,1,1,0)
;;=Used for inputting the visit type that applies to the visit.
;;^UTILITY(U,$J,358.6,2,2)
;;=^^^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,2,3)
;;=VISIT TYPE OF VISIT
;;^UTILITY(U,$J,358.6,2,9)
;;=D INPUTCPT^IBDFN8(.X)
;;^UTILITY(U,$J,358.6,2,10)
;;=Enter an active Visit Type code.
;;^UTILITY(U,$J,358.6,2,11)
;;=D TESTVST^IBDFN7
;;^UTILITY(U,$J,358.6,2,12)
;;=ENCOUNTER^5
;;^UTILITY(U,$J,358.6,2,14)
;;=S Y=$$DSPLYCPT^IBDFN9(Y)
;;^UTILITY(U,$J,358.6,2,15,0)
;;=^357.615I^0^0
;;^UTILITY(U,$J,358.6,2,17)
;;=D SLCTVST^IBDFN12(.X)
;;^UTILITY(U,$J,358.6,2,18)
;;=S IBDF("OTHER")="357.69^I '$P(^(0),U,4)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"Visit Type (EM) Code")
;;^UTILITY(U,$J,358.6,2,19)
;;=D VST^IBDFN14(X)
;;^UTILITY(U,$J,358.6,3,0)
;;=DPT PATIENT'S NAME^VADPT^IBDFN^REGISTRATION^1^2^1^1^1^^^1
;;^UTILITY(U,$J,358.6,3,1,0)
;;=^^2^2^2930212^^^^
;;^UTILITY(U,$J,358.6,3,1,1,0)
;;=
;;^UTILITY(U,$J,358.6,3,1,2,0)
;;=Patient's Name
;;^UTILITY(U,$J,358.6,3,2)
;;=Patient's Name^30^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,3,3)
;;=PATIENT NAME
;;^UTILITY(U,$J,358.6,3,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,3,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,3,15,0)
;;=^357.615I^0^0
;;^UTILITY(U,$J,358.6,4,0)
;;=DPT PATIENT'S PID^VADPT^IBDFN^REGISTRATION^1^2^1^1^1^^^1
;;^UTILITY(U,$J,358.6,4,1,0)
;;=^^1^1^2931015^^
;;^UTILITY(U,$J,358.6,4,1,1,0)
;;=Used to display the patient identifier.
;;^UTILITY(U,$J,358.6,4,2)
;;=PATIENT IDENTIFIER^15^^^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,4,3)
;;=PATIENT IDENTIFIER PID
;;^UTILITY(U,$J,358.6,4,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,4,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,4,15,0)
;;=^357.615I^0^0
;;^UTILITY(U,$J,358.6,5,0)
;;=DPT PATIENT'S DOB/AGE^VADPT^IBDFN^REGISTRATION^1^2^2^^1^^^1
;;^UTILITY(U,$J,358.6,5,1,0)
;;=^^2^2^2951023^
;;^UTILITY(U,$J,358.6,5,1,1,0)
;;=Patient's DOB in MM DD, YYYY format
;;^UTILITY(U,$J,358.6,5,1,2,0)
;;=Patient's age in years.
;;^UTILITY(U,$J,358.6,5,2)
;;=Patient's DOB^12^Patient's Age^3^^^^^^^^^^^^^1
;;^UTILITY(U,$J,358.6,5,3)
;;=PATIENT DOB AGE PIMS
;;^UTILITY(U,$J,358.6,5,7,0)
;;=^357.67^1^1
;;^UTILITY(U,$J,358.6,5,7,1,0)
;;=DFN
;;^UTILITY(U,$J,358.6,5,15,0)
;;=^357.615I^1^1
;;^UTILITY(U,$J,358.6,5,15,1,0)
;;=Patient's Age^3^2^
;;^UTILITY(U,$J,358.6,6,0)
;;=DG SELECT ICD-10 DIAGNOSIS CODES^ICD10^IBDFN4^SCHEDULING^^3^2^^1^^^1^7^^^^1^1^^^^30
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1MR 3784 printed Dec 13, 2024@02:11:44 Page 2
IBDEI1MR ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+2 if 'DIFQR(358.6)
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.6)
+2 ;;=^IBE(358.6,
+3 ;;^UTILITY(U,$J,358.6,0)
+4 ;;=IMP/EXP PACKAGE INTERFACE^358.6I^9^9
+5 ;;^UTILITY(U,$J,358.6,1,0)
+6 ;;=DG SELECT VISIT TYPE CPT PROCEDURES^VSIT^IBDFN4^SCHEDULING^^3^2^^1^^^1^2^^^^^^^^1
+7 ;;^UTILITY(U,$J,358.6,1,1,0)
+8 ;;=^^1^1^2941116^^^^
+9 ;;^UTILITY(U,$J,358.6,1,1,1,0)
+10 ;;=Allows for select of just Visit type CPT codes from the CPT file.
+11 ;;^UTILITY(U,$J,358.6,1,2)
+12 ;;=CODE^5^RECOMMENDED TEXT-SHORT NAME^40^RECOMMENDED HEADER^30^SHORT NAME FROM CPT FILE^28^^^^^^^^^1^1
+13 ;;^UTILITY(U,$J,358.6,1,3)
+14 ;;=SELECT TYPE OF VISIT CPT
+15 ;;^UTILITY(U,$J,358.6,1,11)
+16 ;;=D TESTVST^IBDFN7
+17 ;;^UTILITY(U,$J,358.6,1,15,0)
+18 ;;=^357.615I^4^3
+19 ;;^UTILITY(U,$J,358.6,1,15,2,0)
+20 ;;=RECOMMENDED TEXT-SHORT NAME^40^2
+21 ;;^UTILITY(U,$J,358.6,1,15,3,0)
+22 ;;=RECOMMENDED HEADER^30^3
+23 ;;^UTILITY(U,$J,358.6,1,15,4,0)
+24 ;;=SHORT NAME FROM CPT FILE^28^4
+25 ;;^UTILITY(U,$J,358.6,2,0)
+26 ;;=INPUT VISIT TYPE^^^PATIENT CARE ENCOUNTER^^1^^^1^^^1^^^^SMP
+27 ;;^UTILITY(U,$J,358.6,2,1,0)
+28 ;;=^^1^1^2951023^
+29 ;;^UTILITY(U,$J,358.6,2,1,1,0)
+30 ;;=Used for inputting the visit type that applies to the visit.
+31 ;;^UTILITY(U,$J,358.6,2,2)
+32 ;;=^^^^^^^^^^^^^^^^^1
+33 ;;^UTILITY(U,$J,358.6,2,3)
+34 ;;=VISIT TYPE OF VISIT
+35 ;;^UTILITY(U,$J,358.6,2,9)
+36 ;;=D INPUTCPT^IBDFN8(.X)
+37 ;;^UTILITY(U,$J,358.6,2,10)
+38 ;;=Enter an active Visit Type code.
+39 ;;^UTILITY(U,$J,358.6,2,11)
+40 ;;=D TESTVST^IBDFN7
+41 ;;^UTILITY(U,$J,358.6,2,12)
+42 ;;=ENCOUNTER^5
+43 ;;^UTILITY(U,$J,358.6,2,14)
+44 ;;=S Y=$$DSPLYCPT^IBDFN9(Y)
+45 ;;^UTILITY(U,$J,358.6,2,15,0)
+46 ;;=^357.615I^0^0
+47 ;;^UTILITY(U,$J,358.6,2,17)
+48 ;;=D SLCTVST^IBDFN12(.X)
+49 ;;^UTILITY(U,$J,358.6,2,18)
+50 ;;=S IBDF("OTHER")="357.69^I '$P(^(0),U,4)" D LIST^IBDFDE2(.IBDSEL,.IBDF,"Visit Type (EM) Code")
+51 ;;^UTILITY(U,$J,358.6,2,19)
+52 ;;=D VST^IBDFN14(X)
+53 ;;^UTILITY(U,$J,358.6,3,0)
+54 ;;=DPT PATIENT'S NAME^VADPT^IBDFN^REGISTRATION^1^2^1^1^1^^^1
+55 ;;^UTILITY(U,$J,358.6,3,1,0)
+56 ;;=^^2^2^2930212^^^^
+57 ;;^UTILITY(U,$J,358.6,3,1,1,0)
+58 ;;=
+59 ;;^UTILITY(U,$J,358.6,3,1,2,0)
+60 ;;=Patient's Name
+61 ;;^UTILITY(U,$J,358.6,3,2)
+62 ;;=Patient's Name^30^^^^^^^^^^^^^^^1
+63 ;;^UTILITY(U,$J,358.6,3,3)
+64 ;;=PATIENT NAME
+65 ;;^UTILITY(U,$J,358.6,3,7,0)
+66 ;;=^357.67^1^1
+67 ;;^UTILITY(U,$J,358.6,3,7,1,0)
+68 ;;=DFN
+69 ;;^UTILITY(U,$J,358.6,3,15,0)
+70 ;;=^357.615I^0^0
+71 ;;^UTILITY(U,$J,358.6,4,0)
+72 ;;=DPT PATIENT'S PID^VADPT^IBDFN^REGISTRATION^1^2^1^1^1^^^1
+73 ;;^UTILITY(U,$J,358.6,4,1,0)
+74 ;;=^^1^1^2931015^^
+75 ;;^UTILITY(U,$J,358.6,4,1,1,0)
+76 ;;=Used to display the patient identifier.
+77 ;;^UTILITY(U,$J,358.6,4,2)
+78 ;;=PATIENT IDENTIFIER^15^^^^^^^^^^^^^^^1
+79 ;;^UTILITY(U,$J,358.6,4,3)
+80 ;;=PATIENT IDENTIFIER PID
+81 ;;^UTILITY(U,$J,358.6,4,7,0)
+82 ;;=^357.67^1^1
+83 ;;^UTILITY(U,$J,358.6,4,7,1,0)
+84 ;;=DFN
+85 ;;^UTILITY(U,$J,358.6,4,15,0)
+86 ;;=^357.615I^0^0
+87 ;;^UTILITY(U,$J,358.6,5,0)
+88 ;;=DPT PATIENT'S DOB/AGE^VADPT^IBDFN^REGISTRATION^1^2^2^^1^^^1
+89 ;;^UTILITY(U,$J,358.6,5,1,0)
+90 ;;=^^2^2^2951023^
+91 ;;^UTILITY(U,$J,358.6,5,1,1,0)
+92 ;;=Patient's DOB in MM DD, YYYY format
+93 ;;^UTILITY(U,$J,358.6,5,1,2,0)
+94 ;;=Patient's age in years.
+95 ;;^UTILITY(U,$J,358.6,5,2)
+96 ;;=Patient's DOB^12^Patient's Age^3^^^^^^^^^^^^^1
+97 ;;^UTILITY(U,$J,358.6,5,3)
+98 ;;=PATIENT DOB AGE PIMS
+99 ;;^UTILITY(U,$J,358.6,5,7,0)
+100 ;;=^357.67^1^1
+101 ;;^UTILITY(U,$J,358.6,5,7,1,0)
+102 ;;=DFN
+103 ;;^UTILITY(U,$J,358.6,5,15,0)
+104 ;;=^357.615I^1^1
+105 ;;^UTILITY(U,$J,358.6,5,15,1,0)
+106 ;;=Patient's Age^3^2^
+107 ;;^UTILITY(U,$J,358.6,6,0)
+108 ;;=DG SELECT ICD-10 DIAGNOSIS CODES^ICD10^IBDFN4^SCHEDULING^^3^2^^1^^^1^7^^^^1^1^^^^30