Skip to content

Add initial skeleton for Visit Summary report using ReportManager–Renderer architecture#12

Open
PawanTheGod wants to merge 1 commit intoopenmrs:mainfrom
PawanTheGod:visit-summary-skeleton
Open

Add initial skeleton for Visit Summary report using ReportManager–Renderer architecture#12
PawanTheGod wants to merge 1 commit intoopenmrs:mainfrom
PawanTheGod:visit-summary-skeleton

Conversation

@PawanTheGod
Copy link
Copy Markdown

Overview

This PR introduces a basic skeleton for a Visit Summary report within the patientdocuments module.

The implementation follows the existing ReportManager–Renderer architecture used in the module.


Changes

  • Added VisitSummaryDataSetDefinition with visitUuid parameter
  • Added VisitSummaryReportManager to define report structure
  • Added VisitSummaryPdfRenderer to generate a minimal PDF output
  • Added constants and i18n entries for the new report

Dependency Update

  • Added OpenPDF dependency to api/pom.xml for PDF generation
  • Removed redundant test-scope OpenPDF dependency from omod/pom.xml

Purpose

This is an initial step toward implementing a configurable Visit Summary report as discussed in GSoC 2026 ideas.

The current implementation is intentionally minimal and establishes a clean foundation for future enhancements such as:

  • aggregation of clinical data (vitals, diagnoses, medications, labs)
  • configurable report sections
  • template-based rendering

Testing

  • Verified successful build using mvn clean install
  • Ensured compatibility with existing module structure

Notes

  • This is a skeleton implementation (no real data aggregation yet)
  • Designed for future extensibility

Feedback is welcome on whether this approach aligns with the expected direction.

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.

1 participant