On 07/04/2016 13:01, Bert Verhees wrote:
On 07-04-16 13:55, Thomas Beale wrote:
OK, but there is only one data structure
<http://www.openehr.org/releases/AM/latest/docs/AOM2/AOM2.html#_c_string_class>:
constraint: List<String>
No, that is not necessary, the structure is redefined from CPrimitive,
so it can be of type Object, which can result in a String or in a List.
This needs then to be explained in the description. I would not have a
problem with this.
right - if we redefine it to just String, then the constraint is always
a regex, even when it is fixed string(s).
Or else we redefine it to List <String> (how it is now) and allow this
to represent:
* a list of String alternatives
* a single regex
* a mixed list of fixed strings and / or regexes (general case)
Or we do something different in terms of representation.
- thomas
_______________________________________________
openEHR-technical mailing list
[email protected]
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org