Function

ValidDateTimeStr

Module

rCore

Last Modified

7/15/2014 3:26:44 PM

Comments

Use %DT to validate & convert a string to Fileman format, accepts %DT flags

Scope

Interfaced

Declaration

function ValidDateTimeStr(const AString, Flags: string): TFMDateTime;

Called-By Hierarchy


                                         ValidDateTimeStr
                                TfrmLabs.DisplayHeading┤ 
                           TfrmLabs.lstQualifierClick┤ │ 
                            TfrmLabs.tvReportsClick┘ │ │ 
                             TfrmLabs.DisplayPage┤   │ │ 
                            TfrmLabs.LoadTreeView┤   │ │ 
                           TfrmLabs.DisplayPage┤ │   │ │ 
         TfrmOptionsReportsCustom.btnApplyClick┘ │   │ │ 
          TfrmOptionsReportsCustom.btnOKClick┘   │   │ │ 
                      TfrmLabs.cmdOtherTestsClick┤   │ │ 
                         TfrmLabs.chkMaxFreqClick┤   │ │ 
                    TfrmLabs.ProcessNotifications┤   │ │ 
                           TfrmLabs.DisplayPage┘ │   │ │ 
                                        ..(rec)..┤   │ │ 
                        TfrmLabs.tvReportsKeyDown┤   │ │ 
                  TfrmFrame.lstCIRNLocationsClick┘   │ │ 
                            TfrmFrame.SetUpCIRN┘     │ │ 
                       TfrmFrame.SetupPatient┘       │ │ 
                  UpdatePatientInfoForAlert┤         │ │ 
               TfrmFrame.mnuFileNextClick┘ │         │ │ 
             TfrmFrame.mnuFileOpenClick┤   │         │ │ 
                 TfrmFrame.UMInitiate┤ │   │         │ │ 
        TfrmFrame.mnuFileNextClick...┤ │   │         │ │ 
        TfrmFrame.mnuFileRefreshClick┤ │   │         │ │ 
        TfrmOrders.CheckOrderStatus┤ │ │   │         │ │ 
    TfrmOrders.mnuActChgEvntClick┤ │ │ │   │         │ │ 
       TfrmOrders.mnuActHoldClick┤ │ │ │   │         │ │ 
     TfrmOrders.mnuActUnholdClick┤ │ │ │   │         │ │ 
      TfrmOrders.mnuActRenewClick┤ │ │ │   │         │ │ 
     TfrmOrders.mnuActChangeClick┤ │ │ │   │         │ │ 
       TfrmOrders.mnuActCopyClick┘ │ │ │   │         │ │ 
             TfrmMeds.mnuActDCClick┤ │ │   │         │ │ 
            TfrmMeds.CheckMedStatus┘ │ │   │         │ │ 
         TfrmMeds.mnuActHoldClick┤   │ │   │         │ │ 
        TfrmMeds.mnuActRenewClick┤   │ │   │         │ │ 
       TfrmMeds.mnuActUnholdClick┤   │ │   │         │ │ 
       TfrmMeds.mnuActChangeClick┤   │ │   │         │ │ 
         TfrmMeds.mnuActCopyClick┤   │ │   │         │ │ 
       TfrmMeds.mnuActRefillClick┘   │ │   │         │ │ 
                   TfrmFrame.ViewInfo┘ │   │         │ │ 
                TfrmDCSumm.ViewInfo┤   │   │         │ │ 
              TfrmConsults.ViewInfo┤   │   │         │ │ 
      TfrmFrame.pnlRemindersMouseUp┤   │   │         │ │ 
       TfrmFrame.RemindersChanged┘ │   │   │         │ │ 
           TfrmFrame.FormCreate┘   │   │   │         │ │ 
             TfrmFrame.pnlCIRNClick┤   │   │         │ │ 
       TfrmFrame.pnlVistaWebClick┤ │   │   │         │ │ 
            TfrmFrame.FormKeyDown┘ │   │   │         │ │ 
          TfrmFrame.pnlPatientClick┤   │   │         │ │ 
            TfrmFrame.pnlVisitClick┤   │   │         │ │ 
      TfrmFrame.pnlPrimaryCareClick┤   │   │         │ │ 
        TfrmFrame.pnlRemindersClick┤   │   │         │ │ 
         TfrmFrame.pnlPostingsClick┤   │   │         │ │ 
             TfrmFrame.pnlFlagClick┤   │   │         │ │ 
               TfrmFrame.laMHVClick┤   │   │         │ │ 
              TfrmFrame.laVAA2Click┤   │   │         │ │ 
                TfrmOrders.ViewInfo┤   │   │         │ │ 
                  TfrmMeds.ViewInfo┤   │   │         │ │ 
               TfrmSurgery.ViewInfo┤   │   │         │ │ 
                 TfrmNotes.ViewInfo┤   │   │         │ │ 
              TfrmProblems.ViewInfo┘   │   │         │ │ 
      TfrmFrame.mnuFileNotifRemoveClick┤   │         │ │ 
              TfrmFrame.NextButtonClick┘   │         │ │ 
            TfrmFrame.SetUpNextButton┘     │         │ │ 
      TfrmFrame.mnuFileOpenClick...┤       │         │ │ 
               TfrmFrame.FormResize┘       │         │ │ 
             TfrmFrame.ChangeFont┘         │         │ │ 
     TfrmFrame.LoadSizesForUser┤           │         │ │ 
TfrmFrame.LoadUserPreferences┘ │           │         │ │ 
       TfrmFrame.UMInitiate┘   │           │         │ │ 
     TfrmFrame.mnuFontSizeClick┘           │         │ │ 
              TfrmFrame.mnuFileOpenClick...┤         │ │ 
           TfrmFrame.AllowCCOWContextChange┤         │ │ 
            TfrmFrame.mnuFileNextClick...┤ │         │ │ 
            TfrmFrame.mnuFileOpenClick...┤ │         │ │ 
   TfrmFrame.mnuFileResumeContextSetClick┘ │         │ │ 
                TfrmFrame.UpdateCCOWContext┤         │ │ 
            TfrmFrame.mnuFileOpenClick...┤ │         │ │ 
          TfrmFrame.ctxContextorCommitted┤ │         │ │ 
           TfrmFrame.StartCCOWContextor┘ │ │         │ │ 
                 TfrmFrame.FormCreate┘   │ │         │ │ 
   TfrmFrame.mnuFileResumeContextGetClick┘ │         │ │ 
     TfrmFrame.mnuFileResumeContextSetClick┘         │ │ 
                               TfrmLabs.lstDatesClick┤ │ 
                         TfrmLabs.tvReportsClick...┘ │ │ 
                     TfrmLabs.ProcessNotifications...┤ │ 
                           TfrmLabs.tvReportsClick...┘ │ 
                                  TfrmODMedNVA.Validate┤ 
                             TfrmReports.DisplayHeading┤ 
                        TfrmReports.lstQualifierClick┤ │ 
                         TfrmReports.tvReportsClick┘ │ │ 
               TfrmFrame.lstCIRNLocationsClick...┤   │ │ 
                          TfrmReports.DisplayPage┤   │ │ 
                         TfrmReports.LoadTreeView┤   │ │ 
                        TfrmReports.DisplayPage┤ │   │ │ 
           TfrmOptionsReportsDefault.btnOKClick┤ │   │ │ 
        TfrmOptionsReportsDefault.btnResetClick┤ │   │ │ 
      TfrmOptionsReportsCustom.btnApplyClick...┘ │   │ │ 
                 TfrmReports.ProcessNotifications┤   │ │ 
                        TfrmReports.DisplayPage┘ │   │ │ 
                     TfrmReports.tvReportsKeyDown┤   │ │ 
                  TfrmReports.tvProceduresKeyDown┤   │ │ 
                      TfrmReports.chkMaxFreqClick┤   │ │ 
             TfrmOptionsReportsDefault.btnOKClick┤   │ │ 
          TfrmOptionsReportsDefault.btnResetClick┤   │ │ 
        TfrmOptionsReportsCustom.btnApplyClick...┘   │ │ 
                        TfrmReports.tvReportsClick...┘ │ 
                                TfrmARTAllergy.Validate┤ 
                             TfrmARTAllergy.ValidSave┘ │ 
                          TfrmARTAllergy.cmdOKClick┘   │ 
                                 TfrmODAllergy.Validate┤ 
                            TfrmODAllergy.ControlChange┘ 
                            TfrmODAllergy.SetupDialog┤   
                        TfrmODAllergy.grpObsHistClick┤   
                       TfrmODAllergy.lstAllergySelect┤   
                          TfrmODAllergy.SetupDialog┤ │   
                                          ..(rec)..┘ │   
                        TfrmODAllergy.memCommentsExit┤   
                          TfrmODAllergy.btnAgentClick┤   
                           TfrmODAllergy.FormCreate┘ │   
                       TfrmODAllergy.cboSymptomsClick┤   
                TfrmODAllergy.ckNoKnownAllergiesClick┤   
                  TfrmODAllergy.cboSymptomsMouseClick┘   
                   TfrmODAllergy.cboSymptomsKeyDown┘     

Called-By

Name Declaration Comments
TfrmODAllergy.ControlChange procedure ControlChange(Sender: TObject); -
TfrmLabs.DisplayHeading procedure DisplayHeading(aRanges: string); -
TfrmReports.DisplayHeading procedure DisplayHeading(aRanges: string); -
TfrmODMedNVA.Validate procedure Validate(var AnErrMsg: string); override; -
TfrmARTAllergy.Validate procedure Validate(var AnErrMsg: string); -
TfrmODAllergy.Validate procedure Validate(var AnErrMsg: string); override; -


Source

294   function ValidDateTimeStr(const AString, Flags: string): TFMDateTime;
295   { use %DT to validate & convert a string to Fileman format, accepts %DT flags }
296   begin
297     Result := StrToFloat(sCallV('ORWU VALDT', [AString, Flags]));
298   end;