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

Overriding the url of an Extension

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Not Persuasive with Modification
    • Icon: Highest Highest
    • Shorthand (FHIR)
    • 2.0.0
    • FHIR Infrastructure
    • Normative
    • Language Reference
    • 3.5.4
    • Hide

      FHIR Shorthand does not need to be extended to support overriding the url of an extension. FSH already supports this for extensions, profiles, and any other canonical resources. Since caret paths allow authors to modify the underlying elements of the extension's StructureDefinition, setting the url is done via a simple assignment:

       

      * ^url = "http://example.org/custom/extension/url/1

      We will add text to section 3.5.4 to highlight this feature:

       

      Extension metadata that does not have a dedicated keyword may be specified using assignment rules with caret paths (e.g., `^url`, `^status`, `^purpose`).

      We will also add similar language to the sections on defining profiles, resources, logical models, value sets, and code systems.

      Show
      FHIR Shorthand does not need to be extended to support overriding the url of an extension. FSH already supports this for extensions, profiles, and any other canonical resources. Since caret paths allow authors to modify the underlying elements of the extension's StructureDefinition, setting the url is done via a simple assignment:   * ^url = "http: //example.org/custom/extension/url/1 We will add text to section 3.5.4 to highlight this feature:   Extension metadata that does not have a dedicated keyword may be specified using assignment rules with caret paths (e.g., `^url`, `^status`, `^purpose`). We will also add similar language to the sections on defining profiles, resources, logical models, value sets, and code systems.
    • Gino Canessa / Grahame Grieve: 12-0-0
    • Clarification
    • Non-substantive

    Description

      In this section, the definition of extension is discussed. The url of the Extension is automatically derived from the Id.
      This limits the definition of Extensions within the scope of the canonical of the implementation guide.
      There must be a way to override this mechanism, e.g.

      Extension: SomeExtension
      Id: someId
      url = "http://theUrlVersionToUse"

      Shorthand must be extended to define the mechanism on how this is done.

      Attachments

        Activity

          People

            jafeltra Julia Afeltra
            bvdh Bas van den Heuvel
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: