From c1033e581ecd61108e5ac8d94b0777b0d1c66e9f Mon Sep 17 00:00:00 2001 From: jnsereko Date: Thu, 16 Oct 2025 12:27:39 +0300 Subject: [PATCH 1/2] (feat) O3-5124: Add Patient Identifier Sticker configuration to Distro --- .../jsonkeyvalues/patientIdPreportConfig.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 configuration/backend_configuration/jsonkeyvalues/patientIdPreportConfig.json diff --git a/configuration/backend_configuration/jsonkeyvalues/patientIdPreportConfig.json b/configuration/backend_configuration/jsonkeyvalues/patientIdPreportConfig.json new file mode 100644 index 0000000..670722c --- /dev/null +++ b/configuration/backend_configuration/jsonkeyvalues/patientIdPreportConfig.json @@ -0,0 +1,18 @@ +{ + "report.patientIdSticker.fields.identifier": "true", + "report.patientIdSticker.fields.name": "true", + "report.patientIdSticker.fields.dob": "true", + "report.patientIdSticker.fields.age": "true", + "report.patientIdSticker.fields.gender": "true", + "report.patientIdSticker.fields.fulladdress": "true", + "report.patientIdSticker.fields.label.font.size": "2", + "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", + "report.patientIdSticker.barcode": "true", + "report.patientIdSticker.pages": "1", + "report.patientIdSticker.size.height": "50mm", + "report.patientIdSticker.size.width": "70mm", + "report.patientIdSticker.header": "true" +} From 5813fc60ed6dec024dce057ae6d159edf9b55166 Mon Sep 17 00:00:00 2001 From: jnsereko <58003327+jnsereko@users.noreply.github.com> Date: Wed, 29 Oct 2025 11:10:27 +0300 Subject: [PATCH 2/2] Remove logo URL from patient ID sticker config --- .../jsonkeyvalues/patientIdPreportConfig.json | 1 - 1 file changed, 1 deletion(-) diff --git a/configuration/backend_configuration/jsonkeyvalues/patientIdPreportConfig.json b/configuration/backend_configuration/jsonkeyvalues/patientIdPreportConfig.json index 670722c..0727dc6 100644 --- a/configuration/backend_configuration/jsonkeyvalues/patientIdPreportConfig.json +++ b/configuration/backend_configuration/jsonkeyvalues/patientIdPreportConfig.json @@ -9,7 +9,6 @@ "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", "report.patientIdSticker.barcode": "true", "report.patientIdSticker.pages": "1", "report.patientIdSticker.size.height": "50mm",