|RETURN VALUE TYPE||ARRAY|
This RPC is used to validate the data scanned in at the scan patient wristband prompt of the mnOpenPatient component. The value passed in is either the full SSN scanned in from the patient wristband -or- the 1U4N syntax of the patient lookup. In either case the call must return only one patient from the lookup. If the 1U4N syntax is used and multiple patients are found the call returns an error. If only one patient is found the RESULTS( ) array is loaded with the patient data and passed back to the client for verification.
|RETURN PARAMETER DESCRIPTION||
If no patient or multiple patients are found with the scan value an Results = Count of returned records In the case of an error: Results = '-1^ "the appropriate error message" ' Results = DFN Results = Name Results = SSN^Dashed SSN Results = Internal DOB^External DOB Results = Age error is returned in the following format: Results = Internal Sex^External Sex Results = Internal Last Mvmt^External Last Mvmt Results = Internal Type Mvmt^External Type Mvmt Results = Internal Ward Location^External Ward Location^ Internal Hospital Location^External Hospital Location Results = Internal Bed Location^External Bed Location Results = Internal P-Care Physician^External P-Care Physician Results = Internal Treating Speciality^External Treating Speciality Results = Movement Diagnosis Results = 1 if in Bed Status 0 if not in Bed Status (i.e. Pass) Results = Expected return date from Pass Results = Reactions Results = Height Results = Weight Results = Means Tests Results = ICN umber Results = " Admission Status message " Results = This NODE begins 'other' patient information. This NODE may be null. Records on this NODE will have a header. A header will consist of one of the Results = 1 following: "PATFLG" The PATFLG header will initiate a patient flag record. The patient flag record will be constructed as follows: "PATFLG" ^ FLAG NAME ^ index# Results = '-1^Unable to Determine Patient ID' If a unique patient is found the following data is returned to the user: