Bad QUICK ModelInfo?
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?
I should add that the following works:
using QUICK
valueset "V": 'x'
define _:
[Procedure : code in "V"]
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.