Re: Run-time name constraints and appropriate use of terminologies
On 26/08/2010 09:27, Sebastian Iancu wrote:
Hi Ian, that can only be done if the concept 'legal_entity' is also hardwired into the information model, which is exactly what we are avoiding via the use of archetypes. A function like this would make more sense with a template-generated programming object, not the base RM objects. A template, based on specific archetypes might have a legal_entity defined somewhere, and this could be queried with a hardwired function. Otherwise the approach has to be to implement functions like this using AQL or similar queries that make use of paths from available archetypes. But in this case you would not be doing ACTOR.has_legal_entity, but a query over the whole demographic repository, or some subset of it, which searches for ACTOR objects containing the specific path. - thomas beale |
_______________________________________________ openEHR-technical mailing list openEHR-technical@openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical