Changeset 460 for cprs/branches/foia-cprs/CPRS-Chart/Orders/rODLab.pas
- Timestamp:
- Jul 6, 2008, 8:20:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/foia-cprs/CPRS-Chart/Orders/rODLab.pas
r459 r460 22 22 procedure GetLabTimesForDate(Dest: TStrings; LabDate: TFMDateTime; Location: integer); 23 23 function GetLastCollectionTime: string; 24 procedure GetPatientBBInfo(Dest: TStrings; PatientID: string; Loc: integer); 25 procedure GetPatientBloodResults(Dest: TStrings; PatientID: string; ATests: TStringList); 26 procedure GetPatientBloodResultsRaw(Dest: TStrings; PatientID: string; ATests: TStringList); 27 function StatAllowed(PatientID: string): boolean; 28 procedure GetBloodComponents(Dest: TStrings); 24 29 25 30 implementation … … 27 32 uses rODBase; 28 33 (* fODBase, rODBase, fODLab;*) 34 35 procedure GetBloodComponents(Dest: TStrings); 36 begin 37 tCallV(Dest, 'ORWDXVB COMPORD', []); 38 end; 39 40 function StatAllowed(PatientID: string): boolean; 41 begin 42 Result := (StrToInt(sCallV('ORWDXVB STATALOW',[PatientID])) > 0); 43 end; 44 45 procedure GetPatientBloodResultsRaw(Dest: TStrings; PatientID: string; ATests: TStringList); 46 begin 47 tCallV(Dest, 'ORWDXVB RAW', [PatientID, ATests]); 48 end; 49 50 procedure GetPatientBloodResults(Dest: TStrings; PatientID: string; ATests: TStringList); 51 begin 52 tCallV(Dest, 'ORWDXVB RESULTS', [PatientID, ATests]); 53 end; 54 55 procedure GetPatientBBInfo(Dest: TStrings; PatientID: string; Loc: integer); 56 begin 57 tCallV(Dest, 'ORWDXVB GETALL', [PatientID, Loc]); 58 end; 29 59 30 60 function ODForLab(Location, Division: integer): TStrings;
Note:
See TracChangeset
for help on using the changeset viewer.