[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health-dev] [bug #65387] Issues with the new unified importer
From: |
Feng Shu |
Subject: |
Re: [Health-dev] [bug #65387] Issues with the new unified importer |
Date: |
Fri, 01 Mar 2024 08:15:38 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Luis Falcon <INVALID.NOREPLY@gnu.org> writes:
> URL:
> <https://savannah.gnu.org/bugs/?65387>
>
> Summary: Issues with the new unified importer
> Group: GNU Health
> Submitter: meanmicio
> Submitted: Thu 29 Feb 2024 08:13:56 PM UTC
> Category: Interfaces
> Severity: 3 - Normal
> Item Group: None
> Status: None
> Privacy: Public
> Assigned to: tumashu
> Open/Closed: Open
> Release: None
> Discussion Lock: Any
> Module: lab
> Component: Hospital Management
>
>
> _______________________________________________________
>
> Follow-up Comments:
>
>
> -------------------------------------------------------
> Date: Thu 29 Feb 2024 08:13:56 PM UTC By: Luis Falcon <meanmicio>
> It seems like there are some issues when importing analytes from the new
> unified interface (gnuhealth-data-import.py)
Hi, I have tested now, but not find, more details can be provided?
gnuhealth-data-import.py can not handle older interface csv, it need
more fields when import, see example files:
https://hg.savannah.gnu.org/hgweb/health/file/1cd698f8de28/tryton/scripts/gnuhealth-data-import/data/4-labtests.csv
1. "test_id": required.
2. "analyte_code": data_import main use this field, while older
interface use gnalyte_name instead, analyte_code is introduced 4.4.0, so
old test result will not have this field or have this field but have
no value.
3. "analyte_name": data_import support this field too, but not suggest use,
for analyte_name will change depend language, data_import use below
domain to find test.
domain = [['OR',
('code','=',analyte_code),
('name','=',analyte_name)],
('gnuhealth_lab_id','=',test_id)]
4. "result":
5. "result_text":
6. "_ignore", if value=yes, this line will be ignore to import.
7. "_type": value=labtest, when this csv is labtest data
>
> The older interface seem not to be affected.
>
> Feng, can you please take a look at it?
>
> Thank you!
> Luis
>
>
>
>
>
>
>
>
> _______________________________________________________
>
> Reply to this item at:
>
> <https://savannah.gnu.org/bugs/?65387>
>
> _______________________________________________
> Message sent via Savannah
> https://savannah.gnu.org/
--