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

Questionnaire: Generated Item Link Definitions do not resolve for sliced profiles #890

Open
oliveregger opened this issue May 2, 2024 · 1 comment
Assignees

Comments

@oliveregger
Copy link
Contributor

We do wan't to point from the Questionnaire.item.definition to the Extension the element that is mapped
according to https://hl7.org/fhir/questionnaire-definitions.html#Questionnaire.item.definition.

This does not work if we want to target to sliced elements, e.g. in the questionnaire provided, IG Publisher provides an error:

The link 'StructureDefinition-ch-orf-initiator.html#Extension.extension:ch-orf-personalrelation' for "Extension.extension:ch-orf-personalrelation" cannot be resolved (valid targets: 62 targets)

Questionnaire is here: https://build.fhir.org/ig/ahdis/ch-ig/branches/oe_definition_link/Questionnaire-ch-orf-module-initiator.html,
where the first item does not resolve, the other two (without slicing) work.

The target which is not found, could be found in:

https://build.fhir.org/ig/ahdis/ch-ig/branches/oe_definition_link/StructureDefinition-ch-orf-initiator***-definitions***.html#***key_**Extension.extension:ch-orf-personalrelation.extension

could the generated link be adapted to a valid target?

repo to reproduce this behaviour is here: https://github.com/ahdis/ch-ig/tree/oe_definition_link

see also issue hl7ch/ch-orf#144

@lmckenzi
Copy link
Contributor

lmckenzi commented May 7, 2024

This is a situation of the canonical reference to a structure definition containing an id not properly resolving to the web page on which that id can be found. We're not sure how much additional work it will be to update the web infrastructure to handle that resolution. Assigning to @grahamegrieve to evaluate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting for Input
Development

No branches or pull requests

3 participants