Hi Leo,

I think this wiki page probably explains this particular issue

http://www.openehr.org/wiki/display/dev/Existence+of+Attributes+(AOM,+ADL+and+XML)

<http://www.openehr.org/wiki/display/dev/Existence+of+Attributes+(AOM,+ADL+and+XML)>but
it is pushing my technical knowledge to the limit, so I hope someone else
will pitch in to any further discussion.

Ian

Dr Ian McNicoll
office / fax  +44(0)141 560 4657
mobile +44 (0)775 209 7859
skype ianmcnicoll
ian.mcnicoll at oceaninformatics.com
ian at mcmi.co.uk

Clinical Analyst  Ocean Informatics openEHR Archetype Editorial Group
Member BCS Primary Health Care SG Group www.phcsg.org / BCS Health Scotland



On 29 June 2010 16:13, Leonardo Moretti <lmoretti at noemalife.com> wrote:

>
> Thank you Ian, you are right, null_flavour tag is not needed.
> But in the previous post I proposed also an other change: in the original
> ADL code
> ELEMENT[at0033] occurrences matches {0..1} matches {    -- Comment
>       value matches {
>               DV_TEXT matches {*}
>       }
> }
> value doesn't have the existence attribute specified.
> Being the default for existence attribute {1..1}, a DV_TEXT value tag is
> required! But when we have an empty Comment, we cannot have a DV_TEXT value
> tag, so we can neither have the whole ELEMENT structure, and so we cannot
> specificy a null_flavour!
>
> To be able to do this, this extension would be needed:
> ELEMENT[at0033] occurrences matches {0..1} matches {    -- Comment
>       value existence matches {0..1} matches {
>               DV_TEXT matches {*}
>       }
> }
>
> regards
> leo
>
>
> Ian McNicoll-3 wrote:
> >
> > Hi Leo,
> >
> > No it works the other way round. All of the null flavours are
> > automatically
> > available unless you specifically constrain them out.
> >
> > Ian
> >
> > Dr Ian McNicoll
> > office / fax  +44(0)141 560 4657
> > mobile +44 (0)775 209 7859
> > skype ianmcnicoll
> > ian.mcnicoll at oceaninformatics.com
> > ian at mcmi.co.uk
> >
> > Clinical Analyst  Ocean Informatics openEHR Archetype Editorial Group
> > Member BCS Primary Health Care SG Group www.phcsg.org / BCS Health
> > Scotland
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Empty-string-for-DV_TEXT-tp28993527p29024820.html
> Sent from the openehr-technical mailing list archive at Nabble.com.
>
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical at openehr.org
> http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20100629/e0307f7a/attachment.html>

Reply via email to