-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/HealthIntersections/fhirs…
- Loading branch information
Showing
43 changed files
with
9,965 additions
and
9,483 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,110 +1,138 @@ | ||
unit frm_home; | ||
|
||
{$i fhir.inc} | ||
|
||
interface | ||
|
||
uses | ||
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, ComCtrls, | ||
Menus, ActnList, laz.VirtualTrees, | ||
mvBase, mvDataSources; | ||
|
||
type | ||
|
||
{ TIPSManagerForm } | ||
|
||
TIPSManagerForm = class(TForm) | ||
actionViewDataSources: TAction; | ||
actionViewDocumentList: TAction; | ||
ActionList1: TActionList; | ||
ImageList1: TImageList; | ||
imgMain: TImageList; | ||
vtNavigator: TLazVirtualStringTree; | ||
MainMenu1: TMainMenu; | ||
mnuApple: TMenuItem; | ||
MenuItem10: TMenuItem; | ||
MenuItem11: TMenuItem; | ||
MenuItem12: TMenuItem; | ||
mnuItemSettings: TMenuItem; | ||
MenuItem14: TMenuItem; | ||
MenuItem2: TMenuItem; | ||
MenuItem3: TMenuItem; | ||
MenuItem4: TMenuItem; | ||
MenuItem5: TMenuItem; | ||
MenuItem6: TMenuItem; | ||
mnuFileExit: TMenuItem; | ||
MenuItem8: TMenuItem; | ||
MenuItem9: TMenuItem; | ||
Panel1: TPanel; | ||
pnlPresentation: TPanel; | ||
pnlNavigator: TPanel; | ||
Splitter1: TSplitter; | ||
StatusBar1: TStatusBar; | ||
ToolBar1: TToolBar; | ||
ToolButton2: TToolButton; | ||
ToolButton3: TToolButton; | ||
ToolButton4: TToolButton; | ||
procedure actionViewDataSourcesExecute(Sender: TObject); | ||
procedure FormCreate(Sender: TObject); | ||
procedure FormDestroy(Sender: TObject); | ||
procedure MenuItem2Click(Sender: TObject); | ||
procedure mnuFileExitClick(Sender: TObject); | ||
private | ||
FView : TViewManager; | ||
procedure SetView(AValue: TViewManager); | ||
public | ||
property View : TViewManager read FView write SetView; | ||
end; | ||
|
||
var | ||
IPSManagerForm: TIPSManagerForm; | ||
|
||
implementation | ||
|
||
{$R *.lfm} | ||
|
||
{ TIPSManagerForm } | ||
|
||
procedure TIPSManagerForm.MenuItem2Click(Sender: TObject); | ||
begin | ||
|
||
end; | ||
|
||
procedure TIPSManagerForm.mnuFileExitClick(Sender: TObject); | ||
begin | ||
Close; | ||
end; | ||
|
||
procedure TIPSManagerForm.SetView(AValue: TViewManager); | ||
begin | ||
FView.Free; | ||
FView := AValue; | ||
FView.navigator := vtNavigator; | ||
FView.NavPanel := pnlNavigator; | ||
FView.presentation := pnlPresentation; | ||
end; | ||
|
||
procedure TIPSManagerForm.FormCreate(Sender: TObject); | ||
begin | ||
{$IFDEF OSX} | ||
mnuApple.caption := #$EF#$A3#$BF; | ||
mnuItemSettings.caption := 'Preferences...'; | ||
{$ELSE} | ||
mnuApple.Visible := false; | ||
{$ENDIF} | ||
self.actionViewDataSources.OnExecute(self); | ||
end; | ||
|
||
procedure TIPSManagerForm.FormDestroy(Sender: TObject); | ||
begin | ||
FView.free; | ||
end; | ||
|
||
procedure TIPSManagerForm.actionViewDataSourcesExecute(Sender: TObject); | ||
begin | ||
//View := TDataSourceViewManager.create(FIniFile); | ||
//View.Initialize; | ||
end; | ||
|
||
end. | ||
|
||
unit frm_home; | ||
|
||
{ | ||
Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au) | ||
All rights reserved. | ||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
* Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
* Neither the name of HL7 nor the names of its contributors may be used to | ||
endorse or promote products derived from this software without specific | ||
prior written permission. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, | ||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
} | ||
|
||
{$i fhir.inc} | ||
|
||
interface | ||
|
||
uses | ||
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, ComCtrls, | ||
Menus, ActnList, laz.VirtualTrees, | ||
mvBase, mvDataSources; | ||
|
||
type | ||
|
||
{ TIPSManagerForm } | ||
|
||
TIPSManagerForm = class(TForm) | ||
actionViewDataSources: TAction; | ||
actionViewDocumentList: TAction; | ||
ActionList1: TActionList; | ||
ImageList1: TImageList; | ||
imgMain: TImageList; | ||
vtNavigator: TLazVirtualStringTree; | ||
MainMenu1: TMainMenu; | ||
mnuApple: TMenuItem; | ||
MenuItem10: TMenuItem; | ||
MenuItem11: TMenuItem; | ||
MenuItem12: TMenuItem; | ||
mnuItemSettings: TMenuItem; | ||
MenuItem14: TMenuItem; | ||
MenuItem2: TMenuItem; | ||
MenuItem3: TMenuItem; | ||
MenuItem4: TMenuItem; | ||
MenuItem5: TMenuItem; | ||
MenuItem6: TMenuItem; | ||
mnuFileExit: TMenuItem; | ||
MenuItem8: TMenuItem; | ||
MenuItem9: TMenuItem; | ||
Panel1: TPanel; | ||
pnlPresentation: TPanel; | ||
pnlNavigator: TPanel; | ||
Splitter1: TSplitter; | ||
StatusBar1: TStatusBar; | ||
ToolBar1: TToolBar; | ||
ToolButton2: TToolButton; | ||
ToolButton3: TToolButton; | ||
ToolButton4: TToolButton; | ||
procedure actionViewDataSourcesExecute(Sender: TObject); | ||
procedure FormCreate(Sender: TObject); | ||
procedure FormDestroy(Sender: TObject); | ||
procedure MenuItem2Click(Sender: TObject); | ||
procedure mnuFileExitClick(Sender: TObject); | ||
private | ||
FView : TViewManager; | ||
procedure SetView(AValue: TViewManager); | ||
public | ||
property View : TViewManager read FView write SetView; | ||
end; | ||
|
||
var | ||
IPSManagerForm: TIPSManagerForm; | ||
|
||
implementation | ||
|
||
{$R *.lfm} | ||
|
||
{ TIPSManagerForm } | ||
|
||
procedure TIPSManagerForm.MenuItem2Click(Sender: TObject); | ||
begin | ||
|
||
end; | ||
|
||
procedure TIPSManagerForm.mnuFileExitClick(Sender: TObject); | ||
begin | ||
Close; | ||
end; | ||
|
||
procedure TIPSManagerForm.SetView(AValue: TViewManager); | ||
begin | ||
FView.Free; | ||
FView := AValue; | ||
FView.navigator := vtNavigator; | ||
FView.NavPanel := pnlNavigator; | ||
FView.presentation := pnlPresentation; | ||
end; | ||
|
||
procedure TIPSManagerForm.FormCreate(Sender: TObject); | ||
begin | ||
{$IFDEF OSX} | ||
mnuApple.caption := #$EF#$A3#$BF; | ||
mnuItemSettings.caption := 'Preferences...'; | ||
{$ELSE} | ||
mnuApple.Visible := false; | ||
{$ENDIF} | ||
self.actionViewDataSources.OnExecute(self); | ||
end; | ||
|
||
procedure TIPSManagerForm.FormDestroy(Sender: TObject); | ||
begin | ||
FView.free; | ||
end; | ||
|
||
procedure TIPSManagerForm.actionViewDataSourcesExecute(Sender: TObject); | ||
begin | ||
//View := TDataSourceViewManager.create(FIniFile); | ||
//View.Initialize; | ||
end; | ||
|
||
end. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
program ipsmanager; | ||
|
||
{$I fhir.inc} | ||
|
||
uses | ||
{$IFDEF WINDOWS} | ||
FastMM4, | ||
{$ELSE} | ||
cmem, | ||
cthreads, | ||
{$ENDIF} | ||
|
||
Interfaces, // this includes the LCL widgetset | ||
Forms, datetimectrls, | ||
{ you can add units after this } | ||
fsl_base, fsl_threads, fsl_logging, fsl_utilities, fsl_collections, fsl_xml, | ||
fsl_json, fui_lcl_managers, fhir_objects, fhir_xhtml, fsl_http, v2_dictionary, | ||
fsl_ucum, fhir_client, fhir_oauth, fsl_web_init, | ||
FrameViewer09, | ||
frm_home, mvBase, mvDataSources; | ||
|
||
{$R *.res} | ||
|
||
begin | ||
RequireDerivedFormResource := True; | ||
Application.Title := 'Patient Summary Manager'; | ||
Application.Scaled := True; | ||
Application.Initialize; | ||
|
||
Application.CreateForm(TIPSManagerForm, IPSManagerForm); | ||
Application.Run; | ||
end. | ||
|
||
program ipsmanager; | ||
|
||
{$I fhir.inc} | ||
|
||
uses | ||
{$IFDEF WINDOWS} | ||
FastMM4, | ||
{$ELSE} | ||
cmem, | ||
cthreads, | ||
{$ENDIF} | ||
|
||
Interfaces, // this includes the LCL widgetset | ||
Forms, datetimectrls, | ||
{ you can add units after this } | ||
fsl_base, fsl_threads, fsl_logging, fsl_utilities, fsl_collections, fsl_xml, | ||
fsl_json, fui_lcl_managers, fhir_objects, fhir_xhtml, fsl_http, v2_dictionary, | ||
fsl_ucum, fhir_client, fhir_oauth, fsl_web_init, | ||
FrameViewer09, | ||
frm_home, mvBase, mvDataSources; | ||
|
||
{$R *.res} | ||
|
||
begin | ||
RequireDerivedFormResource := True; | ||
Application.Title := 'Patient Summary Manager'; | ||
Application.Scaled := True; | ||
Application.Initialize; | ||
|
||
Application.CreateForm(TIPSManagerForm, IPSManagerForm); | ||
Application.Run; | ||
end. | ||
|
Oops, something went wrong.