-
Notifications
You must be signed in to change notification settings - Fork 72
RELEASE: Deduplication fix for MedicationDispense #4077
New issue
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
…cationDispense metriport/metriport-internal#1040 Signed-off-by: Keshav Saharia <keshav@metriport.com>
…duplication fix(core): Fix deduplication to properly handle references for MedicationDispense
WalkthroughSupport for the FHIR resource type Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant BundleExtractor
participant Deduplicator
Client->>BundleExtractor: extractFhirTypesFromBundle(bundle)
BundleExtractor-->>Client: { medicationDispenses, ...otherResources }
Client->>Deduplicator: deduplicateFhirTypes({ medicationDispenses, ... })
Deduplicator->>Deduplicator: Deduplicate medication resources
Deduplicator->>Deduplicator: Replace medication references in medicationDispenses
Deduplicator-->>Client: Deduplicated 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 (2)
🧰 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...
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (7)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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 (
|
Issues:
Dependencies
Description
Testing
Check each PR.
Release Plan
master
Summary by CodeRabbit