File: gmClin-EMR-Structure-data.sql

package info (click to toggle)
gnumed-server 21.11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 45,408 kB
  • ctags: 3,891
  • sloc: sql: 1,210,640; python: 13,526; sh: 1,476; makefile: 19
file content (49 lines) | stat: -rw-r--r-- 2,257 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
39
40
41
42
43
44
45
46
47
48
49
-- Project: GNUmed - EMR structure related tables:
--		- health issues
--		- encounters
--		- episodes
-- ===================================================================
-- $Source: /home/ncq/Projekte/cvs2git/vcs-mirror/gnumed/gnumed/server/sql/gmClin-EMR-Structure-data.sql,v $
-- $Revision: 1.1 $
-- license: GPL v2 or later
-- author: Ian Haywood, Karsten Hilbert

-- ===================================================================
-- force terminate + exit(3) on errors if non-interactive
\set ON_ERROR_STOP 1

-- ===================================================================
--		self.__consultation_types = [
--			_('in surgery'),
--			_('home visit'),
--			_('by phone'),
--			_('at specialist'),
--			_('patient absent'),
--			_('by email'),
--			_('other consultation')
--		]
INSERT INTO clin.encounter_type (description) values (i18n.i18n('in surgery'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('phone consultation'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('fax consultation'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('home visit'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('nursing home visit'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('repeat script'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('hospital visit'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('video conference'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('proxy encounter'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('emergency encounter'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('chart review'));
INSERT INTO clin.encounter_type (description) values (i18n.i18n('other encounter'));



-- ===================================================================
-- do simple schema revision tracking
select log_script_insertion('$RCSfile: gmClin-EMR-Structure-data.sql,v $', '$Revision: 1.1 $');

-- ===================================================================
-- $Log: gmClin-EMR-Structure-data.sql,v $
-- Revision 1.1  2006-02-10 14:08:58  ncq
-- - factor out EMR structure clinical schema into its own set of files
--
--