gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] New entries into xlnk_identity


From: Ian Haywood
Subject: [Gnumed-devel] New entries into xlnk_identity
Date: Sat, 14 Feb 2004 11:16:51 +1100


[PANIC] (/home/ian/gnumed/gnumed/client/python-common/gmPG.py::run_query:592): 
query >>>insert into clin_health_issue (id_patient, description) values (%s, 
%s)<<< with args >>>(17L, 'xxxDEFAULTxxx')<<< failed
[PANIC] (/home/ian/gnumed/gnumed/client/python-common/gmPG.py::run_query:592): 
exception type : libpq.IntegrityError
[PANIC] (/home/ian/gnumed/gnumed/client/python-common/gmPG.py::run_query:592): 
exception value: ERROR:  $1 referential integrity violation - key referenced 
from clin_health_issue not found in xlnk_identity

My fix for this is to add new entries in xlnk_identity whenever we create a new 
patient record. Is this right?

Ian

-- 
PGP public key E750652E at wwwkeys.pgp.net
9BF0 67B7 F84F F7EE 0C42  C063 28FC BC52 E750 652E

Attachment: pgpERKcRh0DN5.pgp
Description: PGP signature


reply via email to

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