Skip to content

Commit

Permalink
fix: add CCDA records to the need attention and home page mermaid dia…
Browse files Browse the repository at this point in the history
…grams #1011
  • Loading branch information
megin1989 committed Jan 15, 2025
1 parent 5d8720c commit 43a009b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified hub-prime/lib/techbd-udi-jooq-ingress.auto.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion hub-prime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>
<groupId>org.techbd</groupId>
<artifactId>hub-prime</artifactId>
<version>0.432.0</version>
<version>0.433.0</version>
<packaging>war</packaging>
<name>Tech by Design Hub (Prime)</name>
<description>Tech by Design Hub (Primary)</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ WITH combined_counts AS (
END) AS shinny_datalake_submissions,
max(sihr.created_at) AS recently_created_at
FROM techbd_udi_ingress.sat_interaction_fhir_request sihr
WHERE sihr.created_at >= (CURRENT_DATE - '7 days'::interval) AND (sihr.uri = ANY (ARRAY['/Bundle/'::text, '/Bundle'::text])) AND (sihr.tenant_id_lower = ANY (ARRAY['healthelink'::text, 'healtheconn'::text, 'healthix'::text, 'grrhio'::text, 'hixny'::text]))
WHERE sihr.created_at >= (CURRENT_DATE - '7 days'::interval) AND (sihr.uri = ANY (ARRAY['/Bundle/', '/Bundle','/flatfile/csv/Bundle', '/flatfile/csv/Bundle/', '/ccda/Bundle', '/ccda/Bundle/'])) AND (sihr.tenant_id_lower = ANY (ARRAY['healthelink'::text, 'healtheconn'::text, 'healthix'::text, 'grrhio'::text, 'hixny'::text]))
GROUP BY sihr.tenant_id_lower
)
SELECT
Expand Down Expand Up @@ -3547,7 +3547,7 @@ BEGIN
max(sihr.created_at) AS recently_created_at
FROM techbd_udi_ingress.sat_interaction_fhir_request sihr
WHERE
sihr.uri = ANY (ARRAY['/Bundle', '/Bundle/','/flatfile/csv/Bundle', '/flatfile/csv/Bundle/'])
sihr.uri = ANY (ARRAY['/Bundle', '/Bundle/','/flatfile/csv/Bundle', '/flatfile/csv/Bundle/', '/ccda/Bundle', '/ccda/Bundle/'])
AND sihr.created_at >= TO_TIMESTAMP(start_date::text, 'YYYY-MM-DD')
AND sihr.created_at < TO_TIMESTAMP(end_date::text, 'YYYY-MM-DD') + INTERVAL '1 day'
AND sihr.tenant_id <> 'N/A'
Expand Down Expand Up @@ -3704,7 +3704,7 @@ BEGIN
techbd_udi_ingress.sat_interaction_fhir_request sihr
WHERE
sihr.nature = ''Forwarded HTTP Response Error''
AND sihr.uri = ANY (ARRAY[''/Bundle/'', ''/Bundle'', ''/flatfile/csv/Bundle'', ''/flatfile/csv/Bundle/''])
AND sihr.uri = ANY (ARRAY[''/Bundle/'', ''/Bundle'', ''/flatfile/csv/Bundle'', ''/flatfile/csv/Bundle/'', ''/ccda/Bundle'', ''/ccda/Bundle/''])
AND sihr.created_at >= TO_TIMESTAMP($1::text, ''YYYY-MM-DD'')
AND sihr.created_at < TO_TIMESTAMP($2::text, ''YYYY-MM-DD'') + INTERVAL ''1 day''
AND sihr.tenant_id_lower = $3
Expand Down Expand Up @@ -3737,7 +3737,7 @@ BEGIN
WHERE
sihr.tenant_id_lower = tenant_id_param
AND sihr.nature = 'org.techbd.service.http.Interactions$RequestResponseEncountered'
AND sihr.uri = ANY (ARRAY['/Bundle/', '/Bundle'])
AND sihr.uri = ANY (ARRAY['/Bundle/', '/Bundle','/flatfile/csv/Bundle', '/flatfile/csv/Bundle/', '/ccda/Bundle', '/ccda/Bundle/'])
AND sihr.created_at >= TO_TIMESTAMP(start_date_param::text, 'YYYY-MM-DD')
AND sihr.created_at < TO_TIMESTAMP(end_date_param::text, 'YYYY-MM-DD') + INTERVAL '1 day'
AND NOT EXISTS (
Expand Down

0 comments on commit 43a009b

Please sign in to comment.