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

Bad QUICK ModelInfo? #29

Open
psbrandt opened this issue Jan 3, 2020 · 2 comments
Open

Bad QUICK ModelInfo? #29

psbrandt opened this issue Jan 3, 2020 · 2 comments

Comments

@psbrandt
Copy link

psbrandt commented Jan 3, 2020

If I try to run the following:

using QUICK

valueset "V": 'x'

define _:
  [Procedure : "V"]

I get the following error:

Error [5:1]: Unexpected exception caught during execution: ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: HTTP 400 Bad Request: Unknown search parameter "type". Value search parameters for this search are: [_id, _language, based-on, category, code, context, date, definition, encounter, identifier, location, part-of, patient, performer, status, subject]

It seems like it's trying to search for Procedure using the type search parameter, which doesn't exist for Procedure.

I think this is probably the wrong repo to file this ticket though. Should I file in DBCG/cql_engine or DBCG/cql_execution_service instead?

@psbrandt
Copy link
Author

psbrandt commented Jan 3, 2020

I should add that the following works:

using QUICK

valueset "V": 'x'

define _:
	[Procedure : code in "V"]

@JPercival
Copy link
Contributor

Hi @psbrandt. This was an issue with the way that the engine was resolving search parameters. There's a fix pending in cqframework/cql-engine#260.

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

No branches or pull requests

2 participants