Code Monkey home page Code Monkey logo

Comments (14)

ngiger avatar ngiger commented on June 2, 2024 2

Getting pharmacode from transfer.dat was easy.
The missing RESULT entity stems probably from the fact that I have some invalid entries, eg.
element DSCRD: Schemas validity error : Element '{http://wiki.oddb.org/wiki.php?pagename=Swissmedic.Datendeklaration}DSCRD': [facet 'maxLength'] The value has a length of '128'; this exceeds the allowed maximum length of '120'.

from oddb2xml.

ihmz-fabio avatar ihmz-fabio commented on June 2, 2024 1

Die Pharmacodes werden (in article.xml) immer noch geliefert, jedoch nicht mehr alle:
grafik
Die Anzahl Pharmacodes nimmt seit 2021 drastisch ab. Vor 2019 entsprach die Anzahl Records der Anzahl Pharmacodes.
Der Grund liegt wohl darin, dass der Pharmacode kontinuierlich abgeschafft wird und durch den GTIN ersetzt wird.
Daher denke ich nicht, dass der Pharmacode etwas mit dem fehlenden Eleent zu tun hat.

from oddb2xml.

ihmz-fabio avatar ihmz-fabio commented on June 2, 2024 1

Perfekt! Besten Dank.

from oddb2xml.

zdavatz avatar zdavatz commented on June 2, 2024

ok, Danke @ihmz-fabio. Mal schauen was @ngiger dazu sagt.

from oddb2xml.

ngiger avatar ngiger commented on June 2, 2024

Es gibt spec-Tests, welche testen ob das NBR_RECORD in diversen (aber nicht allen) *.xml vorhanden sind.
Darf ich wissen, wie genau der Aufruf von oddb2xml war? Dann gehe ich dem Problem nach.

from oddb2xml.

ihmz-fabio avatar ihmz-fabio commented on June 2, 2024

Ist das eine Anfrage an mich? Wenn ja, verstehe ich es nicht.

from oddb2xml.

ngiger avatar ngiger commented on June 2, 2024

@ihmz-fabio: Ich möchte wissen, wie genau sie auf der Shell den Befehlt oddb2xml aufgerufen haben. Ohne Parameter oder mit welchen Parametern, z.B. bundle exec ruby bin/oddb2xml --help.

Falls Sie nur das Gem installiert haben, geben Sie bitte die Version an.

Falls Sie ein git clone gemacht haben, bitte angeben, auf welchem commit sie stehen.

from oddb2xml.

zdavatz avatar zdavatz commented on June 2, 2024

@ngiger die Daten werden von hier runtergeladen. Der Aufruf ist der normale Aufruf.

from oddb2xml.

ngiger avatar ngiger commented on June 2, 2024

@ihmz-fabio: Okay. Da muss bei HIN beim Erstellen was schief gelaufen sein.oddb_article.xml enhält die NBR_RECORD-Entität, nicht jedoch die oddb_product.xml

Beide XML-Dateien wurden mit oddb2xml 2.7.0 vom 5.11.2020 erstellt.

Ich lasse den Build lokal bei mir laufen, um zu sehen, was passiert ist, z.B. ob die bei refdata fehlenden Pharmacodes zu einem Abbruch führen, der nicht als Fehler erkannt wird. Das wird allerdings ein, zwei Stunden dauern.

from oddb2xml.

zdavatz avatar zdavatz commented on June 2, 2024

@ihmz-fabio brauchst Du den Pharmacode noch?

from oddb2xml.

ihmz-fabio avatar ihmz-fabio commented on June 2, 2024

Im Prinzip nein. Aber es werden bei uns immer noch medis geliefert ohne GTIN aber mit Pharmacode. Deshalb denke ich, dass ich es immer noch benötige.

from oddb2xml.

zdavatz avatar zdavatz commented on June 2, 2024

Im Prinzip nein. Aber es werden bei uns immer noch medis geliefert ohne GTIN aber mit Pharmacode. Deshalb denke ich, dass ich es immer noch benötige.

Ok, dann werden wir den Pharmacode soweit wie möglich belassen.

from oddb2xml.

ngiger avatar ngiger commented on June 2, 2024

Using the nokogiri option huge as suggested in nokogiri bug 2187 solved the problem.
Released oddb2xml gem 2.7.1.
I hope that tomorrow the HIN will produce a correct oddb_product.xml, 13489 articles should have a pharmacode from Zur Rose.
Aufwand war 3.5h

from oddb2xml.

zdavatz avatar zdavatz commented on June 2, 2024

@ihmz-fabio Bist Du zufrieden so?

from oddb2xml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.