Changeset 460 for cprs/branches/foia-cprs/CPRS-Chart/Orders/fODLab.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/fODLab.pas
r459 r460 181 181 182 182 uses rODBase, rODLab, uCore, rCore, fODLabOthCollSamp, fODLabOthSpec, fODLabImmedColl, fLabCollTimes, 183 rOrders, uODBase, fRptBox ;183 rOrders, uODBase, fRptBox, fFrame; 184 184 185 185 … … 208 208 AList: TStringList; 209 209 begin 210 frmFrame.pnlVisit.Enabled := false; 210 211 AutoSizeDisabled := True; 211 212 inherited; … … 417 418 TestID := StrToInt(LabTestIEN); 418 419 TestName := Piece(ExtractDefault(LoadData, 'Test Name'),U,1); 419 LabSubscript := Piece(ExtractDefault(LoadData, ' Test Name'),U,2);420 LabSubscript := Piece(ExtractDefault(LoadData, 'Item ID'),U,2); 420 421 TestReqComment := ExtractDefault(LoadData, 'ReqCom'); 421 422 if Length(ExtractDefault(LoadData, 'Unique CollSamp')) > 0 then UniqueCollSamp := True; … … 826 827 827 828 procedure TfrmODLab.ControlChange(Sender: TObject); 829 var 830 AResponse: TResponse; 831 AVisitStr: string; 828 832 begin 829 833 inherited; 830 834 if Changing or (ALabTest = nil) then Exit; 835 AResponse := Responses.FindResponseByName('VISITSTR', 1); 836 if AResponse <> nil then 837 AVisitStr := AResponse.EValue; 831 838 Responses.Clear; 832 839 with ALabTest do … … 877 884 with txtDays do if Enabled then Responses.Update('DAYS', 1, Text, Text); 878 885 { worry about stop date later } 886 if AVisitStr <> '' then Responses.Update('VISITSTR', 1, AVisitStr, AVisitStr); 879 887 memOrder.Text := Responses.OrderText; 880 888 end; … … 1527 1535 inherited; 1528 1536 if FCmtTypes <> nil then FCmtTypes.Free; 1537 frmFrame.pnlVisit.Enabled := true; 1529 1538 end; 1530 1539
Note:
See TracChangeset
for help on using the changeset viewer.