forked from zdavatz/oddb2xml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
History.txt
640 lines (391 loc) · 14.7 KB
/
History.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
=== 2.2.7 / 24.11.2015
* Removed no more emitted QTY from definition of ART in oddb2xml.xsd
* Fixed generating COOL in oddb_article.xml
* Fixed generating ORPH in oddb_product.xml
=== 2.2.6 / 09.11.2015
* Fixed an error when generating oddb_calc.xml and we have no information for a given EAN, eg. 7680653150012
=== 2.2.5 / 09.09.2015
* Added field GEN_PRODUCTION, INSULIN_CATEGORY and DRUG_INDEX
* Removed downloads of old BM_update from ywesee, as we have a better info about the drugs now
=== 2.2.4 / 09.09.2015
* Fixed unit tests error introduced by the new column order of Packungen.xlsx
* Add a SHA256 hash for all top elements in the generated XSD-files
=== 2.2.3 / 16.07.2015
* Document data sources and some rule in README.md
=== 2.2.2 / 04.07.2015
* Adapt to new version of swissmedic Packungen.xlsx
=== 2.2.1 / 01.07.2015
* Add a require 'mechanize' in bin/oddb2xml to avoid 'Invalid version of rubyntlm'
=== 2.2.0 / 24.06.2015
* Use FixNum instead of String for EAN-keys into hashes
* Improved speed (oddb2xml -e takes now less than 1 hour here)
=== 2.1.9 / 24.06.2015
* Force version of rubyntlm to 0.5.0. Still warning: already initialized constant Net::NTLM::VERSION::MAJOR, but no error
=== 2.1.8 / 24.06.2015
* Adapt to download refdata information from new URL using WSDL
* Using GTIN instead of pharmacode as keys into the various exctracted information
* Renamed SwissIndex -> Refdata
* Some code cleanup
* Improved spec tests for oddb_articles/products, downloaders and extractros
* Use vcr to fake web traffic
=== 2.1.7 / 15.06.2015
* Fixed option -o which did not produce any meaningful oddb_fi.xml
* Added KOMPENDIUM_PRODUCT to xsd file
* Added style for each KOMPENDIUM_PRODUCT
=== 2.1.6 / 10.06.2015
* Avoid error when Packungen.xlsx does not contain a name for a product (upstream error, missing Combizym, Dragées)
=== 2.1.5 / 03.06.2015
* Give substances for lines starting with Solvens
* Emit label Solvens when line stars with Solvens
* Don't emit SUBSTANCES if no substance is contained
=== 2.1.4 / 02.06.2015
* Consider changes in ATC-codes by EPha
=== 2.1.3 / 02.06.2015
* Fix Caverjet by eliminatins semantically wrong leading "Solvens:"
=== 2.1.2 / 13.05.2015
* Fix parslet_spec.rb
=== 2.1.1 / 13.05.2015
* --calc classifies now all E-xxx nutritional additions
=== 2.1.0 / 12.05.2015
* --calc uses now a parser to split Column-C into the preparationname and the galenic-form
=== 2.0.9 / 05.05.2015
* rm /downloads when running with option "-e"
* update documentation and xsd for "--calc" option
=== 2.0.8 / 29.04.2015
* --calc.
** Fixed adding substances instead of a way too long label_description, eg. 7680616310019 Moviprep Orange, Pulver
** emit EXCIPIENS for each composition
=== 2.0.7 / 29.04.2015
* parse swissmedic composition with the help of RubyGem parslet.
** with extensive unit-tests (spec/composition_spec.rb and spec/parslet_spec.rb
* new/changed fields when using --calc, e.g.
** more_info
** salts
** dose_text if qty/unit is not normalized
** chemical_substance is now represented as a normal substance
** composition.label
** composition.label_description
** composition.correpond
=== 2.0.6 / 27.04.2015
* Remove trailing spaces in names imported from ZurRose transfer.dat
* Use ISO-8859-14 when reading ZurRose transfer.dat to avoid unreadable characters, eg. Ethacridin
=== 2.0.5 / 31.03.2015
* --calc adds boolean flag is_active_agent
* --calc fixes recognition of some substances
* --calc fixes recognition of dose/unit/qty
=== 2.0.4 / 30.03.2015
* --calc now recognizes correct labels, like 'A):' and stops when seeing first ':' in label-description
=== 2.0.3 / 25.03.2015
* Option -e implies --calc, too.
=== 2.0.2 / 24.03.2015
* Fixed handling of chemicals and units with '%'
=== 2.0.1 / 17.03.2015
* Readded description for label
=== 2.0.0 / 17.03.2015
* Adding CHEMICAL_SUBSTANCE/DOSE for ut|corresponding
* Added COMPOSITION containing array of SUBSTANCES
=== 1.9.9 / 13.03.2015
* Rename NAME -> COMPOSITION_NAME in calc.xml for composition
* Handle Handle ( in compostion names
* Emit all components mentioned in column_M Zusammensetzung
=== 1.9.8 / 04.03.2015
* Remove unnecessary spaces from ARTICLE.GALENIC_FORM in oddb_calc.xml
* Remove unnecessary spaces from ARTICLE.PKG_SIZE in oddb_calc.xml
* Remove unnecessary spaces from ARTICLE.NAME in oddb_calc.xml
* Emit comment for compositions, eg. 'Solvens: aqua ad iniectabilia.'
* Renamed COMPOSITION to COMPONENT in COMPOSITIONS
=== 1.9.7 / 03.03.2015
* Emit qty as floats
* Emit compositions for --calc
* Fix Infusionsemulsion for Nutriflex
* Added missing_in_refdata.txt. Skip veterinary
* Show correct number of created item in oddb_product.xml
=== 1.9.6 / 18.02.2015
* Add all products defined in Packungen.xlsx from SwissMedic to oddb_products.xml
=== 1.9.5 / 16.02.2015
* Option --calc produces oddb_calc.xml with field SELLING_UNITS
* Use https instead of http for www.swissmedic.ch
* Added field CompositionSwissmedic to oddb_product.xml
* Unittests for upcoming oddb_calc.xml
=== 1.9.4 / 21.01.2015
* Create additional field resellerpub in oddb_article.xml
* Adapted xsd for this change
* Adapted -h message
=== 1.9.3 / 19.01.2015
* Fixed missing DSCRD/DSCF in oddb_product.xml because BAG-Preparation.xml ships without Pharmacode now
=== 1.9.2 / 19.01.2015
* Niklaus did not run all necesary tests!
* Fixed bin/oddbxml
=== 1.9.1 / 19.01.2015
* Reorganizing the switches lead to errors. These were
** -a/--append dropped required parameter
** -e/--extended dropped required parameter
** -p--price dropped required parameter
* extra parameters lead now to output like 'Please remove unused parameters ["nonpharma", "zurrose"]'
=== 1.9.0 / 12.01.2015
* Fixed adding prices from ZurRose if -f dat -p zurrose given
* Reorganized switches
* Added option -I x to add x percent to public prices for non-SL items
=== 1.8.9 / 05.01.2015
* Added option -e x to add x percent to public prices for non-SL items
=== 1.8.8 / 04.12.2014
* Updated spreadsheet-1.0.0 and rubyXL-3.3.1 dependencies.
=== 1.8.7 / 05.08.2014
* Documented meaning of SALECD field oddb2xml.xsd
=== 1.8.6 / 04.08.2014
* Always fetch additionals (price) information from ZurRose
* SALECD field is generated from the field CMUT for zurrose_transfer.dat
=== 1.8.5 / 04.06.2014
* Added element REF_DATA when generating oddb_article.xml.
=== 1.8.4 / 21.05.2014
* Don't emit "ad us vet" or marked in Packungen.xls as "Tierarzneimittel"
=== 1.8.3 / 07.05.2014
* Fixed build under windows
=== 1.8.2 / 06.05.2014
* Add oddb2xml.xsd (commented XSD schema for all generated oddb*.xml files)
* Fix building limitations
* Reworked download. Leaves always files under downloads
* Adapt to new location of epha interaction.csv
=== 1.8.1 / 30.04.2014
* Fix building NONPHARMA
* Using SAX-Parser and sax-machine
* Adapt to new location of epha interaction.csv
=== 1.8.0 / 28.04.2014
* Improved rake clean targer
* More logging and exit 2 unless substances and limitations okay for extended
* Fix problem with empty substances and limitation when running -e
=== 1.7.9 / 22.04.2014
* Added log option
* Added clean target to rake
* Added test target to rake
* Add spec task to rake
* Fix rspec
* Avoid ArgumentError for sprintf
* Orphan is now an xlsx file, too
=== 1.7.8 / 02.04.2014
* Don't emit field BC starting with 000000
=== 1.7.7 / 02.04.2014
* Don't emit pseudo-eans starting with 000000
=== 1.7.6 / 01.04.2014
* Write duplicated ean13s to duplicate_ean13_from_zur_rose.txt
* Removed option -ae
=== 1.7.5 / 01.04.2014
* Added option -ae
=== 1.7.4 / 01.04.2014
* Added option --extended
=== 1.7.3 / 27.02.2014
* Added rubyzip 1.0.0 as dependency for RubyXL in Rakefile ;/
=== 1.7.2 / 27.02.2014
* Added rubyzip 1.0.0 as dependency for RubyXL in Gemfile.lock ;/
=== 1.7.1 / 27.02.2014
* Added rubyzip 1.0.0 as dependency for RubyXL ;/
=== 1.7.0 / 27.02.2014
* Added rubyXL 1.2.10 as dependency version
=== 1.6.9 / 07.01.2014
* Updated Rakefile for rubyzip ~> 0.9.9
* Remove *.xls/x-Files after extraction
=== 1.6.8 / 07.01.2014
* Updated Rakefile to include rubyXL
=== 1.6.7 / 07.01.2014
* Adapted to swissmedic xlsx files
=== 1.6.6 / 12.12.2013
* Added spec for generating *.dat file
* Output prices in *.dat for articles without a pharmacode
=== 1.6.5 / 11.12.2013
* Create data/download only if options[:skip_download]
=== 1.6.4 / 10.12.2013
* Update Manifest.txt
=== 1.6.3 / 10.12.2013
* Added more specs. Use ean to find price-info if no pharmacode
* Fix running specs
* Added skip-download for debugging
=== 1.6.2 / 09.12.2013
* Read article with no pharmacode from BAG.xml Preparation.xml
=== 1.6.1 / 02.12.2013
* Add pub_price from zurRose
=== 1.6.0 / 22.11.2013
* Update for Swissmedic Packungen.xls changes
=== 1.5.9 / 10.07.2013
* Add PRODNO to article.xml
=== 1.5.8 / 09.07.2013
* Update to add grouped fi with No5 into oddb_fi.xml
=== 1.5.7 / 09.07.2013
* Update to include no seq entries into fi_product
=== 1.5.6 / 09.07.2013
* Fix bug zurrose price format
* Update time format for zurrose import
* Update to add ZURROSE Price as optional value
=== 1.5.5 / 08.07.2013
* Add local PATH option support for zurrose
=== 1.5.4 / 08.07.2013
* Update to import VAT from zurrose transfer.dat
=== 1.5.3 / 08.07.2013
* Add -p option for zurrose transfer.dat
=== 1.5.2 / 12.06.2013
* Improve NINCD detection
- Update timeout handling
- Improve pharmacode detection
=== 1.5.1 / 10.06.2013
* Update oddb2xml to handle pharmacode that is started with "0"
* Delete SMNO if article does not have correct GTIN (GTIN must begin with "7680")
=== 1.5.0 / 08.06.2013
* Fix NINCD and NonPharma products report
=== 1.4.9 / 07.06.2013
* Update NINCD for oddb_article.xml
=== 1.4.8 / 13.05.2013
* Applied Patch by N.Giger to Gemfile
=== 1.4.7 / 13.05.2013
* Add prodno to oddb_product.xml
=== 1.4.6 / 24.04.2013
* Update to skip ean14 as default in also oddb.dat
=== 1.4.5 / 19.02.2013
* Add name slicing for dat output
=== 1.4.4 / 18.02.2013
* Update to work length formatter on ruby 1.8.7
=== 1.4.3 / 18.02.2013
* Remove slicing bug for ruby 1.8.7 (This is Array)
* Fix spec for ruby 1.8.7
* Update to use Mechanize 2.5.1
=== 1.4.2 / 15.02.2013
* Add warning for ruby-1.8.7 user
=== 1.4.1 / 15.02.2013
* Add Ruby 1.8.7 support
=== 1.4.0 / 15.02.2013
* Fix cli spec
* Add report for address xml
* Update address data as array
* Fix command option
* Fix typo
=== 1.3.9 / 14.02.2013
* Add address xml output
- oddb2xml --context address
- oddb2xml -x addr
=== 1.3.8 / 09.02.2013
* Add valid INDEX entries to product.xml
=== 1.3.7 / 08.02.2013
* Add more Tags to product.xml from Packungen.xls
- SubstanceSwissmedic
- PackGrSwissmedic
- EinheitSwissmedic
=== 1.3.6 / 08.02.2013
* Update article SMCAT as only value from Packungen
* Change product data definition
* Base is swissINDEX
=== 1.3.5 / 07.02.2013
* Update ID of limitation.xml
=== 1.3.4 / 06.02.2013
* Remove ORPH tag if value is false
* Fix a bug for extract of SwissmedicNumber
* Change priority of limitation ID key
* Update unique key of limitation entries
=== 1.3.3 / 05.02.2013
* Add spec example for downloading of Packungen.xls
* Chaneg ID tag of limitation.xml
* update to group GTINs of fi_product.xml by MONID
=== 1.3.2 / 04.02.2013
* Fix Swissmedic-Number extract from swissmedicinfo
=== 1.3.1 / 04.02.2013
* Update product.xml with swissINDEX and Packungen.xls
=== 1.3.0 / 04.02.2013
* Change PRDNO in product.xml to GTIN from INDEX
* Remove PRDNO from article.xml
=== 1.2.9 / 01.02.2013
* Remove ARTLIM and LIMCD
* Update to use swissINDEX if duplicated nonpharma
* Merge branch 'master' of ywesee.github.com:zdavatz/oddb2xml
* Improve Cli#run crearly
=== 1.2.8 / 01.02.2013
* Update SMCAT to use Packungen.xls
* Merge branch 'master' of ywesee.github.com:zdavatz/oddb2xml
* Add additional Non-Pharma products
=== 1.2.7 / 31.01.2013
* Update to use lppv for article.xml and oddb.dat
* Update to use pharmacode if SwissmedicNo5 == '0'
* Update to include limitations in It-Codes
=== 1.2.6 / 30.01.2013
* Update to exclude 14-EAN for oddb_with_migel.dat
* Create LIMNAMEABAG for code into limitations.xml
* Create LIMNIV in limitation.xml
* Add lims at parent level into limitations.xml
* Fix typo Fr as De
=== 1.2.5 / 27.01.2013
* Add missing line break into dat
=== 1.2.4 / 25.01.2013
* Remove sl_entry check for IT-Number
=== 1.2.3 / 25.01.2013
* Change CBGG value as 3
* Add CLAG value from @fridges
* Change dat as only a file with `-a nonpharma`
* Update CKZL value with sl_entry or not
* Update to use also BM_update from ywesee
* Update to use also category from Packungen.xls
=== 1.2.2 / 24.01.2013
* Improve compressor for dat
* Improve dat format builder
* Add all products from swissINDEX into dat
* Add oddb_with_migel.dat output
* Fix closing of Zip on Windows
* Fix Windows unzip
=== 1.2.1 / 23.01.2013
* Update ith column for dat
* Add Packungen.xls for ith_swissmedic
* Add ADDSCR from swissINDEX into name as quantity
=== 1.2.0 / 22.01.2013
* Add dat format output
* Update file deletion on Windows
=== 1.1.9 / 17.01.2013
* Improve SSLv3 Error message output
=== 1.1.8 / 17.01.2013
* Improve File reading on Windows
* Update ssl connection handling and information
=== 1.1.7 / 15.01.2013
* Updated Manifest.text
* added set.bat and win_fetch_cacerts.rb for Windows-Users and SSLv3 support
=== 1.1.6 / 13.01.2013
* Update message for SSLv3 Error
* mswin mswin mswin :(
* enable SSL with SSLv3 cert at soap request
=== 1.1.5 / 11.01.2013
* Add BG tags into article.xml from ywesee BM.txt
=== 1.1.4 / 10.01.2013
* Add TITD tag into interaction.xml
=== 1.1.3 / 09.01.2013
* Add interaction.xml and code.xml output
* Update to check option fi
* Improve using of memory at file reading for mswin
* Add oddb_fi_product.xml output to fi option
* Restore Gemfile to use gemspec file
=== 1.1.2 / 08.01.2013
* Update Gemfile for development
* Fix oddb_fi.xml tag name
* Update to be suitable for release with Hoe
* Add missing files
* Remove white spaces
=== 1.1.1 / 07.01.2013
* Create oddb_fi.xml file with using swissmedicinfo
-needs -o or --optional fi
=== 1.1.0 / 27.12.2012
* Add new additional file limitation.xml
=== 1.0.10 / 25.12.2012
* Add ORPH and COOL from swissmedic xls
=== 1.0.9 / 11.12.2012
* Added Substance Updater via BAG-XML from the Substance Branch.
=== 1.0.8 / 20.11.2012
* Update spec for cli
* Add zip compress option
* Use -t option also as prefix of filename
* Allow tag suffix as flexible word
* Update help message
=== 1.0.7 / 20.11.2012
* Add -t --tag-suffix option for 'md'
=== 1.0.6 / 23.10.2012
* Added nonpharma option
=== 1.0.5 / 19.10.2012
* Removed unnecessary quote
* Added PROD_DATE, VALID_DATE as same with creation
* Added SALECD as STATUS(I,A) of swissindex
* Added SLOPLUS (FlagSB20) field into article.xml
=== 1.0.4 / 18.09.2012
* Updated option handling.
$ oddb2xml
$ oddb2xml -c tar.gz