1 / 13

Schematron, .NET & Java 8 generation in MDHT

Schematron, .NET & Java 8 generation in MDHT. HL7 WGM 2016 Orlando Jan 2016. Vadim Peretokin @ NEHTA. WE ARE NEHTA

rerica
Download Presentation

Schematron, .NET & Java 8 generation in MDHT

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. Schematron, .NET & Java 8 generation in MDHT HL7 WGM 2016 Orlando Jan 2016 Vadim Peretokin @ NEHTA

  2. WE ARE NEHTA A corporate entity owned by the Australian Federal, state andterritory governments, to identify and jointly develop the necessary foundations and services for a national eHealth capability • Identifiers • Authentication • Terminology • Secure Messaging • Clinical Documents • Supply Chain

  3. MDHT = Model-Driven Health Tools MDHT delivers UML publishing tools that are used to generate specification documents that are ready for submission to standards organizations and generates Java code used by healthcare implementers. WE WILL BE USING MDHT

  4. MDHT was missing these outputs: Schematron .NET API code HOWEVER

  5. Started developing Schematron as an output from MDHT models. Current status: work in progress. Snapshot preview available. SCHEMATRON STATUS

  6. No additional work needed – existing models are compatible. Model using MDHT’s UI as you would normally – set cardinality, terminology, templateId, value constraints, etc. Custom OCL constraints are supported. HOW IT WORKS FOR THE USER

  7. MDHT generates OCL for model constraints, which gets inserted as-is into Java validation code to perform validation at runtime. We take that OCL, read it in as AST(Abstract Syntax Tree) and generateSchematron from it. HOW IT WORKS AS A TECHNOLOGY

  8. HOW IT WORKS AS A TECHOLOGY

  9. Started developing .NET API code as an output from MDHT models. Current status: work in progress. Snapshot preview available. .NET STATUS

  10. Due to new lambda semantics in Java 8, it was pretty easy to add. Bonus: native Java 8 validation

  11. Q&A

More Related