create sequence hrk_portal_hrk_portal_id_seq;

create table hrk_portal
(
	hrk_portal_id integer default nextval('hrk_portal_hrk_portal_id_seq'::regclass) not null
		constraint hrk_portal_pkey
			primary key,
	id_patient uuid,
	id_room_appointment_study_receipt uuid,
	state varchar(15),
	code_response integer,
	message_response varchar(255),
	current timestamp(6) default (('now'::text)::timestamp without time zone)::timestamp(0) without time zone
);

