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 SCANMED

Package: Barcode Medication Administration

Remote Procedure: PSB SCANMED


Source Information

Name Value
NAME PSB SCANMED
TAG SCANMED
ROUTINE PSBRPC2
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
VERSION 2
DESCRIPTION
Takes the scanned valued from the medication and does a lookup on file 
50 for an exact match.  If more than one or less than one entry are 
found for the lookup an error is returned to the client.
INPUT PARAMETER
  1. INPUT PARAMETER:   SCANVAL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the data received from the client scanning the medication.
    
  2. INPUT PARAMETER:   PSBDIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Takes the scanned valued from the medication and does a lookup on file
    50 for an exact match.  If more than one or less than one entry are
    found for the lookup an error is returned to the client.
    
  3. INPUT PARAMETER:   PSBTAB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the current tab the user is on.
    
RETURN PARAMETER DESCRIPTION
Return on error:
               ADD^IEN^Generic Name
  Results[0] = '-1^Unable to determine exact medication'
Return on successful scan:
  Results[0] = number of items returned in the results array.
  Results[1] = DD^IEN^Generic Name
               SOL^IEN^Generic Name

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
Barcode Medication Administration 1 SCANMED^PSBRPC2  

External References

Name Field # of Occurrence
SCANMED^PSBRPC2 1
Source Information |  Call Graph |  External References |  All