On 29/06/2010 16:13, Leonardo Moretti 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
>
this is a problem in ADL 1.4 that will disappear in ADL 1.5
- thomas beale
> 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
>>
>>
>>
>
--
Ocean Informatics *Thomas Beale
Chief Technology Officer, Ocean Informatics
<http://www.oceaninformatics.com/>*
Chair Architectural Review Board, /open/EHR Foundation
<http://www.openehr.org/>
Honorary Research Fellow, University College London
<http://www.chime.ucl.ac.uk/>
Chartered IT Professional Fellow, BCS, British Computer Society
<http://www.bcs.org.uk/>
Health IT blog <http://www.wolandscat.net/>
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20100701/54aeb351/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ocean_full_small.jpg
Type: image/jpeg
Size: 5828 bytes
Desc: not available
URL:
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20100701/54aeb351/attachment.jpg>