1 / 26

Building a Windows Client

Building a Windows Client. Brian Postlethwaite Phoenix, AZ - May 2014. Who am I?. Name: Brian Postlethwaite Company: DCA eHealth Solutions, Australia Background: HL7 Patient Administration team OMG Healthcare DTF: ServD Standard Solutions Architect Contact: bpostlethwaite@data.com.au.

fayre
Download Presentation

Building a Windows Client

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building a Windows Client Brian Postlethwaite Phoenix, AZ - May 2014

  2. Who am I? • Name: Brian Postlethwaite • Company: DCA eHealth Solutions, Australia • Background: • HL7 Patient Administration team • OMG Healthcare DTF: ServD Standard • Solutions Architect • Contact: • bpostlethwaite@data.com.au

  3. Introductions Who is building with .NET? Who is using the fhir API? Who grabs it from Github/NuGet? Which Platform(s) are you targeting?

  4. Contents… • fhir .NET Model / API • Where to get them • Building your own API • And contribute! • MVVM quick overview • Make a View Model • Sharing Code • “Tweaking” code

  5. What is the fhir Model/API? • Object Model • Validation • Cardinality • Contained Objects • Extensions • API • Parsers/Serialization • Utilities • Validators • Simplified Common Operations

  6. Why not native? Own code – Must maintain it Need to consider both formats (json/xml) Handle extensions cleanly Both formats have their own “specifics” XML and json are best represented on the wire in different ways The fhir client has been extensively tested, and continues to grow

  7. Where can nuGet It? • NuGet! • Directly from within Visual Studio

  8. Where else can I Git It? • GitHub! • https://github.com/ewoutkramer/fhir-net-api • Location of the API Source • Mirror of the HL7 Forge c# model code • Which can be downloaded from the fhir site • Easier to see the history and change • Build and Contribute! • Contains .NET 4.0/4.5/PCL 4.5 projects

  9. Documentation http://ewoutkramer.github.io/fhir-net-api/

  10. MVVM Review

  11. Data-Binding Properties in object INotifyPropertyChanged Events Observable Collections Converters IValueConverter INotifyPropertyChanged was recently added to the basic Model objects

  12. Commands • For use with Data-binding functionality • Class that derives from ICommand • Supports enabling/disabling • Example Commands • Search • Clear • Save

  13. Test Data • Create some test data (patient-test-data.xaml) • Create “test data in code” • Use in the design surface • Issues: • The fhir model uses nested classes(Not supported by the test data xaml stuff) • To overcome this, for the properties that you intend to data-bind, create simple properties that encapsulate nested classes

  14. My App Project Structure • fhir place Solution • dca.fhir.Model (PCL) • fhir-place-wpf (net 4.0) • fhir-place-win8 (Net 4.5) • fhir-place-Phone8 (Silverlight 8) • fhir-place (univeral app) *new* • fhir-place.Windows (Windows 8.1) • fhir-place.WindowsPhone (Windows Phone 8.1) • fhir-place.Shared

  15. Design Your Model / View Model What is your app trying to display? What user interactions are planned? What form factors are you covering? What is your navigation model? What are the connectivity issues? Error handling/reporting? User Interface control requirements? Security?

  16. Demo App Server textbox Search for Name textbox Search Button Total Results counter Search Command Patient List results Patient Item User Control

  17. Full Search Patient App Demonstration

  18. My Apps Simple Patient Viewers Wrapped Model Cached Reference Items Recent Viewed List Patient Demographics, Allergies, Conditions, Medication Statements, Observations (with Charts) Aggregates results from multiple servers To be published in the Microsoft App Stores

  19. My Apps Simple Patient Viewer Concept Doctor Viewing Patient Records in the field (well golf course!)

  20. My Apps Concept Emergency Room App(Bed End or Nurse’s Mobile Device)

  21. Try it yourself! Repeat my live demonstration app! Do it for a different resource type Point it at your own fhir server!

  22. Questions?

  23. Thank you

More Related