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
Print Page as PDF
Routine: PSDORV

Package: Controlled Substances

Routine: PSDORV


Information

PSDORV ;BIR/JPW - IV Pharm CS Order Request Entry ;8 Aug 94

Source Information

Source file <PSDORV.m>

Entry Points

Name Comments DBIA/ICR reference
NAOU ;select NAOU to order supplies for
DRUG ;select drug
QTY
END
DIE ;create the order request
DIE2
MSG ;display error message

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7),!!,?9,"** Please contact your Pharmacy Coordinator for access to order",!,?12,"narcotic supplies.",!!,"PSJ RPHARM or PSJ PHARM TECH security key required.",!
  • Line Location: PSDORV+4
Function Call: WRITE
  • Prompt: !!,"Controlled Substances Order Entry",!!
  • Line Location: PSDORV+5
Function Call: WRITE
  • Prompt: !!,"Contact your Pharmacy Coordinator.",!,"The Pharmacy Dispensing Site is invalid for this NAOU."
  • Line Location: NAOU+12
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: QTY+0
Function Call: WRITE
  • Prompt: !!,"Quantity must be a whole number between 1 and 999999",!
  • Line Location: QTY+1
Function Call: WRITE
  • Prompt: ?10,!!,"processing now..."
  • Line Location: DIE2+2
Function Call: WRITE
  • Prompt: $C(7),!!,?10,"Contact your Pharmacy Coordinator.",!,?10,"This "_$S(MSG=2:"Dispensing Site",MSG=1:"NAOU",1:"DRUG")_" is missing "
  • Line Location: MSG+1
Function Call: WRITE
  • Prompt: $S(MSG1=1:"Primary Disp. Site",MSG1=2:"stocked drugs",MSG1=3:"narcotic breakdown unit",MSG1=4:"narcotic package size",1:"data")_".",!
  • Line Location: MSG+2
Info |  Source |  Entry Points |  Interaction Calls