Stream: conformance
Topic: STU3: Condition invariant con-4 broken
Alexander Henket (Jul 17 2018 at 09:28):
@Richard Ettema : while you are at it: there's another one we're going to run into, which is con-4.
<sch:assert test="not(f:abatementBoolean/@value=true() or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive'))">con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission</sch:assert>
This should be:
(not(xs:boolean(f:abatementBoolean/@value)) and not(*[starts-with(local-name(), 'abatement')][not(self::f:abatementBoolean/@value = 'false')])) or f:clinicalStatus/@value = ('resolved', 'remission', 'inactive')
Alexander Henket (Jul 17 2018 at 10:05):
-- deleted comment on current build -- in current build abatementBoolean is gone...
Last updated: Apr 12 2022 at 19:14 UTC