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

Exception when trying to validate Profile with minValueQuantity/maxValueQuantity #342

Closed
NilsFa1 opened this issue Jul 26, 2024 · 0 comments · Fixed by #363
Closed

Exception when trying to validate Profile with minValueQuantity/maxValueQuantity #342

NilsFa1 opened this issue Jul 26, 2024 · 0 comments · Fixed by #363
Assignees

Comments

@NilsFa1
Copy link

NilsFa1 commented Jul 26, 2024

Currently I`m trying to validate a Profile with minValueQuantity/maxValueQuantity elements.
image

Trying to validate a Ressource using this Profile throws an Exception.

Firely.Fhir.Validation.SchemaResolutionFailedException: Encountered an error while loading schema 'https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_ULB_Observation_Total_Barthel_Index|1.0.0': Failed to convert ElementDefinition at Observation.value[x]:valueQuantity in profile https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_ULB_Observation_Total_Barthel_Index: Cannot convert the limit value () to a comparable primitive.
 ---> System.InvalidOperationException: Failed to convert ElementDefinition at Observation.value[x]:valueQuantity in profile https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_ULB_Observation_Total_Barthel_Index: Cannot convert the limit value () to a comparable primitive.
 ---> Firely.Fhir.Validation.IncorrectElementDefinitionException: Cannot convert the limit value () to a comparable primitive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants