VistA Analysis » VistA Reference » RPCs » VBECS LAB ORDER LOOKUP BY UID
VBECS LAB ORDER LOOKUP BY UID
This RPC returns XML containing a list of laboratory tests and associated data based on a Specimen UID. The data is used in VBECS to identify an 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 (#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 sub-file (#68.02) / DRAW TIME field (#9) XML Example:
Properties
Property | Value |
---|---|
Label | ORDER |
MUMPS Implementation | VBECRPCB |
Return Type | GLOBAL ARRAY |
Input Parameters
Name | Type | Maximum Data Length | Required | Description |
---|---|---|---|---|
VBUID | LITERAL | 20 | true | Input VBUID = The specimen UID received in Blood Bank associated with aLab Testaused to identify the Lab Order. |
Document generated on August 31st 2022, 2:55:43 pm