SDOE FIND FIRST STANDALONE

TITLEVALUE
NAMESDOE FIND FIRST STANDALONE
DESCRIPTIONThis Remote Procedure Call (RPC) returns the internal entry
number of an OUTPATIENT ENCOUNTER file (#409.68) entry for the
first the first standalone add/edit for a patient in a specified date range.

Use same date for begin and end dates for specific (single) date check.

Standalone encounter is an encounter with no parent and the originating
process is 'Stop Code Addition'.
TAGEXAE
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
DESCRIPTIONEnding 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 ien for first standalone encounter found
in date range

- if no encounter exists
AVAILABILITYPUBLIC
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED