Skip to content

(feat) O3-5124: Add Patient Identifier Sticker configuration to Distro#48

Merged
dkayiwa merged 2 commits into
openmrs:mainfrom
jnsereko:O3-5124
Oct 29, 2025
Merged

(feat) O3-5124: Add Patient Identifier Sticker configuration to Distro#48
dkayiwa merged 2 commits into
openmrs:mainfrom
jnsereko:O3-5124

Conversation

@jnsereko

Copy link
Copy Markdown
Contributor

Summary

This configuration defines the layout and content settings for patient identification stickers.

  1. Sticker Fields to Display:

    • Name
    • Date of Birth (DOB)
    • Age
    • Gender
    • Full Address
  2. Sticker Dimensions:

    • Width: 70mm (default)
    • Height: 50mm (default)
  3. Visual Settings:

    • Barcode: Enabled - displays a barcode representation of the patient identifier
    • Header: Enabled - includes a header section with the OpenMRS logo
    • Label Font Size: 2
    • Value Font Size: 4
    • Label-Value Gap: 1mm spacing between labels and their corresponding values
  4. Additional Configuration:

Screenshot

Screenshot 2025-10-15 at 13 56 23

Related Issue

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

@jnsereko

Copy link
Copy Markdown
Contributor Author

Hey @ibacher and @dkayiwa, this is a migration of the config from here

"report.patientIdSticker.fields.label.value.font.size": "4",
"report.patientIdSticker.fields.label.gap": "1mm",
"report.patientIdSticker.stylesheet": "patientIdStickerFopStylesheet.xsl",
"report.patientIdSticker.logourl": "web/module/resources/OpenMRS_logo.png",

@dkayiwa dkayiwa Oct 20, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this logo any different from the one in openmrs core?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thank you @dkayiwa
I have removed the logo config since the openMRS logo will be loaded by default based on this

@jnsereko
jnsereko requested a review from dkayiwa October 29, 2025 08:12
@dkayiwa
dkayiwa merged commit b933bcf into openmrs:main Oct 29, 2025
1 check passed
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