File: v9-ref-loinc-dynamic.sql

package info (click to toggle)
gnumed-server 22.31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 46,268 kB
  • sloc: sql: 1,217,633; python: 15,878; sh: 1,590; makefile: 20
file content (38 lines) | stat: -rw-r--r-- 1,208 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
-- ==============================================================
-- GNUmed database schema change script
--
-- License: GPL v2 or later
-- Author: Karsten Hilbert
-- 
-- ==============================================================
-- $Id: v9-ref-loinc-dynamic.sql,v 1.1 2008-03-05 22:35:13 ncq Exp $
-- $Revision: 1.1 $

-- --------------------------------------------------------------
\set ON_ERROR_STOP 1

-- --------------------------------------------------------------
grant select, insert, update, delete on
	ref.loinc,
	ref.loinc_pk_seq
to group "gm-doctors";


comment on table ref.loinc is
'Holds LOINC codes old and new. Refer to the LOINC
 documentation for complete column meanings';
comment on column ref.loinc.fk_data_source is
'points to a particular data source which in turn holds the version';

-- format on .code: nnnnn-n
--alter table ref.loinc add check ...;

-- --------------------------------------------------------------
select gm.log_script_insertion('$RCSfile: v9-ref-loinc-dynamic.sql,v $', '$Revision: 1.1 $');

-- ==============================================================
-- $Log: v9-ref-loinc-dynamic.sql,v $
-- Revision 1.1  2008-03-05 22:35:13  ncq
-- - added
--
--