Transactions are somewhat like encounter forms, except they are linked only to the patient and not to any visit. Currently there are 5 types of transactions in OpenEMR:
Referrals currently are layout-based, but the others are very simple and with a fixed layout. This commit converts them all to layout-based and allows for modifying them or adding new transaction types without programming.
A new list “Layout-Based Transaction Forms” is created, analogous to the current “Layout-Based Visit Forms”, so you can maintain the types of forms.
Testing, comments and review appreciated. I’m also interested to know who is using transactions at all, or thinks they are or are not important. I guess that’s about whether patient-related things (that you care about) happen outside of the context of a visit.
General printing from - Patient Summary ->Reports is only showing the form names not the data within the forms. At least a printfunction like the LBF forms from the Report section will work pretty fine
One note on this is that I am frequently asked to change the output of the Printed Referral and it does not reflect the changes in the Layout. Mostly they turn off the Counter Referral, but it’s still prints.
Also mostly they don’t want two copies of the referral as currently prints …
I think you’ll need to modify sites/default/referral_template.html to get what you want. See also interface/patient_file/transaction/print_referral.php. Shouldn’t be too hard.
Thanks, I know what to do, done it dozens of times. Just wanted the need to be (possibly) addressed if someone takes on a generic LBF print option for transactions.
Thanks Rod,
I have introduced the changes for the conditional fix and it works awesome. Please atleast make a print function done for the forms from the patient summary->reports sections like the general encounter based layout forms.
I have made a small Admission data form for testing purpose and it has a conditional item too. You can test it freely and create a new form as well here.
Would be very nice to get this feature in. Couple things I noted on testing the above development demo.
For the non-referral stuff, there is nothing there on new install(and no Details textarea as was in the prior installations).
For the upgrade stuff, are you handling the prior transaction data for all the forms?
There is an MU toggle in Referrals called “Sent Medical Records?”. Just want to make sure that logic is still working (and only shows up in Referrals).