Open robertandremitchell opened 15 hours ago
Once work is complete to add query_data and conditions_list to the query table in the database, we will need to refactor this section of code: https://github.com/CDCgov/dibbs-query-connector/blob/main/query-connector/src/app/database-service.ts#L622
query_data
conditions_list
query
We should be able to avoid as many joins and just pull data from query. This may require updating the interface to not pull from valuesets or to reflect the JSON we create for query_data.
QUE-85 Update database-services.ts getCustomQueries
Description:
Once work is complete to add
query_data
andconditions_list
to thequery
table in the database, we will need to refactor this section of code: https://github.com/CDCgov/dibbs-query-connector/blob/main/query-connector/src/app/database-service.ts#L622We should be able to avoid as many joins and just pull data from
query
. This may require updating the interface to not pull from valuesets or to reflect the JSON we create forquery_data
.Acceptance Criteria: