/gnumed-server.16.14/server/sql/country.specific/de/gmDemographics-Data.de.sql

# · SQL · 60 lines · 7 code · 5 blank · 48 comment · 0 complexity · 09821db6642020e48f6bd769d2a49e2a MD5 · raw file

  1. -- GNUmed
  2. -- $Source: /home/ncq/Projekte/cvs2git/vcs-mirror/gnumed/gnumed/server/sql/country.specific/de/gmDemographics-Data.de.sql,v $
  3. -- $Revision: 1.6 $
  4. -- license: GPL v2 or later
  5. -- author: Karsten Hilbert <Karsten.Hilbert@gmx.net>
  6. -- =============================================
  7. -- force terminate + exit(3) on errors if non-interactive
  8. \set ON_ERROR_STOP 1
  9. set client_encoding to 'LATIN1';
  10. -- =============================================
  11. -- external ID types
  12. insert into dem.enum_ext_id_types (name, issuer, context) values ('KV-Nummer', 'KV', 'c');
  13. insert into dem.enum_ext_id_types (name, issuer, context) values ('Mitgliedsnummer', 'Krankenkasse', 'p');
  14. insert into dem.enum_ext_id_types (name, issuer, context) values ('BLZ', 'Bank', 'o');
  15. --insert into dem.enum_ext_id_types (name, issuer, context) values ('', '', '');
  16. -- =============================================
  17. -- do simple revision tracking
  18. delete from gm_schema_revision where filename = '$RCSfile: gmDemographics-Data.de.sql,v $';
  19. INSERT INTO gm_schema_revision (filename, version) VALUES('$RCSfile: gmDemographics-Data.de.sql,v $', '$Revision: 1.6 $');
  20. -- =============================================
  21. -- $Log: gmDemographics-Data.de.sql,v $
  22. -- Revision 1.6 2006-01-06 10:12:02 ncq
  23. -- - add missing grants
  24. -- - add_table_for_audit() now in "audit" schema
  25. -- - demographics now in "dem" schema
  26. -- - add view v_inds4vaccine
  27. -- - move staff_role from clinical into demographics
  28. -- - put add_coded_term() into "clin" schema
  29. -- - put German things into "de_de" schema
  30. --
  31. -- Revision 1.5 2005/09/19 16:38:52 ncq
  32. -- - adjust to removed is_core from gm_schema_revision
  33. --
  34. -- Revision 1.4 2005/07/14 21:31:43 ncq
  35. -- - partially use improved schema revision tracking
  36. --
  37. -- Revision 1.3 2005/03/31 20:10:16 ncq
  38. -- - aggregate translations
  39. --
  40. -- Revision 1.2 2004/03/04 10:53:07 ncq
  41. -- - add a bunch of external id types
  42. --
  43. -- Revision 1.1 2003/08/05 08:16:00 ncq
  44. -- - cleanup/renaming
  45. --
  46. -- Revision 1.3 2003/06/11 14:03:44 ncq
  47. -- - set encoding
  48. --
  49. -- Revision 1.2 2003/05/12 12:43:40 ncq
  50. -- - gmI18N, gmServices and gmSchemaRevision are imported globally at the
  51. -- database level now, don't include them in individual schema file anymore
  52. --
  53. -- Revision 1.1 2003/01/22 23:40:18 ncq
  54. -- - first version
  55. --