ORWPT DISCHARGE (537)    REMOTE PROCEDURE (8994)

Name Value
NAME ORWPT DISCHARGE
TAG DISCHRG
ROUTINE ORWPT
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY SUBSCRIPTION
DESCRIPTION
Given a patient and an admission date, return the discharge date/time.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The patient ien (i.e., DFN).
    
  • ADMITDT
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Date the patient was admitted.
    
RETURN PARAMETER DESCRIPTION
Y=DISDT, where DISDT is the discharge date/time, or DT if none.
 
where DCDT is the discharge date/time, or '0' if none.