Expand Alias Syntax to References

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Not Persuasive
    • Priority: Medium
    • Shorthand (FHIR)
    • 0.12.0 [deprecated]
    • FHIR Infrastructure
    • Language Reference
    • 3
    • Hide

      This is not a suggestion about the "Alias" keyword, but rather the possibility of shortening "Reference(Foo)" to "Foo", and having the tooling infer the fact that the datatype requires a reference. This is feasible and shorter, but comes with some loss of clarity.

      We polled users on Zulip and also in person on the FHIR Shorthand call on 6/11/2020. The clear consensus was to keep the Reference keyword, because without it, it is harder to see what is really going on .

      We therefore propose to keep the Reference() as a required part of the syntax.

      Show
      This is not a suggestion about the "Alias" keyword, but rather the possibility of shortening "Reference(Foo)" to "Foo", and having the tooling infer the fact that the datatype requires a reference. This is feasible and shorter, but comes with some loss of clarity. We polled users on Zulip and also in person on the FHIR Shorthand call on 6/11/2020. The clear consensus was to keep the Reference keyword, because without it, it is harder to see what is really going on . We therefore propose to keep the Reference() as a required part of the syntax.
    • Kramer/Rhodes: 14-0-0

      Allow Resource to be an alias for Reference(Resource) when the type of the item is Resource. I can't tell you how many times missing the Rererence() wrapped around the resource reference caused my processing to bomb. This is supposed to be shorthand, FSH should be able to use context to resolve this value. The only places where a comflict might occur are in Parameters or Bundle where Resource can appear and ReferenceResource can also appear, in which case, there really isn't a conflict, the use would have to clarify between the two in theses cases.

      Proposed Wording:

      https://github.com/FHIR/sushi/issues/322

            Assignee:
            Unassigned
            Reporter:
            Keith W. Boone
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: