gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] clin_medication


From: scaredycat
Subject: Re: [Gnumed-devel] clin_medication
Date: Thu, 14 Oct 2004 10:04:13 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616



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?
A string  isn't it , "6 hours", "28 days" ?
and update is by writing a string ?


IMO clin_medication should pointedly NOT replicate a drug
database. It should store drug information in a way as to
facilitate identification of the drug in *any* drug database
*regardless* of source database.

well no one is trying to make it replicate a drug database, just making
it workable with all it's not null constraints ( which I am not saying is unreasonable,
ATC_code doesn't specify the drug enough , and form is needed (probably) ).

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?




















reply via email to

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