SDOE FIND LAST STANDALONE

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

Standalone encounter is an encounter with no parent and the
originating process is 'Stop Code Addition'.
TAGGETLAST
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 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 last standalone encounter found
after date

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