-
Notifications
You must be signed in to change notification settings - Fork 345
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
Incorrect shall have a contained resource if a local reference is provided #2941
Comments
Thank you @mmsmits for being my Ghost-writer. I was unable to verify if this was already fixed in v2.5.0 of the new validator. |
Yes, that's ok, we'll check that. :) |
This is a duplicate of #FirelyTeam/firely-validator-api#384 |
@Kasdejong, this error was introduced after your work on contained resources I believe. Short story: |
@MatthijsvdWielen |
I have a situation which I don't fully understand with validation.
Example : https://simplifier.net/erezept-workflow/fsh-generated-resources-Parameters-ExampleCloseInputParametersRezeptur/~overview
Base profile: https://simplifier.net/erezept-workflow/gem_erp_pr_par_closeoperation_input
The legacy validator returns this:
The new validator returns this similar error, but with different explanation:
ref-1 (https://hl7.org/fhir/references.html#Reference) states:
Does calling %rootResource cause our Validator to jump to the Parameters Resource, and should it not go towards the Medication Resource?
Is this the part that is causing the issue?
What it does is it checks whether the ID of the referenced contained resource exists within the parent resource's contained resource IDs.
The Java Validator does not throw an error here.
Ghost-writer of @MatthijsvdWielen
The text was updated successfully, but these errors were encountered: