US Core Observation Lab: Invariant for "An Observation without a value, SHALL include a reason why the data is absent unless there are component observations, or references to other Observations that are grouped within it" is wrong

XMLWordPrintableJSON

    • Type: Technical Correction
    • Resolution: Persuasive
    • Priority: High

      US Core Observation Lab: Invariant for "An Observation without a value, SHALL include a reason why the data is absent unless there are component observations, or references to other Observations that are grouped within it" is wrong

       

      In the following, related is now hasMember and there is a missing quote after value (in the Schematron).

      us-core-2: If there is no component or related element then either a value[x] or a data absent reason must be present [(component.empty() and related.empty()) implies (dataAbsentReason.exists() or value.exists())]

      Should be:

      us-core-2: If there is no component or related element then either a value[x] or a data absent reason must be present [(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())]

      <sch:assert test="exists(f:component) or exists(f:related) or exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)">If there is no component or related element then either a value[x] or a data absent reason must be present</sch:assert>

      Should be:

      <sch:assert test="exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)">If there is no component or related element then either a value[x] or a data absent reason must be present</sch:assert>

       

            Assignee:
            Unassigned
            Reporter:
            Sarah Gaunt
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: