DENTV INPATIENT BEDSECTION (1649)    REMOTE PROCEDURE (8994)

Name Value
NAME DENTV INPATIENT BEDSECTION
TAG INP
ROUTINE DENTVRP1
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
DESCRIPTION
This will return a string indicating whether or not the patient is a 
current inpatient.  If an inpatient, then also return, if possible, the 
PTF Specialty and Dental Bedsection associated with the current ward that 
the patient is lodged.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is a pointer to the PATIENT file.
    
RETURN PARAMETER DESCRIPTION
RETURN: p1^p2^p3^p4^p5  where
  If not an inpatient, then this will only return 0
        p1 = Boolean flag (1 or 0) indicating inpatient status
        p2 = PTF Specialty pointer
        p3 = PTF Specialty name
        p4 = DAS Bedsection pointer
        p5 = DAS Bedsection name
 
  p2,p3,p4,p5 - only returned if patient is an inpatient
  On error, return -1^message