CDCgov / dibbs-query-connector

A FHIR client allowing public health agencies to query health care organizations directly or via a TEFCA QHIN
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

Update database-services.ts getCustomQueries #169

Open robertandremitchell opened 15 hours ago

robertandremitchell commented 15 hours ago

Description:

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

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.

Acceptance Criteria:

linear[bot] commented 15 hours ago

QUE-85 Update database-services.ts getCustomQueries