Skip to Navigation | Skip to Content

Ref_impl_Java mailing list archives

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

[no subject]


Hi,

I think this is a bug in the archetype parser, what do you think?

I've an archetype with this node:

                    ELEMENT[at0002] occurrences matches {0..1} matches {    -- Exploracion clinica cervical anormal
                        value matches {
                            DV_BOOLEAN matches {
                                value matches {True, False; True}
                            }
                        }
                    }

So, with the specs of ADL (adl.pdf page 70: assumed values), True is the assumed value for the CPrimitiveObject that hodls the DV_BOOLEAN constraint.

When I printout this node I get (assumed value "false"):
org.openehr.am.archetype.constraintmodel.CPrimitiveObject@1a4ab42[
item=org.openehr.am.archetype.constraintmodel.primitive.CBoolean@1e7aa15
assumedValue=false
rmTypeName=DvBoolean
occurrences=org.openehr.rm.support.basic.Interval@a7607a[lower=1,lowerIncluded=true,upper=1,upperIncluded=true]
nodeID=
parent=
anyAllowed=false
path=/data[at0001]/items[at0002]/value/value
]

Any ideas?

Cheers,
Pablo Pazos Gutierrez
www.simplewebportal.net



check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages