Skip to content

O3-5098: Support Configurable UUID for Patient ID Sticker Report Design#6

Open
RajPrakash681 wants to merge 1 commit intoopenmrs:mainfrom
RajPrakash681:O3-5098-configurable-report-design-uuid
Open

O3-5098: Support Configurable UUID for Patient ID Sticker Report Design#6
RajPrakash681 wants to merge 1 commit intoopenmrs:mainfrom
RajPrakash681:O3-5098-configurable-report-design-uuid

Conversation

@RajPrakash681
Copy link
Copy Markdown

Summary

This PR makes the Patient ID Sticker Report Design UUID configurable via the Initializer module configuration, allowing each OpenMRS implementation to use their own UUID.

Issue

https://openmrs.atlassian.net/browse/O3-5098

Changes

  • Added REPORT_DESIGN_UUID_KEY constant for the configuration key: report.patientIdSticker.patientIdStickerReportDesignUuid
  • Added getReportDesignUuid() method that reads UUID from InitializerService with fallback to default
  • Updated constructReportDesigns() to use the configurable UUID

Configuration

Implementations can configure their own report design UUID by adding to their Initializer JSON configuration:

"report.patientIdSticker.patientIdStickerReportDesignUuid": "your-custom-uuid-here"

@RajPrakash681
Copy link
Copy Markdown
Author

@pirupius can you review it!?

@pirupius pirupius requested a review from jnsereko February 2, 2026 17:43

private InitializerService initializerService;

private InitializerService getInitializerService() {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You should also write the new test cases for the methods you've added

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.

2 participants