Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PSSJSV0

Package: Pharmacy Data Management

Routine: PSSJSV0


Information

PSSJSV0 ;BIR/CML3,WRT-SCHEDULE VALIDATION CONT. ; 08/21/97 8:26

Source Information

Source file <PSSJSV0.m>

Entry Points

Name Comments DBIA/ICR reference
ENPSJI ; inquire for Inpatient Meds
ENI ; inquire
ENSVH ; show help
SCHT ;
DICW ;
; PSSJEEU CALLS THIS-IT LOOKS AT FILE 51.1
ENSTH ; executable help for type of schedule
HOT

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Formatting: !!
  • Prompt: "Select STANDARD SCHEDULE: "
  • Variable: X
  • Timeout: DTIME
  • Line Location: ENI+1
Function Call: WRITE
  • Prompt: !!?2,"Enter a standard schedule to view the information pertaining to that schedule."
  • Line Location: ENI+2
Function Call: WRITE
  • Prompt: !!?2,"Schedule: ",$P(Y(0),"^"),?58,"Type: ",$S("C"[X:"CONTINUOUS",X="D":"DAY OF THE WEEK",X="O":"ONE-TIME",X="S":"SHIFT",X="R":"RANGE",1:X)
  • Line Location: ENI+5
Function Call: WRITE
  • Prompt: !?2,"Standard Admin Times: ",$P(Y(0),"^",2)
  • Line Location: ENI+6
Function Call: WRITE
  • Prompt: !?2,"Max Days for Orders: ",$P(Y(0),U,7)
  • Condition for execution: $P(Y(0),U,7)
  • Line Location: ENI+6
Function Call: WRITE
  • Prompt: !?2,"Frequency (in minutes): ",$P(Y(0),"^",3)
  • Line Location: ENI+7
Function Call: WRITE
  • Prompt: !,"Standard Shifts: ",$P(Y(0),"^",5)
  • Line Location: ENI+8
Function Call: WRITE
  • Prompt: !?5,"Enter a schedule for this order."
  • Line Location: ENSVH+1
Function Call: WRITE
  • Prompt: !?3,$P($T(SCHT+Q),";",3)
  • Line Location: ENSVH+2
Function Call: READ
  • Formatting: !
  • Prompt: "(Press RETURN to continue.) "
  • Variable: Q
  • Timeout: DTIME
  • Line Location: ENSVH+4
Function Call: WRITE
  • Prompt: " ",$S(Z>0:"SHIFT",Z=-2:"RANGE",1:"ONE-TIME")
  • Condition for execution: Z
  • Line Location: DICW+2
Function Call: WRITE
  • Prompt: " ",$P(^(0),"^",Z+2)
  • Line Location: DICW+2
Function Call: WRITE
  • Prompt: " ",$P(^PS(51.1,+Y,0),"^",Z*4+2),$S($P(^PS(51.1,+Y,0),U,12):" **INACTIVE** ",1:"")
  • Line Location: DICW+3
Function Call: WRITE
  • Prompt: !!?2,"The TYPE OF SCHEDULE determines how the schedule will be processed."
  • Line Location: ENSTH+1
Function Call: WRITE
  • Prompt: !!?2,"A CONTINUOUS schedule is one in which an action is to take place on a regular",!,"basis, such as 'three times a day' or 'once every two days'."
  • Line Location: ENSTH+2
Function Call: WRITE
  • Prompt: !?2,"A DAY OF THE WEEK schedule is one in which the action is to take place only",!,"on specific days of the week. This type of schedule should have admin times",!,"entered with it. If not, the start time of the order is used as the"
  • Line Location: ENSTH+3
Function Call: WRITE
  • Prompt: !?2,"A DAY OF THE WEEK-RANGE schedule is one in which the action to take place",!,"only on specific days of the week, but at no specific time of day (no admin",!,"times). Whenever this type is chosen, the name of the schedule must be in "
  • Line Location: ENSTH+5
Function Call: WRITE
  • Prompt: "the",!,"form of 'MO-WE-FR'."
  • Line Location: ENSTH+6
Function Call: WRITE
  • Prompt: !?2,"A RANGE schedule is one in which the action will take place within a given",!,"date range."
  • Line Location: HOT+1
Function Call: WRITE
  • Prompt: !?2,"A SHIFT schedule is one in which the action will take place within a given",!,"range of times of day."
  • Line Location: HOT+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(51.1 - [#51.1] Classic Fileman Calls
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call