On 31/01/2012 00:16, Heath Frankel wrote: > > Hi Thomas, > > I think you're going too far with this controlled key and syntax > approach. The important thing at this point is we get a structure > that we can start using to get more experience with. Although my > proposal was a simple property value bag, I think your idea of a > triplet is good, but we should do this using attributes rather than > syntax. So a directive type, an name/ID and value attributes seems > like a pretty powerful structure, its similar the Claim class in an > Identity Model for authorisation (claim type, right, resource). > > I think the majority of view directive use will be in templates at the > local level, but certainly some directives are likely at the > jurisdictional level (e.g. pass_through). For this reason, I think > that we should not restrict the values to only controlled values, > controlled values are only necessary for shared use and it is these > that certainly need to have a registry. >
agree - that's what I was trying to say in fact. > Erik's RDF suggestion seems like a reasonable approach to doing this > rather than openEHR inventing a new scheme. We need to support > innovation in this area and hence allow local groups to use local > directive type/identifiers/values at will and when they have something > to bring back to the community somewhere to register and align their > local directives with shared directives. A consumer should only need > to process the directives it is interested in, unless we provide > something like a must-understand attribute. > > With regard to inheritance of directives, I think this needs to be > based on the directive type. In some cases we will want an override, > in others we would want addition or constraint. Not sure yet whether > this needs to be specified in the directive or not so that the compile > can generate the appropriate result or always have the complete set > and leave the responsibility to the consumer to interpret the set. > > I don't think we need to make this too complicated at first, the main > thing is to get the containment structure right, we can always add > attributes such as must_understand and override mode to the directive > class later. > > Regards > yep. See my last post. - thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120131/bc563d4d/attachment.html>

