/var/lib/gnumed/server/sql/gmConfigData.sql is in gnumed-server 21.15-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 | -- ===================================================
-- GNUmed default config data
-- author: Karsten Hilbert <Karsten.Hilbert@gmx.net>
-- license: GPL v2 or later
-- $Source: /home/ncq/Projekte/cvs2git/vcs-mirror/gnumed/gnumed/server/sql/gmConfigData.sql,v $
-- $Revision: 1.30 $
-- ===================================================
-- force terminate + exit(3) on errors if non-interactive
\set ON_ERROR_STOP 1
-- ===================================================
INSERT INTO cfg.distributed_db(name) values('default');
INSERT INTO cfg.distributed_db(name) values('personalia');
INSERT INTO cfg.distributed_db(name) values('historica');
INSERT INTO cfg.distributed_db(name) values('pharmaceutica');
INSERT INTO cfg.distributed_db(name) values('reference');
INSERT INTO cfg.distributed_db(name) values('blobs');
insert into cfg.distributed_db(name) values('administrivia');
-- =============================================
INSERT INTO cfg.cfg_type_enum VALUES ('string');
INSERT INTO cfg.cfg_type_enum VALUES ('numeric');
INSERT INTO cfg.cfg_type_enum VALUES ('str_array');
insert into cfg.cfg_type_enum values ('data');
-- =============================================
-- template
insert into cfg.cfg_template
(name, type, description)
values (
'horstspace.notebook.plugin_load_order',
'str_array',
'which plugins to load in the GUI'
);
-- a 'workplace' called "post-Librarian (0.3)"
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'post-Librarian Release (0.3)'
);
insert into cfg.cfg_str_array
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
'{"gmProviderInboxPlugin","gmNotebookedPatientEditionPlugin","gmEMRBrowserPlugin","gmNotebookedProgressNoteInputPlugin","gmEMRJournalPlugin","gmShowMedDocs","gmScanIdxMedDocsPlugin","gmManual","gmConfigRegistry"}'
);
-- a 'workplace' called "Librarian Release (0.2)"
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'Librarian Release (0.2)'
);
insert into cfg.cfg_str_array
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
'{"gmProviderInboxPlugin","gmNotebookedPatientEditionPlugin","gmEMRBrowserPlugin","gmNotebookedProgressNoteInputPlugin","gmEMRJournalPlugin","gmShowMedDocs","gmScanIdxMedDocsPlugin","gmManual","gmConfigRegistry"}'
);
-- Arbeitsplatz Labor
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'Labor'
);
insert into cfg.cfg_str_array
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
'{"gmShowLab","gmLabJournal","gmConfigRegistry"}'
);
-- Arbeitsplatz (Dokumenten)archiv
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'Dokumente'
);
insert into cfg.cfg_str_array
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
'{"gmShowMedDocs","gmIndexMedDocs","gmScanMedDocs","gmConfigRegistry"}'
);
-- Arbeitsplatz Sprechzimmer 1
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'Sprechzimmer 1'
);
insert into cfg.cfg_str_array
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
'{"gmShowLab","gmLabJournal","gmShowMedDocs","gmIndexMedDocs","gmScanMedDocs","gmConfigRegistry"}'
);
-- Arbeitsplatz Kinderarzt
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'Kinderarzt'
);
insert into cfg.cfg_str_array
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
'{"gmVaccinationsPlugin","gmShowMedDocs","gmShowLab","gmConfigRegistry"}'
);
-- Arbeitsplatz Archivbrowser
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'Archivbrowser'
);
insert into cfg.cfg_str_array
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
'{"gmOffice","gmShowMedDocs","gmShowLab","gmLabJournal","gmVaccinationsPlugin","gmAllergiesPlugin","gmConfigRegistry"}'
);
-- Arbeitsplatz Impfbrowser
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'Impfungen'
);
insert into cfg.cfg_str_array
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
'{"gmVaccinationsPlugin","gmConfigRegistry"}'
);
-- ---------------------------------------------
-- search behaviour options
-- dismiss or keep previously active patient
insert into cfg.cfg_template
(name, type, description)
values (
'patient_search.always_dismiss_previous_patient',
'numeric',
'1/0, meaning true/false,
if true: dismiss previous patient regardless of search result,
if false: keep previous patient active if no new patient found'
);
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'xxxDEFAULTxxx'
);
-- default to false as code hasn't been verified for true
insert into cfg.cfg_numeric
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
0
);
-- reload patient data after search even if same patient
insert into cfg.cfg_template
(name, type, description)
values (
'patient_search.always_reload_new_patient',
'numeric',
'1/0, meaning true/false,
if true: reload patient data after search even if the new patient is the same as the previous one,
if false: do not reload data if new patient matches previous one'
);
insert into cfg.cfg_item
(fk_template, owner, workplace)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx',
'xxxDEFAULTxxx'
);
-- default to false
insert into cfg.cfg_numeric
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
0
);
-- scan & index behaviour options ------------------------------
-- show document ID after import
insert into cfg.cfg_template
(name, type, description)
values (
'horstspace.scan_index.show_doc_id',
'numeric',
'1/0, meaning true/false,
True: after importing a new document display the document ID,
False: do not display the document ID for a new document after import'
);
insert into cfg.cfg_item
(fk_template, owner)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx'
);
-- default to True
insert into cfg.cfg_numeric
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
1
);
-- horst space temp dir
insert into cfg.cfg_template
(name, type, description)
values (
'horstspace.tmp_dir',
'string',
'temporary directory to use as scratch space'
);
insert into cfg.cfg_item
(fk_template, owner)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx'
);
-- BLOBs export chunk size
insert into cfg.cfg_template
(name, type, description)
values (
'horstspace.blob_export_chunk_size',
'numeric',
'if a blob (IOW a bytea field) is larger than
this (in bytes), it will be exported in chunks of
this size plus the remainder'
);
insert into cfg.cfg_item
(fk_template, owner)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx'
);
-- default to 1 MB
insert into cfg.cfg_numeric
(fk_item, value)
values (
currval('cfg.cfg_item_pk_seq'),
1048576
);
-- review docs after displaying them
insert into cfg.cfg_template
(name, type, description)
values (
'horstspace.document_viewer.review_after_display',
'numeric',
'Whether to display the document review dialog after
displaying a document:
0 - never
1 - always
2 - only if there does not exist any review by the current user'
);
insert into cfg.cfg_item
(fk_template, owner)
values (
currval('cfg.cfg_template_pk_seq'),
'xxxDEFAULTxxx'
);
-- default to always
insert into cfg.cfg_numeric (fk_item, value)
values (currval('cfg.cfg_item_pk_seq'), 1);
-- =============================================
-- do simple schema revision tracking
select log_script_insertion('$RCSfile: gmConfigData.sql,v $', '$Revision: 1.30 $');
-- =============================================
-- $Log: gmConfigData.sql,v $
-- Revision 1.30 2006-08-15 17:09:20 ncq
-- - re-add Librarian Release workplace
--
-- Revision 1.29 2006/08/12 12:44:53 ncq
-- - 0.3 is now in order
--
-- Revision 1.28 2006/05/15 13:42:52 ncq
-- - move Manual plugin further back in line
--
-- Revision 1.27 2006/02/27 15:38:35 ncq
-- - add option whether to display review after doc
--
-- Revision 1.26 2006/01/16 22:12:00 ncq
-- - add blobs export chunk size option
--
-- Revision 1.25 2006/01/15 14:32:15 ncq
-- - add provider inbox to "Release 0.2" workplace
--
-- Revision 1.24 2006/01/13 11:17:02 ncq
-- - tmp_dir needs item template
--
-- Revision 1.23 2006/01/01 17:20:47 ncq
-- - add Horstspace client temporary directory option
--
-- Revision 1.22 2005/12/14 11:42:21 ncq
-- - we don't have cfg_boolean but rather use cfg_numeric
--
-- Revision 1.21 2005/12/14 10:43:33 ncq
-- - add option on showing document ID after import
-- - several clin.clin_* -> clin.* renames
--
-- Revision 1.20 2005/11/27 12:59:56 ncq
-- - add ScanIdxMedDocsPlugin to Librarian 0.2 release config
--
-- Revision 1.19 2005/11/18 15:41:45 ncq
-- - add data from gmconfiguration.sql
-- - adjust for cfg.* schema usage
-- - remove stale KnoppixMedica workplace
--
-- Revision 1.18 2005/11/01 08:53:25 ncq
-- - add document viewer to 0.2 workplace plugin config
--
-- Revision 1.17 2005/10/30 21:37:07 ncq
-- - add "Librarian Release (0.2)" config
--
-- Revision 1.16 2005/09/19 16:38:51 ncq
-- - adjust to removed is_core from gm_schema_revision
--
-- Revision 1.15 2005/09/11 17:44:02 ncq
-- - add patient_search.always_reload_new_patient option
--
-- Revision 1.14 2005/07/14 21:31:42 ncq
-- - partially use improved schema revision tracking
--
-- Revision 1.13 2005/05/30 09:14:52 ncq
-- - make notebooked patient editor the default
--
-- Revision 1.12 2005/05/24 19:58:39 ncq
-- - favour notebook over sash for progress note input, the
-- code is more maintainable
--
-- Revision 1.11 2005/05/08 21:51:20 ncq
-- - add notebooked progress note editor to Release 0.1 config
--
-- Revision 1.10 2005/04/12 16:35:42 ncq
-- - add journal as alternative view for EMR
--
-- Revision 1.9 2005/04/02 22:32:50 ncq
-- - move closer to compliance with 0.1 roadmap
--
-- Revision 1.8 2005/03/20 18:08:37 ncq
-- - add multisashed progress note input to "Release 0.1" as notebook plugin
--
-- Revision 1.7 2005/03/08 13:33:35 ncq
-- - added workplace "Release 0.1"
--
-- Revision 1.6 2005/01/09 19:49:39 ncq
-- - add vaccination browser workplace definition
--
-- Revision 1.5 2004/10/19 22:18:34 sjtan
-- fix syntax error end bracket.
--
-- Revision 1.4 2004/10/01 13:26:15 ncq
-- - add workplace "KnoppixMedica" CD user
--
-- Revision 1.3 2004/09/13 19:25:56 ncq
-- - "plugin load order" with cookie "gui" now "horstspace.notebook.plugin_load_order"
--
-- Revision 1.2 2004/08/20 13:25:15 ncq
-- - add patient_search.always_dismiss_previous_patient
--
-- Revision 1.1 2004/07/19 14:41:55 ncq
-- - added some example workplaces
--
|