SDEC GET PATIENT DEMOG (4522)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC GET PATIENT DEMOG
TAG GETPATDEMOG
ROUTINE SDEC1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
This RPC is a "LITE" version of the RPC "SDEC PTLOOKRS-Patient info 
    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.
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
INPUT PARAMETER
  • SDECP
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The 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
    
  • SDECC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The Max number of patients to return in the list, defaults to 10.
    
  • LASTSUB
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    The last subscript from list of returned records from the previous call.
    
RETURN PARAMETER DESCRIPTION
The 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