-
Notifications
You must be signed in to change notification settings - Fork 68
ENG-392 Don't create consolidated on ingest #3938
New issue 8000
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThis change removes the ability to convert consolidated FHIR Bundles to text arrays via the Changes
Sequence Diagram(s)sequenceDiagram
participant IngestionJob
participant getConsolidatedBundle
participant BundleNormalizer
IngestionJob->>getConsolidatedBundle: Request consolidated bundle (cxId, patientId)
getConsolidatedBundle->>BundleNormalizer: Normalize bundle
BundleNormalizer-->>getConsolidatedBundle: Return normalized bundle
getConsolidatedBundle-->>IngestionJob: Return bundle
IngestionJob->>OpenSearch: Ingest bundle resources
Possibly related PRs
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
npm error code ERR_SSL_WRONG_VERSION_NUMBER 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (1)`**/*.ts`: - Use the Onion Pattern to organize a package's code in layers - Try to use immutable code and avoid sharing state across different functions, objects, and systems - Try...
🧬 Code Graph Analysis (1)packages/core/src/external/fhir/normalization/normalize-fhir.ts (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🔇 Additional comments (5)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Ref eng-392 Signed-off-by: Rafael Leite <2132564+leite08@users.noreply.github.com>
Ref eng-392 Signed-off-by: Rafael Leite <2132564+leite08@users.noreply.github.com>
- normalize consolidated bundle - throw on missing consolidated bundle Ref eng-392 Signed-off-by: Rafael Leite <2132564+leite08@users.noreply.github.com>
35d1a7e
to
41d1841
Compare
Ref eng-392 Signed-off-by: Rafael Leite <2132564+leite08@users.noreply.github.com>
Dependencies
Description
Don't create consolidated on ingest.
Normalize consolidated loaded from S3 (b/c this is not done yet).
Throw error if consolidated is missing.
Also moves a function that was a left-over from the text only ingestion. Still useful on utils.
Testing
2025-06-01
, not ingested yet, search works when consolidated found2025-06-01
, not ingested yet, search fails when no consolidatedRelease Plan
Summary by CodeRabbit
Refactor
Chores