SDOE FIND FIRST STANDALONE (124)    REMOTE PROCEDURE (8994)

Name Value
NAME SDOE FIND FIRST STANDALONE
TAG EXAE
ROUTINE SDOERPC
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY PUBLIC
DESCRIPTION
This 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'.
INPUT PARAMETER
  • PATIENT ID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the internal entry number of an entry in the PATIENT [#2 - ^DPT] file.
    
  • BEGIN DATE/TIME
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Beginning date and time in VA FileMan format.
    
    Time is optional.
    
  • END DATE/TIME
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Ending date and time in VA FileMan format.
    
    Time is optional.
    
    
  • SEARCH FLAGS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    This 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
    
RETURN PARAMETER DESCRIPTION
<pointer> - Outpatient Encounter ien for first standalone encounter found
            in date range

 <null>   - if no encounter exists