Procedure

TfrmODLab.cboSpecimenChange

Module

fODLab

Last Modified

7/15/2014 3:26:42 PM

Visibility

Public/Published

Owner

TfrmODLab

Declaration

procedure cboSpecimenChange(Sender: TObject);

Calls Hierarchy


TfrmODLab.cboSpecimenChange
 ├TfrmODLab.GetAllSpecimens
 │ └SelectOtherSpecimen
 │   └TfrmBase508Form.Create
 │     ├TfrmBase508Form.UpdateAccessibilityActions
 │     ├UnfocusableControlEnter
 │     └AdjustControls
 │       ├TfrmBase508Form.ModifyUnfocusableControl
 │       └..(rec)..
 ├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
TLabTest.ChangeSpecimen procedure ChangeSpecimen(const SpecimenIEN: string); -
TfrmODLab.ControlChange procedure ControlChange(Sender: TObject); -
TfrmODLab.GetAllSpecimens procedure GetAllSpecimens(AComboBox: TORComboBox); -


Source

1442  procedure TfrmODLab.cboSpecimenChange(Sender: TObject);
1443  begin
1444    if ALabTest = nil then exit;
1445    with cboSpecimen do if Text = 'Other...' then
1446      if (ItemIndex >= 0) and (ItemIEN = 0) then
1447        GetAllSpecimens(cboSpecimen);
1448    with ALabTest do
1449      ChangeSpecimen(cboSpecimen.ItemID);
1450    ControlChange(Self);
1451  end;