Display controls can be printed as part or printing out registration cards from Registration App. This functionality is completely configurable based on user requirements.
The Print functionality for registration appears in the Registration module as shown below :
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> |