Commit 5ba9fc9d authored by Wylem Bars's avatar Wylem Bars
Browse files

PATREG-33 | Postpone IT tests

parent 5cb23253
Pipeline #138515 failed with stages
in 3 minutes and 18 seconds
......@@ -2,8 +2,8 @@
-- PostgreSQL database dump
--
-- Dumped from database version 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)
-- Dumped by pg_dump version 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)
-- Dumped from database version 10.10 (Ubuntu 10.10-0ubuntu0.18.04.1)
-- Dumped by pg_dump version 10.10 (Ubuntu 10.10-0ubuntu0.18.04.1)
SET statement_timeout = 0;
SET lock_timeout = 0;
......@@ -17,74 +17,57 @@ SET client_min_messages = warning;
SET row_security = off;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
-- 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: pam_hierarchic_designator; Type: TABLE; Schema: public; Owner: gazelle
-- Name: uuid-ossp; Type: EXTENSION; Schema: -; Owner:
--
CREATE TABLE public.pam_hierarchic_designator (
id integer NOT NULL,
cat_usage boolean,
is_default boolean,
index integer,
namespace_id character varying(255),
prefix character varying(255),
is_tool_assigning_authority boolean,
type character varying(255),
universal_id character varying(255),
universal_id_type character varying(255),
usage integer
);
CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public;
ALTER TABLE public.pam_hierarchic_designator OWNER TO gazelle;
--
-- Name: pam_hierarchic_designator_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
-- Name: EXTENSION "uuid-ossp"; Type: COMMENT; Schema: -; Owner:
--
CREATE SEQUENCE public.pam_hierarchic_designator_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
COMMENT ON EXTENSION "uuid-ossp" IS 'generate universally unique identifiers (UUIDs)';
ALTER TABLE public.pam_hierarchic_designator_id_seq OWNER TO gazelle;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: pam_patient_identifier; Type: TABLE; Schema: public; Owner: gazelle
-- Name: affinity_domain; Type: TABLE; Schema: public; Owner: gazelle
--
CREATE TABLE public.pam_patient_identifier (
CREATE TABLE public.affinity_domain (
id integer NOT NULL,
full_patient_id character varying(255),
id_number character varying(255),
identifier_type_code character varying(255),
domain_id integer
description character varying(255),
keyword character varying(255),
label_to_display character varying(255),
profile character varying(255)
);
ALTER TABLE public.pam_patient_identifier OWNER TO gazelle;
ALTER TABLE public.affinity_domain OWNER TO gazelle;
--
-- Name: pam_patient_identifier_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
-- Name: affinity_domain_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
CREATE SEQUENCE public.pam_patient_identifier_id_seq
CREATE SEQUENCE public.affinity_domain_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
......@@ -92,43 +75,38 @@ CREATE SEQUENCE public.pam_patient_identifier_id_seq
CACHE 1;
ALTER TABLE public.pam_patient_identifier_id_seq OWNER TO gazelle;
ALTER TABLE public.affinity_domain_id_seq OWNER TO gazelle;
--
-- Name: pam_patient_patient_identifier; Type: TABLE; Schema: public; Owner: gazelle
-- Name: affinity_domain_transactions; Type: TABLE; Schema: public; Owner: gazelle
--
CREATE TABLE public.pam_patient_patient_identifier (
patient_id integer NOT NULL,
patient_identifier_id integer NOT NULL
CREATE TABLE public.affinity_domain_transactions (
affinity_domain_id integer NOT NULL,
transaction_id integer NOT NULL
);
ALTER TABLE public.pam_patient_patient_identifier OWNER TO gazelle;
ALTER TABLE public.affinity_domain_transactions OWNER TO gazelle;
--
-- Name: pam_person; Type: TABLE; Schema: public; Owner: gazelle
-- Name: app_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
CREATE TABLE public.pam_person (
CREATE TABLE public.app_configuration (
id integer NOT NULL,
contact_role_code character varying(255),
first_name character varying(255),
identifier character varying(255),
last_name character varying(255),
relationship_code character varying(255),
second_name character varying(255),
patient_id integer
value character varying(255),
variable character varying(255)
);
ALTER TABLE public.pam_person OWNER TO gazelle;
ALTER TABLE public.app_configuration OWNER TO gazelle;
--
-- Name: pam_person_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
-- Name: app_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
CREATE SEQUENCE public.pam_person_id_seq
CREATE SEQUENCE public.app_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
......@@ -136,30 +114,28 @@ CREATE SEQUENCE public.pam_person_id_seq
CACHE 1;
ALTER TABLE public.pam_person_id_seq OWNER TO gazelle;
ALTER TABLE public.app_configuration_id_seq OWNER TO gazelle;
--
-- Name: pam_phone_number; Type: TABLE; Schema: public; Owner: gazelle
-- Name: cfg_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
CREATE TABLE public.pam_phone_number (
CREATE TABLE public.cfg_configuration (
id integer NOT NULL,
type character varying(255),
value character varying(255),
dtype character varying(255),
is_principal boolean,
person_id integer,
patient_id integer
comment character varying(255),
approved boolean NOT NULL,
is_secured boolean,
host_id integer
);
ALTER TABLE public.pam_phone_number OWNER TO gazelle;
ALTER TABLE public.cfg_configuration OWNER TO gazelle;
--
-- Name: pam_phone_number_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
-- Name: cfg_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
CREATE SEQUENCE public.pam_phone_number_id_seq
CREATE SEQUENCE public.cfg_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
......@@ -167,87 +143,67 @@ CREATE SEQUENCE public.pam_phone_number_id_seq
CACHE 1;
ALTER TABLE public.pam_phone_number_id_seq OWNER TO gazelle;
ALTER TABLE public.cfg_configuration_id_seq OWNER TO gazelle;
--
-- Name: pat_patient; Type: TABLE; Schema: public; Owner: gazelle
-- Name: cfg_dicom_scp_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
CREATE TABLE public.pat_patient (
CREATE TABLE public.cfg_dicom_scp_configuration (
id integer NOT NULL,
alternate_first_name character varying(255),
alternate_last_name character varying(255),
alternate_mothers_maiden_name character varying(255),
alternate_second_name character varying(255),
alternate_third_name character varying(255),
character_set character varying(255),
country_code character varying(255),
creation_date timestamp without time zone,
date_of_birth timestamp without time zone,
first_name character varying(255),
gender_code character varying(255),
last_name character varying(255),
mother_maiden_name character varying(255),
race_code character varying(255),
religion_code character varying(255),
second_name character varying(255),
size integer,
third_name character varying(255),
weight integer,
account_number character varying(255),
birth_order integer,
birth_place_name character varying(255),
blood_group character varying(255),
creator character varying(255),
dmetaphone_first_name character varying(255),
dmetaphone_last_name character varying(255),
dmetaphone_mother_maiden_name character varying(255),
dtype character varying(255),
email character varying(255),
identity_reliability_code character varying(255),
last_update_facility character varying(255),
marital_status character varying(255),
multiple_birth_indicator boolean,
is_patient_dead boolean,
patient_death_time timestamp without time zone,
simulated_actor_keyword character varying(255),
still_active boolean,
is_test_data boolean,
uuid character varying(255),
vip_indicator character varying(255),
cross_reference_id integer
comments character varying(255),
ae_title character varying(16) NOT NULL,
modality_type character varying(255),
port integer,
port_secure integer,
transfer_role character varying(255) NOT NULL,
configuration_id integer NOT NULL,
gs_system_id integer,
sop_class_id integer NOT NULL
);
ALTER TABLE public.pat_patient OWNER TO gazelle;
ALTER TABLE public.cfg_dicom_scp_configuration OWNER TO gazelle;
--
-- Name: pat_patient_address; Type: TABLE; Schema: public; Owner: gazelle
-- Name: cfg_dicom_scp_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
CREATE TABLE public.pat_patient_address (
dtype character varying(31) NOT NULL,
CREATE SEQUENCE public.cfg_dicom_scp_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.cfg_dicom_scp_configuration_id_seq OWNER TO gazelle;
--
-- Name: cfg_dicom_scu_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
CREATE TABLE public.cfg_dicom_scu_configuration (
id integer NOT NULL,
address_line character varying(255),
address_type integer,
city character varying(255),
country_code character varying(255),
state character varying(255),
street_number character varying(255),
zip_code character varying(255),
is_main_address boolean,
patient_id integer,
person_id integer
comments character varying(255),
ae_title character varying(16) NOT NULL,
modality_type character varying(255),
port integer,
port_secure integer,
transfer_role character varying(255) NOT NULL,
configuration_id integer NOT NULL,
gs_system_id integer,
sop_class_id integer NOT NULL
);
ALTER TABLE public.pat_patient_address OWNER TO gazelle;
ALTER TABLE public.cfg_dicom_scu_configuration OWNER TO gazelle;
--
-- Name: pat_patient_address_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
-- Name: cfg_dicom_scu_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
CREATE SEQUENCE public.pat_patient_address_id_seq
CREATE SEQUENCE public.cfg_dicom_scu_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
......@@ -255,13 +211,30 @@ CREATE SEQUENCE public.pat_patient_address_id_seq
CACHE 1;
ALTER TABLE public.pat_patient_address_id_seq OWNER TO gazelle;
ALTER TABLE public.cfg_dicom_scu_configuration_id_seq OWNER TO gazelle;
--
-- Name: pat_patient_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
-- Name: cfg_hl7_initiator_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
CREATE SEQUENCE public.pat_patient_id_seq
CREATE TABLE public.cfg_hl7_initiator_configuration (
id integer NOT NULL,
comments character varying(255),
assigning_authority character varying(255),
sending_receiving_application character varying(255) NOT NULL,
sending_receiving_facility character varying(255) NOT NULL,
configuration_id integer NOT NULL,
gs_system_id integer
);
ALTER TABLE public.cfg_hl7_initiator_configuration OWNER TO gazelle;
--
-- Name: cfg_hl7_initiator_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
CREATE SEQUENCE public.cfg_hl7_initiator_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
......@@ -269,26 +242,33 @@ CREATE SEQUENCE public.pat_patient_id_seq
CACHE 1;
ALTER TABLE public.pat_patient_id_seq OWNER TO gazelle;
ALTER TABLE public.cfg_hl7_initiator_configuration_id_seq OWNER TO gazelle;
--
-- Name: pix_cross_reference; Type: TABLE; Schema: public; Owner: gazelle
-- Name: cfg_hl7_responder_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
CREATE TABLE public.pix_cross_reference (
CREATE TABLE public.cfg_hl7_responder_configuration (
id integer NOT NULL,
last_changed timestamp without time zone,
last_modifier character varying(255)
comments character varying(255),
assigning_authority character varying(255),
sending_receiving_application character varying(255) NOT NULL,
sending_receiving_facility character varying(255) NOT NULL,
port integer,
port_out integer,
port_secure integer,
configuration_id integer NOT NULL,
gs_system_id integer
);
ALTER TABLE public.pix_cross_reference OWNER TO gazelle;
ALTER TABLE public.cfg_hl7_responder_configuration OWNER TO gazelle;
--
-- Name: pix_cross_reference_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
-- Name: cfg_hl7_responder_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
CREATE SEQUENCE public.pix_cross_reference_id_seq
CREATE SEQUENCE public.cfg_hl7_responder_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
......@@ -296,153 +276,4383 @@ CREATE SEQUENCE public.pix_cross_reference_id_seq
CACHE 1;
ALTER TABLE public.pix_cross_reference_id_seq OWNER TO gazelle;
ALTER TABLE public.cfg_hl7_responder_configuration_id_seq OWNER TO gazelle;
--
-- Name: pam_hierarchic_designator pam_hierarchic_designator_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_hl7_v3_initiator_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pam_hierarchic_designator
ADD CONSTRAINT pam_hierarchic_designator_pkey PRIMARY KEY (id);
CREATE TABLE public.cfg_hl7_v3_initiator_configuration (
id integer NOT NULL,
comments character varying(255),
assigning_authority character varying(255),
sending_receiving_application character varying(255) NOT NULL,
sending_receiving_facility character varying(255) NOT NULL,
configuration_id integer NOT NULL,
gs_system_id integer
);
ALTER TABLE public.cfg_hl7_v3_initiator_configuration OWNER TO gazelle;
--
-- Name: pam_patient_identifier pam_patient_identifier_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_hl7_v3_initiator_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pam_patient_identifier
ADD CONSTRAINT pam_patient_identifier_pkey PRIMARY KEY (id);
CREATE SEQUENCE public.cfg_hl7_v3_initiator_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.cfg_hl7_v3_initiator_configuration_id_seq OWNER TO gazelle;
--
-- Name: pam_person pam_person_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_hl7_v3_responder_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pam_person
ADD CONSTRAINT pam_person_pkey PRIMARY KEY (id);
CREATE TABLE public.cfg_hl7_v3_responder_configuration (
id integer NOT NULL,
comments character varying(255),
assigning_authority character varying(255),
sending_receiving_application character varying(255) NOT NULL,
sending_receiving_facility character varying(255) NOT NULL,
port integer,
port_secured integer,
url character varying(255) NOT NULL,
usage character varying(255),
configuration_id integer NOT NULL,
gs_system_id integer
);
ALTER TABLE public.cfg_hl7_v3_responder_configuration OWNER TO gazelle;
--
-- Name: pam_phone_number pam_phone_number_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_hl7_v3_responder_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pam_phone_number
ADD CONSTRAINT pam_phone_number_pkey PRIMARY KEY (id);
CREATE SEQUENCE public.cfg_hl7_v3_responder_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.cfg_hl7_v3_responder_configuration_id_seq OWNER TO gazelle;
--
-- Name: pat_patient_address pat_patient_address_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_host; Type: TABLE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pat_patient_address
ADD CONSTRAINT pat_patient_address_pkey PRIMARY KEY (id);
CREATE TABLE public.cfg_host (
id integer NOT NULL,
alias character varying(255),
comment character varying(255),
hostname character varying(255) NOT NULL,
ip character varying(255)
);
ALTER TABLE public.cfg_host OWNER TO gazelle;
--
-- Name: pat_patient pat_patient_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_host_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pat_patient
ADD CONSTRAINT pat_patient_pkey PRIMARY KEY (id);
CREATE SEQUENCE public.cfg_host_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.cfg_host_id_seq OWNER TO gazelle;
--
-- Name: pix_cross_reference pix_cross_reference_pkey; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_sop_class; Type: TABLE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pix_cross_reference
ADD CONSTRAINT pix_cross_reference_pkey PRIMARY KEY (id);
CREATE TABLE public.cfg_sop_class (
id integer NOT NULL,
keyword character varying(255) NOT NULL,
name character varying(255)
);
ALTER TABLE public.cfg_sop_class OWNER TO gazelle;
--
-- Name: pam_patient_identifier uk3xtcsyky3tf2htxn89q019mgw; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_sop_class_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pam_patient_identifier
ADD CONSTRAINT uk3xtcsyky3tf2htxn89q019mgw UNIQUE (full_patient_id, identifier_type_code);
CREATE SEQUENCE public.cfg_sop_class_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.cfg_sop_class_id_seq OWNER TO gazelle;
--
-- Name: pam_patient_patient_identifier ukelwqa9mo5gr8aaff9n5rb1td2; Type: CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_syslog_configuration; Type: TABLE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pam_patient_patient_identifier
ADD CONSTRAINT ukelwqa9mo5gr8aaff9n5rb1td2 UNIQUE (patient_id, patient_identifier_id);
CREATE TABLE public.cfg_syslog_configuration (
id integer NOT NULL,
comments character varying(255),
port integer,
configuration_id integer NOT NULL,
gs_system_id integer
);
ALTER TABLE public.cfg_syslog_configuration OWNER TO gazelle;
--
-- Name: pam_patient_identifier fk1a83v0783ptcr4axd7kq2ea7u; Type: FK CONSTRAINT; Schema: public; Owner: gazelle
-- Name: cfg_syslog_configuration_id_seq; Type: SEQUENCE; Schema: public; Owner: gazelle
--
ALTER TABLE ONLY public.pam_patient_identifier
ADD CONSTRAINT fk1a83v0783ptcr4axd7kq2ea7u FOREIGN KEY (domain_id) REFERENCES public.pam_hierarchic_designator(id);
CREATE SEQUENCE public.cfg_syslog_configuration_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE public.cfg_syslog_configuration_id_seq OWNER TO gazelle;
--