-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathprivatehub.sql
More file actions
122 lines (97 loc) · 2.94 KB
/
privatehub.sql
File metadata and controls
122 lines (97 loc) · 2.94 KB
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
--
-- PostgreSQL database dump
--
-- Dumped from database version 10.19 (Ubuntu 10.19-0ubuntu0.18.04.1)
-- Dumped by pg_dump version 10.19 (Ubuntu 10.19-0ubuntu0.18.04.1)
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: DATABASE dev_privatehub; Type: COMMENT; Schema: -; Owner: dev_admin
--
COMMENT ON DATABASE dev_privatehub IS 'Database to contain restricted access data.';
--
-- Name: switzerland; Type: SCHEMA; Schema: -; Owner: dev_admin
--
CREATE SCHEMA switzerland;
ALTER SCHEMA switzerland OWNER TO dev_admin;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: hug_hosp_data; Type: TABLE; Schema: switzerland; Owner: dev_epigraph
--
CREATE TABLE switzerland.hug_hosp_data (
index bigint,
"Date_Entry" text,
"ID " bigint,
"Patient_id" text,
"Week_ID" bigint,
"Week" bigint,
"Year" bigint,
"Date_Exit" text,
"DOH" double precision,
"Sex" double precision,
"Age" text,
"Current_Hosp" bigint,
"Death" double precision,
"Week_ID_death" double precision,
"Week_death" text,
"Post_Cov" double precision,
"Serology" text,
"Serology_U" text,
"Serology_C" text,
"Dropout" text,
"IMS " double precision,
"IMS_Cause" text,
"Vaccination_Swiss" text,
"Vaccination_Status" text,
"Vaccin_Type" text,
"Vaccin_Date_Month" text,
"Vaccin_Date_Year" text,
"Time_vax_to_infection" text,
"Vaccination_3rd_dose" text,
"Vaccine3_Date_Month" text,
"Vaccine3_Date_Year" text,
"Hosp_Ped" double precision,
"PIMS" double precision,
"Hosp_Severity" bigint,
"Hosp_Bed_W44" double precision,
"Hosp_Bed_W45" double precision,
"Hosp_Bed_W46" text,
"Hosp_Bed_W47" double precision,
"Hosp_Bed_W48" double precision,
"Hosp_Bed_W49" double precision,
"Hosp_Bed_W50" double precision,
"Hosp_Bed_W51" double precision,
"Hosp_Bed_W52" double precision,
"ICU_IN" double precision,
"ICU_OUT" double precision,
"Cov_Noso" text,
"Cov_Rap" double precision,
"Cov_Foreign" double precision,
"Cov_Country" text,
"Cov_NH" double precision
);
ALTER TABLE switzerland.hug_hosp_data OWNER TO dev_epigraph;
--
-- Name: ix_switzerland_hug_hosp_data_index; Type: INDEX; Schema: switzerland; Owner: dev_epigraph
--
CREATE INDEX ix_switzerland_hug_hosp_data_index ON switzerland.hug_hosp_data USING btree (index);
--
-- PostgreSQL database dump complete
--