SDEC PCSTGET (3577)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC PCSTGET
TAG PCSTGET
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
GET patient clinic status for a clinic stop for a given time frame - has 
the patient been seen by the given Clinic Stop code in the past 24 months
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    (required) Patient ID - Pointer to the PATIENT file 2
    
  • SDCL
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    (required) Clinic code - Pointer to HOSPITAL LOCATION file
    
  • SDBEG
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    (optional)  Begin date in external format; defaults to 730 days previous 
    (24 months)
    
  • SDEND
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    (optional)  End date in external format; defaults to today
    
RETURN PARAMETER DESCRIPTION
 ;   a single entry in the global array indicating that patient has or has
 ;     The RPC execution stops and the RPC Broker sends the error 
generated
 ;     text back to the client.
 ;   not been seen.
 ;   "T00020RETURNCODE^T00100TEXT"
 ; Caught Exception Return:
 ;   A single entry in the Global Array in the format "-1^<error text>"
 ;   "T00020RETURNCODE^T00100TEXT"
 ; Unexpected Exception Return:
 ;     Handled by the RPC Broker.
 ;     M errors are trapped by the use of M and Kernel error handling.