SDEC GET PATIENT DEMOG

TITLEVALUE
NAMESDEC GET PATIENT DEMOG
DESCRIPTIONThis RPC is a "LITE" version of the RPC "SDEC PTLOOKRS-Patient info
lookup" (in rtn SDEC28). This RPC (in rtn SDEC28L) finds up to "SDECC"
number of patients that match the "SDECP" Patient Identification
criteria, which can be any one of the following types of input:
a)#DFN, b)DOB, c)SSN, d)First letter of LastName followed by L4SSN,
e)PartalName or f)NULL for ALL

Variables In:
SDECP - (optional) Free-Text - Partial name to look up
SDECC - (optional) Max number of patients to return; defaults to 10
LASTSUB - (optional) last subscripts from previous call
Variables Out:
SDECY (^TMP("SDEC",$J)), which includes records found that consist of
the PATIENT NAME, SSN, DOB, DFN, SEX, and ELIGIBILITY fields.
TAGGETPATDEMOG
ROUTINESDEC1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSDECP
DESCRIPTIONThe Patient Identification criteria, which can be any one of the
following types of input:
a)#DFN, b)DOB, c)SSN, d)First letter of LastName followed by L4SSN,
e)PartalName or f)NULL for ALL
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDECC
DESCRIPTIONThe Max number of patients to return in the list, defaults to 10.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERLASTSUB
DESCRIPTIONThe last subscript from list of returned records from the previous call.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONThe RETURN values are imbedded in the Global array defined in SDECY,
These entries reflect the records that match the Patient
Identifying criteria that was supplied. The records reflect the abridged
Patient Lookup information and only report the following fields:
PATIENT NAME, SSN (last4), DOB, DFN, SEX, and ELIGIBILITY
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED