Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Source Information |  Call Graph |  External References |  All
Print Page as PDF
Remote Procedure: PSB WITNESS

Package: Barcode Medication Administration

Remote Procedure: PSB WITNESS


Source Information

Name Value
NAME PSB WITNESS
TAG WITNESS
ROUTINE PSBRPC1
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
DESCRIPTION
Used by frmWintess to validate if a Witness at the client is authorized 
to be a witness for a BCMA action, i.e. High Risk Drug administration.
Validation is achieved via not allowing the logged in person to witness 
for themselves, also persons that hold certain keys can't be a valid 
witness.
INPUT PARAMETER
  1. INPUT PARAMETER:   PSBACC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Access Code
    
  2. INPUT PARAMETER:   PSBVER
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Verify Code.
    
RETURN PARAMETER DESCRIPTION
Results array is returned in the following forms:
            Or     '-1^Cannot Witness for yourself'
            Or     '-1^A student does not have authority to witness a 
                       High Risk/High Alert administration.'
            Or     '-1^You do not have authority to witness a 
                       High Risk/High Alert administration.'
            Or     '-1^Read-Only users do not have authority to witness a 
                       High Risk/High Alert administration.'
            Or     '-1^Invalid VistA user - No Primary menu setup for 
                       this user in the NEW PERSON file.'
            Or     '-1^A non-BCMA user does not have authority to witness 
                       a High Risk/High Alert administration.'
 Success of the call is validated by the first up-arrow piece of data 
 being greater than 0.
  Valid authorization of Witness.
      Results[0] = 'Witness DUZ^Witness Name'
  Invalid authorization of Witness.
      Results[0] = '-1^Invalid Witness sign-on'

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
Barcode Medication Administration 1 WITNESS^PSBRPC1  

External References

Name Field # of Occurrence
WITNESS^PSBRPC1 1
Source Information |  Call Graph |  External References |  All