MAG DICOM GET LAB BY DATE (4667)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG DICOM GET LAB BY DATE
TAG DATE
ROUTINE MAGDRPCG
RETURN VALUE TYPE SINGLE VALUE
DESCRIPTION
     +---------------------------------------------------------------+
     | a medical device.  As such, it may not be changed in any way. |
     | Modifications to this software may result in an adulterated   |
     | medical device under 21CFR820, the use of which is considered |
     | to be a violation of US Federal Statutes.                     |
     +---------------------------------------------------------------+
Return subscript information from the LAB file (#63) date cross-references
"ACY", "AEM", and "ASP".
     | Property of the US Government.                                |
     | No permission to copy or redistribute this software is given. |
     | Use of unreleased versions of this software requires the user |
     | to execute a written test agreement with the VistA Imaging    |
     | Development Office of the Department of Veterans Affairs,     |
     | telephone (301) 734-0100.                                     |
     |                                                               |
     | The Food and Drug Administration classifies this software as  |
INPUT PARAMETER
  • SUBSCRIPT LEVEL
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the number of the subscript level to be returned: 1, 2, or 3.
    
  • SORT ORDER
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The value of this parameter is either ASCENDING or DESCENDING, indicating
    the traversal direction through the table.
    
  • LRSS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Lab Section: CY, EM, or SP.
    
  • DATE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Specimen received date & time in Fileman format.
    First level subscript in cross-reference (after LRO).
    
  • LRDFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Pointer to LAB file (#63).
    
  • LRI
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    Value of D0 in LAB file (#63).
    
RETURN PARAMETER DESCRIPTION
The return parameter may have one of three values, depending upon
the value of the Subscript Level input parameter.
1 - The next date for a patient with an exam in the specified lab section.
2 - The next patient with an exam for that date in the lab section.
3 - The next exam for the patient for that date in the lab section.