We're updating the issue view to help you get more done.Learn more

Remove class templates from history package

The history package classes HISTORY, EVENT, INTERVAL_EVENT and POINT_EVENT all have class templates.

ref: http://www.openehr.org/releases/RM/latest/docs/data_structures/data_structures.html#_overview

Class templates are useful for generic operations to depend on an unknown class, but none of those classes have such operations, and it is no clear that the templates add any value to the model.

Also, HISTORY and EVENT are linked to ITEM_STRUCTURE, so removing the template T > ITEM_STRUCTURE won't affect those classes.

IMO, on this case, class templates just make the model more difficult to read and also more difficult to implement and I'm not sure all modern programming languages support UML class templates.

I would like to know what others think. This is not an issue per-se, just a simplification I had in mind for some time.

Status

Assignee

Unassigned

Reporter

Pablo Pazos

Labels

Components

Fix versions

Affects versions

RM Release 1.0.3

Priority

Major