X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 72FEFD1B75F for ; Wed, 28 Jul 2004 09:20:47 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20632-09 for ; Wed, 28 Jul 2004 12:20:23 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 9F085D1B741 for ; Wed, 28 Jul 2004 09:20:19 -0300 (ADT) Received: (qmail 31951 invoked by uid 65534); 28 Jul 2004 12:20:21 -0000 Received: from p5087EE47.dip0.t-ipconnect.de (EHLO hermes.hilbert.loc) (80.135.238.71) by mail.gmx.net (mp015) with SMTP; 28 Jul 2004 14:20:21 +0200 X-Authenticated: #1433807 Received: (from ncq@localhost) by hermes.hilbert.loc (8.11.6/8.11.6/SuSE Linux 0.5) id i6SC8BA01320 for pgsql-sql@postgresql.org; Wed, 28 Jul 2004 14:08:11 +0200 Date: Wed, 28 Jul 2004 14:08:11 +0200 From: Karsten Hilbert To: pgsql-sql@postgresql.org Subject: Re: surrogate key or not? Message-ID: <20040728140811.B607@hermes.hilbert.loc> References: <1090325769.3241.27.camel@dicaprio.akademie1.de> <04072711335024.01150@thenilgiris.com> <001f01c47442$4dd673a0$7201a8c0@mst1x5r347kymb> <0407280744502B.01150@thenilgiris.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0407280744502B.01150@thenilgiris.com> User-Agent: Mutt/1.3.22.1i Re-X-turn-receipt-to: Karsten.Hilbert@gmx.net Di-X-sposition-Notification-To: Karsten.Hilbert@gmx.net X-Confi-X-rm-Reading-To: Karsten.Hilbert@gmx.net X-Pri-X-ority: 2 (High) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/236 X-Sequence-Number: 18488 > simpler, as a first stage and easily implemented, give him some way he can > tag words and phrases he feels important. save these in a table along with a > foreign key identifying the source. as a second stage keep analysing the > words and phrases chosen and empirically build up a database of significant > words and phrases relevant to that specific installation (or doctor), and as > a third stage, highlight these as he types in the data Even simpler. Most notes only ever contain those words that are relevant :-) So what we are doing is matching different parts of the progress note, eg. when the doctor types "cough, congested nose, sore throat" as a complaint we pull in the drugs he ususally prescribes for that condition and the dosages she ususally uses ... Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346