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

slice names cannot be numbers

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Low Low
    • Shorthand (FHIR)
    • 0.12.0 [deprecated]
    • FHIR Infrastructure
    • Language Reference
    • 3.2.7
    • Hide

      The ANTLR4 grammar will not allow a name to be entirely numeric, so there will not be confusion between a name and an index. SUSHI will signal an error:

      error mismatched input '1234567' expecting SEQUENCE

      However, we haven't made this clear in the specification, so we will add a short sentence to the spec to indicate that slicenames must not be purely numeric (must contain at least one letter).

      Show
      The ANTLR4 grammar will not allow a name to be entirely numeric, so there will not be confusion between a name and an index. SUSHI will signal an error: error mismatched input '1234567' expecting SEQUENCE However, we haven't made this clear in the specification, so we will add a short sentence to the spec to indicate that slicenames must not be purely numeric (must contain at least one letter).
    • Kramer/Rhodes: 14-0-0
    • Clarification
    • Non-substantive

    Description

      The use of slice identifiers as array indices requires the slice name to consist of at least one non decimals. Otherwise one cannot not differentiate from a slice and a index. I do not think this is enforced by the grammar.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: