XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive with Modification
    • Priority: Highest
    • Shorthand (FHIR)
    • 0.12.0 [deprecated]
    • FHIR Infrastructure
    • Language Reference
    • Hide

      Three choices:

      1. Don't change (see comment to see how that looks)
      2. Change to consistent use of "and"
      3. Change to consistent use of comma

      We discussed this with FSH users on the 6/11/2020 call, and the clear preference was for #2.  Therefore, the proposed resolution is to replace comma with "and" in rules, as follows:

      • path rules:  * path1 and path2 and path3... flag1 flag2 ...
      • invariant rules:  * path obeys invariant1 and invariant2, .. 
      • contains rules:  * extension-path contains local-name1 card1 flags1 and local-name2 card2 flags2 ..{{}}
      • includes rules with filters:  * codes from system codesystem where filter1 and filter2 and ... 

      The proposed disposition is favored because:

      • It is consistent with the use of "or" in FSH
      • It is easier to understand and read
      • It keeps comma for other future purposes (e.g., lists).
      • There are probably not many invariant rules that will need to be changed.

      The main impact will be flag rules. 

       

       

      Show
      Three choices: Don't change (see comment to see how that looks) Change to consistent use of "and" Change to consistent use of comma We discussed this with FSH users on the 6/11/2020 call, and the clear preference was for #2.  Therefore, the proposed resolution is to replace comma with "and" in rules, as follows: path rules:  * path1 and path2 and path3... flag1 flag2 .. . invariant rules:   * path obeys invariant1 and invariant2, ..   contains rules:   * extension-path contains local-name1 card1 flags1  and local-name2 card2 flags2 .. {{}} includes rules with filters:  * codes from system codesystem where filter1 and filter2 and ...  The proposed disposition is favored because: It is consistent with the use of "or" in FSH It is easier to understand and read It keeps comma for other future purposes (e.g., lists). There are probably not many invariant rules that will need to be changed. The main impact will be flag rules.     
    • Kramer/Rhodes: 14-0-0
    • Enhancement
    • Non-compatible

      The "and" keyword is used in the "contains rule" and the "obeys rule" to separate lists of items, but several other places in the grammar use commas (",") to separate lists of items. In addition, the "value set" construction rules use the "and" keyword as a logical operator. This is a source of potential confusion, consider using commas consistently as list item delimiters

      Existing Wording:

      And vs ,

            Assignee:
            Unassigned
            Reporter:
            Bryn Rhodes
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: