Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rendering for references with/without a version #1833

Open
ahenket opened this issue Nov 26, 2024 · 0 comments
Open

Add rendering for references with/without a version #1833

ahenket opened this issue Nov 26, 2024 · 0 comments
Labels
bug Something isn't working rendering

Comments

@ahenket
Copy link
Contributor

ahenket commented Nov 26, 2024

Describe the issue
When Reference datatypes based on a canonical are rendered, most notably on a StructureDefinition ElementDefinition.binding.valueSet you will not see whether this is a canonical with or without a version. In this way a user cannot see if the link he follows to the valueSet or other artefact is always going to be that version or just today because tomorrow there could be a newer version.

Example 1:

<binding xmlns="http://hl7.org/fhir">
   <strength value="..."/>
   <description value="..."/>
   <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|5.0.0" />
</binding>

Currently renders exactly the same as example 2:

<binding xmlns="http://hl7.org/fhir">
   <strength value="..."/>
   <description value="..."/>
   <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type" />
</binding>

Suggested rendering for example 1:
bundle-type (5.0.0)

Suggested rendering for example 2:
bundle-type (latest)

@grahamegrieve grahamegrieve transferred this issue from hapifhir/hapi-fhir Nov 27, 2024
@dotasek dotasek added rendering bug Something isn't working labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rendering
Projects
None yet
Development

No branches or pull requests

2 participants