├── .gitignore ├── .vs ├── ProjectSettings.json ├── VSWorkspaceState.json └── slnx.sqlite ├── FhirPathTester.sln ├── LICENSE.md ├── NuGet.Config ├── README.md ├── UWP ├── App.xaml ├── App.xaml.cs ├── Assets │ ├── AppList │ │ ├── AppList.scale-100.png │ │ ├── AppList.scale-125.png │ │ ├── AppList.scale-150.png │ │ ├── AppList.scale-200.png │ │ ├── AppList.scale-400.png │ │ ├── AppList.targetsize-16.png │ │ ├── AppList.targetsize-16_altform-unplated.png │ │ ├── AppList.targetsize-20.png │ │ ├── AppList.targetsize-20_altform-unplated.png │ │ ├── AppList.targetsize-24.png │ │ ├── AppList.targetsize-24_altform-unplated.png │ │ ├── AppList.targetsize-256.png │ │ ├── AppList.targetsize-256_altform-unplated.png │ │ ├── AppList.targetsize-30.png │ │ ├── AppList.targetsize-30_altform-unplated.png │ │ ├── AppList.targetsize-32.png │ │ ├── AppList.targetsize-32_altform-unplated.png │ │ ├── AppList.targetsize-36.png │ │ ├── AppList.targetsize-36_altform-unplated.png │ │ ├── AppList.targetsize-40.png │ │ ├── AppList.targetsize-40_altform-unplated.png │ │ ├── AppList.targetsize-48.png │ │ ├── AppList.targetsize-48_altform-unplated.png │ │ ├── AppList.targetsize-60.png │ │ ├── AppList.targetsize-60_altform-unplated.png │ │ ├── AppList.targetsize-64.png │ │ ├── AppList.targetsize-64_altform-unplated.png │ │ ├── AppList.targetsize-72.png │ │ ├── AppList.targetsize-72_altform-unplated.png │ │ ├── AppList.targetsize-80.png │ │ ├── AppList.targetsize-80_altform-unplated.png │ │ ├── AppList.targetsize-96.png │ │ └── AppList.targetsize-96_altform-unplated.png │ ├── Large │ │ ├── Large310x310Logo.scale-100.png │ │ ├── Large310x310Logo.scale-125.png │ │ ├── Large310x310Logo.scale-150.png │ │ ├── Large310x310Logo.scale-200.png │ │ └── Large310x310Logo.scale-400.png │ ├── LargeTile.scale-100.png │ ├── LargeTile.scale-125.png │ ├── LargeTile.scale-150.png │ ├── LargeTile.scale-200.png │ ├── LargeTile.scale-400.png │ ├── LockScreenLogo.scale-200.png │ ├── Medium │ │ ├── Medium150x150Logo.scale-100.png │ │ ├── Medium150x150Logo.scale-125.png │ │ ├── Medium150x150Logo.scale-150.png │ │ ├── Medium150x150Logo.scale-200.png │ │ └── Medium150x150Logo.scale-400.png │ ├── Small │ │ ├── Small71x71Logo.scale-100.png │ │ ├── Small71x71Logo.scale-125.png │ │ ├── Small71x71Logo.scale-150.png │ │ ├── Small71x71Logo.scale-200.png │ │ └── Small71x71Logo.scale-400.png │ ├── SmallTile.scale-100.png │ ├── SmallTile.scale-125.png │ ├── SmallTile.scale-150.png │ ├── SmallTile.scale-200.png │ ├── SmallTile.scale-400.png │ ├── SplashScreen.scale-100.png │ ├── SplashScreen.scale-125.png │ ├── SplashScreen.scale-150.png │ ├── SplashScreen.scale-200.png │ ├── SplashScreen.scale-400.png │ ├── SplashScreen │ │ ├── SplashScreen.scale-100.png │ │ ├── SplashScreen.scale-125.png │ │ ├── SplashScreen.scale-150.png │ │ ├── SplashScreen.scale-200.png │ │ └── SplashScreen.scale-400.png │ ├── Square150x150Logo.scale-100.png │ ├── Square150x150Logo.scale-125.png │ ├── Square150x150Logo.scale-150.png │ ├── Square150x150Logo.scale-200.png │ ├── Square150x150Logo.scale-400.png │ ├── Square44x44Logo.altform-unplated_targetsize-16.png │ ├── Square44x44Logo.altform-unplated_targetsize-256.png │ ├── Square44x44Logo.altform-unplated_targetsize-32.png │ ├── Square44x44Logo.altform-unplated_targetsize-48.png │ ├── Square44x44Logo.scale-100.png │ ├── Square44x44Logo.scale-125.png │ ├── Square44x44Logo.scale-150.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.scale-400.png │ ├── Square44x44Logo.targetsize-16.png │ ├── Square44x44Logo.targetsize-24.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── Square44x44Logo.targetsize-256.png │ ├── Square44x44Logo.targetsize-32.png │ ├── Square44x44Logo.targetsize-48.png │ ├── Store │ │ ├── StoreLogo.scale-100.png │ │ ├── StoreLogo.scale-125.png │ │ ├── StoreLogo.scale-150.png │ │ ├── StoreLogo.scale-200.png │ │ └── StoreLogo.scale-400.png │ ├── StoreLogo.backup.png │ ├── StoreLogo.scale-100.png │ ├── StoreLogo.scale-125.png │ ├── StoreLogo.scale-150.png │ ├── StoreLogo.scale-200.png │ ├── StoreLogo.scale-400.png │ ├── Wide │ │ ├── Wide310x150Logo.scale-100.png │ │ ├── Wide310x150Logo.scale-125.png │ │ ├── Wide310x150Logo.scale-150.png │ │ ├── Wide310x150Logo.scale-200.png │ │ └── Wide310x150Logo.scale-400.png │ ├── Wide310x150Logo.scale-100.png │ ├── Wide310x150Logo.scale-125.png │ ├── Wide310x150Logo.scale-150.png │ ├── Wide310x150Logo.scale-200.png │ ├── Wide310x150Logo.scale-400.png │ ├── fhir-lab-ico-300x300.png │ └── fhir-lab.png ├── FhirPathTesterUWP.csproj ├── FhirPathTesterUWP.nuget.props ├── FhirPathTesterUWP.nuget.targets ├── MainPage.xaml ├── MainPage.xaml.cs ├── Package.appxmanifest ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml └── about.md ├── WPF ├── App.config ├── App.xaml ├── App.xaml.cs ├── CustomFluentPathFunctions.cs ├── FhirPathExpressionProcessing.cs ├── FhirPathProcessor.cs ├── FhirPathTester.csproj ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── fhir-lab-ico-300x300.ico └── packages.config └── contributors.md /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.sln.docstates 8 | 9 | # Build results 10 | [Dd]ebug/ 11 | [Rr]elease/ 12 | x64/ 13 | [Bb]in/ 14 | [Oo]bj/ 15 | packages/ 16 | *.ide 17 | working/ 18 | 19 | # MSTest test Results 20 | [Tt]est[Rr]esult*/ 21 | [Bb]uild[Ll]og.* 22 | 23 | *_i.c 24 | *_p.c 25 | *.ilk 26 | *.meta 27 | *.obj 28 | *.pch 29 | *.pdb 30 | *.pgc 31 | *.pgd 32 | *.rsp 33 | *.sbr 34 | *.tlb 35 | *.tli 36 | *.tlh 37 | *.tmp 38 | *.tmp_proj 39 | *.log 40 | *.vspscc 41 | *.vssscc 42 | .builds 43 | *.pidb 44 | *.log 45 | *.scc 46 | 47 | # Visual C++ cache files 48 | ipch/ 49 | *.aps 50 | *.ncb 51 | *.opensdf 52 | *.sdf 53 | *.cachefile 54 | 55 | # Visual Studio profiler 56 | *.psess 57 | *.vsp 58 | *.vspx 59 | 60 | # Guidance Automation Toolkit 61 | *.gpState 62 | 63 | # ReSharper is a .NET coding add-in 64 | _ReSharper*/ 65 | *.[Rr]e[Ss]harper 66 | 67 | # TeamCity is a build add-in 68 | _TeamCity* 69 | 70 | # DotCover is a Code Coverage Tool 71 | *.dotCover 72 | 73 | # NCrunch 74 | *.ncrunch* 75 | .*crunch*.local.xml 76 | 77 | # Installshield output folder 78 | [Ee]xpress/ 79 | 80 | # DocProject is a documentation generator add-in 81 | DocProject/buildhelp/ 82 | DocProject/Help/*.HxT 83 | DocProject/Help/*.HxC 84 | DocProject/Help/*.hhc 85 | DocProject/Help/*.hhk 86 | DocProject/Help/*.hhp 87 | DocProject/Help/Html2 88 | DocProject/Help/html 89 | 90 | # Click-Once directory 91 | publish/ 92 | 93 | # Publish Web Output 94 | *.Publish.xml 95 | 96 | # NuGet Packages Directory 97 | ## TODO: If you have NuGet Package Restore enabled, uncomment the next line 98 | #packages/ 99 | 100 | # Windows Azure Build Output 101 | csx 102 | *.build.csdef 103 | 104 | # Windows Store app package directory 105 | AppPackages/ 106 | 107 | # Others 108 | sql/ 109 | *.Cache 110 | ClientBin/ 111 | [Ss]tyle[Cc]op.* 112 | ~$* 113 | *~ 114 | *.dbmdl 115 | *.[Pp]ublish.xml 116 | *.pfx 117 | *.publishsettings 118 | 119 | # RIA/Silverlight projects 120 | Generated_Code/ 121 | 122 | # Backup & report files from converting an old project file to a newer 123 | # Visual Studio version. Backup files are not needed, because we have git ;-) 124 | _UpgradeReport_Files/ 125 | Backup*/ 126 | UpgradeLog*.XML 127 | UpgradeLog*.htm 128 | 129 | # SQL Server files 130 | App_Data/*.mdf 131 | App_Data/*.ldf 132 | 133 | 134 | #LightSwitch generated files 135 | GeneratedArtifacts/ 136 | _Pvt_Extensions/ 137 | ModelManifest.xml 138 | 139 | # ========================= 140 | # Windows detritus 141 | # ========================= 142 | 143 | # Windows image file caches 144 | Thumbs.db 145 | ehthumbs.db 146 | 147 | # Folder config file 148 | Desktop.ini 149 | 150 | # Recycle Bin used on file shares 151 | $RECYCLE.BIN/ 152 | 153 | # Mac desktop service store files 154 | .DS_Store 155 | /FhirApi.userprefs 156 | /src/EwoutFhirNetApi.snk 157 | *.nupkg 158 | /packages/repositories.config 159 | src/Hl7.Fhir.Api/EwoutFhirNetApi.snk 160 | src/Hl7.Fhir.Model/EwoutFhirNetApi.snk 161 | *.snk 162 | sonar-project.properties 163 | src/.vs/ 164 | build/runbuild.txt 165 | /.vs/config/applicationhost.config 166 | /UWP/BundleArtifacts 167 | /UWP/_pkginfo.txt 168 | .vs/ 169 | FhirPathTesterXamarin/ 170 | FhirUserControls/ -------------------------------------------------------------------------------- /.vs/ProjectSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "CurrentProjectSetting": null 3 | } -------------------------------------------------------------------------------- /.vs/VSWorkspaceState.json: -------------------------------------------------------------------------------- 1 | { 2 | "ExpandedNodes": [ 3 | "" 4 | ], 5 | "PreviewInSolutionExplorer": false 6 | } -------------------------------------------------------------------------------- /.vs/slnx.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/.vs/slnx.sqlite -------------------------------------------------------------------------------- /FhirPathTester.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.27004.2006 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FhirPathTester", "WPF\FhirPathTester.csproj", "{EB2E4288-28D4-407F-B019-CAAA763FA810}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FhirPathTesterUWP", "UWP\FhirPathTesterUWP.csproj", "{36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}" 9 | EndProject 10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FhirUserControls", "FhirUserControls\FhirUserControls.csproj", "{20FCEF54-3863-4A06-BD74-013392DB2746}" 11 | EndProject 12 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1F031D9D-52AB-48BA-8A86-026709005F31}" 13 | ProjectSection(SolutionItems) = preProject 14 | contributors.md = contributors.md 15 | LICENSE.md = LICENSE.md 16 | README.md = README.md 17 | EndProjectSection 18 | EndProject 19 | Global 20 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 21 | Debug|Any CPU = Debug|Any CPU 22 | Debug|ARM = Debug|ARM 23 | Debug|x64 = Debug|x64 24 | Debug|x86 = Debug|x86 25 | Release|Any CPU = Release|Any CPU 26 | Release|ARM = Release|ARM 27 | Release|x64 = Release|x64 28 | Release|x86 = Release|x86 29 | EndGlobalSection 30 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 31 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 32 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Debug|Any CPU.Build.0 = Debug|Any CPU 33 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Debug|ARM.ActiveCfg = Debug|Any CPU 34 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Debug|ARM.Build.0 = Debug|Any CPU 35 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Debug|x64.ActiveCfg = Debug|Any CPU 36 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Debug|x64.Build.0 = Debug|Any CPU 37 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Debug|x86.ActiveCfg = Debug|Any CPU 38 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Debug|x86.Build.0 = Debug|Any CPU 39 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Release|Any CPU.ActiveCfg = Release|Any CPU 40 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Release|Any CPU.Build.0 = Release|Any CPU 41 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Release|ARM.ActiveCfg = Release|Any CPU 42 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Release|ARM.Build.0 = Release|Any CPU 43 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Release|x64.ActiveCfg = Release|Any CPU 44 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Release|x64.Build.0 = Release|Any CPU 45 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Release|x86.ActiveCfg = Release|Any CPU 46 | {EB2E4288-28D4-407F-B019-CAAA763FA810}.Release|x86.Build.0 = Release|Any CPU 47 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|Any CPU.ActiveCfg = Debug|x64 48 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|Any CPU.Build.0 = Debug|x64 49 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|Any CPU.Deploy.0 = Debug|x64 50 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|ARM.ActiveCfg = Debug|ARM 51 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|ARM.Build.0 = Debug|ARM 52 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|ARM.Deploy.0 = Debug|ARM 53 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|x64.ActiveCfg = Debug|x64 54 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|x64.Build.0 = Debug|x64 55 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|x64.Deploy.0 = Debug|x64 56 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|x86.ActiveCfg = Debug|x86 57 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|x86.Build.0 = Debug|x86 58 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Debug|x86.Deploy.0 = Debug|x86 59 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|Any CPU.ActiveCfg = Release|x86 60 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|ARM.ActiveCfg = Release|ARM 61 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|ARM.Build.0 = Release|ARM 62 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|ARM.Deploy.0 = Release|ARM 63 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|x64.ActiveCfg = Release|x64 64 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|x64.Build.0 = Release|x64 65 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|x64.Deploy.0 = Release|x64 66 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|x86.ActiveCfg = Release|x86 67 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|x86.Build.0 = Release|x86 68 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70}.Release|x86.Deploy.0 = Release|x86 69 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 70 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Debug|Any CPU.Build.0 = Debug|Any CPU 71 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Debug|ARM.ActiveCfg = Debug|ARM 72 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Debug|ARM.Build.0 = Debug|ARM 73 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Debug|x64.ActiveCfg = Debug|x64 74 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Debug|x64.Build.0 = Debug|x64 75 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Debug|x86.ActiveCfg = Debug|x86 76 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Debug|x86.Build.0 = Debug|x86 77 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Release|Any CPU.ActiveCfg = Release|Any CPU 78 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Release|Any CPU.Build.0 = Release|Any CPU 79 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Release|ARM.ActiveCfg = Release|ARM 80 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Release|ARM.Build.0 = Release|ARM 81 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Release|x64.ActiveCfg = Release|x64 82 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Release|x64.Build.0 = Release|x64 83 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Release|x86.ActiveCfg = Release|x86 84 | {20FCEF54-3863-4A06-BD74-013392DB2746}.Release|x86.Build.0 = Release|x86 85 | EndGlobalSection 86 | GlobalSection(SolutionProperties) = preSolution 87 | HideSolutionNode = FALSE 88 | EndGlobalSection 89 | GlobalSection(ExtensibilityGlobals) = postSolution 90 | SolutionGuid = {445EB6CA-0E28-4614-8B23-0C90146122D4} 91 | EndGlobalSection 92 | EndGlobal 93 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/LICENSE.md -------------------------------------------------------------------------------- /NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/README.md -------------------------------------------------------------------------------- /UWP/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | -------------------------------------------------------------------------------- /UWP/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.ApplicationModel; 7 | using Windows.ApplicationModel.Activation; 8 | using Windows.Foundation; 9 | using Windows.Foundation.Collections; 10 | using Windows.UI.Xaml; 11 | using Windows.UI.Xaml.Controls; 12 | using Windows.UI.Xaml.Controls.Primitives; 13 | using Windows.UI.Xaml.Data; 14 | using Windows.UI.Xaml.Input; 15 | using Windows.UI.Xaml.Media; 16 | using Windows.UI.Xaml.Navigation; 17 | 18 | namespace FhirPathTesterUWP 19 | { 20 | /// 21 | /// Provides application-specific behavior to supplement the default Application class. 22 | /// 23 | sealed partial class App : Application 24 | { 25 | /// 26 | /// Initializes the singleton application object. This is the first line of authored code 27 | /// executed, and as such is the logical equivalent of main() or WinMain(). 28 | /// 29 | public App() 30 | { 31 | this.InitializeComponent(); 32 | this.Suspending += OnSuspending; 33 | } 34 | 35 | /// 36 | /// Invoked when the application is launched normally by the end user. Other entry points 37 | /// will be used such as when the application is launched to open a specific file. 38 | /// 39 | /// Details about the launch request and process. 40 | protected override void OnLaunched(LaunchActivatedEventArgs e) 41 | { 42 | Frame rootFrame = Window.Current.Content as Frame; 43 | 44 | // Do not repeat app initialization when the Window already has content, 45 | // just ensure that the window is active 46 | if (rootFrame == null) 47 | { 48 | // Create a Frame to act as the navigation context and navigate to the first page 49 | rootFrame = new Frame(); 50 | 51 | rootFrame.NavigationFailed += OnNavigationFailed; 52 | 53 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) 54 | { 55 | //TODO: Load state from previously suspended application 56 | } 57 | 58 | // Place the frame in the current Window 59 | Window.Current.Content = rootFrame; 60 | } 61 | 62 | if (e.PrelaunchActivated == false) 63 | { 64 | if (rootFrame.Content == null) 65 | { 66 | // When the navigation stack isn't restored navigate to the first page, 67 | // configuring the new page by passing required information as a navigation 68 | // parameter 69 | rootFrame.Navigate(typeof(MainPage), e.Arguments); 70 | } 71 | // Ensure the current window is active 72 | Window.Current.Activate(); 73 | } 74 | } 75 | 76 | /// 77 | /// Invoked when Navigation to a certain page fails 78 | /// 79 | /// The Frame which failed navigation 80 | /// Details about the navigation failure 81 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e) 82 | { 83 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName); 84 | } 85 | 86 | /// 87 | /// Invoked when application execution is being suspended. Application state is saved 88 | /// without knowing whether the application will be terminated or resumed with the contents 89 | /// of memory still intact. 90 | /// 91 | /// The source of the suspend request. 92 | /// Details about the suspend request. 93 | private void OnSuspending(object sender, SuspendingEventArgs e) 94 | { 95 | var deferral = e.SuspendingOperation.GetDeferral(); 96 | //TODO: Save application state and stop any background activity 97 | deferral.Complete(); 98 | } 99 | } 100 | } 101 | -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-16.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-16_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-16_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-20.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-20_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-20_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-24.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-256.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-256_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-256_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-30.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-30_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-30_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-32.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-32_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-32_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-36.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-36_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-36_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-40.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-40_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-40_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-48.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-48_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-48_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-60.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-60_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-60_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-64.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-64_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-64_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-72.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-72_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-72_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-80.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-80_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-80_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-96.png -------------------------------------------------------------------------------- /UWP/Assets/AppList/AppList.targetsize-96_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/AppList/AppList.targetsize-96_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/Large/Large310x310Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Large/Large310x310Logo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/Large/Large310x310Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Large/Large310x310Logo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/Large/Large310x310Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Large/Large310x310Logo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/Large/Large310x310Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Large/Large310x310Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Large/Large310x310Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Large/Large310x310Logo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/LargeTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/LargeTile.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/LargeTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/LargeTile.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/LargeTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/LargeTile.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/LargeTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/LargeTile.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/LargeTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/LargeTile.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Medium/Medium150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Medium/Medium150x150Logo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/Medium/Medium150x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Medium/Medium150x150Logo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/Medium/Medium150x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Medium/Medium150x150Logo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/Medium/Medium150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Medium/Medium150x150Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Medium/Medium150x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Medium/Medium150x150Logo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/Small/Small71x71Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Small/Small71x71Logo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/Small/Small71x71Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Small/Small71x71Logo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/Small/Small71x71Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Small/Small71x71Logo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/Small/Small71x71Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Small/Small71x71Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Small/Small71x71Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Small/Small71x71Logo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/SmallTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SmallTile.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/SmallTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SmallTile.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/SmallTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SmallTile.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/SmallTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SmallTile.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/SmallTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SmallTile.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen/SplashScreen.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen/SplashScreen.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen/SplashScreen.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen/SplashScreen.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen/SplashScreen.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/SplashScreen/SplashScreen.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/Square150x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square150x150Logo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/Square150x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square150x150Logo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Square150x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square150x150Logo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.altform-unplated_targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-16.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.altform-unplated_targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-256.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.altform-unplated_targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-32.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.altform-unplated_targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.altform-unplated_targetsize-48.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.targetsize-16.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.targetsize-24.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.targetsize-256.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.targetsize-32.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Square44x44Logo.targetsize-48.png -------------------------------------------------------------------------------- /UWP/Assets/Store/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Store/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/Store/StoreLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Store/StoreLogo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/Store/StoreLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Store/StoreLogo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/Store/StoreLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Store/StoreLogo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Store/StoreLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Store/StoreLogo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/StoreLogo.backup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/StoreLogo.backup.png -------------------------------------------------------------------------------- /UWP/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/StoreLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/StoreLogo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/StoreLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/StoreLogo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/StoreLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/StoreLogo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/StoreLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/StoreLogo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/Wide/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/Wide/Wide310x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide/Wide310x150Logo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/Wide/Wide310x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide/Wide310x150Logo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/Wide/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Wide/Wide310x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide/Wide310x150Logo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /UWP/Assets/Wide310x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide310x150Logo.scale-125.png -------------------------------------------------------------------------------- /UWP/Assets/Wide310x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide310x150Logo.scale-150.png -------------------------------------------------------------------------------- /UWP/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Wide310x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/Wide310x150Logo.scale-400.png -------------------------------------------------------------------------------- /UWP/Assets/fhir-lab-ico-300x300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/fhir-lab-ico-300x300.png -------------------------------------------------------------------------------- /UWP/Assets/fhir-lab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/UWP/Assets/fhir-lab.png -------------------------------------------------------------------------------- /UWP/FhirPathTesterUWP.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | x86 7 | {36DBDF82-1301-4C06-8BE1-1E4EE5DFAE70} 8 | AppContainerExe 9 | Properties 10 | FhirPathTesterUWP 11 | FhirPathTesterUWP 12 | en-US 13 | UAP 14 | 10.0.17763.0 15 | 10.0.17134.0 16 | 14 17 | 512 18 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 19 | 20 | 21 | 5B51CBCC73FF3A926EB1156CADAA40E9531DA231 22 | True 23 | Always 24 | x86|x64|arm 25 | win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot 26 | True 27 | False 28 | True 29 | 0 30 | 31 | 32 | true 33 | bin\x86\Debug\ 34 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 35 | ;2008 36 | full 37 | x86 38 | false 39 | prompt 40 | true 41 | 42 | 43 | bin\x86\Release\ 44 | TRACE;NETFX_CORE;WINDOWS_UWP 45 | true 46 | true 47 | ;2008 48 | pdbonly 49 | x86 50 | false 51 | prompt 52 | true 53 | true 54 | 55 | 56 | true 57 | bin\ARM\Debug\ 58 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 59 | ;2008 60 | full 61 | ARM 62 | false 63 | prompt 64 | true 65 | 66 | 67 | bin\ARM\Release\ 68 | TRACE;NETFX_CORE;WINDOWS_UWP 69 | true 70 | true 71 | ;2008 72 | pdbonly 73 | ARM 74 | false 75 | prompt 76 | true 77 | true 78 | 79 | 80 | true 81 | bin\x64\Debug\ 82 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP 83 | ;2008 84 | full 85 | x64 86 | false 87 | prompt 88 | true 89 | 90 | 91 | bin\x64\Release\ 92 | TRACE;NETFX_CORE;WINDOWS_UWP 93 | true 94 | true 95 | ;2008 96 | pdbonly 97 | x64 98 | false 99 | prompt 100 | true 101 | true 102 | 103 | 104 | 105 | 106 | PreserveNewest 107 | 108 | 109 | 110 | 111 | CustomFluentPathFunctions.cs 112 | 113 | 114 | FhirPathProcessor.cs 115 | 116 | 117 | App.xaml 118 | 119 | 120 | MainPage.xaml 121 | 122 | 123 | 124 | 125 | 126 | Designer 127 | 128 | 129 | 130 | 131 | Designer 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | MSBuild:Compile 248 | Designer 249 | 250 | 251 | MSBuild:Compile 252 | Designer 253 | 254 | 255 | 256 | 257 | 1.3.0 258 | 259 | 260 | 1.3.0 261 | 262 | 263 | 1.3.0 264 | 265 | 266 | 1.3.0 267 | 268 | 269 | 1.3.0 270 | 271 | 272 | 6.2.8 273 | 274 | 275 | 5.1.1 276 | 277 | 278 | 5.1.1 279 | 280 | 281 | 1.0.1 282 | 283 | 284 | 1.0.0 285 | 286 | 287 | 288 | 289 | 290 | dstu2 291 | 292 | 293 | 294 | 295 | stu3 296 | 297 | 298 | 299 | 300 | r4 301 | 302 | 303 | 304 | 305 | dstu2 306 | 307 | 308 | 309 | 310 | stu3 311 | 312 | 313 | 314 | 315 | r4 316 | 317 | 318 | 319 | 320 | 14.0 321 | 322 | 323 | 330 | -------------------------------------------------------------------------------- /UWP/FhirPathTesterUWP.nuget.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | C:\git\FhirPathTester\UWP\project.lock.json 7 | C:\git\FhirPathTester\packages 8 | C:\git\FhirPathTester\packages;C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\ 9 | ProjectJson 10 | 4.6.2 11 | 12 | 13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /UWP/FhirPathTesterUWP.nuget.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /UWP/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | Visible 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /WPF/MainWindow.xaml.cs: -------------------------------------------------------------------------------- 1 | extern alias dstu2; 2 | extern alias stu3; 3 | extern alias r4; 4 | 5 | using Hl7.Fhir.ElementModel; 6 | 7 | using fp2 = dstu2.Hl7.Fhir.FhirPath; 8 | using f2 = dstu2.Hl7.Fhir.Model; 9 | 10 | using fp3 = stu3.Hl7.Fhir.FhirPath; 11 | using f3 = stu3.Hl7.Fhir.Model; 12 | 13 | using fp4 = r4.Hl7.Fhir.FhirPath; 14 | using f4 = r4.Hl7.Fhir.Model; 15 | 16 | using Hl7.FhirPath; 17 | using Hl7.FhirPath.Expressions; 18 | using System; 19 | using System.Collections.Generic; 20 | using System.ComponentModel; 21 | using System.Linq; 22 | using System.Text; 23 | using System.Windows; 24 | using System.Windows.Input; 25 | using System.Windows.Documents; 26 | using System.Windows.Media; 27 | using Newtonsoft.Json.Linq; 28 | using Newtonsoft.Json; 29 | 30 | namespace FhirPathTester 31 | { 32 | /// 33 | /// Interaction logic for MainWindow.xaml 34 | /// 35 | public partial class MainWindow : Window, INotifyPropertyChanged 36 | { 37 | public int TextControlFontSize { get; set; } 38 | 39 | public MainWindow() 40 | { 41 | TextControlFontSize = 22; 42 | InitializeComponent(); 43 | textboxInputXML.Text = "\r\n\r\n\r\n\r\n"; 44 | textboxExpression.Text = "birthDate < today() | identifier.assigner.display.extension.where(url='3').value.code"; 45 | } 46 | 47 | public event PropertyChangedEventHandler PropertyChanged; 48 | 49 | private ITypedElement GetResourceNavigator(out EvaluationContext evalContext) 50 | { 51 | string parseErrors2; 52 | var inputNavDSTU2 = FhirPathProcessor.GetResourceNavigatorDSTU2(textboxInputXML.Text, out parseErrors2); 53 | string parseErrors3; 54 | var inputNavSTU3 = FhirPathProcessor.GetResourceNavigatorSTU3(textboxInputXML.Text, out parseErrors3); 55 | string parseErrors4; 56 | var inputNavR4 = FhirPathProcessor.GetResourceNavigatorR4(textboxInputXML.Text, out parseErrors4); 57 | 58 | if (!string.IsNullOrEmpty(parseErrors2) || !string.IsNullOrEmpty(parseErrors3) || !string.IsNullOrEmpty(parseErrors4)) 59 | { 60 | ResetResults(); 61 | textboxResult.AppendText(String.Join("\r\n--------------------\r\n", parseErrors2, parseErrors3, parseErrors4)); 62 | } 63 | 64 | if (inputNavR4 != null) 65 | labelR4.Visibility = Visibility.Visible; 66 | else 67 | labelR4.Visibility = Visibility.Collapsed; 68 | if (inputNavSTU3 != null) 69 | labelSTU3.Visibility = Visibility.Visible; 70 | else 71 | labelSTU3.Visibility = Visibility.Collapsed; 72 | 73 | if (inputNavDSTU2 != null) 74 | labelDSTU2.Visibility = Visibility.Visible; 75 | else 76 | labelDSTU2.Visibility = Visibility.Collapsed; 77 | 78 | if (inputNavR4 != null) 79 | { 80 | evalContext = new fp4.FhirEvaluationContext(inputNavR4); 81 | return inputNavSTU3; 82 | } 83 | if (inputNavSTU3 != null) 84 | { 85 | evalContext = new fp3.FhirEvaluationContext(inputNavSTU3); 86 | return inputNavSTU3; 87 | } 88 | evalContext = new fp2.FhirEvaluationContext(inputNavDSTU2); 89 | return inputNavDSTU2; 90 | } 91 | 92 | private void ButtonGo_Click(object sender, RoutedEventArgs e) 93 | { 94 | EvaluationContext evalContext; 95 | var inputNav = GetResourceNavigator(out evalContext); 96 | if (inputNav == null) 97 | return; 98 | 99 | // Don't need to cache this, it is cached in the fhir-client 100 | CompiledExpression xps = null; 101 | try 102 | { 103 | xps = FhirPathProcessor._compiler.Compile(textboxExpression.Text); 104 | } 105 | catch (Exception ex) 106 | { 107 | SetResults("Expression compilation error:\r\n" + ex.Message); 108 | return; 109 | } 110 | 111 | IEnumerable prepopulatedValues = null; 112 | if (xps != null) 113 | { 114 | try 115 | { 116 | prepopulatedValues = xps(inputNav, evalContext); 117 | } 118 | catch (Exception ex) 119 | { 120 | SetResults("Expression evaluation error:\r\n" + ex.Message); 121 | AppendParseTree(); 122 | return; 123 | } 124 | 125 | ResetResults(); 126 | try 127 | { 128 | FhirPathProcessor.ProcessPrepopulatedValues(prepopulatedValues, AppendXmlFramentResults, AppendResults); 129 | } 130 | catch (Exception ex) 131 | { 132 | SetResults("Processing results error:\r\n" + ex.Message); 133 | return; 134 | } 135 | } 136 | 137 | AppendParseTree(); 138 | } 139 | 140 | private string AppendXmlFramentResults(string fragment, string tooltip) 141 | { 142 | if (fragment.Length > 100) 143 | { 144 | // pretty print the content 145 | var doc = System.Xml.Linq.XDocument.Parse(fragment); 146 | fragment = doc.ToString(System.Xml.Linq.SaveOptions.None); 147 | } 148 | AppendResults(fragment.Replace(" xmlns=\"http://hl7.org/fhir\"", ""), false, tooltip); 149 | return fragment; 150 | } 151 | 152 | private void AppendParseTree() 153 | { 154 | // Grab the parse expression 155 | StringBuilder sb = new StringBuilder(); 156 | var expr = FhirPathProcessor._compiler.Parse(textboxExpression.Text); 157 | OutputExpression(expr, sb, ""); 158 | // textboxResult.Text += expr.Dump(); 159 | AppendResults("\r\n\r\n----------------\r\n" + sb.ToString()); 160 | } 161 | 162 | private void OutputExpression(Hl7.FhirPath.Expressions.Expression expr, StringBuilder sb, string prefix) 163 | { 164 | if (expr is ChildExpression) 165 | { 166 | var func = expr as ChildExpression; 167 | OutputExpression(func.Focus, sb, prefix + "-- "); 168 | sb.AppendFormat("{0}{1}\r\n", prefix, func.ChildName); 169 | return; 170 | } 171 | if (expr is FunctionCallExpression) 172 | { 173 | var func = expr as FunctionCallExpression; 174 | sb.AppendFormat("{0}{1}\r\n", prefix, func.FunctionName); 175 | OutputExpression(func.Focus, sb, prefix + "-- "); 176 | foreach (var item in func.Arguments) 177 | { 178 | OutputExpression(item, sb, prefix + " "); 179 | } 180 | return; 181 | } 182 | //else if (expr is BinaryExpression) 183 | //{ 184 | // var func = expr as BinaryExpression; 185 | // sb.AppendLine(func.FunctionName); 186 | // OutputExpression(func.Left, sb); 187 | // sb.AppendLine(func.Op); 188 | // OutputExpression(func.Right, sb); 189 | // return; 190 | //} 191 | else if (expr is ConstantExpression) 192 | { 193 | var func = expr as ConstantExpression; 194 | sb.AppendFormat("{0}{1} (constant)\r\n", prefix, func.Value.ToString()); 195 | return; 196 | } 197 | else if (expr is VariableRefExpression) 198 | { 199 | var func = expr as VariableRefExpression; 200 | // sb.AppendFormat("{0}{1} (variable ref)\r\n", prefix, func.Name); 201 | return; 202 | } 203 | sb.Append(expr.GetType().ToString()); 204 | } 205 | 206 | private void ButtonPredicate_Click(object sender, RoutedEventArgs e) 207 | { 208 | EvaluationContext evalContext; 209 | var inputNav = GetResourceNavigator(out evalContext); 210 | if (inputNav == null) 211 | return; 212 | 213 | // Don't need to cache this, it is cached in the fhir-client 214 | Hl7.FhirPath.CompiledExpression xps = null; 215 | try 216 | { 217 | xps = FhirPathProcessor._compiler.Compile(textboxExpression.Text); 218 | } 219 | catch (Exception ex) 220 | { 221 | SetResults("Expression compilation error:\r\n" + ex.Message); 222 | return; 223 | } 224 | 225 | if (xps != null) 226 | { 227 | try 228 | { 229 | bool result = xps.Predicate(inputNav, evalContext); 230 | SetResults(result.ToString()); 231 | } 232 | catch (Exception ex) 233 | { 234 | SetResults("Expression evaluation error:\r\n" + ex.Message); 235 | return; 236 | } 237 | } 238 | 239 | AppendParseTree(); 240 | } 241 | 242 | private void textboxExpression_MouseWheel(object sender, MouseWheelEventArgs e) 243 | { 244 | if (e.Delta > 100 || e.Delta < -100) 245 | { 246 | TextControlFontSize += e.Delta / 100; 247 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(TextControlFontSize))); 248 | } 249 | } 250 | #region << Drag Drop Functionality >> 251 | private void textboxInputXML_Drop(object sender, DragEventArgs e) 252 | { 253 | // This is the place where we want to support the reading of the file from the file system 254 | // to make the testing of other instances really easy 255 | var formats = e.Data.GetFormats(); 256 | if (e.Data.GetDataPresent("FileName")) 257 | { 258 | string[] contents = e.Data.GetData("FileName") as string[]; 259 | if (contents.Length > 0) 260 | textboxInputXML.Text = System.IO.File.ReadAllText(contents[0]); 261 | e.Handled = true; 262 | } 263 | } 264 | 265 | private void textboxInputXML_DragOver(object sender, DragEventArgs e) 266 | { 267 | e.Effects = DragDropEffects.Copy | DragDropEffects.Link; 268 | } 269 | 270 | private void textboxInputXML_PreviewDragOver(object sender, DragEventArgs e) 271 | { 272 | e.Handled = true; 273 | } 274 | #endregion 275 | 276 | private void textboxInputXML_SelectionChanged(object sender, RoutedEventArgs e) 277 | { 278 | int lineIndex = 0; 279 | int colIndex = 0; 280 | try 281 | { 282 | int charIndex = textboxInputXML.CaretIndex; 283 | lineIndex = textboxInputXML.GetLineIndexFromCharacterIndex(charIndex); 284 | colIndex = charIndex - textboxInputXML.GetCharacterIndexFromLineIndex(lineIndex); 285 | } 286 | catch (Exception) 287 | { 288 | } 289 | textboxRow.Content = $"Ln {lineIndex + 1}"; 290 | textboxCol.Content = $"Col {colIndex}"; 291 | } 292 | 293 | private void ButtonCheckExpression_Click(object sender, RoutedEventArgs e) 294 | { 295 | EvaluationContext evalContext; 296 | var inputNav = GetResourceNavigator(out evalContext); 297 | if (inputNav == null) 298 | return; 299 | 300 | // Don't need to cache this, it is cached in the fhir-client 301 | Hl7.FhirPath.Expressions.Expression expr = null; 302 | try 303 | { 304 | expr = FhirPathProcessor._compiler.Parse(textboxExpression.Text); 305 | } 306 | catch (Exception ex) 307 | { 308 | SetResults("Expression compilation error:\r\n" + ex.Message, true); 309 | return; 310 | } 311 | 312 | if (expr != null) 313 | { 314 | try 315 | { 316 | FhirPathProcessor.CheckExpression(inputNav, expr, AppendResults, ResetResults); 317 | } 318 | catch (Exception ex) 319 | { 320 | SetResults("Expression Check error:\r\n" + ex.Message, true); 321 | return; 322 | } 323 | } 324 | } 325 | 326 | private void ResetResults() 327 | { 328 | textboxResult.Document.Blocks.Clear(); 329 | } 330 | 331 | private void SetResults(string text, bool error = false) 332 | { 333 | textboxResult.Document.Blocks.Clear(); 334 | var run = new Run(text); 335 | var para = new Paragraph(run); 336 | textboxResult.Document.Blocks.Add(para); 337 | if (error) 338 | { 339 | para.Foreground = Brushes.Red; 340 | para.FontWeight = FontWeights.Bold; 341 | } 342 | } 343 | private void AppendResults(string text, bool error = false, string tooltip = null) 344 | { 345 | var run = new Run(text); 346 | var para = new Paragraph(run); 347 | if (!string.IsNullOrEmpty(tooltip)) 348 | para.ToolTip = tooltip; 349 | para.Margin = new Thickness(2); 350 | textboxResult.Document.Blocks.Add(para); 351 | if (error) 352 | { 353 | para.Foreground = Brushes.Red; 354 | para.FontWeight = FontWeights.Bold; 355 | } 356 | } 357 | 358 | private void lblXML_MouseUp(object sender, MouseButtonEventArgs e) 359 | { 360 | FhirPathProcessor.PretifyXML(textboxInputXML.Text, (val) => { textboxInputXML.Text = val; }); 361 | } 362 | 363 | private void lblJson_MouseUp(object sender, MouseButtonEventArgs e) 364 | { 365 | FhirPathProcessor.PretifyJson(textboxInputXML.Text, (val) => { textboxInputXML.Text = val; }); 366 | } 367 | } 368 | } 369 | -------------------------------------------------------------------------------- /WPF/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Resources; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | using System.Windows; 6 | 7 | // General Information about an assembly is controlled through the following 8 | // set of attributes. Change these attribute values to modify the information 9 | // associated with an assembly. 10 | [assembly: AssemblyTitle("FhirPathTester DSTU2")] 11 | [assembly: AssemblyDescription("")] 12 | [assembly: AssemblyConfiguration("")] 13 | [assembly: AssemblyCompany("brianpos.com")] 14 | [assembly: AssemblyProduct("FhirPathTester")] 15 | [assembly: AssemblyCopyright("Copyright © 2016")] 16 | [assembly: AssemblyTrademark("")] 17 | [assembly: AssemblyCulture("")] 18 | 19 | // Setting ComVisible to false makes the types in this assembly not visible 20 | // to COM components. If you need to access a type in this assembly from 21 | // COM, set the ComVisible attribute to true on that type. 22 | [assembly: ComVisible(false)] 23 | 24 | //In order to begin building localizable applications, set 25 | //CultureYouAreCodingWith in your .csproj file 26 | //inside a . For example, if you are using US english 27 | //in your source files, set the to en-US. Then uncomment 28 | //the NeutralResourceLanguage attribute below. Update the "en-US" in 29 | //the line below to match the UICulture setting in the project file. 30 | 31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] 32 | 33 | 34 | [assembly: ThemeInfo( 35 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 36 | //(used if a resource is not found in the page, 37 | // or application resource dictionaries) 38 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 39 | //(used if a resource is not found in the page, 40 | // app, or any theme specific resource dictionaries) 41 | )] 42 | 43 | 44 | // Version information for an assembly consists of the following four values: 45 | // 46 | // Major Version 47 | // Minor Version 48 | // Build Number 49 | // Revision 50 | // 51 | // You can specify all the values or you can default the Build and Revision Numbers 52 | // by using the '*' as shown below: 53 | // [assembly: AssemblyVersion("1.0.*")] 54 | [assembly: AssemblyVersion("1.0.4.0")] 55 | [assembly: AssemblyFileVersion("1.0.4.0")] 56 | -------------------------------------------------------------------------------- /WPF/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace FhirPathTester.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FhirPathTester.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /WPF/Properties/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /WPF/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace FhirPathTester.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.1.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /WPF/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /WPF/fhir-lab-ico-300x300.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brianpos/FhirPathTester/b6433d4e611608ed8dba60b64736bc86eafb84b8/WPF/fhir-lab-ico-300x300.ico -------------------------------------------------------------------------------- /WPF/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /contributors.md: -------------------------------------------------------------------------------- 1 | ## Contributors 2 | 3 | This utility was a collective effort by the following developers: 4 | 5 | Brian Postlethwaite (Telstra Health) 6 | 7 | (anyone ... Bueller ... Bueller ...) 8 | --------------------------------------------------------------------------------