VBECS LAB ORDER LOOKUP BY UID (2486)    REMOTE PROCEDURE (8994)

Name Value
NAME VBECS LAB ORDER LOOKUP BY UID
TAG ORDER
ROUTINE VBECRPCB
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
 
                           (#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
This RPC returns XML containing a list of laboratory tests and associated 
                           sub-file (#68.02) / DRAW TIME field (#9)
 
 XML Example:
 <UIDLookup>
     <PatientName>VBECSpatient,One</PatientName>
     <VistaPatientId>1000</VistaPatientId>
     <SpecimenAccessionNumber>BB0401-01</SpecimenAccessionNumber>
     <LabOrderNumber>25000</LabOrderNumber>
     <SpecimenUID>29500000000</SpecimenUID>
     <CollectionDateTime>304010800</CollectionDateTime>
data based on a Specimen UID. The data is used in VBECS to identify an 
     <LabTests>
         <LabTest>
             <LabTestID>2400</LabTestID>
             <LabTestName>VBECS ANTIBODY SCREEN</LabTestName>
         </LabTest>
     </LabTests>
 </UIDLookup>
existing VBECS order based on the Lab Order number provided by CPRS.
 
 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
  • VBUID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Input VBUID = The specimen UID received in Blood Bank associated with a
    Lab Testaused to identify the Lab Order.
    
RETURN PARAMETER DESCRIPTION
XML document containing the patient name, DFN, accession number, lab
order number and lab tests associated with the specimen UID.