Procedure

TfrmODLab.cboCollSampMouseClick

Module

fODLab

Last Modified

7/15/2014 3:26:42 PM

Visibility

Public/Published

Owner

TfrmODLab

Declaration

procedure cboCollSampMouseClick(Sender: TObject);

Calls Hierarchy


TfrmODLab.cboCollSampMouseClick
 ├TfrmODLab.GetAllCollSamples
 │ ├TLabTest.LoadAllSamples
 │ │ ├LoadSamples
 │ │ └TLabTest.FillCollSampList
 │ └SelectOtherCollSample
 │   └TfrmBase508Form.Create
 │     ├TfrmBase508Form.UpdateAccessibilityActions
 │     ├UnfocusableControlEnter
 │     └AdjustControls
 │       ├TfrmBase508Form.ModifyUnfocusableControl
 │       └..(rec)..
 ├TLabTest.LoadSpecimen
 │ ├TLabTest.ObtainSpecimen
 │ │ └TLabTest.IndexOfCollSamp
 │ ├LoadSpecimens
 │ ├TResponses.FindResponseByName
 │ ├TLabTest.IndexOfCollSamp
 │ ├GetOneSpecimen
 │ └TLabTest.ChangeSpecimen
 └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.GetAllCollSamples procedure GetAllCollSamples(AComboBox: TORComboBox); -
TLabTest.LoadSpecimen procedure LoadSpecimen(AComboBox: TORComboBox); -


Source

1807  procedure TfrmODLab.cboCollSampMouseClick(Sender: TObject);
1808  begin
1809    inherited;
1810    if ALabTest = nil then exit;
1811    with cboCollSamp do
1812      begin
1813        if (ItemIndex >= 0) and (ItemIEN = 0) then
1814          GetAllCollSamples(cboCollSamp);
1815        if (ItemIEN = 0) then
1816          begin
1817            ALabTest.Specimen := 0;
1818            ALabTest.CollSamp := 0;
1819            ItemIndex := -1;
1820            cboSpecimen.ItemIndex := -1;
1821          end
1822        else
1823          ALabTest.LoadSpecimen(cboSpecimen);
1824      end;
1825    ControlChange(Self);
1826  end;