The Template Data Schema is (TDS) an XML schema generated from an openEHR operational template (.OPT) that has a tag set derived from a combination of the openEHR RM and archetypes.

The business value of a TDS to a developer/integrator is that:

There are three things of interest to specify: the OPT to TDS transform; TDD to canonical RM transform; RM to TDD transform.

The information on this page will be used to create a new openEHR specification on TDS and TDD.

Previous TDS/TDD work 

The original TDS/TDD mechanism was developed by Ocean Health Systems. Current versions of the Ocean Template designer (e.g. version 2.8) can generate a TDS (version 2?) file from the currently open template (by menu selection: File > Export > as Template Data Schema...)

TDS3 (a new 2016 version of TDS) discussed during the SEC Feb 2016 Meeting:

Heath Frankel at Ocean Informatics has developed a new TDS format and associated transform creating more compact and readable data instances (TDD). The plan is now to release the XSLT transform and some overview documentation of transform algorithms. (ADD JIRA PR/CR HERE WHEN AVAILABLE). Some notes from SEC meeting:

OPT to TDS Transform (TDS-XSD generation rules)

Informal specification:

TDS Tag Generation Algorithm

To convert from a text string in any language to a valid XML tag, use the the following algorithm.

TBD

TDD to Canonical RM Transform (TDD-XML consumption rules)

TBD

Canonical RM to TDD Transform (TDD-XML generation rules)

TBD

See also...