Comments (14)
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.
Die Pharmacodes werden (in article.xml) immer noch geliefert, jedoch nicht mehr alle:
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.
Perfekt! Besten Dank.
from oddb2xml.
ok, Danke @ihmz-fabio. Mal schauen was @ngiger dazu sagt.
from oddb2xml.
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.
Ist das eine Anfrage an mich? Wenn ja, verstehe ich es nicht.
from oddb2xml.
@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.
@ngiger die Daten werden von hier runtergeladen. Der Aufruf ist der normale Aufruf.
from oddb2xml.
@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.
@ihmz-fabio brauchst Du den Pharmacode noch?
from oddb2xml.
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.
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.
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.
@ihmz-fabio Bist Du zufrieden so?
from oddb2xml.
Related Issues (20)
- swissmedic_orphan.xlsx and swissmedic_packages.xlsx not saved into the downloads dir. Why? HOT 4
- No such file or directory @ rb_file_s_size HOT 1
- Refdata is mixing HTTP with HTTPS requests
- oddb2xml not yet working with Ruby 3.1.0 HOT 1
- Since 28.2.22 swissmedic_package.xlsx contains IKSCAT A+ HOT 7
- Derma2Go can not load XML `oddb_article.xml` anymore after PR 60 HOT 4
- add option `--firstbase` or `--fb` to build all NONPHARMA articles on firstbase. HOT 5
- Add Pharmacode for the eMedidata Elexis-Plugin HOT 4
- `oddb2xml -b` results in `unknown keyword: :permitted_classes (ArgumentError)` with Ruby 3.0.0 HOT 1
- With Switch to Firstbase certain Products have now names HOT 1
- Add Products that do not start with `7680` from `Preparations.xml`
- Wrong ATC-Code with Paxlovid HOT 1
- Since Version 2.8.0 `oddb_calc.xml` is no longer generated HOT 1
- `-b` sollte Option automatisch `--calc` ausführen
- oddb2xml -b version `2.8.2` only outputs `oddb_calc.xml`
- Download Firstbase Articles via Firstbase API
- Add Pharmacodes via GTIN if they are missing. HOT 3
- Anpassung Selbstbehalt HOT 1
- `<SLOPLUS/>`
- Add NON-SL XLSX
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oddb2xml.