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

Constraint generator incorrectly generates reference type constraints in some circumstances #1426

Closed
JohnTimm opened this issue Aug 19, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@JohnTimm
Copy link
Collaborator

JohnTimm commented Aug 19, 2020

A bug was introduced from this commit:

28f4628

This will cause profile-generated reference type constraints with multiple targets to fail validation for non-repeating elements. For example:

value.as(Reference).exists() implies (value.as(Reference).resolve().is(Practitioner) or resolve().is(PractitionerRole) or resolve().is(Organization) or resolve().is(Location))

should be:

value.as(Reference).exists() implies (value.as(Reference).resolve().is(Practitioner) or value.as(Reference).resolve().is(PractitionerRole) or value.as(Reference).resolve().is(Organization) or value.as(Reference).resolve().is(Location))
@JohnTimm JohnTimm added the bug Something isn't working label Aug 19, 2020
@JohnTimm JohnTimm added this to the Sprint 16 milestone Aug 19, 2020
@JohnTimm JohnTimm self-assigned this Aug 19, 2020
JohnTimm added a commit that referenced this issue Aug 19, 2020
Signed-off-by: John T.E. Timm <johntimm@us.ibm.com>
JohnTimm added a commit that referenced this issue Aug 20, 2020
)

Signed-off-by: John T.E. Timm <johntimm@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants