Procedure

TfrmODLab.cboSpecimenMouseClick

Module

fODLab

Last Modified

7/15/2014 3:26:42 PM

Visibility

Public/Published

Owner

TfrmODLab

Declaration

procedure cboSpecimenMouseClick(Sender: TObject);

Calls Hierarchy


TfrmODLab.cboSpecimenMouseClick
 ├TfrmODLab.GetAllSpecimens
 │ └SelectOtherSpecimen
 │   └TfrmBase508Form.Create
 │     ├TfrmBase508Form.UpdateAccessibilityActions
 │     ├UnfocusableControlEnter
 │     └AdjustControls
 │       ├TfrmBase508Form.ModifyUnfocusableControl
 │       └..(rec)..
 └TfrmODLab.ControlChange
   ├TResponses.FindResponseByName
   ├TResponses.Clear
   ├TResponses.Update
   │ ├TResponses.FindResponseByName
   │ └TResponses.IENForPrompt
   ├TLabTest.NameOfCollSamp
   │ └TLabTest.IndexOfCollSamp
   ├TLabTest.NameOfSpecimen
   │ └TLabTest.IndexOfCollSamp
   ├TLabTest.NameOfUrgency
   ├TfrmODLab.ValidCollTime
   │ └StrToFMDateTime
   └TResponses.GetOrderText
     ├TResponses.NextInstance
     ├TResponses.FindResponseByName
     ├TResponses.FormatResponse
     │ └TResponses.FindResponseByIEN
     └TResponses.AppendChildren
       ├TResponses.FindPromptByIEN
       ├TResponses.FindResponseByIEN
       └TResponses.FormatResponse...

Calls

Name Declaration Comments
TfrmODLab.ControlChange procedure ControlChange(Sender: TObject); -
TfrmODLab.GetAllSpecimens procedure GetAllSpecimens(AComboBox: TORComboBox); -


Source

1899  procedure TfrmODLab.cboSpecimenMouseClick(Sender: TObject);
1900  begin
1901    inherited;
1902    if ALabTest = nil then exit;
1903    with cboSpecimen do
1904      begin
1905        if (ItemIndex >= 0) and (ItemIEN = 0) then
1906          GetAllSpecimens(cboSpecimen);
1907        if (ItemIEN = 0) then
1908          begin
1909            ALabTest.Specimen := 0;
1910            ItemIndex := -1;
1911          end;
1912      end;
1913    ControlChange(Self);
1914  end;