Skip to content

Conversation

RamilGaripov
Copy link
Contributor

@RamilGaripov RamilGaripov commented Jun 26, 2025

Issues:

Dependencies

Description

Testing

Check each PR.

Release Plan

  • ⚠️ Points to master
  • Upstream dependencies are met/released
  • Merge this
  • FFs have been set in Staging, Production, and Sandbox

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Introduced automated patient discharge requery functionality with job creation, scheduling, retry logic, and completion handling.
    • Added new internal API endpoints and Express routes to initiate and run discharge requery jobs.
    • Integrated discharge requery job kickoff into HL7 discharge event processing.
    • Implemented cloud and direct processing options for discharge requery jobs using AWS SQS and Lambda.
    • Enhanced analytics with a new "dischargeRequery" event type.
    • Added CLI tools for Surescripts data preview, verification, largest file detection, and analysis.
    • Introduced a comprehensive FHIR Bundle SDK for parsing, querying, smart reference resolution, validation, and export.
    • Added extensive test suites verifying FHIR Bundle SDK functionality, including resource retrieval, reference validation, and export.
    • Added new utilities and schemas for patient monitoring discharge requery jobs and scheduling backoff logic.
    • Added new Surescripts utilities for bundle retrieval, conversion, and preview with AWS S3 integration.
  • Bug Fixes

    • Improved schema validation by making runtime data required in patient job updates.
  • Chores

    • Updated configuration keys and infrastructure stacks to support patient monitoring and job scheduling.
    • Added comprehensive tests for discharge requery job creation, scheduling, and utilities.
    • Refined imports and code organization for patient import and Surescripts modules.
    • Added ESLint configuration and ignore files for the new FHIR SDK package.
    • Reorganized package workspace and added new local package dependencies.
    • Renamed and refactored reference validation utilities for consistency.
  • Documentation

    • Added README for Surescripts CLI commands.
    • Expanded JSDoc and type definitions for discharge requery job types and API endpoints.
    • Added detailed README for the new FHIR Bundle SDK with usage examples and performance notes.

RamilGaripov and others added 30 commits June 13, 2025 08:49
Part of ENG-433

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-433

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
metriport/metriport-internal#1040

Signed-off-by: Keshav Saharia <keshav@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
…etriport into eng-433-moving-files

Signed-off-by: Thomas Yopes <thomasyopes@Thomass-MBP.attlocal.net>
Ref: ENG-433

Ref: #1040
Signed-off-by: Thomas Yopes <thomasyopes@Thomass-MBP.attlocal.net>
Ref: ENG-433

Ref: #1040
Signed-off-by: Thomas Yopes <thomasyopes@Thomass-MBP.attlocal.net>
Ref: ENG-433

Ref: #1040
Signed-off-by: Thomas Yopes <thomasyopes@Thomass-MBP.attlocal.net>
feat(jobs): move job scheduler starter to after api
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
metriport/metriport-internal#1040

Signed-off-by: Keshav Saharia <keshav@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
Part of ENG-432

Signed-off-by: Ramil Garipov <ramil@metriport.com>
lucasdellabella and others added 2 commits June 26, 2025 05:58
metriport/metriport-internal#1040

Ref: ENG-538
Signed-off-by: Lucas Della Bella <dellabella.lucas@gmail.com>
metriport/metriport-internal#1040

Signed-off-by: Keshav Saharia <keshav@metriport.com>
fix(infra): added term server URL to Lambdas
metriport/metriport-internal#1040

Ref: ENG-538
Signed-off-by: Lucas Della Bella <dellabella.lucas@gmail.com>
feat(fhir-sdk): fix constant time perf threshold for tests
metriport/metriport-internal#1040

Ref: ENG-538
Signed-off-by: Lucas Della Bella <dellabella.lucas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants