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

Fix the expression of eld-11 #2508

Closed
marcovisserFurore opened this issue Jun 21, 2023 · 0 comments · Fixed by FirelyTeam/firely-validator-api#116 or FirelyTeam/Hl7.Fhir.Validation.Legacy#24
Assignees
Labels

Comments

@marcovisserFurore
Copy link
Member

Describe the bug
The FHIR Path expression of constraint eld-11 is not correct. The current expression is:

"binding.empty() or type.code.empty() or type.code.contains(\":\") or type.select((code = 'code') or (code = 'Coding') or (code='CodeableConcept') or (code = 'Quantity') or (code = 'string') or (code = 'uri') or (code = 'Duration')).exists()"

but it should be:

binding.empty() or type.code.empty() or type.code.contains(':') or type.select((code = 'code') or (code = 'Coding') or (code='CodeableConcept') or (code = 'Quantity') or (code = 'string') or (code = 'uri') or (code = 'Duration')).exists()"

There are double quotes in the expression, which should be single quotes.

This should be solved in the Legacy Validator and the new Firely Validator.

Version used:

  • FHIR Version: all (I think)
  • Version: 5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants