cql_runner icon indicating copy to clipboard operation
cql_runner copied to clipboard

Bad QUICK ModelInfo?

Open psbrandt opened this issue 6 years ago • 2 comments

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 avatar Jan 03 '20 19:01 psbrandt

I should add that the following works:

using QUICK

valueset "V": 'x'

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

psbrandt avatar Jan 03 '20 19:01 psbrandt

Hi @psbrandt. This was an issue with the way that the engine was resolving search parameters. There's a fix pending in https://github.com/DBCG/cql_engine/pull/260.

JPercival avatar Jan 10 '20 00:01 JPercival