gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] re : clin_narrative integrity constraint


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] re : clin_narrative integrity constraint
Date: Mon, 21 Feb 2005 09:21:42 +0100
User-agent: Mutt/1.3.22.1i

> "clin_narrative_fk_encounter_key" unique, btree (fk_encounter, narrative, 
> soap_cat)
> 
> this constraint would block someone entering a health issue with an 
> identically autogenerated narrative,
Which would be a good thing.

> or say  dealing with hypertension and diabetes in one
> encounter with   "script; routine checkup"  for both.
But this is not. So, yes, indeed, 

> would it be better as (fk_encounter, fk_episode, narrative, soap_cat) ?
you are entirely correct. Thanks.

The top case (autogenerated narrative) is acceptable.

Fixed.

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]