gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Re: GNUmed and FreeDiams


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Re: GNUmed and FreeDiams
Date: Sat, 1 Jan 2011 20:48:18 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, Jan 01, 2011 at 11:29:23AM -0800, Jim Busser wrote:

> However… FreeDiams has columns
> 
>       route
>       global_strength
> 
> lacking in GNUmed ref.branded_drug. We should add them, yes?

No.

> Once we would have resolved the above question, setting
> aside that postgres will auto-assign values in pk_audit,
> what do I need for the import file (or script) to address
> the GNUmed columns
>
>       row_version

This is auto-assigned.

>       serial (is this auto-assigned?)

that's not a column

>       is_fake

Always False because you are adding true drugs.

>       fk_data_source (integer)

Can be empty and is auto-created from values FreeDiams
provides:

        business/gmMedication.py::cFreeDiamsInterface.create_data_source_entry()

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]