VBECS LAB ACCESSION UID LOOKUP (2483)    REMOTE PROCEDURE (8994)

Name Value
NAME VBECS LAB ACCESSION UID LOOKUP
TAG ORDNUM
ROUTINE VBECRPCB
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
This RPC returns XML containing a list of Laboratory tests and 
                          (#69.01) / ORDER# field (#9.5)
LabTestId element =       LAB ORDER ENTRY file (#69) / SPECIMEN sub-file 
                          (#69.01) / TEST/PROCEDURE field (#.01)
LabTestName element =     LABORATORY TEST file (#60) / NAME field (#.01)
SpecimenAccessionNumber = ACCESSION file (#68) / ACCESSION NUMBER 
                          sub-file (#68.02) / ACCESSION field (#15)
SpecimenUid =             LAB ORDER ENTRY file (#69) / SPECIMEN sub-file 
                          (#69.01) / TEST sub-file (#69.03) / UID field
                          (#16)
CollectionDateTime =      ACCESSION file (#68) / ACCESSION NUMBER 
associated data based on a Lab Order number. The data is used in VBECS to 
                          sub-file (#68.02) / DRAW TIME field (#9)
 
XML Example:
<UIDLookup>
    <LabTests>
        <LabTest>
            <PatientName>VBECSpatient,One</PatientName>
            <VistaPatientId>308</VistaPatientId>
            <LabOrderNumber>11465</LabOrderNumber>
            <LabTestID>6479</LabTestID>
validate an order and associated a specimen UID with the Blood Bank 
            <LabTestName>VBECS RED BLOOD CELLS</LabTestName>
            <SpecimenAccessionNumber>2942360003</SpecimenAccessionNumber>
            <SpecimenUID>2942360003</SpecimenUID>
            <CollectionDateTime>20040823103630-0600</CollectionDateTime>
        </LabTest>
    </LabTests>
</UIDLookup>
request.
 
XML Mapping:
PatientName element =     PATIENT file (#2) / NAME field (#.01)
VistaPatientId element =  PATIENT file (#2) / NUMBER field (#.001)
LabOrderNumber element =  LAB ORDER ENTRY file (#69) / SPECIMEN sub-file 
INPUT PARAMETER
  • VBLRO
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Input VBLRO = The Lab Order number received in Blood Bank with an order
    from CPRS. 
    
RETURN PARAMETER DESCRIPTION
XML document containing the patient name, DFN, accession number, lab
order number, specimen UID associated with the Lab Order number received
from CPRS for a VBECS order.