Procedure

TfrmODLab.cboSpecimenKeyPause

Module

fODLab

Last Modified

7/15/2014 3:26:42 PM

Visibility

Public/Published

Owner

TfrmODLab

Declaration

procedure cboSpecimenKeyPause(Sender: TObject);

Calls Hierarchy


TfrmODLab.cboSpecimenKeyPause
 ├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

1958  procedure TfrmODLab.cboSpecimenKeyPause(Sender: TObject);
1959  begin
1960    inherited;
1961    if ALabTest = nil then exit;
1962    with cboSpecimen do
1963      if (ItemIndex >= 0) and (ItemIEN = 0) then
1964        GetAllSpecimens(cboSpecimen);
1965    if (cboSpecimen.ItemIEN = 0) then
1966      begin
1967        ALabTest.Specimen := 0;
1968        cboSpecimen.ItemIndex := -1;
1969      end ;
1970    ControlChange(Self);
1971  end;