Configure Display Controls in Print
- Akhil Malhotra
- Pankaj Kumar Ladhar (Deactivated)
Owned by Akhil Malhotra
Purpose and Benefits
Display controls can be printed as part or printing out registration cards from Registration App. This functionality is completely configurable based on user requirements.
Steps
The Print functionality for registration appears in the Registration module as shown below :
Print Observation display control
Add following code in registration card print . Value of "conceptNames" in following code must be fully specified name.
<div class="print-wrapper"> <link rel="stylesheet" href="../styles/registrationPrint.css" media="all"/> <section class="block observation dashboard-section"> <bahmni-observation patient="patient" config="{conceptNames: ['Vitals']}" section-title="'Vitals'"> </bahmni-observation> </section> </div>
Print Diagnosis display control
<div class="print-wrapper"> <link rel="stylesheet" href="../styles/registrationPrint.css" media="all"/> <section class="block observation dashboard-section"> <bahmni-diagnosis patient-uuid="::patient.uuid" config='{"title": "Diagnosis","type": "diagnosis"}'></bahmni-diagnosis> </section> </div>
On this Page
Feature Details
The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)