ORWPCE HASVISIT (739)    REMOTE PROCEDURE (8994)

Name Value
NAME ORWPCE HASVISIT
TAG HASVISIT
ROUTINE ORWPCE
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
DESCRIPTION
Returns the visit status of the visit associated with a note:

1 if the visit is being pointed to by an appointment
0 if the visit is NOT being pointed to by an appointment
-1 if the visit is invalid or could not be determined
INPUT PARAMETER
  • IEN
    PARAMETER TYPE:   LITERAL
    DESCRIPTION:   
    IEN of the Note.
    
  • DFN
    PARAMETER TYPE:   LITERAL
    DESCRIPTION:   
    Patient DFN.
    
  • ORLOC
    PARAMETER TYPE:   LITERAL
    DESCRIPTION:   
    Hospital Location.
    
  • ORDTE
    PARAMETER TYPE:   LITERAL
    DESCRIPTION:   
    Visit Date