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