Dear Luis, dear Axel,
I investigated this issue further and I found, that in the vanilla
installation from Luis for GNU Health 3.6. there are within the modules
the files setup.py and MANIFEST.in. These files are missing in the
one-click-install of Axel.
Could this be the reason why the update process does not read the
data/diseases.xml? I put these files into the health_icd10 folder, but
this did not help. (I gave the permissions for these files to be read.)
Any ideas what could be wrong here? What happens exactly when an upgrade
is performed - which script is involved?
Thank you very much!
Cheers
Edgar
Am 07.10.2021 um 00:35 schrieb Edgar_:
Dear Luis,
there are some issues with ICD10 in GNU Health 3.8.0:
In diseases.xml there is:
<record model="gnuhealth.pathology" id="E10">
<field name="name">Type 1 diabetes mellitus</field>
<field name="code">E10</field>
<field name="category" ref="icdcat4-2"></field>
<field name="active">True</field>
</record>
<record model="gnuhealth.pathology" id="E100">
<field name="name">Type 1 diabetes mellitus: With coma</field>
<field name="code">E10.0</field>
<field name="category" ref="icdcat4-2"></field>
<field name="active">True</field></record>
In locale/de.po there is:
msgctxt "model:gnuhealth.pathology,name:E10"
msgid "Type 1 diabetes mellitus"
msgstr "Diabetes mellitus, Typ 1"
msgctxt "model:gnuhealth.pathology,name:E100"
msgid "Type 1 diabetes mellitus: With coma"
msgstr "Diabetes mellitus, Typ 1: Mit Koma"
In pgAdmin in table gnuhealth.pathology there is:
2001 2013-09-30 00:05:55.021945 2021-10-04 21:59:41.314408
0 0 69 E10 Type 1 diabetes mellitus true
2002 2013-09-30 00:05:55.037495 2021-10-04 21:59:41.314408
0 0 69 E10.0 With coma true
As far as I understand this means that our changes to ICD-10, when we
updated it last year, worked with de.po and diseases.xml, but did not
find its way into the postgres database. In the client there is the
data of the postgres table.
I made an upgrade for the ICD-10 modules health_icd10 and
health_profile but this did not change the database table.
Anything else I could try so far?
Thank you very much!
All the best
Edgar