view · edit · sidebar · attach · print · history

Index>

20150302-gtin2atc-with-ddd

Summary

  • Remove "What is an ATC-Code?" from Evidentia LNF
  • Add daily drug dose info to gtin2atc

Commits

Index

Keep in Mind for work to do
  • 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!
  • creat gem: task: input=file with ean-codes, standard output show ean-codes + atc-code. Source is Swissmedic Packungen.xlsx or XML.
  • Import via data/medreg_companies.yaml

Add daily drug dose info to gtin2atc

DDD (Daily Drug Dose) info can be read from file https://download.epha.ch/cleaned/atc.csv. Zeno mailed me a list of medis from bluecare, which should be used as test-cases for the DDD.

When looking at the existing examples, I get the following output

gtin,ATC,pharmacode,description,daily drug dose
4009077073203,R05X,41499,SOLDAN EM EUKAL Bronchial Bonbons,
7680147690482,N07BC02,41803,KETALGIN Inj Lös 10 mg/ml,"25 mg O,P"
7680147700112,N07BC02,41826,KETALGIN Tabl 5 mg,"25 mg O,P"
7680147700389,N07BC02,41832,KETALGIN Tabl 5 mg,"25 mg O,P"
7680172330681,D11AC03,20652,SELSUN Shampoo Susp,
7680199320283,N07BC02,41855,KETALGIN Supp 10 mg,"25 mg O,P"
7680202580475,J01FA01,20209,ERYTHROCIN i.v. Trockensub 1000 mg,1 g O; 2 g O Erythromycinethylsuccinat-Tabletten; 2 g P; 1 g O Kinder DDD für Erythromycinethylsuccinat-haltige Mittel
7680291520390,N02BE01,31532,BEN-U-RON Supp 250 mg Kind,"3 g O,P,R; 0,75 g O Kinder DDD; 0,375 g R Säuglings DDD; 0,75 g R Kinder DDD"
7680316440115,B03AA07,20244,FERRO-GRADUMET Depottabl,"0,2 g O Fe2+"
7680324750190,A06AA01,23722,LANSOYL Gel,15 g O
7680331590215,A01AD11,47852,DEAFTOL Tabl m Lidocain,
7680353660163,B03AE10,20273,KENDURAL Depottabl,

This presents quite some different possibilities!

Adding the DDD was easy. See commit Added ddd in generated csv file

Travis-CI reminded me to fix an UTF-8 problem. Done with commit Fix UTF-8 issue when reading atc.csv

Remove "What is an ATC-Code?" from Evidentia LNF

Verified that "Was ist ein ATC-Code?" appears when entering "Desitin" in http://swiss.mailr.se/. It does not appear when I entered "Budesonid"

Test-URL is http://evidentia.oddb-ci2.dyndns.org/de/evidentia?search_query=Desitin&search_type=st_combined&flavor=evidentia&language=de&event=search#best_result.

Fixed the problem with commit Remove what is an ATC-Code from evidentia lnf

Pulled the changes on thinpower. Tested it again on http://swiss.mailr.se/

Must also remove "ATC-Overview". Looks like in src/view/resultview.rb things are not done correctly in resultview_switch when the search_type does not include best_result (as this is the case for evidentia LNF).

Fixed with commit Removed ATC-Overview from Evidentia LNF

view · edit · sidebar · attach · print · history
Page last modified on March 03, 2015, at 08:13 AM