I am trying to implement opt_parser on Ruby.
Parsing OPT XML file is easy, but the path of each node is not defined.
There are many path example around archetypes, but template path has
only few example.
Moreover, OPT has nested archetype tree. I am confused much.
Look at the SemanticHealthNet Heart Failure Summary template at http://openehr.org/ckm/#showTemplate_1013.26.14_2, and press the "Show
Pathjs" button , you will see all of the paths within the template.
Also you might find it helpful to look open a complex template in
Template Designer and look at the Path property in the Properties box.
I just want to re-emphasise Heath's point for anyone looking to
implement openEHR template support. Your start point should be the
.opt 'Operational template' format. This is what is used by a number
of developers to generate downstream artefacts such asd code
fragments, xsd schema and GUI generation.
The official openEHR templates will be fully based on ADL1.5, rather
than the current mix of ADL1.4 and Ocean .oet, but the eventual ADL
1.5 .opt output will be very similar to the current .opt, so this is a
good 'junction point' for transition from ADL1.4 -> ADL 1.5
We used opt to feed in the model to software, especially the GUI generator in GastrOS.
We added a few GUI Directives to get the desired looks...
I reckon the new version of TD now supports those directives
For those interested it is open source at: http://gastros.codeplex.com
Hi Ian & Heath, thanks for the input. I was studying the different formats and the TD, now I get it
Work is ongoing to support OPTs on EHRServer, as the source of data definition to index data for querying.
I’ll wait a little to implement ADL 1.5 since I invested a lot of time on getting my infostructure to work with ADL 1.4.
Maybe someone from the community wants to help on that part. Partners are always welcome!
This path was generated from the “Demo hide-on-form” OPT that is in the CKM. Don’t know if the syntax is 100% valid, but changing the algorithm is easy.