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

Instances with default and fixed values

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Not Persuasive
    • Icon: Highest Highest
    • Shorthand (FHIR)
    • 3.0.0-ballot
    • FHIR Infrastructure
    • Language Reference
    • 3.6.15
    • Hide

      The FHIR Specification states that default values are only allowed in logical models, which limits their relevance and use in many IGs. Even within that narrow context, it suggests that they should be used sparingly. From an implementation perspective, our experience has shown that implementing auto-population of default values would likely be complicated, and similar behavior has been confusing to users in the past. Given that absence of a value is semantically equivalent to presence of its default value, we do not feel that the added complexity of specifying this behavior justifies the small return on investment it would provide. As such, we do not plan on implementing such a feature.

      Show
      The FHIR Specification states that default values are only allowed in logical models, which limits their relevance and use in many IGs. Even within that narrow context, it suggests that they should be used sparingly. From an implementation perspective, our experience has shown that implementing auto-population of default values would likely be complicated, and similar behavior has been confusing to users in the past. Given that absence of a value is semantically equivalent to presence of its default value, we do not feel that the added complexity of specifying this behavior justifies the small return on investment it would provide. As such, we do not plan on implementing such a feature.
    • Bas van den Heuvel / Chris Moesel: 12-0-0

    Description

      The trial use section indicates that fixed values must be explicitly mentioned in the Instance: definition.

      Can we add similar functionality for default values? I.e. when the path is present for a default element the default value is inserted.

      A rule

      • identifier.use

      for a profile where identifier.use has a default value (e.g. `usual`) , would inject the default value of the useĀ field.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bvdh Bas van den Heuvel
            Bas van den Heuvel
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: