[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] single box SOAP functional at last !

From: Ian Haywood
Subject: Re: [Gnumed-devel] single box SOAP functional at last !
Date: Wed, 25 Jun 2003 20:50:43 +1000

On Tue, 24 Jun 2003 15:09:36 +0200
Karsten Hilbert <address@hidden> wrote:

> Dear GnuMedders,
> believe it or not but you can now store free-text clinical
> notes in GnuMed (but not view/modify them yet :-)))

> Please test and comment.

[WARN]  (/home/ian/gnumed/gnumed/client/python-common/ 
query >>>insert into clin_health_issue (id_patient, description) values (%s, 
%s);<<< (args: (3, '__default__')) failed
[WARN]  (/home/ian/gnumed/gnumed/client/python-common/ 
exception type : libpq.OperationalError
[WARN]  (/home/ian/gnumed/gnumed/client/python-common/ 
exception value: ERROR:  Cannot insert a duplicate key into unique index 
 cannot insert health issue [__default__] for patient [3]
 cannot load default health issue for patient [3]

And the data isn't appearing:

gnumed=# select * from clin_root_item;
 pk_item | id_encounter | id_episode | narrative
(0 rows)
(am I looking in the right table of course?)

The health issue is there:

gnumed=# select * from clin_health_issue;
 pk_audit | row_version |          modify_when          | modify_by | id | 
id_patient | description                                                        
     9209 |           0 | 2003-06-25 17:55:12.606418+10 | _test-doc |  1 |      
    3 | __default__(1 row)
I've looked at the code, you are checking to see if the health issue exists, 
but it isn't working (the query returns no rows)
I can't look into it any further as I can't seen to get a debugger running on 
gnumed (BYW, which one's are people using?)


Had a quick look at the table: indeed it does have a unique constraint, seems 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]