gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Getting closer... but still need some help


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Getting closer... but still need some help
Date: Fri, 19 Nov 2010 00:03:30 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Nov 18, 2010 at 02:26:03PM -0800, Jim Busser wrote:

> 2) Person > Load external creation (constraint against existing)
> 
> It appears in the schema that two persons can be allowed
> to have identical lastnames and firstnames and are only
> otherwise distinguished by having distinct values for
> id_identity.

That's correct.

> This does not prevent recreation of the same person multiple times through 
> the loadings of external files

Right.

> In order then for the creator to treat as unique things like
> 
>       lastnames, firstnames, dob
> 
> and also
> 
>       dem.enum_ext_id_types.issuer, dem.lnk_identity2ext_id.external_id
> 
> do these constraints need to be already defined in the schema

No. Once the user selected on person from one external
source GNUmed checks for corresponding existing patients via
firstnames, lastnames, dob, and gender. If it finds more
than one it asks the user *again* whether and if so which
one corresponds to the patient in the external source.

> can this kind of restriction
> be achieved by creator code that is made appropriate to the
> external data source?

The latter, yes.

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]