Closed ngiger closed 2 years ago
A+
has been there for a long time now (at least since 2010). A+ means Betäubungsmittel
. We need to keep this information in oddb2xml.
https://de.wikipedia.org/wiki/Abgabekategorie says "Arzneimittel, die ein Betäubungsmittel-Rezept erfordern, findet man auch manchmal als Kategorie A+ ausgewiesen."
However we did not find any drug with a "A+" in column N in the swissmedic_package.xlsx.
As Elexis_Artikelstamm_v5.xsd does not have "A+" as a valid IKSCAT value I propose the following:
Ja aber erst seit 4. Februar 2022! Vorher gab es keine einziges. Auf thinpower: /var/www/oddb.org/data/xls/Packungen-2022.01.06.xlsx enthält kein Vorkommniss von A+ /var/www/oddb.org/data/xls/Packungen-2022.02.04.xlsx enthält viele Vorkommniss von A+
Ok, interessant! Das sind auf jeden Fall Betäubungsmittel.
Julian hat gestern noch gemeldet, dass die oddb_article.xml ebenfalls A1+ enthalten.
Die von wget https://download.hin.ch/download/oddb2xml/oddb_article.xml runtergeladenene Datei validiert nicht.
oddb_article.xml:1436135: element SMCAT: Schemas validity error : Element '{http://wiki.oddb.org/wiki.php?pagename=Swissmedic.Datendeklaration}SMCAT': [facet 'enumeration'] The value 'A+' is not an element of the set {'B', 'C', 'D', 'A', 'E'}.
Patch dafür folgt
Works now fine
In column "N" Abgabekategorie Packung" we had till february 2022 only the values "A", "B","C", "D" "E", in march we have about 200 items with "A+". This distinction is not nedded for the the artikelstamm as used in the Elexis app.Therefore we should simply truncate it to "A".