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

Why using a letter when a whildcart or a punctuation mark would be more appropriate?

    XMLWordPrintableJSON

Details

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

      value[x] is straight-up FHIR syntax, and if we depart from it in FSH, it would be confusing.

      Show
      value [x] is straight-up FHIR syntax, and if we depart from it in FSH, it would be confusing.
    • Kramer/Rhodes: 14-0-0

    Description

      As a side note, I would discourage using "[x]" as "x" is a letter and could be confused with a variable name or so\. For such template-like situations I would rather suhhest using "*" or "\."\. For instance: "value[*]" or "value[\.]" or even just say that in case the type is not explicitly specified, e\.g\.
      * valueString\.value = "Hello World"
      is used then it is inferred\.

      Existing Wording:

      Data Type Choice [x] Paths

      Attachments

        Activity

          People

            Unassigned Unassigned
            ivan_zapreev Ivan Zapreev (Inactive)
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: