Menu

Commit for Layout Based Transactions

Developers
Rod Roark
2015-10-28
2015-11-05
1 2 > >> (Page 1 of 2)
  • Rod Roark

    Rod Roark - 2015-10-28

    OK here it is:

    https://github.com/sunsetsystems/openemr/commits/lbt

    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:

    Referral
    Patient Request
    Physician Request
    Legal
    Billing

    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.

    Rod
    http://www.sunsetsystems.com

     
  • Arnab Naha

    Arnab Naha - 2015-10-28

    Thank you so much Rod. I am going to test it right now.

     
  • Arnab Naha

    Arnab Naha - 2015-10-28

    Hi Rod,
    I created a simple test form using the LBT. Now where do I find the form to fillup or use? Cant see it anyrwhere

     
  • Rod Roark

    Rod Roark - 2015-10-28

    Should be Patient summary page -> Transactions -> Add and then select your transaction type.

    Rod
    http://www.sunsetsystems.com/

     
  • Arnab Naha

    Arnab Naha - 2015-10-28

    Thanks Rod, got it it works really well. It would be very nice if we can print the filled out forms if necessary like the referral forms.

     
  • Rod Roark

    Rod Roark - 2015-10-28

    Referral printing was a special effort, but it would be possible to do it for transactions in a general way.

    Rod
    http://www.sunsetsystems.com/

     
  • Arnab Naha

    Arnab Naha - 2015-10-28

    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

     
  • Arnab Naha

    Arnab Naha - 2015-10-28

    Hi Rod,
    The conditional statement doesnt seem to work in the LBT. Can you please check

    Thanks,
    Arnab

     
    • Rod Roark

      Rod Roark - 2015-10-28

      OK will look at that in a day or two.

      Rod
      http://www.sunsetsystems.com/

       
  • Tony McCormick

    Tony McCormick - 2015-10-28

    This will be great, we used transactions a lot for the Peace Corps to track various things, like the volunteer(patient) moving from Post to Post

     
  • Tony McCormick

    Tony McCormick - 2015-10-28

    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 ..

    Just FYI when thinking about printing options.

     
    • Rod Roark

      Rod Roark - 2015-10-28

      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.

      Rod
      http://www.sunsetsystems.com/

       
  • Tony McCormick

    Tony McCormick - 2015-10-28

    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.

     
  • Rod Roark

    Rod Roark - 2015-10-30

    I have added a commit (in the above-linked branch) to fix the support for conditions in layout based transactions.

    Rod
    http://www.sunsetsystems.com/

     
  • Chandni

    Chandni - 2015-10-30

    Can I see a working demo of this one anywhere?

     
  • Arnab Naha

    Arnab Naha - 2015-10-30

    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.

    Thanks
    Arnab

     
  • Arnab Naha

    Arnab Naha - 2015-10-30

    Hello Chandani,

    For the demo, you can visit this - http://nahahealthclinic.no-ip.org/openlbt

    The login credentials are on the login screen

    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.

    Thanks
    Arnab

     
  • Brady Miller

    Brady Miller - 2015-10-30

    Hi Rod,

    Would be very nice to get this feature in. Couple things I noted on testing the above development demo.

    1. For the non-referral stuff, there is nothing there on new install(and no Details textarea as was in the prior installations).

    2. For the upgrade stuff, are you handling the prior transaction data for all the forms?

    3. 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).

    thanks,
    -brady
    OpenEMR

     

    Last edit: Brady Miller 2015-10-30
  • Terry Hill

    Terry Hill - 2015-10-30

    Could use some more comments in the code.

    Terry

     
  • Rod Roark

    Rod Roark - 2015-10-30

    Brady,

    1. That doesn't sound right. Will check into the new install case.
    2. Yes.
    3. I'm not sure what it does but it's still there and I didn't mess with it. It does show up for non-referrals, is that wrong?

    Terry,

    I can relate to that request as I've made it before of others. Any particular area you think needs more explanation?

    Rod
    http://www.sunsetsystems.com/

     
  • Rod Roark

    Rod Roark - 2015-10-30

    I added the missing layouts for non-referrals on a new install. Also fixed them in Brady's demo site.

    Rod
    http://www.sunsetsystems.com/

     
  • Rod Roark

    Rod Roark - 2015-10-31

    Yet another commit: Printing transactions from the patient report has been fixed.

    Rod
    http://www.sunsetsystems.com/

     
  • Terry Hill

    Terry Hill - 2015-10-31

    I am just curious as to why they are called transactions, I think accounting when I see that word.

    Wen I get a chance I will go back thru and attempt to post the spots in the code that is unclear to me.

    Thanks

    Terry

     
    • Rod Roark

      Rod Roark - 2015-10-31

      No idea, that was before my time. I wonder if there's a term more in keeping with other EHRs?

      Rod
      http://www.sunsetsystems.com/

       
1 2 > >> (Page 1 of 2)

Log in to post a comment.