view · edit · sidebar · attach · print · history

Index>

20141118-new-hc-provider-view

Summary

  • Add view hc-provider for doctors/hospital/pharamacies

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!

---

Add view hc-provider for doctors/hospital/pharamacies

Continuing work of yesterday. Over the night imported again 1700 doctors to be sure that my (small) changes in the medreg_doctor plugin did not break other stuff.

Introducing now the three new fields for doctors: :may_dispense_narcotics, :may_sell_drugs, :remark_sell_drugs

This looks good. See it here with a remark_sell_drugs.

Also the list for the query for Mollis displays correctly and links to doctors and map search work. vCards do not work yet. See

Fixed displaying vcards in http://oddb-ci2.dyndns.org/de/gcc/search/zone/hc_providers/search_query/Mollis?

Added zone :hc_providers for admin users.

Now asking myself why the "Apotheke Zaun" in Glarus does not appear in the result for hc_providers "Glarus". It is not found in bin/admin via company_by_gln(7601001380028).class. But it looks as it as imported on October 29. Must run jobs/import_regmed_companies

Added an odba_store for all doctors/companies after every 100-th updated/created item. Must fix import of addresses and type of pharmacies, etc.

Downloading the refdata for Pharma was easy with the attached Attach:test_refdata.rb. But I lost over two hours trying to make it pass for Company or Persons. After discussing with Zeno I upgraded to savovn 2.8.0 (from 0.9.7 as on our servers), adapted the syntax to it (much cleaner and more readable, also a lot smaller) and downloading worked fine. Uploaded the new version as the same attachment.

Will continue tomorrow.

view · edit · sidebar · attach · print · history
Page last modified on November 19, 2014, at 08:15 AM