[Top][All Lists]

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

Re: [Gnumed-devel] Measurements - LOINC lost on test type save

From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Measurements - LOINC lost on test type save
Date: Sun, 7 Aug 2011 13:29:00 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Aug 06, 2011 at 04:19:15PM -0700, Jim Busser wrote:

> Yes, still a problem… when I save and re-open the window, the value is gone.

I can confirm that.

Looking at the code it seems that the test type edit area
only looks at .GetData() for no good reason (because
test_type.loinc is text rather than a foreign key into

I have changed the code to use .GetValue() when .GetData()
is None. This risks, however, entry of arbitrary data into
the field - which likely isn't that problematic after all,
as it won't be of any use to enter garbage.


GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

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