XMLWordPrintableJSON

Details

    • Icon: Technical Correction Technical Correction
    • Resolution: Persuasive
    • Icon: Medium Medium
    • US Core (FHIR)
    • 5.0.1
    • Cross-Group Projects
    • US Core Patient Profile
    • Hide

      the intent is as written...

       

      xor is only true when either:

      1 name and/or family is present 

      or

      2 the element is absent and indicated with a DAR extension.

      not both

      however the invariant is incorrect as written.  (the  name context is missing from the DAR part). 

      Change context to name and rewrite the expression as 

       

      ~~~

      (family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()

      ~~~

       

      ( and update the XPath to new context)

      Will rewrite the text description to be clearer:

      "At least Patient.name.given and/or Patient.name.family are present or no data is available and only the Data Absent Reason Extension is present."

      Show
      the intent is as written...   xor  is only  true when either: 1 name and/or family is present  or 2 the element is absent and indicated with a DAR extension. not both however the invariant is incorrect as written.  (the  name context is missing from the DAR part).  Change context to name and rewrite the expression as    ~~~ (family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists() ~~~   ( and update the XPath to new context) Will rewrite the text description to be clearer: "At least Patient.name.given and/or Patient.name.family are present or no data is available and only the Data Absent Reason Extension is present."
    • Correction

    Description

      us-core-6 invariant specifies 

      <expression[value|http://hl7.org/fhir/R4/datatypes.html#string]="(name.family.exists() or name.given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"/>

      Should 'xor' be 'or'?

      Attachments

        Activity

          People

            Unassigned Unassigned
            deroode David DeRoode
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: