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

Auto include display values

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Not Persuasive
    • Icon: Highest Highest
    • Shorthand (FHIR)
    • 3.0.0-ballot
    • FHIR Infrastructure
    • Normative
    • Language Reference
    • 3.6.3
    • Hide

      We agree that there is value in providing a mechanism to support auto-population of code displays based on existing terminology. We propose, however, that this would be better implemented as a feature of IG Publisher or FHIR validator rather than a feature of FSH/SUSHI. We propose this for the following reasons:

      • Full implementation of FSH does not currently require any use of a terminology server or complex terminological operations. We are hesitant to add such a requirement for implementers.
      • While the change request suggests that this could be implemented by drawing only on code systems or value sets w/ full code definitions in scope, we feel this would significantly limit the value of such a feature. E.g., it would not work with intentionally defined value sets or popular code systems such as LOINC and SNOMED-CT.
      • Auto-populating code displays would be useful for all FHIR IG projects or FHIR data generators; but implementing in the FSH spec would only benefit FSH projects.
      • Tools such as the IG Publisher and/or FHIR Validator already support terminology operations, so they are already in a prime position to support such a feature.

      As such, we propose discussing this capability with the FHIR core tooling team to determine a path forward that would work for all projects and use cases.

      Please submit Git issues against either the IG Publisher and/or Validator to add this as a capability there.

      Show
      We agree that there is value in providing a mechanism to support auto-population of code displays based on existing terminology. We propose, however, that this would be better implemented as a feature of IG Publisher or FHIR validator rather than a feature of FSH/SUSHI. We propose this for the following reasons: Full implementation of FSH does not currently require any use of a terminology server or complex terminological operations. We are hesitant to add such a requirement for implementers. While the change request suggests that this could be implemented by drawing only on code systems or value sets w/ full code definitions in scope, we feel this would significantly limit the value of such a feature. E.g., it would not work with intentionally defined value sets or popular code systems such as LOINC and SNOMED-CT. Auto-populating code displays would be useful for all FHIR IG projects or FHIR data generators; but implementing in the FSH spec would only benefit FSH projects. Tools such as the IG Publisher and/or FHIR Validator already support terminology operations, so they are already in a prime position to support such a feature. As such, we propose discussing this capability with the FHIR core tooling team to determine a path forward that would work for all projects and use cases. Please submit Git issues against either the IG Publisher and/or Validator to add this as a capability there.
    • Chris Moesel/Bas van den Heuvel: 14-0-1

    Description

      How do I indicate to take over the display value from the Code system as well without having to indicate it explicitly?

      This has been discussed before. At that point it was deferred to the next version but not addressed.

      The issue with such functionality is that the original code system might not be available. I propose that we add language that allows this functionality, compilation will fail if the original code system is not included in the compilation.

      Proposed example syntax:

      http://example.org#my-code Unable to render embedded object: File (display) not found.

      Alternatively, one could label the code in the coding system with an alias and use that one. That will make it more obvious to use terms defined in the set accessible to fsh.

      E.g.

      CodeSystem: ExampleCS

      • #myCode "My Code display string" $MyCodeAlias

      "My Cod definition string

       

      ValueSet: ...

      • $MyCodeAlias

       

      Assignment

      • code = $MyCodeAlias

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            bvdh Bas van den Heuvel
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: