Ignore:
Timestamp:
Jul 6, 2008, 8:20:14 PM (16 years ago)
Author:
Kevin Toppenberg
Message:

Uploading from OR_30_258

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/foia-cprs/CPRS-Chart/Orders/rODLab.pas

    r459 r460  
    2222procedure GetLabTimesForDate(Dest: TStrings; LabDate: TFMDateTime; Location: integer);
    2323function  GetLastCollectionTime: string;
     24procedure GetPatientBBInfo(Dest: TStrings; PatientID: string; Loc: integer);
     25procedure GetPatientBloodResults(Dest: TStrings; PatientID: string; ATests: TStringList);
     26procedure GetPatientBloodResultsRaw(Dest: TStrings; PatientID: string; ATests: TStringList);
     27function  StatAllowed(PatientID: string): boolean;
     28procedure GetBloodComponents(Dest: TStrings);
    2429
    2530implementation
     
    2732uses  rODBase;
    2833(*    fODBase, rODBase, fODLab;*)
     34
     35procedure GetBloodComponents(Dest: TStrings);
     36begin
     37  tCallV(Dest, 'ORWDXVB COMPORD', []);
     38end;
     39
     40function  StatAllowed(PatientID: string): boolean;
     41begin
     42  Result := (StrToInt(sCallV('ORWDXVB STATALOW',[PatientID])) > 0);
     43end;
     44
     45procedure GetPatientBloodResultsRaw(Dest: TStrings; PatientID: string; ATests: TStringList);
     46begin
     47  tCallV(Dest, 'ORWDXVB RAW', [PatientID, ATests]);
     48end;
     49
     50procedure GetPatientBloodResults(Dest: TStrings; PatientID: string; ATests: TStringList);
     51begin
     52  tCallV(Dest, 'ORWDXVB RESULTS', [PatientID, ATests]);
     53end;
     54
     55procedure GetPatientBBInfo(Dest: TStrings; PatientID: string; Loc: integer);
     56begin
     57  tCallV(Dest, 'ORWDXVB GETALL', [PatientID, Loc]);
     58end;
    2959
    3060function ODForLab(Location, Division: integer): TStrings;
Note: See TracChangeset for help on using the changeset viewer.