MAGTP GET ACTIVE (3301)    REMOTE PROCEDURE (8994)

Name Value
NAME MAGTP GET ACTIVE
TAG GETAC
ROUTINE MAGTP004
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
DESCRIPTION
Get list of all unreleased (FLAG=0) or released (FLAG=1) reports,
filter by back days for unreleased reports.
Filter by Station Number if consultations are present for a case.
INPUT PARAMETER
  1. INPUT PARAMETER:   FLAG
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    FLAG = 0: Unreleased / 1: Released
    
  2. INPUT PARAMETER:   DAYS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Show verified reports up to DAYS (# of days) ago
    
  3. INPUT PARAMETER:   STAT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    If non null, display the case if it has a
    consultation for an interpreting station equal to the input.
    
RETURN PARAMETER DESCRIPTION
Line 0: 1^Number of lines^Released Reports/Unreleased Reports (Success) or 0^0^Error message (Failure)
Line n: Case #^Reserved Flag^Reserved By^Patient Name^Patient ID^Priority^Slide Available^Specimen Taken Date/Time^Status^Site^AP Section^Year^Accession Number^ICN^Specimen Count^Method^Short ID^Note? (Yes/No)