80 likes | 162 Views
From RIMBAA to SIMBAA ?. Robert Worden Open Mapping Software Ltd robert@OpenMapSW.com. RIMBAA to SIMBAA. SIMBAA = Sim ple M odel-based A pplication A rchitecture ‘Green CDA’ or ‘Green V3’ simplification produces a simplified class model – as well as reliable transforms to full V3
E N D
From RIMBAA to SIMBAA ? Robert Worden Open Mapping Software Ltd robert@OpenMapSW.com
RIMBAA to SIMBAA • SIMBAA = Simple Model-based Application Architecture • ‘Green CDA’ or ‘Green V3’ simplification produces a simplified class model – as well as reliable transforms to full V3 • Specific to a set of use cases • Much smaller than the RIM-based model; no clutter for other use cases, no V3 fixed stuff. • Meaningful business names • Why not use the simplified model for application development? • Benefits: • Saves costs and timescales • Larger pool of developers • Understandable by clinicians • Easier testing • MDA with a neat model • Simple XML serialisation • Fully interoperable with RIM-based models • Relationship to RFH ??
Simplifying V3 or CDA V3 RMIM (MIF) Templated RMIM (ECore) Select Annotated RMIM (Ecore) Rename MDHT model (Ecore) Press the Button Simple Message Schema Skeleton Simple Message Simple-Full Transforms (XSLT) Simple-Full Mappings Simple Class Model (Ecore)
The Simplified Class Model Tree of containment associations. Classes labelled by <association name>.<class name>(<package>) Business names chosen in previous step.
Mapping to the Simplified Class Model • The Green CDA class model is a good target for mapping any other XML to. • Any => Any transforms can be generated from the mappings Full ToC CDA Simplified Green ToC CDA Green ToC CDA Class Model Clinical InformationModel NCPDP EHR database CCR
Model –Based Application Development • Can develop applications entirely in terms of the model, and interface them to any XML or database which is mapped to the model • Model-based query language – can query several mapped data sources side by side, and compare results • Two possible styles of application development: • ‘Generic’ code: class names, attribute and association names as string arguments • EMF-generated Java classes: class names and method names as in the model • Business names make the code simple and understandable
Potential Applications • Transition of Care Reference Implementation (in S&I Framework) • Model-driven user interface (e.g. CDA document builder) • Green Lab, Green Pharmacy,....