oddb.org 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. data/.gemtest +0 -0
  2. data/Guide.txt +23 -17
  3. data/{README → INSTALL_from_Source.txt} +64 -75
  4. data/Manifest.txt +110 -4
  5. data/README.txt +4 -2
  6. data/Rakefile +5 -0
  7. data/doc/favicon.ico +0 -0
  8. data/doc/index.rbx +15 -0
  9. data/doc/resources/anthroposophy/favicon.ico +0 -0
  10. data/doc/resources/anthroposophy/logo.png +0 -0
  11. data/doc/resources/atupri/logo.gif +0 -0
  12. data/doc/resources/desitin/logo.jpg +0 -0
  13. data/doc/resources/downloads/datadesc/analysis.csv.txt +57 -0
  14. data/doc/resources/downloads/datadesc/doctors.csv.txt +43 -0
  15. data/doc/resources/downloads/datadesc/doctors.yaml.txt +52 -0
  16. data/doc/resources/downloads/datadesc/fachinfo.yaml.txt +107 -0
  17. data/doc/resources/downloads/datadesc/generics.xls.txt +42 -0
  18. data/doc/resources/downloads/datadesc/index_therapeuticus.txt +38 -0
  19. data/doc/resources/downloads/datadesc/interactions.yaml.txt +78 -0
  20. data/doc/resources/downloads/datadesc/migel.csv.txt +84 -0
  21. data/doc/resources/downloads/datadesc/narcotics.csv.txt +49 -0
  22. data/doc/resources/downloads/datadesc/narcotics.yaml.txt +40 -0
  23. data/doc/resources/downloads/datadesc/oddb.csv.txt +98 -0
  24. data/doc/resources/downloads/datadesc/oddb.yaml.txt +255 -0
  25. data/doc/resources/downloads/datadesc/oddb2.csv.txt +94 -0
  26. data/doc/resources/downloads/datadesc/oddbdat.txt +228 -0
  27. data/doc/resources/downloads/datadesc/patents.xls.txt +29 -0
  28. data/doc/resources/downloads/datadesc/patinfo.yaml.txt +79 -0
  29. data/doc/resources/downloads/datadesc/price_history.csv.txt +43 -0
  30. data/doc/resources/downloads/datadesc/price_history.yaml.txt +55 -0
  31. data/doc/resources/downloads/datadesc/s31x.txt +40 -0
  32. data/doc/resources/downloads/datadesc/swissdrug-update.xls.txt +59 -0
  33. data/doc/resources/downloads/examples/Inderal.Preisvergleich.csv +19 -0
  34. data/doc/resources/downloads/examples/analysis.csv +35 -0
  35. data/doc/resources/downloads/examples/compendium_ch.oddb.org.firefox.epub +0 -0
  36. data/doc/resources/downloads/examples/compendium_ch.oddb.org.htc.prc +0 -0
  37. data/doc/resources/downloads/examples/compendium_ch.oddb.org.kindle.mobi +0 -0
  38. data/doc/resources/downloads/examples/compendium_ch.oddb.org.stanza.epub +0 -0
  39. data/doc/resources/downloads/examples/doctors.csv +13 -0
  40. data/doc/resources/downloads/examples/doctors.yaml +238 -0
  41. data/doc/resources/downloads/examples/fachinfo.yaml +1255 -0
  42. data/doc/resources/downloads/examples/fachinfos_de.pdf +51565 -0
  43. data/doc/resources/downloads/examples/fachinfos_fr.pdf +52072 -0
  44. data/doc/resources/downloads/examples/generics.xls +0 -0
  45. data/doc/resources/downloads/examples/index_therapeuticus.tar.gz +0 -0
  46. data/doc/resources/downloads/examples/interactions.yaml +161 -0
  47. data/doc/resources/downloads/examples/migel.csv +36 -0
  48. data/doc/resources/downloads/examples/narcotics.yaml +92 -0
  49. data/doc/resources/downloads/examples/oddb.csv +1378 -0
  50. data/doc/resources/downloads/examples/oddb.yaml +14976 -0
  51. data/doc/resources/downloads/examples/oddb2.csv +1566 -0
  52. data/doc/resources/downloads/examples/oddbdat.tar.gz +0 -0
  53. data/doc/resources/downloads/examples/patents.xls +0 -0
  54. data/doc/resources/downloads/examples/patinfo.yaml +2505 -0
  55. data/doc/resources/downloads/examples/price_history.csv +99 -0
  56. data/doc/resources/downloads/examples/price_history.yaml +431 -0
  57. data/doc/resources/downloads/examples/swissdrug-update.xls +0 -0
  58. data/doc/resources/errors/appdown.html +50 -0
  59. data/doc/resources/errors/logo.png +0 -0
  60. data/doc/resources/errors/logo_de.gif +0 -0
  61. data/doc/resources/gcc/banner.gif +0 -0
  62. data/doc/resources/gcc/logo.png +0 -0
  63. data/doc/resources/gcc/logo_de.gif +0 -0
  64. data/doc/resources/gcc/logo_doc.gif +0 -0
  65. data/doc/resources/gcc/logo_fr.gif +0 -0
  66. data/doc/resources/gcc/logo_rss.png +0 -0
  67. data/doc/resources/generika/favicon.ico +0 -0
  68. data/doc/resources/generika/logo.gif +0 -0
  69. data/doc/resources/generika/logo_de.gif +0 -0
  70. data/doc/resources/generika/logo_fr.gif +0 -0
  71. data/doc/resources/homeopathy/favicon.ico +0 -0
  72. data/doc/resources/homeopathy/logo.png +0 -0
  73. data/doc/resources/icon_twitter.gif +0 -0
  74. data/doc/resources/innova/logo.gif +0 -0
  75. data/doc/resources/innova/logo_de.gif +0 -0
  76. data/doc/resources/javascript/admin.js +14 -0
  77. data/doc/resources/javascript/autofill.js +21 -0
  78. data/doc/resources/javascript/bit.ly.js +29 -0
  79. data/doc/resources/javascript/company.js +22 -0
  80. data/doc/resources/javascript/dojo/Editor.js +219 -0
  81. data/doc/resources/javascript/dojo/HtmlEditorToolbar.html +163 -0
  82. data/doc/resources/javascript/dojo/sigma.gif +0 -0
  83. data/doc/resources/javascript/widget/SymbolPalette.js +162 -0
  84. data/doc/resources/javascript/widget/Tooltip.js +85 -0
  85. data/doc/resources/javascript/widget/__package__.js +2 -0
  86. data/doc/resources/livemarks16.png +0 -0
  87. data/doc/resources/mail.gif +0 -0
  88. data/doc/resources/mobile/logo.png +0 -0
  89. data/doc/resources/paypal_donate.gif +0 -0
  90. data/doc/resources/phyto-pharma/favicon.ico +0 -0
  91. data/doc/resources/phyto-pharma/logo.png +0 -0
  92. data/doc/resources/plugins/Generika.cc.gif +0 -0
  93. data/doc/resources/plugins/Generika.cc.html +34 -0
  94. data/doc/resources/plugins/Generika.cc.src +34 -0
  95. data/doc/resources/plugins/oddb.org.gif +0 -0
  96. data/doc/resources/plugins/oddb.org.html +34 -0
  97. data/doc/resources/plugins/oddb.org.src +34 -0
  98. data/doc/resources/print.css +33 -0
  99. data/doc/resources/provita/logo_de.gif +0 -0
  100. data/doc/resources/santesuisse/logo_de.gif +0 -0
  101. data/doc/resources/schoenenberger/logo_de.gif +0 -0
  102. data/doc/resources/swissmedic/logo.png +0 -0
  103. data/doc/resources/swissmedic/logo_de.gif +0 -0
  104. data/doc/resources/swissmedic/logo_doc.gif +0 -0
  105. data/doc/resources/swissmedic/logo_fr.gif +0 -0
  106. data/doc/resources/sympany/logo.gif +0 -0
  107. data/doc/robots.txt +29 -0
  108. data/ext/export/src/generics_xls.rb +29 -5
  109. data/ext/export/src/oddbdat.rb +1 -1
  110. data/ext/export/test/test_generics_xls.rb +216 -0
  111. data/ext/export/test/test_oddbdat.rb +880 -0
  112. data/lib/oddb.org.rb +1 -1
  113. data/src/model/package.rb +3 -2
  114. data/src/plugin/analysis.rb +2 -0
  115. data/src/plugin/bsv_xml.rb +1 -1
  116. data/src/plugin/hospitals.rb +1 -0
  117. data/src/plugin/oddbdat_export.rb +12 -2
  118. data/src/plugin/text_info.rb +16 -29
  119. data/src/util/exporter.rb +21 -1
  120. data/src/util/log.rb +3 -0
  121. data/src/util/oddbapp.rb +1 -1
  122. data/src/util/oddbconfig.rb +1 -1
  123. data/src/util/updater.rb +9 -1
  124. data/test/data/html/interaction/flockhart/prepared_table.asp +820 -0
  125. data/test/data/html/interaction/flockhart/table.asp +820 -0
  126. data/test/data/html/text_info/News.html +18 -93
  127. data/test/suite.rb +78 -4
  128. data/test/test_model/package.rb +38 -0
  129. data/test/test_plugin/bsv_xml.rb +4 -2
  130. data/test/test_plugin/flockhart.rb +1 -1
  131. data/test/test_plugin/oddbdat_export.rb +79 -658
  132. data/test/test_plugin/ouwerkerk.rb +2 -2
  133. data/test/test_plugin/suite.rb +8 -6
  134. data/test/test_plugin/text_info.rb +40 -52
  135. data/test/test_plugin/{doctors.rb → zdoctor.rb} +0 -0
  136. data/test/test_util/exporter.rb +500 -0
  137. data/test/test_util/suite.rb +8 -6
  138. data/test/test_util/{log.rb → zlog.rb} +19 -0
  139. data/test/test_view/{search.rb → asearch.rb} +0 -0
  140. data/test/test_view/suite.rb +8 -6
  141. metadata +143 -14
data/README.txt CHANGED
@@ -8,7 +8,9 @@ Open Drug Database for Switzerland. See the live version at http://ch.oddb.org
8
8
 
9
9
  == FEATURES/PROBLEMS:
10
10
 
11
- * Some email-Addresses are still hardcoded. That needs to be fixed and placed into etc/toddb.yml
11
+ * Some email-Addresses are still hardcoded. That needs to be fixed and placed into etc/oddb.yml
12
+ * If you install oddb.org via gem please also see these instructions:
13
+ * http://dev.ywesee.com/wiki.php/Choddb/Gem
12
14
 
13
15
  == REQUIREMENTS:
14
16
 
@@ -26,4 +28,4 @@ Open Drug Database for Switzerland. See the live version at http://ch.oddb.org
26
28
 
27
29
  == LICENSE:
28
30
 
29
-
31
+ * GPLv2.1
data/Rakefile CHANGED
@@ -3,6 +3,11 @@
3
3
  require 'rubygems'
4
4
  require 'hoe'
5
5
 
6
+ ## To run 'rake git:manifest' you will need the 'hoe-git' gem.
7
+
8
+ Hoe.plugin :git
9
+ Hoe.plugins.delete :clean
10
+
6
11
  # Hoe.plugin :compiler
7
12
  # Hoe.plugin :cucumberfeatures
8
13
  # Hoe.plugin :gem_prelude_sucks
Binary file
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # index.rbx -- oddb -- hwyss@ywesee.com
3
+
4
+ require 'sbsm/request'
5
+ require 'util/oddbconfig'
6
+
7
+ DRb.start_service('druby://localhost:0')
8
+
9
+ begin
10
+ SBSM::Request.new(ODDB::SERVER_URI).process
11
+ rescue Exception => e
12
+ $stderr << "ODDB-Client-Error: " << e.message << "\n"
13
+ $stderr << e.class << "\n"
14
+ $stderr << e.backtrace.join("\n") << "\n"
15
+ end
@@ -0,0 +1,57 @@
1
+ Datenbeschrieb analysis.csv
2
+
3
+ Version: 1.1
4
+ Geändert: 12.03.2009 (1.1) durch hwyss@ywesee.com
5
+ Erstellt: 22.08.2006 (1.0) durch sfrischknecht@ywesee.com
6
+
7
+ ## Struktur ##
8
+ Encoding: UTF-8
9
+ Record-Separator: \n
10
+ Field-Separator: ;
11
+
12
+ Analysis-Record:
13
+ 00: groupcd (GGGG) -> Gruppen-Nr.
14
+ 01: poscd (PP) -> Positions-Nr.
15
+ 02: anonymous (GGGG.PP) -> Anonyme Gruppen-Nr.
16
+ 04: analysis_descriptions_de (*) -> Analysen-Beschreibung De.
17
+ 05: analysis_descriptions_fr (*) -> Analysen-Beschreibung Fr.
18
+ 06: analysis_footnote_de (*) -> Fussnote De.
19
+ 07: analysis_footnote_fr (*) -> Fussnote Fr.
20
+ 08: analysis_taxnote_de (*) -> Bemerkung zu Taxpunkten De.
21
+ 09: analysis_taxnote_fr (*) -> Bemerkung zu Taxpunkten Fr.
22
+ 10: analysis_limitation_de (*) -> Analysen-Limitation De.
23
+ 11: analysis_limitation_fr (*) -> Analysen-Limitation Fr.
24
+ 12: analysis_list_title_de (*) -> Gruppenzugehörigkeit De.
25
+ 13: analysis_list_title_fr (*) -> Gruppenzugehörigkeit Fr.
26
+ 14: lab_areas (*) -> Laborfachgebiete (siehe Glossar Laborfachgebiete)
27
+ 15: taxpoints (*) -> Anzahl Taxpunkte
28
+ 16: finding (*) -> Analysen-Resultat
29
+ 17: analysis_permissions_de (*) -> Analysen-Zusatzerlaubnis De. (siehe Glossar Zusatzerlaubnis)
30
+ 18: analysis_permissions_fr (*) -> Analysen-Zusatzerlaubnis Fr. (siehe Glossar Zusatzerlaubnis)
31
+
32
+ ## Glossar ##
33
+ *Laborfachgebiete
34
+ C - klinische Chemie
35
+ G - medizinische Genetik
36
+ H - Hämatologie
37
+ I - klinische Immunologie
38
+ M - medizinische Mikrobiologie
39
+
40
+ * Sprachen
41
+ De. - Deutsch
42
+ Fr. - Französisch
43
+
44
+ * Version
45
+ Versionsnummern bezeichnen Änderungen nach dem Schema
46
+ "Major.Minor.Documentation"
47
+ - Major: Komplett neuer Aufbau des Exports
48
+ - Minor: Kleinere Änderungen am Export (z.B. Refactoring von Adressangaben in eine Address2-Klasse)
49
+ - Documentation: Ergänzungen und Änderungen im Datenbeschrieb, die keine Änderung des Exports als Ursache haben.
50
+ Die komplette Version-History ist zu finden unter:
51
+ http://scm.ywesee.com/?p=oddb.org;a=history;f=doc/resources/downloads/datadesc/analysis.csv.txt
52
+
53
+ * Zusatzerlaubnis
54
+ Die Einträge sind nach dem folgenden Schema aufgebaut:
55
+ {Zusatzerlaubnis},{Einschränkung}
56
+ Falls mehrere Einträge vorhanden:
57
+ {Zusatzerlaubnis},{Einschränkung}:{Zusatzerlaubnis},{Einschränkung}
@@ -0,0 +1,43 @@
1
+ Datenbeschrieb doctors.csv
2
+
3
+ Version: 1.4
4
+ Geändert: 12.03.2009 (1.4) durch hwyss@ywesee.com
5
+ Geändert: 03.10.2005 (1.3) durch hwyss@ywesee.com
6
+ Geändert: 30.09.2005 (1.2) durch hwyss@ywesee.com
7
+ Geändert: 23.09.2005 (1.1) durch hwyss@ywesee.com
8
+ Geändert: 02.09.2005 (1.0.1) durch hwyss@ywesee.com
9
+ Erstellt: 01.09.2005 (1.0) durch hwyss@ywesee.com
10
+
11
+ ## Struktur ##
12
+ Encoding: UTF-8
13
+ Record-Separator: \n
14
+ Field-Separator: ;
15
+
16
+ Doctor-Record:
17
+ 00: ean13 (Integer (13)) -> Ean13 des Arztes
18
+ 01: exam (Integer (4)) -> Jahr des Staatsexamens
19
+ 02: salutation (*) -> Anrede
20
+ 03: title (*) -> Titel
21
+ 04: firstname (*) -> Vorname
22
+ 05: name (*) -> Nachname
23
+ 06: praxis (true/false) -> Praxis Ja/Nein
24
+ 07: address_type (at_praxis / at_work) -> Adressart
25
+ 08: address_name (*) -> Name gemäss Adresse
26
+ 09: lines (*) -> zusätzliche Adresszeilen
27
+ 10: address (*) -> Strasse, Nummer
28
+ 11: plz (*) -> PLZ
29
+ 12: city (*) -> Ort
30
+ 13: canton (*) -> Kantonskürzel (falls vorhanden)
31
+ 14: fon (*) -> Telefonnummern, durch ',' getrennt
32
+ 15: fax (*) -> Faxnummern, durch ',' getrennt
33
+ 16: email (*) -> Email-Adresse
34
+ 17: language (*) -> Korrespondenzsprache
35
+ 18: specialities (*) -> Facharzttitel, durch ',' getrennt
36
+
37
+ * Version
38
+ Versionsnummern bezeichnen Änderungen nach dem Schema "Major.Minor.Documentation"
39
+ - Major: Komplett neuer Aufbau des Exports
40
+ - Minor: Kleinere Änderungen am Export (z.B. Refactoring von Adressangaben in eine Address2-Klasse)
41
+ - Documentation: Ergänzungen und Änderungen im Datenbeschrieb, die keine Änderung des Exports als Ursache haben.
42
+ Die komplette Version-History ist zu finden unter:
43
+ http://scm.ywesee.com/?p=oddb.org;a=history;f=doc/resources/downloads/datadesc/doctors.csv.txt
@@ -0,0 +1,52 @@
1
+ Datenbeschrieb doctors.yaml
2
+
3
+ Version: 1.1.0
4
+ Geändert: 12.03.2009 (1.1.0) durch hwyss@ywesee.com
5
+ Geändert: 30.09.2005 (1.0.2) durch hwyss@ywesee.com
6
+ Geändert: 02.09.2005 (1.0.1) durch hwyss@ywesee.com
7
+ Erstellt: 01.09.2005 (1.0) durch hwyss@ywesee.com
8
+
9
+ ## Struktur ##
10
+ Encoding: UTF-8
11
+
12
+ TopLevel:
13
+ - Stream von voneinander unabhängigen YAML-Documents, wovon jedes einen Doctor beschreibt.
14
+
15
+ Doctor:
16
+ - oid (Integer, NOT NULL) -> Unique Identifier
17
+ - ean13 (String) -> Ean13 des Arztes
18
+ - email (String) -> Email-Adresse
19
+ - language (String) -> Korrespondenzsprache
20
+ - firstname (String) -> Vorname
21
+ - name (String) -> Nachname
22
+ - exam (String) -> Jahr des Staatsexamens
23
+ - praxis (Boolean) -> Praxis Ja/Nein
24
+ - salutation (String) -> Anrede
25
+ - title (String) -> Titel
26
+ - specialities (Array (String)) -> Facharzttitel
27
+ - member (Boolean) -> FMH Ja/Nein
28
+ - addresses (Array (Address2)) -> Sammlung von Adressen
29
+
30
+ Address2:
31
+ - type (String) -> Adresstyp: at_work | at_private | at_praxis
32
+ - title (String) -> Titel und/oder Anrede
33
+ - name (String) -> Name wie in der Adresse gewünscht
34
+ - additional_lines (Array (String)) -> Zusätzliche Adresszeilen vor Strasse/Nr.
35
+ - address (String) -> Strasse/Nr. (französische Schweiz: Nr./Strasse)
36
+ - location (String) -> PLZ/Ort
37
+ - canton (String) -> 2-Stelliges Kantonskürzel
38
+ - fon (Array (String)) -> Mit dieser Adresse verbundene Telefonnummern
39
+ - fax (Array (String)) -> Mit dieser Adresse verbundene Faxnummern
40
+
41
+
42
+ ## Glossar ##
43
+ * YAML
44
+ Yet Another Markup Language. Offener Standard, beschrieben unter http://www.yaml.org
45
+
46
+ * Version
47
+ Versionsnummern bezeichnen Änderungen nach dem Schema "Major.Minor.Documentation"
48
+ - Major: Komplett neuer Aufbau des Exports
49
+ - Minor: Kleinere Änderungen am Export (z.B. Refactoring von Adressangaben in eine Address2-Klasse)
50
+ - Documentation: Ergänzungen und Änderungen im Datenbeschrieb, die keine Änderung des Exports als Ursache haben.
51
+ Die komplette Version-History ist zu finden unter:
52
+ http://scm.ywesee.com/?p=oddb.org;a=history;f=doc/resources/downloads/datadesc/doctors.yaml.txt
@@ -0,0 +1,107 @@
1
+ Datenbeschrieb fachinfo.yaml
2
+
3
+ Version: 1.2.0
4
+ Geändert: 12.03.2009 (1.2.0) durch hwyss@ywesee.com
5
+ Geändert: 22.02.2006 (1.1.0) durch hwyss@ywesee.com
6
+ Geändert: 30.09.2005 (1.0.2) durch hwyss@ywesee.com
7
+ Geändert: 02.09.2005 (1.0.1) durch hwyss@ywesee.com
8
+ Erstellt: 01.09.2005 (1.0.0) durch hwyss@ywesee.com
9
+
10
+ ## Struktur ##
11
+ Encoding: UTF-8
12
+
13
+ Top-Level:
14
+ - Stream von voneinander unabhängigen YAML-Documents, wovon jedes ein Fachinfo beschreibt.
15
+
16
+ Fachinfo:
17
+ - oid (Integer, NOT NULL) -> Unique Identifier
18
+ - article_codes (Array(Hash)) -> Ean13-Barcodes im 7680*-Bereich und Pharmacodes
19
+ - descriptions (SimpleLanguage::Descriptions (String, FachinfoDocument|FachinfoDocument2001)) -> Sprache, Dokument. siehe Glossar (SimpleLanguage::Descriptions)
20
+
21
+ FachinfoDocument:
22
+ - galenic_form (Text::Chapter) -> Kapitel Galenische Form
23
+ - composition (Text::Chapter) -> Kapitel Zusammensetzung
24
+ - effects (Text::Chapter) -> Kapitel Eigenschaften/Wirkungen
25
+ - kinetic (Text::Chapter) -> Kapitel Pharmakokinetik
26
+ - indications (Text::Chapter) -> Kapitel Indikationen/Anwendungsmöglichkeiten
27
+ - usage (Text::Chapter) -> Kapitel Dosierung/Anwendung
28
+ - restrictions (Text::Chapter) -> Kapitel Anwendungseinschränkungen
29
+ - unwanted_effects (Text::Chapter) -> Kapitel Unerwünschte Wirkungen
30
+ - interactions (Text::Chapter) -> Kapitel Interaktionen
31
+ - overdose (Text::Chapter) -> Kapitel Überdosierung
32
+ - other_advice (Text::Chapter) -> Kapitel Sonstige Hinweise
33
+ - delivery (Text::Chapter) -> Kapitel Auslieferung
34
+ - distribution (Text::Chapter) -> Kapitel Vertrieb
35
+ - fabrication (Text::Chapter) -> Kapitel Herstellerfirma
36
+ - reference (Text::Chapter) -> Kapitel Weitere Angaben
37
+ - iksnrs (Text::Chapter) -> Kapitel IKS-Nummern
38
+ - date (Text::Chapter) -> Kapitel Stand der Information
39
+
40
+ FachinfoDocument2001:
41
+ - amzv (Text::Chapter) -> Kapitel AMZV 9.11.2001
42
+ - composition (Text::Chapter) -> Kapitel Zusammensetzung
43
+ - galenic_form (Text::Chapter) -> Kapitel Galenische Form und Wirkstoffmenge pro Einheit
44
+ - indications (Text::Chapter) -> Kapitel Indikationen/Anwendungsmöglichkeiten
45
+ - usage (Text::Chapter) -> Kapitel Dosierung/Anwendung
46
+ - contra_indications(Text::Chapter) -> Kapitel Kontraindikationen
47
+ - restrictions (Text::Chapter) -> Kapitel Warnhinweise und Vorsichtsmassnahmen
48
+ - interactions (Text::Chapter) -> Kapitel Interaktionen
49
+ - pregnancy (Text::Chapter) -> Kapitel Schwangerschaft/Stillzeit
50
+ - driving_ability (Text::Chapter) -> Kapitel Wirkung auf die Fahrtüchtigkeit und auf das Bedienen von Maschinen
51
+ - unwanted_effects (Text::Chapter) -> Kapitel Unerwünschte Wirkungen
52
+ - overdose (Text::Chapter) -> Kapitel Überdosierung
53
+ - effects (Text::Chapter) -> Kapitel Eigenschaften/Wirkungen
54
+ - kinetic (Text::Chapter) -> Kapitel Pharmakokinetik
55
+ - preclinic (Text::Chapter) -> Kapitel Präklinische Daten
56
+ - other_advice (Text::Chapter) -> Kapitel Sonstige Hinweise
57
+ - iksnrs (Text::Chapter) -> Kapitel Zulassungsvermerk
58
+ - registration_owner(Text::Chapter) -> Kapitel Zulassungsinhaberin
59
+ - date (Text::Chapter) -> Kapitel Stand der Information
60
+
61
+ Text::Chapter:
62
+ - heading (String) -> Titel
63
+ - sections (Array (Text::Section)) -> Abschnitte
64
+
65
+ Text::Section:
66
+ - subheading (String) -> Abschnitt-Titel
67
+ - paragraphs (Array (Text::Paragraph)) -> Absätze
68
+
69
+ Text::Paragraph:
70
+ - formats (Array (Text::Format)) -> Formatdefinitionen
71
+ - text (String) -> unformatierter Text
72
+ - preformatted (Boolean) -> Wenn ja, sollte whitespace 1:1 übernommen werden.
73
+
74
+ Text::Format:
75
+ - values (Array (Symbol)) -> mögliche Werte: alle Kombinationen von :bold, :italic und :symbol. Wenn Symbol, dann ist der Betreffende Text im Symbol-Font darzustellen.
76
+ - start (Integer NOT NULL) -> 0-N Char-Position innerhalb des Paragraphs an welchem das Format beginnt.
77
+ - end (Integer NOT NULL) -> 1-N, -1. Wenn -1, gilt das Format bis zum Ende des Paragraphs.
78
+
79
+
80
+ ## Glossar ##
81
+ * Hash
82
+ Hash-Table. Unsortierte, indexierte Collection.
83
+
84
+ * SimpleLanguage::Descriptions:
85
+ Subklasse von Hash. Key-Value pairs für Sprache/Text, wobei folgende Werte als Schlüssel vorkommen:
86
+ - de -> Deutsch
87
+ - fr -> Französisch
88
+ - it -> Italienisch
89
+ - en -> Englisch
90
+ - lt -> Latein
91
+
92
+ * FachinfoDocument
93
+ Strukturierte Repräsentation einer Fachinformation.
94
+
95
+ * FachinfoDocument2001
96
+ Strukturierte Repräsentation einer Fachinformation gemäss AMZV 9.11.2001
97
+
98
+ * YAML
99
+ Yet Another Markup Language. Offener Standard, beschrieben unter http://www.yaml.org
100
+
101
+ * Version
102
+ Versionsnummern bezeichnen Änderungen nach dem Schema "Major.Minor.Documentation"
103
+ - Major: Komplett neuer Aufbau des Exports
104
+ - Minor: Kleinere Änderungen am Export (z.B. Refactoring von Adressangaben in eine Address2-Klasse)
105
+ - Documentation: Ergänzungen und Änderungen im Datenbeschrieb, die keine Änderung des Exports als Ursache haben.
106
+ Die komplette Version-History ist zu finden unter:
107
+ http://scm.ywesee.com/?p=oddb.org;a=history;f=doc/resources/downloads/datadesc/fachinfo.yaml.txt
@@ -0,0 +1,42 @@
1
+ Datenbeschrieb generics.xls
2
+
3
+ Version: 1.0.2
4
+ Geändert: 12.03.2009 (1.0.2) durch hwyss@ywesee.com
5
+ Geändert: 25.11.2005 (1.0.1) durch hwyss@ywesee.com
6
+ Erstellt: 23.11.2005 (1.0.0) durch hwyss@ywesee.com
7
+
8
+ ## Struktur ##
9
+ A: Basename Original
10
+ B: Basename erweitert Original
11
+ C: EAN-Code Original
12
+ D: Pharmacode Original
13
+ E: Bezeichnung Original
14
+ F: Dosierung Original
15
+ G: Packungsgrösse Original
16
+ H: Fabrikabgabe-preis Original
17
+ I: Publikums-preis Original (inkl. MwSt)
18
+ J: Zulassungsinhaberin Original
19
+ K: Abgabekategorie Original
20
+ L: Spezialitätenliste Original
21
+ M: Registrations-Datum Original
22
+ N: EAN-Code Generikum
23
+ O: Pharmacode Generikum
24
+ P: Bezeichnung Generikum
25
+ Q: Dosierung Generikum
26
+ R: Packungsgrösse Generikum
27
+ S: Fabrikabgabe-preis Generikum
28
+ T: Publikums-preis Generikum (inkl. MwSt)
29
+ U: Zulassungsinhaberin Generikum
30
+ V: Abgabekategorie Generikum
31
+ W: Spezialitätenliste Generikum
32
+ X: Registrations-Datum Generikum
33
+ Y: Bemerkung
34
+
35
+ ## Glossar ##
36
+ * Version
37
+ Versionsnummern bezeichnen Änderungen nach dem Schema "Major.Minor.Documentation"
38
+ - Major: Komplett neuer Aufbau des Exports
39
+ - Minor: Kleinere Änderungen am Export (z.B. Refactoring von Adressangaben in eine Address2-Klasse)
40
+ - Documentation: Ergänzungen und Änderungen im Datenbeschrieb, die keine Änderung des Exports als Ursache haben.
41
+ Die komplette Version-History ist zu finden unter:
42
+ http://scm.ywesee.com/?p=oddb.org;a=history;f=doc/resources/downloads/datadesc/generics.xls.txt
@@ -0,0 +1,38 @@
1
+ Datenbeschrieb index_therapeuticus
2
+
3
+ Version: 1.1.0
4
+ Geändert: 12.03.2009 (1.1.0) durch hwyss@ywesee.com
5
+ Erstellt: 23.05.2008 (1.0.0) durch hwyss@ywesee.com
6
+
7
+ ## Struktur ##
8
+ Encoding: UTF-8
9
+ Record-Separator: \n
10
+ Field-Separator: ;
11
+
12
+ Der Datensatz besteht aus zwei CSV-Dokumenten, idx_th.csv und ean13_idx_th.csv
13
+
14
+ idx_th.csv:
15
+ 00: code (String) -> Code. siehe Glossar (Code)
16
+ 01: description_de (String) -> Deutsche Bezeichnung
17
+ 02: description_fr (String) -> Französische Bezeichnung
18
+ 03: comment_de (String) -> Deutscher Kommentar/Untertitel
19
+ 04: comment_fr (String) -> Französischer Kommentar/Untertitel
20
+ 05: limitation_de (String) -> Deutscher Limitationstext
21
+ 06: limitation_fr (String) -> Französischer Limitationstext
22
+
23
+ ean13_idx_th.csv: Verbindungstabelle
24
+ 00: ean13 (Integer (13)), NOT NULL -> EAN-13 der Packung
25
+ 00: code (String) -> Zugehöriger Index Therapeuticus, falls bekannt
26
+
27
+ ## Glossar ##
28
+ * Code:
29
+ Index Therapeuticus gemäss http://www.galinfo.net, bestehend aus 3
30
+ Gruppierungs-Ebenen die der Regular Expression "(\d{2}\.){1,3}" entsprechen.
31
+
32
+ * Version
33
+ Versionsnummern bezeichnen Änderungen nach dem Schema "Major.Minor.Documentation"
34
+ - Major: Komplett neuer Aufbau des Exports
35
+ - Minor: Kleinere Änderungen am Export (z.B. Refactoring von Adressangaben in eine Address2-Klasse)
36
+ - Documentation: Ergänzungen und Änderungen im Datenbeschrieb, die keine Änderung des Exports als Ursache haben.
37
+ Die komplette Version-History ist zu finden unter:
38
+ http://scm.ywesee.com/?p=oddb.org;a=history;f=doc/resources/downloads/datadesc/index_therapeuticus.txt
@@ -0,0 +1,78 @@
1
+ Datenbeschrieb interactions.yaml
2
+
3
+ Version: 1.2.0
4
+ Geändert: 12.03.2009 (1.2.0) durch hwyss@ywesee.com
5
+ Geändert: 03.12.2008 (1.1.0) durch hwyss@ywesee.com
6
+ Erstellt: 20.09.2007 (1.0.0) durch hwyss@ywesee.com
7
+
8
+ ## Struktur ##
9
+ Encoding: UTF-8
10
+
11
+ Top-Level:
12
+ - Stream von voneinander unabhängigen YAML-Documents, wovon jedes eine CyP450SubstrateConnection beschreibt
13
+
14
+ CyP450SubstrateConnection:
15
+ - oid (Integer, NOT NULL) -> Unique Identifier
16
+ - cyp450 (CyP450, NOT NULL) -> Cytochrom
17
+ - substance (Substance, NOT NULL) -> Wirkstoff, ist ein Substrat von cyp450
18
+ - category (String) -> Wirkstoffkategorie
19
+ - links (Array (AbstractLink)) -> Referenzen zur Substratzuweisung
20
+
21
+ CyP450:
22
+ - cyp_id (String, NOT NULL) -> Unique Identifier
23
+ - inhibitors (Array (CyP450InhibitorConnection))
24
+ - inducers (Array (CyP450InducerConnection))
25
+
26
+ Substance:
27
+ - oid (Integer, NOT NULL) -> Unique Identifier
28
+ - descriptions (SimpleLanguage::Descriptions (String, String)) -> Sprache, Substanzname. siehe Glossar (SimpleLanguage::Descriptions)
29
+ - synonyms (Array (String)) -> Weitere Bezeichnungen
30
+ - effective_form (Substance) -> Wirkform
31
+ - swissmedic_code (String) -> Swissmedic-Code zur Substanz
32
+ - narcotic (String) -> CAS Registry Number
33
+
34
+ CyP450InhibitorConnection:
35
+ - oid (Integer, NOT NULL) -> Unique Identifier
36
+ - substance (Substance, NOT NULL) -> Wirkstoff, Aufnahme wird von cyp450 gehemmt
37
+ - category (String) -> Wirkstoffkategorie
38
+ - links (Array (AbstractLink)) -> Referenzen zur Substratzuweisung
39
+ - auc_factor (String) -> Stärke der Interaktion, entspricht in etwa dem Faktor um welchen die AUC-Plasmawerte mindestens vervielfacht werden.
40
+
41
+ CyP450InducerConnection:
42
+ - oid (Integer, NOT NULL) -> Unique Identifier
43
+ - substance (Substance, NOT NULL) -> Wirkstoff, Aufnahme wird von cyp450 gefördert
44
+ - category (String) -> Wirkstoffkategorie
45
+ - links (Array (AbstractLink)) -> Referenzen zur Substratzuweisung
46
+ - auc_factor (String) -> Stärke der Interaktion, vorläufig noch leer.
47
+
48
+ Interaction::AbstractLink:
49
+ - info (String) -> Titel
50
+ - href (String) -> Link zum Abstract bei PubMed
51
+ - text (String) -> Veröffentlichung
52
+
53
+
54
+ ## Glossar ##
55
+ * CAS Registry Number
56
+ http://www.cas.org/EO/regsys.html
57
+
58
+ * Hash
59
+ Hash-Table. Unsortierte, indexierte Collection.
60
+
61
+ * SimpleLanguage::Descriptions:
62
+ Subklasse von Hash. Key-Value pairs für Sprache/Text, wobei folgende Werte als Schlüssel vorkommen:
63
+ - de -> Deutsch
64
+ - fr -> Französisch
65
+ - it -> Italienisch
66
+ - en -> Englisch
67
+ - lt -> Latein
68
+
69
+ * YAML
70
+ Yet Another Markup Language. Offener Standard, beschrieben unter http://www.yaml.org
71
+
72
+ * Version
73
+ Versionsnummern bezeichnen Änderungen nach dem Schema "Major.Minor.Documentation"
74
+ - Major: Komplett neuer Aufbau des Exports
75
+ - Minor: Kleinere Änderungen am Export (z.B. Refactoring von Adressangaben in eine Address2-Klasse)
76
+ - Documentation: Ergänzungen und Änderungen im Datenbeschrieb, die keine Änderung des Exports als Ursache haben.
77
+ Die komplette Version-History ist zu finden unter:
78
+ http://scm.ywesee.com/?p=oddb.org;a=history;f=doc/resources/downloads/datadesc/interactions.yaml.txt