Skip to content

Commit

Permalink
fix: add ccda contents under various tabs tech-by-design#1011
Browse files Browse the repository at this point in the history
  • Loading branch information
megin1989 committed Feb 3, 2025
1 parent 06f5ba5 commit c0079f7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified hub-prime/lib/techbd-udi-jooq-ingress.auto.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1913,7 +1913,7 @@ BEGIN
) RETURNING sat_interaction_fhir_request_id INTO v_return; -- Return the generated UUID

IF (v_return IS NOT NULL) THEN
IF(uri='/Bundle' OR uri='/Bundle/' OR uri='/flatfile/csv/Bundle' OR uri='/flatfile/csv/Bundle/') THEN
IF(uri='/Bundle' OR uri='/Bundle/' OR uri='/flatfile/csv/Bundle' OR uri='/flatfile/csv/Bundle/' OR uri='/ccda/Bundle' OR uri='/ccda/Bundle/') THEN
CALL techbd_udi_ingress.insert_fhir_session_diagnostic(
hub_interaction_id,
tenant_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ AS WITH filtered_resources AS (
jsonb_array_elements(sihr.payload -> 'entry'::text) AS entry
FROM techbd_udi_ingress.sat_interaction_fhir_request sihr
WHERE
sihr.uri IN ('/Bundle', '/Bundle/','/flatfile/csv/Bundle', '/flatfile/csv/Bundle/')
sihr.uri IN ('/Bundle', '/Bundle/','/flatfile/csv/Bundle', '/flatfile/csv/Bundle/', '/ccda/Bundle', '/ccda/Bundle/')
AND sihr.nature = 'Original FHIR Payload'::text
), filtered_data AS (
SELECT filtered_resources.hub_interaction_id,
Expand Down

0 comments on commit c0079f7

Please sign in to comment.