SDEC PCSTGET

TITLEVALUE
NAMESDEC PCSTGET
DESCRIPTIONGET 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
TAGPCSTGET
ROUTINESDEC
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDFN
DESCRIPTION(required) Patient ID - Pointer to the PATIENT file 2
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDCL
DESCRIPTION(required) Clinic code - Pointer to HOSPITAL LOCATION file
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

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

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERSDEND
DESCRIPTION(optional) End date in external format; defaults to today
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTION ; 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