Ignore:
Timestamp:
May 7, 2015, 12:34:29 PM (9 years ago)
Author:
healthsevak
Message:

Updating the working copy to CPRS version 28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/trunk/CPRS-Chart/Encounter/fEncVitals.pas

    r829 r1679  
    403403
    404404{== Vitals Lite 2004-05-21 ===================================================}
    405   if VitalsDLLHandle <> 0 then
    406   begin
    407     FreeLibrary(VitalsDLLHandle);
    408     VitalsDLLHandle := 0;
    409   end;
     405  UnloadVitalsDLL;
    410406{== Vitals Lite 2004-05-21 ===================================================}
    411407  inherited;
     
    429425
    430426procedure TfrmEncVitals.FormShow(Sender: TObject);
    431 var
    432   GMV_LibName: String;
    433427begin
    434428  inherited;
    435429  //Begin Vitals Lite
    436430  {Visit is Assumed to Be selected when Opening Encounter Dialog}
    437   GMV_LibName :='GMV_VitalsViewEnter.dll';
    438   GMV_LibName := GetProgramFilesPath + SHARE_DIR + GMV_LibName;
    439   if VitalsDLLHandle = 0 then
    440     VitalsDLLHandle := LoadLibrary(PChar(GMV_LibName));
     431  LoadVitalsDLL;
    441432  if VitalsDLLHandle = 0 then // No Handle found
    442     MessageDLG('Can''t find library "'+GMV_LibName+'".',mtError,[mbok],0)
     433    MessageDLG('Can''t find library '+VitalsDLLName+'.',mtError,[mbok],0)
    443434  else
    444435    LoadVitalsList;
     
    619610  if assigned(VLPtVitals) then
    620611  begin
    621 //    frmFrame.DLLActive := True;  // need this flag for CCOW (RV)
    622612    VitalsList := VLPtVitals(RPCBrokerV,Patient.DFN,U,false);
    623613    if assigned(VitalsList) then
     
    627617    MessageDLG('Can''t find function "'+GMV_FName+'".',mtError,[mbok],0);
    628618  @VLPtVitals := nil;
    629 //  frmFrame.DLLActive := False;  // need this flag for CCOW (RV)
    630619end;
    631620//End Vitals Lite
Note: See TracChangeset for help on using the changeset viewer.