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

    • Icon: Technical Correction Technical Correction
    • Resolution: Persuasive
    • Icon: High High

    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

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

            Dates

              Created:
              Updated:
              Resolved: