view · edit · sidebar · attach · print · history

Index>

20140812-print-prescription-with-zsr

Summary

  • Add ZSR to prescription

Commits

Index

Keep in Mind
  • Fix dojo error http://www.sitepen.com/blog/2012/10/31/debugging-dojo-common-error-messages/#forgot-dom-ready
  • I removed on May-27 tests for ix_registrationss, fix_sequences, fix_compositions, fix_packages from test/test_plugin/swissmedic.rb,as he could not find any references for them in the src code. Did I erroneously remove stuff when cleaning up the swissmedic import earlier?
  • The whole test for older/newer Packages must be adapted to xlsx. One must compare the rows (e.g. by creating csv files) and do the same stuff in xlsx!
  • One unit-test for searchbar fails and might be a clue why searching does not work correctly.
  • Added two skip in test/test_plugin/rss.rb. Why does the mocking not work there anymore?
  • Make ext/swissindex/test/test_swissindex.rb and skipping tests in migel-gem pass.

---

Add ZSR input and details to prescription

Constructing the dialog. Adding utility method zsrFromUrl in src/util/session.rb. Changing javascript to reload if ZSR has changed and adding to the to persistent user_input.

Now links like http://oddb-ci2.dyndns.org/de/gcc/rezept/zsr=P006309/ean/7680583920112? begin to work, but I must create the correct URL after editing the field prescription_zsr_id. Things start to look correctly when editing a prescription. See

Attacking now printing prescription with QR-code and ZSR information. Must fix an error, was setting the URL for printing looses the ZSR. Printing works now, too. See

Printing display twice ZSR and EAN. Must fix this problem. Also the QR-Code does not yet contain the EAN-ID of the doctor. After fixing these error I reloaded the image.

Most watir tests work. Pushing to qrcode branch Added zsr and zsr_details to prescription dialog

Will continue tomorrow to fix the remaining errors and fixing the not working fachinfo search.

view · edit · sidebar · attach · print · history
Page last modified on August 12, 2014, at 05:23 PM