Pharmacy Inpatient Setup

From VistApedia
Revision as of 17:57, 22 October 2011 by Shabiel (talk | contribs)
Jump to: navigation, search

Inpatient Pharmacy took a good while to set-up. Here are my notes on how I have done that. I have only done Unit Dose though. Questions: Post on the hardhats Google Group. http://groups.google.com/group/hardhats.

Prerequisites for Set-up

  • MAS Wards and Rooms have to be completely configured before you start configuring Inpatient Pharmacy, as Inpatient Pharmacy Parameters reference them.
  • Menu: PSJU MGR
  • Key: PSJU MGR for access to the Supervisor Menu
  • Menu: PSS MGR (No keys necessary except for entering drugs)

Schedule Set-up

Find the Hospital's policy for their Administration Times, prohibited abbreviations, and whether some wards get specific administration times. In my case, the Children's Ward had different administration times. You may delete Schedules are not used.

Menu: PSS MGR > Standard Schedule Edit

My end result:

ADMINISTRATION SCHEDULE List                          AUG 11,2011@14:41   PAGE 1
--------------------------------------------------------------------------------


NUMBER: 51                              NAME: 5/D
  STANDARD ADMINISTRATION TIMES: 09-12-15-18-21
  FREQUENCY (IN MINUTES): 288           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: FIVE TIMES DAILY

NUMBER: 42                              NAME: AC
  STANDARD ADMINISTRATION TIMES: 07-11-16
  FREQUENCY (IN MINUTES): 480           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: BEFORE MEALS

NUMBER: 2                               NAME: BID
  STANDARD ADMINISTRATION TIMES: 09-21  FREQUENCY (IN MINUTES): 720
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: TWICE A DAY
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08-20

NUMBER: 46                              NAME: IMODIUM PRN
  FREQUENCY (IN MINUTES): 60            PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: PRN
  OUTPATIENT EXPANSION: INITIAL 2 CAP THEN 1 CAP AFTER LS - MAX 8

NUMBER: 36                              NAME: MO-WE-FR
  STANDARD ADMINISTRATION TIMES: 09     PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS

NUMBER: 47                              NAME: NITRATE
  FREQUENCY (IN MINUTES): 300           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS

NUMBER: 27                              NAME: NOW
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: ONE-TIME


NUMBER: 35                  	            NAME: ONCE
  STANDARD ADMINISTRATION TIMES: 1600   FREQUENCY (IN MINUTES): 1440
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: ONE-TIME
  MAX DAYS FOR ORDERS: 1


NUMBER: 43                              NAME: PC
  STANDARD ADMINISTRATION TIMES: 0830-1230-1830
  FREQUENCY (IN MINUTES): 480           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: AFTER MEALS

NUMBER: 11                              NAME: Q12H
  STANDARD ADMINISTRATION TIMES: 09-21  FREQUENCY (IN MINUTES): 720
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: EVERY 12 HOURS
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08-20

NUMBER: 38                              NAME: Q2H
  STANDARD ADMINISTRATION TIMES: 01-03-05-07-09-11-13-15-17-19-21-23
  FREQUENCY (IN MINUTES): 120           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: EVERY 2 HOURS

NUMBER: 53                              NAME: Q2WEEKS
  STANDARD ADMINISTRATION TIMES: 09     FREQUENCY (IN MINUTES): 20160
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: Once every 2 weeks
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08

NUMBER: 5                               NAME: Q3H
  STANDARD ADMINISTRATION TIMES: 01-04-07-10-13-16-19-22
  FREQUENCY (IN MINUTES): 180           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: EVERY 3 HOURS

NUMBER: 4                               NAME: Q4H
  STANDARD ADMINISTRATION TIMES: 01-05-09-13-17-21
  FREQUENCY (IN MINUTES): 240           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: EVERY 4 HOURS
WARD: Child 2R 214-225 South
  WARD ADMINISTRATION TIMES: 04-08-12-16-20-24

NUMBER: 50                              NAME: Q5MIN
  FREQUENCY (IN MINUTES): 5             PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: Every 5 Minutes

NUMBER: 3                               NAME: Q6H
  STANDARD ADMINISTRATION TIMES: 06-12-18-24
  FREQUENCY (IN MINUTES): 360           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: EVERY 6 HOURS

NUMBER: 6                               NAME: Q8H
  STANDARD ADMINISTRATION TIMES: 01-09-17
  FREQUENCY (IN MINUTES): 480           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: EVERY 8 HOURS
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08-16-24

NUMBER: 7                               NAME: QAM
  STANDARD ADMINISTRATION TIMES: 09     FREQUENCY (IN MINUTES): 1440
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: EVERY MORNING
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08

NUMBER: 1                               NAME: QDAY
  STANDARD ADMINISTRATION TIMES: 09     FREQUENCY (IN MINUTES): 1440
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: ONCE A DAY
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08

NUMBER: 23                              NAME: QHS
  STANDARD ADMINISTRATION TIMES: 21     FREQUENCY (IN MINUTES): 1440
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: AT BEDTIME
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 20

NUMBER: 10                              NAME: QID
  STANDARD ADMINISTRATION TIMES: 09-13-17-21
  FREQUENCY (IN MINUTES): 360           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: FOUR TIMES A DAY
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08-12-16-20

NUMBER: 12                              NAME: QOD
  STANDARD ADMINISTRATION TIMES: 09     FREQUENCY (IN MINUTES): 2880
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: EVERY OTHER DAY
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08

NUMBER: 54                              NAME: QPM
  STANDARD ADMINISTRATION TIMES: 05     FREQUENCY (IN MINUTES): 1440
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: Every Evening

NUMBER: 52                              NAME: QWEEKLY
  STANDARD ADMINISTRATION TIMES: 09     FREQUENCY (IN MINUTES): 10080
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: CONTINUOUS
  OUTPATIENT EXPANSION: Once a week
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08

NUMBER: 39                              NAME: STAT
  PACKAGE PREFIX: PSJ                   TYPE OF SCHEDULE: ONE-TIME

NUMBER: 9                               NAME: TID
  STANDARD ADMINISTRATION TIMES: 09-15-21
  FREQUENCY (IN MINUTES): 480           PACKAGE PREFIX: PSJ
  TYPE OF SCHEDULE: CONTINUOUS          OUTPATIENT EXPANSION: THREE TIMES A DAY
WARD: Child 2R 214-225 South            WARD ADMINISTRATION TIMES: 08-14-20

NUMBER: 41                              NAME: TODAY
  STANDARD ADMINISTRATION TIMES: 1230-1330
  FREQUENCY (IN MINUTES): 60            PACKAGE PREFIX: PSO
  MAX DAYS FOR ORDERS: 1

NUMBER: 40                              NAME: TOMORROW
  STANDARD ADMINISTRATION TIMES: 0815-0915-1015
  FREQUENCY (IN MINUTES): 60            PACKAGE PREFIX: PSO
  TYPE OF SCHEDULE: ONE-TIME            MAX DAYS FOR ORDERS: 1

Drug Enter/Edit

Before you do anything, you need to enter all the drugs that your pharmacy uses from your pharmacy formulary. That will take 1-3 months. Here's how: Enter a Drug. Before I started, I deleted all traces of the old drug file using this routine I wrote: http://bazaar.launchpad.net/~sam-habiel/astronaut-vista-server/enhancements/view/head:/JJIHDCLR.m

Also, I learned it may be better to configure the Schedules first before doing the drugs, as you use Schedules when you make orderable items. So I would recommend that.

IV Room Set-up

The next step is to set-up the IV Room. While technically not needed if you are only doing Unit Dose, it's required for some options in the UD menu to work.

Select Unit Dose Medications Option: IOE  Inpatient Order Entry

Whoops ... You don't have an IV ROOM defined ... 
You MUST define at least one IV ROOM before you can continue.

Select IV ROOM: NULL
  Are you adding 'NULL' as a new IV ROOM (the 1ST)? No//   (No) ??

Select IV ROOM: NULL ROOM
  Are you adding 'NULL ROOM' as a new IV ROOM (the 1ST)? No// Y  (Yes)
NAME: NULL ROOM// 
LENGTH OF LABEL: 5??
     Type a whole number between 12 and 66.
LENGTH OF LABEL: 12
WIDTH OF LABEL: ??
          Enter the maximum allowable width of your label in number of character
s.
        If you do not enter data into this field, the system will use '30' as
        the default.  If a line of print cannot fit within the width you define 
        here, it will continue on the next line of the label.
   
WIDTH OF LABEL: 35
LINE FEEDS BETWEEN LABELS: N??
     Type a whole number between 0 and 6.
LINE FEEDS BETWEEN LABELS: 1
END OF LABEL TEXT: **ICH SOUTH**
HEADER LABEL:   
SHOW BED LOCATION ON LABEL: 
USE SUSPENSE FUNCTIONS: 
DOSE DUE LINE: 
LVP'S GOOD FOR HOW MANY DAYS: 1
HYPERAL GOOD FOR HOW MANY DAYS: 1
PB'S GOOD FOR HOW MANY DAYS: 1
SYRN'S GOOD FOR HOW MANY DAYS: 1
CHEMO'S GOOD FOR HOW MANY DAYS: 1
STOP TIME FOR ORDER: 
EXPIRE ALL ORDERS ON SAME DAY: 
ACTIVITY RULER: 
TOTAL VOL. ON HYPERAL LABELS: 
Select START OF COVERAGE: ??
Select START OF COVERAGE: 0830
  Are you adding '0830' as a new START OF COVERAGE (the 1ST for this IV ROOM)? 
No// Y  (Yes)
  END OF COVERAGE: 1700
  TYPE: A  ADMIXTURES AND PRIMARIES
  MANUFACTURING TIME: 1200
  DESCRIPTION: 0830 to 1700// 
Select START OF COVERAGE: "0830"
  Are you adding '0830' as a new START OF COVERAGE (the 2ND for this IV ROOM)? 
No// Y  (Yes)
  END OF COVERAGE: 1700
  TYPE: P  PIGGYBACKS
  MANUFACTURING TIME: 1200
  DESCRIPTION: 0830 to 1700// 
Select START OF COVERAGE: "0830"
  Are you adding '0830' as a new START OF COVERAGE (the 3RD for this IV ROOM)? 
No// Y  (Yes)
  END OF COVERAGE: 1700
  TYPE: H  HYPERALS
  MANUFACTURING TIME: 1200
  DESCRIPTION: 0830 to 1700// 
Select START OF COVERAGE: "0830 ??
Select START OF COVERAGE: "0830"
  Are you adding '0830' as a new START OF COVERAGE (the 4TH for this IV ROOM)? 
No// Y  (Yes)
  END OF COVERAGE: 1700
  TYPE: S  SYRINGE
  MANUFACTURING TIME: 1200
  DESCRIPTION: 0830 to 1700// 
Select START OF COVERAGE: "0830"
  Are you adding '0830' as a new START OF COVERAGE (the 5TH for this IV ROOM)? 
No// Y  (Yes)
  END OF COVERAGE: 1700
  TYPE: C  CHEMOTHERAPY
  MANUFACTURING TIME: 1200
  DESCRIPTION: 0830 to 1700// 
Select START OF COVERAGE: ?
    Answer with START OF COVERAGE
   Choose from:
   1            0830  
   A covering from 0830 to 1700
   2            0830  
   P covering from 0830 to 1700
   3            0830  
   H covering from 0830 to 1700
   4            0830  
   S covering from 0830 to 1700
   5            0830  
   C covering from 0830 to 1700
         
        You may enter a new START OF COVERAGE, if you wish
        Answer must be in military time (i.e., 4 NUMBERS)!
   
Select START OF COVERAGE: 
Select DELIVERY TIME: 1500
  Are you adding '1500' as a new DELIVERY TIME (the 1ST for this IV ROOM)? No//
 Y  (Yes)
Select DELIVERY TIME: 
LABEL DEVICE: HOME//   TELNET

REPORT DEVICE: HOME//   TELNET

INACTIVATION DATE: 
DAYS TO RETAIN IV STATS: 

You are signed on under the NULL ROOM IV ROOM

Current IV LABEL device is: TELNET

Current IV REPORT device is: TELNET

System Parameters

Go to Supervisor Menu > PARameters Edit Menu > Systems Parameters Edit

Select PARameters Edit Menu Option: systems Parameters Edit

NON-FORMULARY MESSAGE:
  THERE ARE NO LINES!
  Edit? NO// y  YES

[ WRAP ]==[INSERT ]=========< NON-FORMULARY MESSAGE [Press <F1>H for help]====
This drug is non-formulary. Please contact the Inpatient Pharmacy before 
ordering.

PRINT 6 BLOCKS FOR THE PRN MAR: 1 YES ''Recommended''
PRINT DIET ABBR LABEL ON MAR:   ''Don't turn on unless you use Dietetics''
MAR SORT: ?
     Choose from: 
       0        Sort by order's Schedule Type and then Medication Names.
       1        Sort by order's Medication Names.
MAR SORT: 0  Sort by order's Schedule Type and then Medication Names.
ATC SORT PARAMETER: 
CALC UNITS NEEDED PRN ORDERS: ?
     Enter a 1 if you would like to have the UNITS NEEDED calculated for PRN
     orders on the Pick List.
     Choose from: 
       1        YES
CALC UNITS NEEDED PRN ORDERS: 
DAYS UNTIL STOP FOR ONE-TIME: 1
ROUND ATC PICK LIST UNITS: 
EXPIRED IV TIME LIMIT: ?
     Type the Number of Hours between 0 and 24 that continuous IV orders may be
     renewed after expiring
EXPIRED IV TIME LIMIT: 
PRIORITIES FOR PENDING NOTIFY: ?
     Choose from: 
       S        STAT
       SA       STAT/ASAP
       SAN      STAT/ASAP/NOW
       A        ASAP
       AN       ASAP/NOW
       N        NOW
       SN       STAT/NOW
PRIORITIES FOR PENDING NOTIFY: 
PRIORITIES FOR ACTIVE NOTIFY: 
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">
<pre style="padding:1em;border:1px dashed #2f6fab;color:black;background-color:#f9f9f9;line-height:1.1em">