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

Add warning if complex types have a fixed value

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • (profiles)
    • Hide

      Will add a 'warning' constraint on ElementDefinition if there is a fixed value defined for a complex type saying "For complex types, consider using a pattern rather than a fixed value to avoid over-constraining the instance."

      We will also adjust the IGPublisher to spit out an equivalent message for this when dealing with profiles created against prior versions of FHIR.

      Show
      Will add a 'warning' constraint on ElementDefinition if there is a fixed value defined for a complex type saying "For complex types, consider using a pattern rather than a fixed value to avoid over-constraining the instance." We will also adjust the IGPublisher to spit out an equivalent message for this when dealing with profiles created against prior versions of FHIR.
    • Grahame Grieve/Vadim Peretokin: 5-0-0
    • Enhancement
    • Non-substantive
    • R5

    Description

      Suggest that fixed values on complex types should instead use patterns so as not to overconstrain.

      Attachments

        Activity

          People

            GrahameGrieve Grahame Grieve
            lloyd Lloyd McKenzie
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: