Skip to content

[PRMP-1409] Add Document Version History feature#1123

Open
lillie-dae wants to merge 7 commits intomainfrom
PRMP-1409
Open

[PRMP-1409] Add Document Version History feature#1123
lillie-dae wants to merge 7 commits intomainfrom
PRMP-1409

Conversation

@lillie-dae
Copy link
Contributor

@lillie-dae lillie-dae commented Feb 20, 2026

Overview

Jira ticket: PRMP-1409

Description

Context

Checklist

Tasks for all changes:

  • 1. I have linked this PR to its Jira ticket.
  • 2. I have run git pre-commits. (WIP)
  • 3. I have added and/or updated relevant tests.
  • 4. I have updated relevant documentation.
  • 5. I have considered the cross-team impact (and have PR approval from both Core & Demographics if necessary).
  • 6. I have successfully deployed this change to a sandbox and witnessed unit and e2e tests passing:

Additional tasks for UI changes (delete if not applicable):

  • 1. I have run the UI Smoke Tests against the deployed sandbox and witnessed it passing:
  • 2. I have added evidence (to this PR) e.g. screenshots/gifs of all visual changes.

@lillie-dae lillie-dae force-pushed the PRMP-1409 branch 4 times, most recently from 90ba5c8 to db639d0 Compare February 26, 2026 15:37
@lillie-dae lillie-dae marked this pull request as ready for review March 2, 2026 09:31
@lillie-dae lillie-dae requested review from a team as code owners March 2, 2026 09:31
@lillie-dae lillie-dae force-pushed the PRMP-1409 branch 3 times, most recently from 9697380 to 817c8a3 Compare March 4, 2026 18:52

{isCurrentVersion ? (
<Link
to="#"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

view buttons are not implemented part of this story, PRMP-1410 is to implement that.

View
</Button>
<Link
to="#"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

view buttons are not implemented part of this story, PRMP-1410 is to implement that.

- Implemented DocumentVersionHistoryPage to display version history of documents.
- Created Timeline component to visualize document versions with active/inactive states.
- Added getDocumentVersionHistory function to fetch version history from API.
- Introduced mock data for testing document version history responses.
- Developed styles for TestToggle component to enhance UI.
- Added unit tests for getDocumentVersionHistoryResponse to ensure correct API interaction and response structure.
- Implemented the FHIR R4 Bundle resource with associated enums and interfaces.
- Created sample JSON files for Bundle history (bundleHistory1.fhir.json and bundleHistory2.fhir.json).
- Developed the FHIR R4 DocumentReference resource with its structure and value sets.
- Added unit tests for validating the structure and data of Bundle and DocumentReference resources.
- Removed outdated generic FHIR types and updated routes for document version history.
@github-actions
Copy link

github-actions bot commented Mar 9, 2026

Code security issues found

View full details here.

@github-actions
Copy link

Code security issues found

View full details here.

@sonarqubecloud
Copy link

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.

3 participants