Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-25459

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

    Details

    • Type: Technical Correction
    • Status: Applied (View Workflow)
    • Priority: High
    • Resolution: Persuasive

      Description

      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>

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: