VBECS PATIENT LOOKUP (2474)    REMOTE PROCEDURE (8994)

Name Value
NAME VBECS PATIENT LOOKUP
TAG SEARCH
ROUTINE VBECLU
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
This RPC returns XML containing a list of patient demographic data for 
PatientLastName =       PATIENT file (#2) / first comma delimited piece 
                        of the NAME field (#.01)
PatientFirstName =      PATIENT file (#2) / second comma delimited piece 
                        and first "space" delimited piece of the NAME
                        field (#.01)
PatientMiddleName =     PATIENT file (#2) / second comma delimited piece
                        and second "space" delimited piece of the NAME
                        field (#.01)
Sensitive =             DG SECURITY LOG file (#38.1) / SECURITY LEVEL 
                        field (#2)
the purpose of inserting a new patient in the VBECS database for 
PatientDOB =            PATIENT file (#2) / DATE OF BIRTH field (#.03) in 
                        HL7 format
PatientDOBCode =        Code derived from a missing day or month value in 
                        PatientDOB.
                        B = Both Day and Month is unknown.
                        M = Month is unknown.
                        D = Day is unknown
                        V = valid Day/Month/Year
PatientSSN =            PATIENT file (#2) / SOCIAL SECURITY NUMBER field 
                        (#.09)
when receiving an autologous or directed unit on a patient that is not 
PatientDeathDate =      PATIENT file (#2) / DATE OF DEATH field (#.351)
Type =                  TYPE OF PATIENT file (#391) / NAME field (#.01)
PrimaryEligibility =    MAS ELIGIBILITY CODE file (#8.1) / PRINT NAME 
                        field (#5)
ServiceConnected =      PATIENT file (#2) / SERVICE CONNECTED? field 
                        (#.301)
ScPercent =             PATIENT file (#2) / SERVICE CONNECTED PERCENTAGE 
                        field (#.302)
PatientSexCode =        PATIENT file (#2) / SEX field (#.02)
PatientICN =            PATIENT file (#2) / INTEGRATION CONTROL NUMBER 
already defined in the VBECS Patient table.
                        field (#991.01)
Veteran =               PATIENT file (#2) / VETERAN (Y/N)? field (#1901)
PatientLocation =       PATIENT file (#2) / WARD LOCATION field (#.1)
PatientRoomBed =        PATIENT file (#2) / ROOM-BED field (#.101)
 
 
XML Example:
<record count='1'>
    <Patient>
        <Number>1</Number>
 
        <VistaPatientID>1000</VistaPatientID>
        <PatientLastName>VBECSpatient</PatientLastName>
        <PatientFirstName>One</PatientFirstName>
        <PatientMiddleName>T</PatientMiddleName>
        <Sensitive>false</Sensitive>
        <PatientDOB>19291120</PatientDOB>
        <PatientDOBCode>V</PatientDOBCode>
        <PatientSSN>666000000</PatientSSN>
        <Type>SC VETERAN</Type>
        <PrimaryEligibility>SC, 50% TO 100%</PrimaryEligibility>
XML Mapping:
        <ServiceConnected>true</ServiceConnected>
        <ScPercent>50</ScPercent>
        <PatientSexCode>M</PatientSexCode>
        <PatientICN>1000000000V000000</PatientICN>
        <Veteran>true</Veteran>
        <PatientLocation></PatientLocation>
        <PatientRoomBed></PatientRoomBed>
    </Patient>
</record>
count attribute =       Number of records found
Number element =        Sequence number of records found
VistaPatientId =        PATIENT file (#2) / NUMBER field (#.001)
INPUT PARAMETER
  • PARAM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   999
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Input PARAM("SEARCH TYPE") = type of search requested
    Input PARAM("SEARCH VALUE") = value to search on
    RETURN PARAMETER DESCRIPTION:
    XML document with list of patients found based on search type and
    search value.