|
From: | Edgar_ |
Subject: | Re: [Health] [Health-dev] import with GNU Health functionality |
Date: | Tue, 29 Jun 2021 20:06:21 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Dear Luis Am 29.06.2021 um 13:49 schrieb Luis Falcon:
Proteus is the best way to import information to GNU Health. However I understand your point of trying to import the file from the client.The csv-file looks like this: Name,Account Category,List Price,Type,Default UOM ANC (Micro),General,2100.0000,Service,Unit Urine MCS (Adult),Urine bench,1100.0000,Service,Unit Urine MCS (Children),Urine bench,600.0000,Service,Unit In Product/Categories/Categories I created first „General“ (tick Accounting) and „Urine bench“ (tick Accounting). When I import the csv-file then, the error occurs: error: the value „Services“ on Field „Type“ on Product Template is not in the selectionBasically, "Services" is the English, human readable representation of the actual value. You need to use the actual value at the model level.
Thank you very much, this is an important hint! But at Models/Models I cannot find the actual value,
and also not in Models/Fields. In models/fields there is type - product template - selection - type
how can I find the actual value?
Also, if things have not changed much... the CSV import did not handle relational fields either. So, because of that (and other technical reasons), I just use proteus for batch input.
Hm, maybe then I have to try proteus too, but I am afraid that it will be too complicated for me - I even do not know how to start.
The import function seems to be much more intuitive. I would love to find a way how to solve this problem for the Nigerian hospital.
Thank you very much! All the best Edgar
[Prev in Thread] | Current Thread | [Next in Thread] |