gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] clin_medication


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] clin_medication
Date: Thu, 14 Oct 2004 09:41:44 +0200
User-agent: Mutt/1.3.22.1i

> >Does it matter if frequency (?term) is of PostgreSQL datatype
> >interval ? You can store any magnitude you wish in that.
> what type does postgres interval appear in python when accessed via  db-api?
As one of the classes in mxDateTime.

> A string  isn't it , "6 hours", "28 days" ?
That's just when you print it.

> and update is by writing a string ?
You can, if you write a properly formatted string to the
field. But you can also use an mxDateTime class.

> At some point , an application is going to try to store some data in 
> clin_medication;
> so what's wrong with getting said data from drugref , which has atc codes ,
> forms and amount_units ?  There is no change to clin_medication, just a 
> program class adapting a specific drug database instance to clin_medication.
> What is wrong with that?
I must have misunderstood. What you say here does sound OK to me.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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