oddb2xml 2.6.7 → 2.6.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 070625b76250b6816b761d5e4f37474326218067dcdbd0a59824c2667e62e9b7
4
- data.tar.gz: 04af7deafbe8160ad3283b6edb9bae596d9782bad4c7a4be8facda175f062ac8
3
+ metadata.gz: 1e269835cb1d379b6d58dc3acdc2b358a2a562bf2e384335ac8b91f94cc6fe85
4
+ data.tar.gz: 31e536028c6664688a65436b7c491c750613f0894eaab3b7e960056755e794e7
5
5
  SHA512:
6
- metadata.gz: 3616fc763495253e24a1176ccd5d2907e08b96860e87d79c5577b14b38826bf57aaa3aebbf7777fcde28cb2d243b379e25697ba943b1df921ea6cbe6ea16edca
7
- data.tar.gz: dba061cc87bd89396f38b792f51c9918a23f55d9452c9df9472b5a1e208859f729cbba868097763fc0364791fbb0900a6df97319525dc9721515ad921527c18c
6
+ metadata.gz: eca74f7c3b982ddc352476fcf517151e13bf75dc3a6293c9a30784826a341bac3b9364f78b602de6c445f4d59ecf16cef342c1e5666f03d23de1c11af222076e
7
+ data.tar.gz: 47e128df187298f95b0c21838ec974c75badaff1b55ce7dbf3583d07d87318999a51ab38fed31306d2b27abed255bce3fe54b94f5243aa4c621a7bc21837893b
@@ -11,8 +11,7 @@ before_install:
11
11
  script: bundle exec rspec
12
12
 
13
13
  rvm:
14
- # Building on Versions 2.4 or earlier of Ruby fail, because URI.open was priveate
15
- # - 2.4
14
+ - 2.4
16
15
  - 2.5
17
16
  - 2.6
18
17
  - 2.7
@@ -1,3 +1,9 @@
1
+ === 2.6.8 / 26.06.2020
2
+
3
+ * Re-Add support for Ruby Version 2.4
4
+ * Specified minimal ruby version in gemspec
5
+ * Patch artikelstamm build to emit a product for Varilrix
6
+
1
7
  === 2.6.7 / 25.06.2020
2
8
  * Added value 'C' (Co-marketing) for field GENERIC_TYPE Elexis_Artikelstamm_v5.xsd from BAG Preparations.xml
3
9
  * Fixed limitations coming from the chapte 70 hack
@@ -1557,9 +1557,20 @@ module Oddb2xml
1557
1557
  when 'N'; xml.DEDUCTIBLE 10; # 10%
1558
1558
  end if item && item[:deductible]
1559
1559
  prodno = Oddb2xml.getProdnoForEan13(pkg_gtin)
1560
- xml.PRODNO prodno if prodno
1561
1560
  atc = package[:atc_code]
1562
1561
  atc ||= @refdata[pkg_gtin][:seq][:atc_code] if @refdata[pkg_gtin]
1562
+ unless prodno # find a prodno from packages for vaccinations
1563
+ if atc && /^J07/.match(atc) && !/^J07AX/.match(atc)
1564
+ pack = @packs.values.find{ |v| v && v[:atc_code].eql?(atc)}
1565
+ if pack
1566
+ prodno = pack[:prodno]
1567
+ Oddb2xml.log "Patching vaccination for #{pkg_gtin} #{atc} #{name} via prodno #{prodno}"
1568
+ else
1569
+ Oddb2xml.log "unable to find a pack/prodno for vaccination for #{pkg_gtin} #{atc} #{name}"
1570
+ end
1571
+ end
1572
+ end
1573
+ xml.PRODNO prodno if prodno
1563
1574
  csv = []
1564
1575
  @csv_file << [pkg_gtin, name, package[:unit], measure,
1565
1576
  pexf ? pexf : '',
@@ -33,7 +33,7 @@ module Oddb2xml
33
33
  effort: :tolerant,
34
34
  smart: true
35
35
  }
36
- res = Ox.load(URI.open(html_file).read, mode: :hash_no_attrs).values.first['body']
36
+ res = Ox.load(Oddb2xml.uri_open(html_file).read, mode: :hash_no_attrs).values.first['body']
37
37
  result = []
38
38
  idx = 0
39
39
  @@items = {}
@@ -23,7 +23,7 @@ module Oddb2xml
23
23
  else
24
24
  begin
25
25
  io = File.open(file, option)
26
- data = URI.open(@url).read
26
+ data = Oddb2xml.uri_open(@url).read
27
27
  io.write(data)
28
28
  rescue => error
29
29
  puts "error #{error} while fetching #{@url}"
@@ -283,7 +283,7 @@ module Oddb2xml
283
283
  include DownloadMethod
284
284
  def initialize(type=:orphan, options = {})
285
285
  url = BASE_URL + '/swissmedic/de/home/services/listen_neu.html'
286
- doc = Nokogiri::HTML(URI.open(url))
286
+ doc = Nokogiri::HTML(Oddb2xml.uri_open(url))
287
287
  @type = type
288
288
  @options = options
289
289
  case @type
@@ -7,6 +7,14 @@ module Oddb2xml
7
7
  def Oddb2xml.gen_prodno(iksnr, seqnr)
8
8
  sprintf('%05d',iksnr) + sprintf('%02d', seqnr)
9
9
  end
10
+ def Oddb2xml.uri_open(url)
11
+ version = RUBY_VERSION.split('.').map { |x| x.to_i }
12
+ if (version <=> [2,5,0]) >= 0
13
+ URI.open(url)
14
+ else
15
+ open(url)
16
+ end
17
+ end
10
18
  def Oddb2xml.calc_checksum(str)
11
19
  str = str.strip
12
20
  sum = 0
@@ -1,3 +1,3 @@
1
1
  module Oddb2xml
2
- VERSION = "2.6.7"
2
+ VERSION = "2.6.8"
3
3
  end
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
+ spec.required_ruby_version = ">= 2.2.0"
19
20
 
20
21
  # We fix the version of the spec to newer versions only in the third position
21
22
  # hoping that these version fix only security/severe bugs
@@ -24,7 +24,7 @@ describe Oddb2xml::Builder do
24
24
  unless @inhalt.index(expected_value)
25
25
  puts expected_value
26
26
  end
27
- binding.pry unless @inhalt.index(expected_value)
27
+ # binding.pry unless @inhalt.index(expected_value)
28
28
  expect(@inhalt.index(expected_value)).not_to be nil
29
29
  end
30
30
  def common_run_init(options = {})
@@ -439,6 +439,32 @@ describe Oddb2xml::Builder do
439
439
  <DEDUCTIBLE>20</DEDUCTIBLE>
440
440
  <PRODNO>5329001</PRODNO>
441
441
  </ITEM>),
442
+ 'Varilrix product' => %(<PRODUCT>
443
+ <PRODNO>0058501</PRODNO>
444
+ <SALECD>A</SALECD>
445
+ <DSCR>Varilrix Trockensub c solv</DSCR>
446
+ <DSCRF>Varilrix subst sèche c solv</DSCRF>
447
+ <ATC>J07BK01</ATC>
448
+ <LIMNAMEBAG>0808</LIMNAMEBAG>
449
+ <SUBSTANCE>Vaccinum virus varicellae vivus attenuat. (Stamm OKA)</SUBSTANCE>
450
+ </PRODUCT>),
451
+ 'Varilrix item' => %(<ITEM PHARMATYPE="P">
452
+ <GTIN>7680005850010</GTIN>
453
+ <PHAR>1770177</PHAR>
454
+ <SALECD>A</SALECD>
455
+ <DSCR>Varilrix Trockensub c solv Fertspr 0.500 ml</DSCR>
456
+ <DSCRF>Varilrix subst sèche c solv ser prê 0.500 ml</DSCRF>
457
+ <COMP>
458
+ <NAME>GlaxoSmithKline AG</NAME>
459
+ <GLN>7601001000674</GLN>
460
+ </COMP>
461
+ <PEXF>43.64</PEXF>
462
+ <PPUB>66.5</PPUB>
463
+ <SL_ENTRY>true</SL_ENTRY>
464
+ <IKSCAT>B</IKSCAT>
465
+ <DEDUCTIBLE>10</DEDUCTIBLE>
466
+ <PRODNO>0058501</PRODNO>
467
+ </ITEM),
442
468
  'Chapter 70 product' => %(<PRODUCT>
443
469
  <PRODNO>2069639</PRODNO>
444
470
  <!--Chapter70 hack-->
@@ -473,15 +473,15 @@ def checkProductXml(nbr_record = -1)
473
473
  end
474
474
 
475
475
  describe Oddb2xml::Builder do
476
- NrExtendedArticles = 76
477
- NrSubstances = 27
478
- NrLimitations = 14
476
+ NrExtendedArticles = 78
477
+ NrSubstances = 28
478
+ NrLimitations = 15
479
479
 
480
480
  NrInteractions = 2
481
481
  NrCodes = 5
482
482
  NrProdno = 31
483
- NrPackages = 44
484
- NrProducts = 39
483
+ NrPackages = 46
484
+ NrProducts = 40
485
485
  RegExpDesitin = /1125819012LEVETIRACETAM DESITIN Mini Filmtab 250 mg 30 Stk/
486
486
  include ServerMockHelper
487
487
  def common_run_init(options = {})
@@ -1,5 +1,141 @@
1
1
  <?xml version="1.0" encoding="utf-8" standalone="yes"?>
2
2
  <Preparations ReleaseDate="01.12.2013">
3
+ <Preparation ProductCommercial="9801">
4
+ <NameDe>Varilrix</NameDe>
5
+ <NameFr>Varilrix</NameFr>
6
+ <NameIt>Varilrix</NameIt>
7
+ <DescriptionDe>Trockensub c solv</DescriptionDe>
8
+ <DescriptionFr>subst sèche c solv </DescriptionFr>
9
+ <DescriptionIt>sost secca c solv </DescriptionIt>
10
+ <AtcCode>J07BK01</AtcCode>
11
+ <SwissmedicNo5>585</SwissmedicNo5>
12
+ <FlagItLimitation>Y</FlagItLimitation>
13
+ <OrgGenCode />
14
+ <FlagSB20>N</FlagSB20>
15
+ <CommentDe />
16
+ <CommentFr />
17
+ <CommentIt />
18
+ <VatInEXF>N</VatInEXF>
19
+ <Packs>
20
+ <Pack ProductKey="9801" PackId="14418">
21
+ <DescriptionDe>Fertspr 0.500 ml</DescriptionDe>
22
+ <DescriptionFr>ser prê 0.500 ml</DescriptionFr>
23
+ <DescriptionIt>sir preriempita 0.500 ml</DescriptionIt>
24
+ <SwissmedicCategory>B</SwissmedicCategory>
25
+ <SwissmedicNo8>585001</SwissmedicNo8>
26
+ <FlagNarcosis>N</FlagNarcosis>
27
+ <FlagModal />
28
+ <BagDossierNo>18076</BagDossierNo>
29
+ <GTIN>7680005850010</GTIN>
30
+ <SizePack />
31
+ <PrevPharmacode />
32
+ <Limitations />
33
+ <PointLimitations />
34
+ <Prices>
35
+ <ExFactoryPrice>
36
+ <Price>43.64</Price>
37
+ <ValidFromDate>01.12.2019</ValidFromDate>
38
+ <DivisionDescription />
39
+ <PriceTypeCode>PEXF</PriceTypeCode>
40
+ <PriceTypeDescriptionDe>Ex-Factory Preis</PriceTypeDescriptionDe>
41
+ <PriceTypeDescriptionFr>Prix ex-factory</PriceTypeDescriptionFr>
42
+ <PriceTypeDescriptionIt>Prix ex-factory</PriceTypeDescriptionIt>
43
+ <PriceChangeTypeCode>3JUEBERPRUEF</PriceChangeTypeCode>
44
+ <PriceChangeTypeDescriptionDe>Preisänderung nach 3-jährlicher Überprüfung der Aufnahmebedingungen</PriceChangeTypeDescriptionDe>
45
+ <PriceChangeTypeDescriptionFr>Réduction de prix à cause du réexamen des conditions d’admission tous les trois ans</PriceChangeTypeDescriptionFr>
46
+ <PriceChangeTypeDescriptionIt>Preisänderung nach 3-jährlicher Überprüfung der Aufnahmebedingungen</PriceChangeTypeDescriptionIt>
47
+ </ExFactoryPrice>
48
+ <PublicPrice>
49
+ <Price>66.5</Price>
50
+ <ValidFromDate>01.12.2019</ValidFromDate>
51
+ <DivisionDescription />
52
+ <PriceTypeCode>PPUB</PriceTypeCode>
53
+ <PriceTypeDescriptionDe>Publikumspreis</PriceTypeDescriptionDe>
54
+ <PriceTypeDescriptionFr>Prix public</PriceTypeDescriptionFr>
55
+ <PriceTypeDescriptionIt>Prix public</PriceTypeDescriptionIt>
56
+ <PriceChangeTypeCode>3JUEBERPRUEF</PriceChangeTypeCode>
57
+ <PriceChangeTypeDescriptionDe>Preisänderung nach 3-jährlicher Überprüfung der Aufnahmebedingungen</PriceChangeTypeDescriptionDe>
58
+ <PriceChangeTypeDescriptionFr>Réduction de prix à cause du réexamen des conditions d’admission tous les trois ans</PriceChangeTypeDescriptionFr>
59
+ <PriceChangeTypeDescriptionIt>Preisänderung nach 3-jährlicher Überprüfung der Aufnahmebedingungen</PriceChangeTypeDescriptionIt>
60
+ </PublicPrice>
61
+ </Prices>
62
+ <Partners>
63
+ <Partner>
64
+ <PartnerType>V</PartnerType>
65
+ <Description>GlaxoSmithKline AG</Description>
66
+ <Street>Talstrasse 3-5</Street>
67
+ <ZipCode>3053</ZipCode>
68
+ <Place>Münchenbuchsee</Place>
69
+ <Phone>+41318622111</Phone>
70
+ </Partner>
71
+ </Partners>
72
+ <Status>
73
+ <IntegrationDate>01.01.2005</IntegrationDate>
74
+ <ValidFromDate>01.01.2005</ValidFromDate>
75
+ <ValidThruDate>31.12.9999</ValidThruDate>
76
+ <StatusTypeCodeSl>0</StatusTypeCodeSl>
77
+ <StatusTypeDescriptionSl>Initialzustand</StatusTypeDescriptionSl>
78
+ <FlagApd>N</FlagApd>
79
+ </Status>
80
+ </Pack>
81
+ </Packs>
82
+ <Substances>
83
+ <Substance>
84
+ <DescriptionLa>Vaccinum virus varicellae vivus attenuat. (Stamm OKA)</DescriptionLa>
85
+ <Quantity>10^3.3</Quantity>
86
+ <QuantityUnit>U</QuantityUnit>
87
+ </Substance>
88
+ </Substances>
89
+ <Limitations />
90
+ <ItCodes>
91
+ <ItCode Code="08.">
92
+ <DescriptionDe>INFEKTIONSKRANKHEITEN</DescriptionDe>
93
+ <DescriptionFr>MALADIES INFECTIEUSES</DescriptionFr>
94
+ <DescriptionIt>MALATTIE INFETTIVE </DescriptionIt>
95
+ <Limitations />
96
+ </ItCode>
97
+ <ItCode Code="08.08.">
98
+ <DescriptionDe>Impfstoffe</DescriptionDe>
99
+ <DescriptionFr>Vaccins</DescriptionFr>
100
+ <DescriptionIt>Vaccini </DescriptionIt>
101
+ <Limitations>
102
+ <Limitation>
103
+ <LimitationCode>0808</LimitationCode>
104
+ <LimitationType>KOM</LimitationType>
105
+ <LimitationNiveau>I</LimitationNiveau>
106
+ <DescriptionDe>Die Kostenübernahme der Impfstoffe als Teil einer präventiven Massnahme im Rahmen der obligatorischen Krankenpflegeversicherung richtet sich nach den in Artikel 12a KLV für die jeweiligen Impfungen abschliessend festgelegten Voraussetzungen. Bei beruflicher und reisemedizinischer Indikation erfolgt keine Kostenübernahme durch die obligatorische Krankenpflegeversicherung.&lt;br&gt;
107
+ Die Preise der Impfstoffe sind Höchstpreise (Art. 52 Abs. 3 KVG) und kommen bei Reihenimpfungen (z.B. im schulärztlichen Dienst) nicht zur Anwendung. In diesen Fällen gelten die von den Krankenversicherern mit den zuständigen Behörden ausgehandelten bzw. die allenfalls von den Behörden festgesetzten Tarife. Wenn der Impfstoff zu einem günstigeren Preis bezogen wird (z.B. im Rahmen von Reihenimpfungen), darf der Arzt oder die Ärztin nicht den Publikumspreis der SL verrechnen. Die Vergünstigung muss gemäss Artikel 56 Absatz 3 KVG weitergegeben werden.&lt;br&gt;
108
+ &lt;br&gt;
109
+ Die Vergünstigung muss gemäss Artikel 56 Absatz 3 KVG weitergegeben werden, ausser es bestehen Vereinbarungen nach Artikel 56 Absatz 3bis KVG.&lt;br&gt;
110
+ &lt;br&gt;
111
+ </DescriptionDe>
112
+ <DescriptionFr>La prise en charge des coûts des vaccins au titre de mesure préventive dans le cadre de l'assurance maladie obligatoire des soins est régie par les conditions contraignantes fixées à l'article 12a OPAS pour les vaccinations correspondantes. En cas d'indication professionnelle et de recommandation médicale aux voyageurs, la vaccination n'est pas prise en charge par l'assurance maladie obligatoire des soins. Les prix des vaccins sont des prix maximaux (art. 52, al. 3, LAMal) et ne s'appliquent pas aux vaccinations en série (par ex. dans le service médical scolaire). Dans ce cas, les tarifs négociés par les assureurs maladie avec les autorités compétentes ou, le cas échéant, ceux fixés par les autorités, sont applicables. Si le vaccin est acheté à un prix inférieur (par exemple dans le cadre d'une série de vaccinations), le médecin ne peut pas le facturer au prix public de la LS. L'avantage doit être répercuté conformément à l'article 56, al. 3, LAMal.&lt;br&gt;
113
+ &lt;br&gt;
114
+ L'avantage doit être répercuté conformément à l'article 56, al. 3, LAMal, hormis si des conventions au sens de l'art. 56, al. 3bis, LAMal, ont été conclues.&lt;br&gt;
115
+ &lt;br&gt;
116
+
117
+ </DescriptionFr>
118
+ <DescriptionIt>L’assunzione dei costi dei vaccini, in quanto misura di prevenzione parziale nel quadro dell’assicurazione obbligatoria delle cure medico-sanitarie, è disciplinata in modo esauriente dalle condizioni fissate per i vaccini interessati nell’articolo 12a OPre. In caso di indicazione professionale e di medicina di viaggio, l’assicurazione obbligatoria delle cure medico-sanitarie non ne assume i costi.&lt;br&gt;
119
+ I prezzi dei vaccini sono prezzi massimi (art. 52 cpv. 3 LAMal) e non si applicano alle vaccinazioni in serie (ad. es. quelle effettuate nell’ambito del servizio medico scolastico). In questi casi sono applicabili le tariffe negoziate dagli assicuratori malattie con le autorità competenti o quelle eventualmente stabilite dalle autorità. Se il vaccino è acquistato a un prezzo più conveniente (p. es. nel quadro di vaccinazioni in serie), il medico non può fatturare il prezzo per il pubblico che figura nell’ES. Lo sconto deve essere fatto usufruire al debitore secondo l’articolo 56 capoverso 3 LAMal.&lt;br&gt;
120
+ &lt;br&gt;
121
+ Lo sconto deve essere fatto usufruire al debitore secondo l’articolo 56 capoverso 3 LAMal, tranne in caso di accordi di cui all’articolo 56 capoverso 3bis LAMal.&lt;br&gt;
122
+ &lt;br&gt;
123
+ </DescriptionIt>
124
+ <ValidFromDate>01.01.2000</ValidFromDate>
125
+ <ValidThruDate>31.12.9999</ValidThruDate>
126
+ </Limitation>
127
+ </Limitations>
128
+ </ItCode>
129
+ </ItCodes>
130
+ <Status>
131
+ <IntegrationDate>01.01.2005</IntegrationDate>
132
+ <ValidFromDate>01.01.2005</ValidFromDate>
133
+ <ValidThruDate>31.12.9999</ValidThruDate>
134
+ <StatusTypeCodeSl>0</StatusTypeCodeSl>
135
+ <StatusTypeDescriptionSl>Initialzustand</StatusTypeDescriptionSl>
136
+ <FlagApd>N</FlagApd>
137
+ </Status>
138
+ </Preparation>
3
139
  <Preparation ProductCommercial="394">
4
140
  <NameDe>Ancopir</NameDe>
5
141
  <NameFr>Ancopir</NameFr>
@@ -1239,7 +1375,7 @@
1239
1375
  <StatusTypeDescriptionSl>Initialzustand</StatusTypeDescriptionSl>
1240
1376
  <FlagApd>N</FlagApd>
1241
1377
  </Status>
1242
- </Preparation>
1378
+ </Preparation>
1243
1379
  <Preparation ProductCommercial="25550">
1244
1380
  <NameDe>Adcetris</NameDe>
1245
1381
  <NameFr>Adcetris</NameFr>
@@ -2913,8 +3049,8 @@ Le médecin traitant est tenu de saisir en continu les données requises dans l'
2913
3049
  2) Date du début de traitement, posologie, ajustements posologiques, date de fin de traitement.
2914
3050
 
2915
3051
  </DescriptionFr>
2916
- <DescriptionIt>Per la terapia di mantenimento (monoterapia) in pazienti adulte con carcinoma ovarico avanzato e recidivo, con mutazione BRCA, successivamente a una chemioterapia a base di platino e in presenza di una remissione parziale o completa.&lt;br&gt;
2917
- Il medico curante è tenuto a raccogliere costantemente i dati necessari nell’apposito strumento internet del registro, disponibile su http://www.olaparib-registry.ch. È necessario il consenso scritto della paziente. Devono essere raccolti i seguenti dati:&lt;br&gt;
3052
+ <DescriptionIt>Per la terapia di mantenimento (monoterapia) in pazienti adulte con carcinoma ovarico avanzato e recidivo, con mutazione BRCA, successivamente a una chemioterapia a base di platino e in presenza di una remissione parziale o completa.&lt;br&gt;
3053
+ Il medico curante è tenuto a raccogliere costantemente i dati necessari nell’apposito strumento internet del registro, disponibile su http://www.olaparib-registry.ch. È necessario il consenso scritto della paziente. Devono essere raccolti i seguenti dati:&lt;br&gt;
2918
3054
  1) Anno di nascita e terapie precedenti per il carcinoma ovarico&lt;br&gt;
2919
3055
  2) Data di inizio della terapia, dosaggio, aggiustamenti del dosaggio, data di conclusione della terapia.
2920
3056
  </DescriptionIt>
@@ -2,6 +2,17 @@
2
2
  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
3
  <soap:Body>
4
4
  <ARTICLE xmlns="http://refdatabase.refdata.ch/Article_out" CREATION_DATETIME="2017-12-01T09:41:49.5856186+01:00">
5
+ <ITEM DT="2018-12-05T00:00:00">
6
+ <ATYPE>PHARMA</ATYPE>
7
+ <GTIN>7680005850010</GTIN>
8
+ <PHAR>1770177</PHAR>
9
+ <SWMC_AUTHNR>00585001</SWMC_AUTHNR>
10
+ <NAME_DE>VARILRIX Trockensub c Solv Fertspr 0.5 ml</NAME_DE>
11
+ <NAME_FR>VARILRIX subst sèche c solv ser pré 0.5 ml</NAME_FR>
12
+ <ATC>J07BK01</ATC>
13
+ <AUTH_HOLDER_NAME>GlaxoSmithKline AG</AUTH_HOLDER_NAME>
14
+ <AUTH_HOLDER_GLN>7601001000674</AUTH_HOLDER_GLN>
15
+ </ITEM>
5
16
  <ITEM DT="2017-12-14T00:00:00">
6
17
  <ATYPE>PHARMA</ATYPE>
7
18
  <GTIN>7680545340019</GTIN>
@@ -69,4 +69,5 @@
69
69
  1122069562EINF ARZNEI Urtinktur 1-10g/ml 0010040013401000000000025000005884712
70
70
  1122069639EINF ARZNEI Ceres Urtinktur spez 20ml 0023440031301000000000025000005885322
71
71
  1122069622EINF ARZNEI Ceres Urtinktur 20ml 0018870025201000000000025000005885252
72
-
72
+ 1131770177VARILRIX Trockensub c Solv (alt) Fertspr 0.5 ml 004768006650101B080800076800058500102
73
+ 1127766692VARILRIX Trockensub c Solv Fertspr 0.5 ml 004767006650101B080800076800058500342
@@ -182,7 +182,7 @@ describe Oddb2xml::SwissmedicExtractor do
182
182
  @packs.find{|pack| pack[1][:ean13] == ean13.to_s }[1]
183
183
  end
184
184
  it 'should have correct nr of packages' do
185
- expect(@packs.size).to eq(40)
185
+ expect(@packs.size).to eq(41)
186
186
  end
187
187
 
188
188
  it 'should have serocytol' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oddb2xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.7
4
+ version: 2.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasuhiro Asaka, Zeno R.R. Davatz, Niklaus Giger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-25 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -479,7 +479,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
479
479
  requirements:
480
480
  - - ">="
481
481
  - !ruby/object:Gem::Version
482
- version: '0'
482
+ version: 2.2.0
483
483
  required_rubygems_version: !ruby/object:Gem::Requirement
484
484
  requirements:
485
485
  - - ">="