Autofinish Pharmacy Setup

It is believed that the following documentation was developed by Edgeware

System parameters and setup for auto-finishing (Based on the Hui procedure for autofinishing)

The functionality of the Autofinish Rx and prescription printing is controlled using site parameters and setting up an OUTPATIENT SITE specific for the clinic that the HOSPITAL LOCATION will point to. An OUTPATIENT SITE must be defined for each clinic that is going to AutoFinish and print prescriptions, multiple HOSPITAL LOCATIONS can point to single OUTPATIENT SITE. The OUTPATIENT SITE needs to be defined as in the example below. It is from the OUTPATIENT SITE that the Header Info (The Clinic Name, Address, and Phone number) used in the printing of a prescription is retrieved from. If the Header Info needs to be different for any reason one must create a new OUTPATIENT SITE.

NOTE:  NEW LABEL STOCK: YES   (the release-program only gets called if this is YES )

Select OUTPATIENT SITE NAME: HUI CLINIC   459 ANOTHER ONE: STANDARD CAPTIONED OUTPUT? Yes//  (Yes) Include COMPUTED fields: (N/Y/R/B): NO// BOTH Computed Fields and Record Number (IEN) NUMBER: 3                              NAME: HUI CLINIC MAILING FRANK STREET ADDRESS: 459 PATTERSON RD AREA CODE: 808                        PHONE NUMBER: 433-0050 MAILING FRANK ZIP+4 CODE: 96819-1522 SITE NUMBER: 459 MAILING FRANK CITY: HONOLULU         MAILING FRANK STATE: HAWAII LABEL/PROFILE MONITOR MAX: 100000    BARCODES ON Action PROFILES: NO  VERIFICATION: NO                      EDIT DRUG: YES RENEWING RX'S ALLOWED: YES           PASS MEDS CANCEL: NO  AUTO SUSPEND: NO                      SHALL COMPUTER ASSIGN RX #S: YES PROFILE WITH NEW PRESCRIPTIONS: NO   CANCEL DRUG IN SAME CLASS: YES REFILL INACTIVE DRUG RXS: YES        ASK METHOD OF PICKUP: YES PASS MEDS ON PROFILE: YES            PROFILE `SORT BY' DEFAULT: DATE COPIES ON NEW: NO                    DRUG CHECK FOR CLERK: YES FEE BASIS SUPPORT: NO                MULTI RX REQUEST FORM: NO  BARCODES ON REQUEST FORMS: REFILL REQUEST ONLY SCREEN PROFILES: YES                 EDIT PATIENT DATA: YES HOLD FUNCTION?: YES                  SUSPENSE FUNCTION?: NO  SLAVED LABEL PRINTING: NO             DAYS TO PULL FROM SUSPENSE: 3 NEW LABEL STOCK: YES                 BLANK LABEL BETWEEN PATIENTS: NO  VERIFYING PHARMACIST ON LABELS: YES   NARCOTICS NUMBERED DIFFERENTLY: NO  NARCOTIC LOWER BOUND: 1               NARCOTIC UPPER BOUND: 10000 LAST NARCOTIC NUMBER ISSUED: 999904453 METHADONE PROGRAM: NO                PRESCRIPTION # LOWER BOUND: 10001 PRESCRIPTION # UPPER BOUND: 999900000 LAST PRESCRIPTION # ISSUED: 10467    AUTOFINISH RX: YES IB SERVICE/SECTION: PHARMACY SEVICE  RELATED INSTITUTION: HUI_INSTITUTION CPRS ORDERING INSTITUTION: HUI_INSTITUTION

In the OUTPATIENT SITE file (#59) a field is added called AUTOFINISH RX (#459001) that needs to have the value of “YES” to allow for AutoFinishing of medication orders for that OUTPATIENT SITE. If prescriptions are not to be autofinished this field should be null. This field is evaluated in the routine PSOZHUIF if “YES” the medications orders will be autofinished, if null the medications will not be autofinished. This field can be edited through FileMan. In the HOSPITAL LOCATION file (#44) two fields are added for the AutoFinishing functionality. The AUTOFINISH RX SITE field (#459001) points to the OUTPATIENT SITE file (#59). In the manual process of finishing of prescriptions a pharmacists must select an OUTPATIENT SITE to finish the prescriptions in. No way was determined to automatically select the appropriate OUTPATIENT SITE based on the parameters passed in the code, this field forces the code to use the correct OUTPATIENT SITE. Each HOSPITAL LOCATION that is going to Autofinish and print prescriptions must point to an OUTPATIENT SITE that is properly configured. This field can be edited through FileMan. The AUTOFINISH CLINIC PRINTER field (#459002) in the HOSPITAL LOCATION file is a pointer to the DEVICE file (#3.5), you need to select the printer that the provider will use from this HOSPITAL LOCATION to print the prescriptions generated in the AutoFinish process. This field is optional, if it is null no prescription will be printed but the medication order will be finished. This is how you would AutoFinish a medication order without printing a prescription, if that functionality was desired for a HOSPITAL LOCATION. The OUTPATIENT SITE would need to have the AUTOFINISH RX field rset to “YES” for the medication order to autofinish. This field can be edited through FileMan. An example of a HOSPITAL LOCATION is: OUTPUT FROM WHAT FILE: HOSPITAL LOCATION// Select HOSPITAL LOCATION NAME:   DENNIS, MENACE ANOTHER ONE: STANDARD CAPTIONED OUTPUT? Yes//  (Yes) Include COMPUTED fields: (N/Y/R/B): NO//  - No Record number (IEN), no Computed Fields NAME: DENNIS, MENACE                   ABBREVIATION: MD  TYPE: CLINIC                          INSTITUTION: HUI_INSTITUTION STOP CODE NUMBER: OUTPATIENT CARE IN OR SERVICE: MEDICINE                     NON-COUNT CLINIC? (Y OR N): YES CLINIC MEETS AT THIS FACILITY?: YES  INCLUDE ON FILE ROOM LISTS?: YES TYPE EXTENSION: CLINIC               ASK FOR CHECK IN/OUT TIME: YES WORKLOAD VALIDATION AT CHK OUT: YES  DEFAULT APPOINTMENT TYPE: REGULAR AUTOFINISH CLINIC PRINTER: DESKJET850 AUTOFINISH RX SITE: HUI CLINIC       DEFAULT TO PC PRACTITIONER?: YES PROVIDER: SAIKI,JOE REQUIRE ACTION PROFILES?: NO         ALLOWABLE CONSECUTIVE NO-SHOWS: 0 MAX # DAYS FOR FUTURE BOOKING: 30    START TIME FOR AUTO REBOOK: 0 MAX # DAYS FOR AUTO-REBOOK: 30 LENGTH OF APP'T: 30                  PRINCIPAL CLINIC: Dr. Saiki DISPLAY INCREMENTS PER HOUR: 15-MIN  OVERBOOKS/DAY MAXIMUM: 2 PATTERN DATE: JAN 31, 2005 CURRENT AVAILABILITY: MO 31 [1 1 1 1|1 1 1 1|1 1 1 1|1 1 1 1]       [1 1 1 1|1 1 1 1|1 1 1 1] PATTERN DATE: FEB 01, 2005
 * PLUS MORE PATTERN DATE MATCHES ***