SDEC PCST2GET

TITLEVALUE
NAMESDEC PCST2GET
DESCRIPTIONGET patient clinic status for a service/specialty (clinic stop) for a
given time frame - has the patient been seen any clinics with the given
service/specialty (clinic stop) in the past 24 months.
TAGPCST2GET
ROUTINESDEC
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDFN
DESCRIPTIONPatient ID - Pointer to the PATIENT file 2
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDSVSP
DESCRIPTIONService/Specialty name - NAME from the SD WL SERVICE/SPECIALTY file -
looks for 1st active
OR - Pointer to the SD WL SERVICE/SPECIALTY file
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERSDBEG
DESCRIPTIONBegin date in external format; defaults to 730 days previous (24 months)
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERSDEND
DESCRIPTIONEnd date in external format; defaults to today
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTION; Successful Return:
; a single entry in the global array indicating that patient has or has
; not been seen.
; "T00020RETURNCODE^T00100TEXT"
; Caught Exception Return:
; A single entry in the Global Array in the format "-1^"
; "T00020RETURNCODE^T00100TEXT"
; Unexpected Exception Return:
; Handled by the RPC Broker.
; M errors are trapped by the use of M and Kernel error handling.
; The RPC execution stops and the RPC Broker sends the error
generated
; text back to the client.
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED