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

Search Parameter SearchType/DataType checking #786

Closed
brianpos opened this issue Oct 9, 2023 · 1 comment
Closed

Search Parameter SearchType/DataType checking #786

brianpos opened this issue Oct 9, 2023 · 1 comment

Comments

@brianpos
Copy link
Contributor

brianpos commented Oct 9, 2023

While validating a search parameter fhirpath expression ensire that the datatype returned by the fhirpath expression is compatible with the search type.

Reference table found in the core spec here:
http://hl7.org/fhir/search.html#table

And the code that I used in my checker is here
https://github.com/brianpos/Hl7.Fhir.FhirPath.Validator/blob/master/src/Hl7.Fhir.Base.FhirPath.Validator/SearchExpressionValidator.cs#L245

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

No branches or pull requests

2 participants