SDOE FIND FIRST ENCOUNTER

TITLEVALUE
NAMESDOE FIND FIRST ENCOUNTER
DESCRIPTIONThis Remote Procedure Call (RPC) returns the internal entry number
of an OUTPATIENT ENCOUNTER file (#409.68) entry for the first encounter
for a patient in a specified date range.
TAGEXOE
ROUTINESDOERPC
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPATIENT ID
DESCRIPTIONThis is the internal entry number of an entry in the PATIENT [#2 - ^DPT] file.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERBEGIN DATE/TIME
DESCRIPTIONBeginning date and time in VA FileMan format.

Time is optional.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETEREND DATE/TIME
DESCRIPTIONEnd date and time in VA FileMan format.

Time is optional.

PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERSEARCH FLAGS
DESCRIPTIONThis parameter allows developers to set specific flags that are
used as an API searches encounter records. The flags indicate how
the API should function.

Character Description
--------- -----------
C Use only completed encounters
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTION - Outpatient Encounter ID for first encounter found in date range

- if no encounter exists

AVAILABILITYPUBLIC
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED