Skip to Navigation | Skip to Content

openEHR-Technical mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Regex in Archetypes must include TYPE


Thomas Beale wrote:
> I also agree with Adam. A regex should be able to be used over a 
> population of strings (identifiers in this case) and have the effect 
> of 
> filtering out what you want. ...
>
> Practically speaking this does not change the specifications, but I 
> suspect we should put some guidance in to the effect that regexes 
> based 
> on full identifiers should be used in archetype slots.
>   


Surely the specifications should be stronger than just guidance. 
Existing tools that are massaging the regex will cease to work if they 
are given a full regex. It would be a breaking change, so I think it 
should be spelled out in the specification. Otherwise, tools are going 
to have to try to do some clever guesswork to decide whether a given 
pattern is intended to match the full archetype id or just the domain 
concept part of it.

- Peter

_______________________________________________
openEHR-technical mailing list
openEHR-technical@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical