Development should be configuration-based.

Configuration:- Organisation-wise.

Module - My Health.
Key - Myhealth.PrintButtonForPrescriptionDetail.
Description - The print button will be available to print the prescription detail which has been prescribed from OPD.
Value - True/false