Define invariant for element paths

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • StructureDefinition
    • ElementDefinition
    • Hide

      Flag these as an error using an invariant:

      • Avoid /, space, ., #

      Flag these as a warning using an invariant, warning the modeller that this logical model may hinder code generation:

      • must be alphanumeric A-Za-z0-9
        - must start with a (lower case) letter a-z
        - no spaces, underscores, hyphens
        - no special characters or accents
        - ...?
      Show
      Flag these as an error using an invariant: Avoid /, space, ., # Flag these as a warning using an invariant, warning the modeller that this logical model may hinder code generation: must be alphanumeric A-Za-z0-9 - must start with a (lower case) letter a-z - no spaces, underscores, hyphens - no special characters or accents - ...?
    • Grahame Grieve/Sean McIlvenna: 6-0-0
    • Enhancement
    • Non-compatible
    • STU3

      In case of a logical model, the author defines the element names.

      There are some special rules for element names (e.g. to allow code generation), such as:

      • must be alphanumeric A-Za-z0-9
        - must start with a (lower case) letter a-z
        - no spaces, underscores, hyphens
        - no special characters or accents
        - ...?

      It would be convenient if FHIR clearly defines these rules and provides an invariant to allow validation.

            Assignee:
            Unassigned
            Reporter:
            Michel Rutten
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: