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

Consider an approach to more easily access an item's canonical UR where/when it is relevant.

    XMLWordPrintableJSON

Details

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

      Canonical(Foo) makes sense and we propose to add it. This align FSH's treatment of the canonical data type with its treatment of the reference data type.

      The proposed change will also address another deficiency. As it stands today, there is no way in FSH to set a field’s value to the canonical URL of another thing defined in the same IG – so when you need to do that, you have to figure out what the canonical URL will be and hard-code it into the FSH definition. Canonical(Foo) will enable a user to change the IG’s canonical URL in a single place with no other changes needed to FSH definitions. 

      Show
      Canonical(Foo) makes sense and we propose to add it. This align FSH's treatment of the canonical data type with its treatment of the reference data type. The proposed change will also address another deficiency. As it stands today, there is no way in FSH to set a field’s value to the canonical URL of another thing defined in the same IG – so when you need to do that, you have to figure out what the canonical URL will be and hard-code it into the FSH definition. Canonical(Foo) will enable a user to change the IG’s canonical URL in a single place with no other changes needed to FSH definitions. 
    • Kramer/Rhodes: 14-0-0
    • Enhancement
    • Compatible, substantive

    Description

      Would a "Canonical" keyword similar to "Reference" be helpful (e.g. "* sytem = Canonical(MyCodeSystem)"). It may not be necessary if we define behavior such that any use of an entity (profile, extension, CS, VS, etc) where a canonical is expected results in the canonical. But... we should probably define one of those things (Canonical or the behavior described above).

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmoesel Chris Moesel
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: