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
|
-- ==============================================================
-- GNUmed database schema change script
--
-- License: GPL v2 or later
-- Author: karsten.hilbert@gmx.net
--
-- ==============================================================
\set ON_ERROR_STOP 1
--set default_transaction_read_only to off;
-- --------------------------------------------------------------
delete from ref.paperwork_templates where name_long = 'Privatrechnung mit USt. (GNUmed-Vorgabe Deutschland)';
insert into ref.paperwork_templates (
fk_template_type,
instance_type,
name_short,
name_long,
external_version,
engine,
filename,
data
) values (
(select pk from ref.form_types where name = 'invoice'),
'invoice',
'PKV-Rg (D, mit USt.)',
'Privatrechnung mit USt. (GNUmed-Vorgabe Deutschland)',
'20.0',
'L',
'privatrechnung.tex',
'real template missing'::bytea
);
-- --------------------------------------------------------------
delete from ref.paperwork_templates where name_long = 'Privatrechnung ohne USt. (GNUmed-Vorgabe Deutschland)';
insert into ref.paperwork_templates (
fk_template_type,
instance_type,
name_short,
name_long,
external_version,
engine,
filename,
data
) values (
(select pk from ref.form_types where name = 'invoice'),
'invoice',
'PKV-Rg (D, ohne USt.)',
'Privatrechnung ohne USt. (GNUmed-Vorgabe Deutschland)',
'20.0',
'L',
'privatrechnung.tex',
'real template missing'::bytea
);
-- --------------------------------------------------------------
delete from ref.paperwork_templates where name_long = 'Begleitbrief ohne medizinische Daten [K.Hilbert]';
insert into ref.paperwork_templates (
fk_template_type,
instance_type,
name_short,
name_long,
external_version,
engine,
filename,
data
) values (
(select pk from ref.form_types where name = 'referral'),
'sonstiger Arztbrief',
'Begleitbrf o.med.Ang.[KH]',
'Begleitbrief ohne medizinische Daten [K.Hilbert]',
'20.0',
'L',
'begleitbrief.tex',
'real template missing'::bytea
);
-- --------------------------------------------------------------
select gm.log_script_insertion('v20-ref-paperwork_templates.sql', '20.0');
|