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