Hi Erik,

your examples are:

annotations = <
   ["/data/items[at0003.7]/items[at0010]"] = <
     items = <
      ["GUI-show-if"] = <"$smoker"> -- Other annotation name examples: 
GUI-hide-if ...
      ["some other annotation"] = <"whatever">

...with RDF-like annotations, some additional examples (and a wildly 
guessed language subsection syntax) it might turn out something like...

annotations = <
  language = <
   ["RDF"] = <
     ["/data/items[at0003.7]/items[at0010]"] = <
        items = <
          ["http://schema.openehr.org/GUI-v0_1#show-if";] = <"$smoker">
     ["/data/items[at0004.8]/items[at0011]"] = <
        items = <
          ["http://schema.openehr.org/GUI-v0_1#view";] = 
<"http://schema.openehr.org/GUI-v0_1#pass_through";>
          ["http://s.skl.se/qualreg/diab/v-3_1#q10.2";] = 
<"http://s.skl.se/qualreg/diab/v-3_1#daily";>
...


These look reasonable to me. As you can see from the below, they have a 
different structure from the annotations section - which contains 
linguistic strings and a language subdivision. This would not be needed 
as far as I can see with implementation directives.

I don't see any great problem in having a different section, given the 
purpose is quite different, and the flattening rules will probably be 
different (with annotations, the rule that makes sense is that the 
annotation for a given tag is concatenation with the value for that tag 
in a parent, whereas here, it would be replacement, i.e. override).

Using the RDF approach, the registering problem doesn't go away, it just 
gets moved to a different (arguably better) place - a schema or 
ontology. Fine by me also.

On 30/01/2012 21:42, Erik Sundvall wrote:
>
> Please rewind to 
> http://www.openehr.org/mailarchives/openehr-technical/msg05530.html 
> and the followup messages in that thread.
>
> Using an RDF like URI-based approach still seems to be an option. No 
> registering hassle or new sections in adl, just alternate use of the 
> existing annotation section.
>
>
>     annotations
>         items = <
>     *        ["en"] = <*
>                 items = <
>                     ["/data[at0001]/items[at0.8]"] = <
>                         items = <
>                             ["design note"] = <"this is a design note
>     on allergic reaction">
>                             ["requirements note"] = <"this is a
>     requirements note on allergic reaction">
>                             ["medline ref"] = <"this is a medline ref
>     on allergic reaction">
>     >
>     >
>                     ["/data[at0001]/items[at0.10]"] = <
>                         items = <
>                             ["design note"] = <"this is a design note
>     on intelerance">
>                             ["requirements note"] = <"this is a
>     requirements note on intolerance">
>                             ["national data dictionary"] = <"NDD ref
>     for intolerance">
>     >
>     >
>                     ["/data[at0001]/items[at0002]"] = <
>                         items = <
>                             ["design note"] = <"this is a SPECIALISED
>     design note on Statement">
>                             ["NEW TAG"] = <"this is a SPECIALISED
>     design note on Statement">
>     >
>     >
>     >
>     >
>     >
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120130/6a866022/attachment.html>

Reply via email to