-- Inserta usuarios administradores (contraseña Hash MD5 'admin' para todos)
insert into myhealth.administrator (email, password) values 
('admin@example.com', '21232F297A57A5A743894A0E4A801FC3')
,('marcos@example.com', '21232F297A57A5A743894A0E4A801FC3');

-- Insertar Algunos centros médicos
INSERT INTO myhealth.primaryhealthcarecenter(name, location) VALUES
('Centro Saude A Doblada',' Calle Rua Faisan S/N')
,('Centro Saude Bembrive',' Carretera Bembrive 259')
,('Centro Saude Bolivia',' Calle Pizarro 22')
,('Centro Saude Casco Vello',' Plaza Constitucion 7')
,('Centro Saude Coia',' Calle Ponteareas S/N')
,('Centro Saude Colmeiro',' Calle Pintor Colmeiro 11')
,('Centro Saude Coruxo',' Calle Rua Jose Rivas Carrasqueira S/N')
,('Centro Saude Lavadores',' Travesia Barreiro 1 36')
,('Centro Saude Lopez Mora',' Calle Lopez Mora 54')
,('Centro Saude Matama',' Camino Camiño Babio-As Carneiras S/N')
,('Centro Saude Nicolas Peña',' Camino Camiño Regueiro S/N')
,('Centro Saude Rosalia De Castro-Beiramar',' Calle Rosalia De Castro 21')
,('Centro Saude Rua Cuba',' Calle Cuba 10')
,('Centro Saude San Paio De Navia',' Calle Poza Cabalo S/N')
,('Centro Saude Sardoma',' Calle Rua Canteira De Balin 76')
,('Centro Saude Teis',' Calle Angela Iglesias Rebollar S/N');

-- Inserta Especialidades médicas
insert into MyHealth.MedicalSpecialty(name, description) values 
('Alergologia','Especialidad médica de Alergologia')
,('Cirugía cardiaca','Especialidad médica de Cirugía cardiaca')
,('Cirugía general','Especialidad médica de Cirugía general')
,('Cirugía plastica','Especialidad médica de Cirugía plastica')
,('Cirugía de mama','Especialidad médica de Cirugía de mama')
,('Cirugía maxilofacial','Especialidad médica de Cirugía maxilofacial')
,('Cirugía vascular','Especialidad médica de Cirugía vascular')
,('Dermatología','Especialidad médica de Dermatología')
,('Endocrinología y nutrición','Especialidad médica de Endocrinología y nutrición')
,('Gastroenterología- digestivo','Especialidad médica de Gastroenterología- digestivo')
,('Neurocirugía','Especialidad médica de Neurocirugía')
,('Oftalmología','Especialidad médica de Oftalmología')
,('Otorrinolaringologia','Especialidad médica de Otorrinolaringologia')
,('Oncología','Especialidad médica de Oncología')
,('Pediatría','Especialidad médica de Pediatría');

-- Insertar médicos de familia
INSERT INTO myhealth.familydoctor(professionalnumber, password, nif, surname, email, name, primaryhealthcarecenterid) VALUES 
('PRO#100','912EC803B2CE49E4A541068D495AB570','95874388S','Moran Ortiz', 'Xian@example.com','Xian', 1)
,('PRO#101','912EC803B2CE49E4A541068D495AB570','59546140Z','Zambrano Rivas', 'Belen@example.com','Belen', 2)
,('PRO#102','912EC803B2CE49E4A541068D495AB570','16354100L','Cuevas Luque', 'Fernando@example.com','Fernando', 3)
,('PRO#103','912EC803B2CE49E4A541068D495AB570','32662259M','Becerra Muñiz', 'Luis@example.com','Luis', 4)
,('PRO#104','912EC803B2CE49E4A541068D495AB570','70600712G','Aznar Silva', 'Ana@example.com','Ana', 5)
,('PRO#105','912EC803B2CE49E4A541068D495AB570','08003806J','Galvez Sancho', 'Alfonso@example.com','Alfonso', 6)
,('PRO#106','912EC803B2CE49E4A541068D495AB570','19567288S','Criado Marti', 'Jordi@example.com','Jordi', 7)
,('PRO#107','912EC803B2CE49E4A541068D495AB570','95413653Q','Estevez Mena', 'Barbara@example.com','Barbara', 8)
,('PRO#108','912EC803B2CE49E4A541068D495AB570','90914444K','Godoy Alcaide', 'Amalia@example.com','Amalia', 9)
,('PRO#109','912EC803B2CE49E4A541068D495AB570','05709869G','Lucas Wang', 'Carmelo@example.com','Carmelo', 10);

-- Insertar médicos especialistas
INSERT INTO myhealth.specialistdoctor(professionalnumber, password, nif, surname, email, name, medicalspecialtyid) VALUES 
('PRO#110','912EC803B2CE49E4A541068D495AB570','87719252N','Vazquez Cruz', 'Luciano@example.com','Luciano', 1),
('PRO#111','912EC803B2CE49E4A541068D495AB570','79412306E','Alcaide Mesa', 'Gregorio@example.com','Gregorio', 2),
('PRO#112','912EC803B2CE49E4A541068D495AB570','45727688P','Herranz Soria', 'Candida@example.com','Candida', 3),
('PRO#113','912EC803B2CE49E4A541068D495AB570','65061962E','Galvez Vives', 'Nora@example.com','Nora', 4),
('PRO#114','912EC803B2CE49E4A541068D495AB570','07359870P','Rojas Alonso', 'Anton@example.com','Anton', 5),
('PRO#115','912EC803B2CE49E4A541068D495AB570','14117403A','Lorente Carmona', 'Sheila@example.com','Sheila', 6),
('PRO#116','912EC803B2CE49E4A541068D495AB570','79864477J','Gonzalo Bonet', 'Nicolas@example.com','Nicolas', 7),
('PRO#117','912EC803B2CE49E4A541068D495AB570','22761129F','Bonet Ariza', 'Aroa@example.com','Aroa', 8),
('PRO#118','912EC803B2CE49E4A541068D495AB570','99693813Z','Soria Singh', 'Cristian@example.com','Cristian', 9),
('PRO#119','912EC803B2CE49E4A541068D495AB570','04431824T','Requena Calderon', 'Ferran@example.com','Ferran', 10),
('PRO#120','912EC803B2CE49E4A541068D495AB570','27476123R','Angulo Zamora', 'Ana@example.com','Ana', 11),
('PRO#121','912EC803B2CE49E4A541068D495AB570','63200346A','Chen Collado', 'Manuel@example.com',' Manuel', 1),
('PRO#122','912EC803B2CE49E4A541068D495AB570','87556441H','Font Bonilla', 'Florencio@example.com',' Florencio', 2),
('PRO#123','912EC803B2CE49E4A541068D495AB570','62522538M','Calderon Sole', 'Gorka@example.com',' Gorka', 3),
('PRO#124','912EC803B2CE49E4A541068D495AB570','52266613X','Peña Bello', 'Lucas@example.com',' Lucas', 4),
('PRO#125','912EC803B2CE49E4A541068D495AB570','35226066W','Baena Franco', 'Jose Enrique@example.com',' Jose Enrique', 5),
('PRO#126','912EC803B2CE49E4A541068D495AB570','05411704B','Baena Huerta', 'Noelia@example.com',' Noelia', 6),
('PRO#127','912EC803B2CE49E4A541068D495AB570','70639052A','Galvan Riera', 'Maria Nieves@example.com',' Maria Nieves', 7),
('PRO#128','912EC803B2CE49E4A541068D495AB570','51441755R','Alcaide Rubio', 'Juan@example.com',' Juan', 8),
('PRO#129','912EC803B2CE49E4A541068D495AB570','46690797S','Crespo Hidalgo', 'Esther@example.com',' Esther', 9),
('PRO#130','912EC803B2CE49E4A541068D495AB570','51872299P','Arenas Arce', 'Armando@example.com',' Armando', 10),
('PRO#131','912EC803B2CE49E4A541068D495AB570','80243349Y','Otero Pineda', 'Jorge@example.com',' Jorge', 11),
('PRO#132','912EC803B2CE49E4A541068D495AB570','36255263H','Calero Vargas', 'Ramon@example.com',' Ramon', 12),
('PRO#133','912EC803B2CE49E4A541068D495AB570','01524357D','Espinosa Burgos', 'Sheila@example.com',' Sheila', 13),
('PRO#134','912EC803B2CE49E4A541068D495AB570','81172042M','Aparicio Herranz', 'Iris@example.com',' Iris', 14),
('PRO#135','912EC803B2CE49E4A541068D495AB570','37020368M','Toro Rosales', 'Iria@example.com',' Iria', 15),
('PRO#136','912EC803B2CE49E4A541068D495AB570','09345033H','Paz Saenz', 'Gonzalo@example.com',' Gonzalo', 1),
('PRO#137','912EC803B2CE49E4A541068D495AB570','32994133N','Borrego Vaquero', 'Rafaela@example.com',' Rafaela', 2),
('PRO#138','912EC803B2CE49E4A541068D495AB570','43792071W','Bravo Escobar', 'Jose Antonio@example.com',' Jose Antonio', 3),
('PRO#139','912EC803B2CE49E4A541068D495AB570','07487280K','Hidalgo Pino', 'Marc@example.com',' Marc', 4),
('PRO#140','912EC803B2CE49E4A541068D495AB570','41863652H','Pardo Carrasco', 'Maria Concepcion@example.com',' Maria Concepcion', 5),
('PRO#141','912EC803B2CE49E4A541068D495AB570','41825932H','Santos Peinado', 'Maria Teresa@example.com',' Maria Teresa', 6),
('PRO#142','912EC803B2CE49E4A541068D495AB570','17982798H','Nieto Barbero', 'Vicenta@example.com',' Vicenta', 7),
('PRO#143','912EC803B2CE49E4A541068D495AB570','57918141R','Carretero Guzman', 'Erika@example.com',' Erika', 8),
('PRO#144','912EC803B2CE49E4A541068D495AB570','03218286B','Guerrero Soler', 'Maria Ines@example.com',' Maria Ines', 9),
('PRO#145','912EC803B2CE49E4A541068D495AB570','88738850C','Moya Guerrero', 'Leire@example.com',' Leire', 10),
('PRO#146','912EC803B2CE49E4A541068D495AB570','27168645X','Rivas Sierra', 'Maria Gracia@example.com',' Maria Gracia', 11),
('PRO#147','912EC803B2CE49E4A541068D495AB570','03108836H','Mora Valero', 'Roman@example.com',' Roman', 12),
('PRO#148','912EC803B2CE49E4A541068D495AB570','53624378Q','Aranda Santamaria', 'Gerardo@example.com',' Gerardo', 13),
('PRO#149','912EC803B2CE49E4A541068D495AB570','04604817X','Galvez Reyes', 'Pedro Manuel@example.com',' Pedro Manuel', 14),
('PRO#150','912EC803B2CE49E4A541068D495AB570','00874222S','Lopez Singh', 'Francisco Jose@example.com',' Francisco Jose', 15),
('PRO#151','912EC803B2CE49E4A541068D495AB570','97800629Y','Reyes Paez', 'David@example.com',' David', 1),
('PRO#152','912EC803B2CE49E4A541068D495AB570','41156375Z','Cortes Villanueva', 'Saturnino@example.com',' Saturnino', 2),
('PRO#153','912EC803B2CE49E4A541068D495AB570','91743683H','Calvo Saez', 'Rosalia@example.com',' Rosalia', 3),
('PRO#154','912EC803B2CE49E4A541068D495AB570','42067980Z','Miranda Ponce', 'Maria Rocio@example.com',' Maria Rocio', 4),
('PRO#155','912EC803B2CE49E4A541068D495AB570','05369338B','Arias Cordoba', 'Lucas@example.com',' Lucas', 5),
('PRO#156','912EC803B2CE49E4A541068D495AB570','18011368E','Redondo Ruano', 'Begoña@example.com',' Begoña', 6),
('PRO#157','912EC803B2CE49E4A541068D495AB570','92743213Z','Aparicio Tirado', 'Enrique@example.com',' Enrique', 7),
('PRO#158','912EC803B2CE49E4A541068D495AB570','41560984F','Blazquez Redondo', 'Youssef@example.com',' Youssef', 8),
('PRO#159','912EC803B2CE49E4A541068D495AB570','06175319A','Rios Cardona', 'Silvia@example.com',' Silvia', 9),
('PRO#160','912EC803B2CE49E4A541068D495AB570','89653376C','Arranz Moreno', 'Helena@example.com',' Helena', 10),
('PRO#161','912EC803B2CE49E4A541068D495AB570','60664368M','Juan Sainz', 'Omar@example.com',' Omar', 11),
('PRO#162','912EC803B2CE49E4A541068D495AB570','80826204H','Pereira Moreno', 'Benito@example.com',' Benito', 12),
('PRO#163','912EC803B2CE49E4A541068D495AB570','50746877E','Villar Benitez', 'Marina@example.com',' Marina', 13),
('PRO#164','912EC803B2CE49E4A541068D495AB570','21439447C','Casanova Vera', 'Maria Trinidad@example.com',' Maria Trinidad', 14),
('PRO#165','912EC803B2CE49E4A541068D495AB570','01978793B','Soto Nieto', 'Milagros@example.com',' Milagros', 15),
('PRO#166','912EC803B2CE49E4A541068D495AB570','35114906R','Cebrian Figueroa', 'Jose Antonio@example.com',' Jose Antonio', 1),
('PRO#167','912EC803B2CE49E4A541068D495AB570','75877818J','Villalba Dorado', 'Amador@example.com',' Amador', 2),
('PRO#168','912EC803B2CE49E4A541068D495AB570','62527212X','Paredes Cordoba', 'Agustin@example.com',' Agustin', 3),
('PRO#169','912EC803B2CE49E4A541068D495AB570','12223403F','Ayala Macias', 'Antoni@example.com',' Antoni', 4),
('PRO#170','912EC803B2CE49E4A541068D495AB570','67943317Y','Moral Sole', 'Juan Dios@example.com',' Juan Dios', 5),
('PRO#171','912EC803B2CE49E4A541068D495AB570','37206805G','Montes Noguera', 'Amaya@example.com',' Amaya', 6),
('PRO#172','912EC803B2CE49E4A541068D495AB570','41070839S','Conde Carrillo', 'Nora@example.com',' Nora', 7),
('PRO#173','912EC803B2CE49E4A541068D495AB570','27328878W','Bautista Galvez', 'Damian@example.com',' Damian', 8),
('PRO#174','912EC803B2CE49E4A541068D495AB570','11090242X','Campos Conde', 'Patricia@example.com',' Patricia', 9),
('PRO#175','912EC803B2CE49E4A541068D495AB570','37548322V','Lucas Montes', 'Anna Maria@example.com',' Anna Maria', 10),
('PRO#176','912EC803B2CE49E4A541068D495AB570','15456119G','Cardenas Gracia', 'Maria Luisa@example.com',' Maria Luisa', 11),
('PRO#177','912EC803B2CE49E4A541068D495AB570','25218720W','Cruz Zambrano', 'Rachid@example.com',' Rachid', 12),
('PRO#178','912EC803B2CE49E4A541068D495AB570','28575097N','Miranda Jorge', 'Maria Dolores@example.com',' Maria Dolores', 13),
('PRO#179','912EC803B2CE49E4A541068D495AB570','21028420A','Cordoba Font', 'Manuel Angel@example.com',' Manuel Angel', 14),
('PRO#180','912EC803B2CE49E4A541068D495AB570','74795849X','Ayala De La Fuente', 'Luis Angel@example.com',' Luis Angel', 15),
('PRO#181','912EC803B2CE49E4A541068D495AB570','63272575N','Aranda Naranjo', 'German@example.com',' German', 1),
('PRO#182','912EC803B2CE49E4A541068D495AB570','30922946K','Benito Del Valle', 'Maria Trinidad@example.com',' Maria Trinidad', 2),
('PRO#183','912EC803B2CE49E4A541068D495AB570','87799782L','Marco Trujillo', 'Marcos@example.com',' Marcos', 3),
('PRO#184','912EC803B2CE49E4A541068D495AB570','81064235E','Gallardo Vives', 'Joan@example.com',' Joan', 4),
('PRO#185','912EC803B2CE49E4A541068D495AB570','13075638T','Silva Villalba', 'Iris@example.com',' Iris', 5),
('PRO#186','912EC803B2CE49E4A541068D495AB570','75884122S','Robles Peralta', 'Eneko@example.com',' Eneko', 6),
('PRO#187','912EC803B2CE49E4A541068D495AB570','18172203H','Valls Aguirre', 'Aleix@example.com',' Aleix', 7),
('PRO#188','912EC803B2CE49E4A541068D495AB570','67011122R','Abad Aragon', 'Faustino@example.com',' Faustino', 8),
('PRO#189','912EC803B2CE49E4A541068D495AB570','98032077M','Burgos Fraile', 'Ignacio@example.com',' Ignacio', 9),
('PRO#190','912EC803B2CE49E4A541068D495AB570','38067035B','De La Fuente Huertas', 'Armando@example.com',' Armando', 10),
('PRO#191','912EC803B2CE49E4A541068D495AB570','23296019D','Cordero Simon', 'Angel Luis@example.com',' Angel Luis', 11),
('PRO#192','912EC803B2CE49E4A541068D495AB570','30905728F','Lucas Santamaria', 'Ismael@example.com',' Ismael', 12),
('PRO#193','912EC803B2CE49E4A541068D495AB570','17725094Y','Lozano Ortega', 'Rodrigo@example.com',' Rodrigo', 13),
('PRO#194','912EC803B2CE49E4A541068D495AB570','53796497A','Villa Calero', 'Manuel Angel@example.com',' Manuel Angel', 14),
('PRO#195','912EC803B2CE49E4A541068D495AB570','31035585Y','Linares Moran', 'Clara@example.com',' Clara', 15),
('PRO#196','912EC803B2CE49E4A541068D495AB570','87688318J','Galindo Chamorro', 'Ahmed@example.com',' Ahmed', 1),
('PRO#197','912EC803B2CE49E4A541068D495AB570','63224563R','Robles Silva', 'Ander@example.com',' Ander', 2),
('PRO#198','912EC803B2CE49E4A541068D495AB570','21064044T','Del Valle Sierra', 'Nerea@example.com',' Nerea', 3),
('PRO#199','912EC803B2CE49E4A541068D495AB570','28469395H','Carrillo Pazos', 'Juan Pedro@example.com',' Juan Pedro', 4),
('PRO#200','912EC803B2CE49E4A541068D495AB570','23884523N','Davila Cuevas', 'Felicidad@example.com',' Felicidad', 5),
('PRO#201','912EC803B2CE49E4A541068D495AB570','59093084N','Rincon Calleja', 'Luisa@example.com',' Luisa', 6),
('PRO#202','912EC803B2CE49E4A541068D495AB570','24638334K','Romero Espinosa', 'Jose Angel@example.com',' Jose Angel', 7),
('PRO#203','912EC803B2CE49E4A541068D495AB570','87418789K','Casas Martos', 'Gemma@example.com',' Gemma', 8),
('PRO#204','912EC803B2CE49E4A541068D495AB570','68443798F','Carrasco Montoya', 'Lucas@example.com',' Lucas', 9),
('PRO#205','912EC803B2CE49E4A541068D495AB570','97342309F','Dorado Rojas', 'Marta@example.com',' Marta', 10),
('PRO#206','912EC803B2CE49E4A541068D495AB570','39208401W','Romero Ortiz', 'Jaime@example.com',' Jaime', 11),
('PRO#207','912EC803B2CE49E4A541068D495AB570','59129765P','Franco Dorado', 'Valeria@example.com',' Valeria', 12),
('PRO#208','912EC803B2CE49E4A541068D495AB570','59612211Y','Espejo Serrano', 'Ana Maria@example.com',' Ana Maria', 13),
('PRO#209','912EC803B2CE49E4A541068D495AB570','24260516R','Saiz Piñero', 'Jessica@example.com',' Jessica', 14),
('PRO#210','912EC803B2CE49E4A541068D495AB570','19704241A','Rincon Morcillo', 'Ruth@example.com',' Ruth', 15),
('PRO#211','912EC803B2CE49E4A541068D495AB570','08422001E','Godoy Vidal', 'Asuncion@example.com',' Asuncion', 1),
('PRO#212','912EC803B2CE49E4A541068D495AB570','02231686L','Polo Aparicio', 'Maria Antonia@example.com',' Maria Antonia', 2),
('PRO#213','912EC803B2CE49E4A541068D495AB570','61446251A','Murillo Roca', 'Jaume@example.com',' Jaume', 3),
('PRO#214','912EC803B2CE49E4A541068D495AB570','99266264N','Mendez Aguado', 'Isabel@example.com',' Isabel', 4),
('PRO#215','912EC803B2CE49E4A541068D495AB570','97492548X','Casas Paz', 'Adoracion@example.com',' Adoracion', 5),
('PRO#216','912EC803B2CE49E4A541068D495AB570','96806075H','Delgado Gordillo', 'Jesus Maria@example.com',' Jesus Maria', 6),
('PRO#217','912EC803B2CE49E4A541068D495AB570','95207942V','Vicente Cobos', 'Antonio Jesus@example.com',' Antonio Jesus', 7),
('PRO#218','912EC803B2CE49E4A541068D495AB570','25565275Q','Pujol Martos', 'Juan Carlos@example.com',' Juan Carlos', 8),
('PRO#219','912EC803B2CE49E4A541068D495AB570','01595202Z','Rios Caballero', 'Jose Miguel@example.com',' Jose Miguel', 9),
('PRO#220','912EC803B2CE49E4A541068D495AB570','00718730A','Alba Pons', 'Luis Fernando@example.com',' Luis Fernando', 10),
('PRO#221','912EC803B2CE49E4A541068D495AB571','65948971J','Arranz Pizarro', 'Marco@example.com',' Marco', 1),
('PRO#222','912EC803B2CE49E4A541068D495AB572','88780772J','Simon Belmonte', 'Marcelino@example.com',' Marcelino', 2),
('PRO#223','912EC803B2CE49E4A541068D495AB573','32650799E','Leal Pelaez', 'Herminia@example.com',' Herminia', 3),
('PRO#224','912EC803B2CE49E4A541068D495AB574','49117288Y','Clemente Correa', 'Monica@example.com',' Monica', 4),
('PRO#225','912EC803B2CE49E4A541068D495AB575','95122904X','Esteve Herrero', 'Luis Angel@example.com',' Luis Angel', 5),
('PRO#226','912EC803B2CE49E4A541068D495AB576','10964026H','Casado Cortes', 'Andrea@example.com',' Andrea', 6),
('PRO#227','912EC803B2CE49E4A541068D495AB577','07091205Y','Cardona Collado', 'Alexandre@example.com',' Alexandre', 7),
('PRO#228','912EC803B2CE49E4A541068D495AB578','26701814X','Palacios Llorens', 'Manuel@example.com',' Manuel', 8),
('PRO#229','912EC803B2CE49E4A541068D495AB579','20559173W','Blanco Alfonso', 'Susana@example.com',' Susana', 9),
('PRO#230','912EC803B2CE49E4A541068D495AB580','96827228B','Montes Nieto', 'Gabriela@example.com',' Gabriela', 10),
('PRO#231','912EC803B2CE49E4A541068D495AB581','49564891Y','Valle Velazquez', 'Candida@example.com',' Candida', 11),
('PRO#232','912EC803B2CE49E4A541068D495AB582','68577188C','Ferrero Bonet', 'Cristian@example.com',' Cristian', 12),
('PRO#233','912EC803B2CE49E4A541068D495AB583','32618741A','Villanueva Aguilera', 'Jose Ramon@example.com',' Jose Ramon', 13),
('PRO#234','912EC803B2CE49E4A541068D495AB584','05786389A','Carrasco Alcazar', 'Andreu@example.com',' Andreu', 14),
('PRO#235','912EC803B2CE49E4A541068D495AB585','11934523F','Sevilla Llorens', 'Paola@example.com',' Paola', 15),
('PRO#236','912EC803B2CE49E4A541068D495AB586','03671173M','Villa Ariza', 'Mariana@example.com',' Mariana', 1),
('PRO#237','912EC803B2CE49E4A541068D495AB587','36355996B','Ferreira Correa', 'Maria Inmaculada@example.com',' Maria Inmaculada', 2),
('PRO#238','912EC803B2CE49E4A541068D495AB588','70144741P','Duque Salcedo', 'Alejandra@example.com',' Alejandra', 3),
('PRO#239','912EC803B2CE49E4A541068D495AB589','20728375Q','Benito Barbero', 'Maria Remedios@example.com',' Maria Remedios', 4),
('PRO#240','912EC803B2CE49E4A541068D495AB590','58422506E','Domenech Rey', 'Victoriano@example.com',' Victoriano', 5),
('PRO#241','912EC803B2CE49E4A541068D495AB591','66656308P','Ferreira Maldonado', 'Borja@example.com',' Borja', 6),
('PRO#242','912EC803B2CE49E4A541068D495AB592','03565527K','Galan Noguera', 'Jonathan@example.com',' Jonathan', 7),
('PRO#243','912EC803B2CE49E4A541068D495AB593','46864009Z','Castilla Carbonell', 'Maria Magdalena@example.com',' Maria Magdalena', 8),
('PRO#244','912EC803B2CE49E4A541068D495AB594','42051358K','Cuesta Serrano', 'Ildefonso@example.com',' Ildefonso', 9),
('PRO#245','912EC803B2CE49E4A541068D495AB595','42447337D','Jorge Torres', 'Rogelio@example.com',' Rogelio', 10),
('PRO#246','912EC803B2CE49E4A541068D495AB596','28652129V','Marquez Santiago', 'Maria Esther@example.com',' Maria Esther', 11),
('PRO#247','912EC803B2CE49E4A541068D495AB597','73947592Q','Miranda Salvador', 'Florencio@example.com',' Florencio', 12),
('PRO#248','912EC803B2CE49E4A541068D495AB598','44582874L','Leon Miranda', 'Barbara@example.com',' Barbara', 13),
('PRO#249','912EC803B2CE49E4A541068D495AB599','49952746N','Pino Zamora', 'Nuria@example.com',' Nuria', 14),
('PRO#250','912EC803B2CE49E4A541068D495AB600','83786322J','Contreras Sosa', 'Raquel@example.com',' Raquel', 15),
('PRO#251','912EC803B2CE49E4A541068D495AB601','04318133K','Ojeda Heredia', 'Fernando@example.com',' Fernando', 1),
('PRO#252','912EC803B2CE49E4A541068D495AB602','49063200Z','Galvez Salvador', 'Isidro@example.com',' Isidro', 2),
('PRO#253','912EC803B2CE49E4A541068D495AB603','65897164W','Ariza Criado', 'Estrella@example.com',' Estrella', 3),
('PRO#254','912EC803B2CE49E4A541068D495AB604','69191544T','Olivares Pazos', 'Luis Antonio@example.com',' Luis Antonio', 4),
('PRO#255','912EC803B2CE49E4A541068D495AB605','89558955Z','Barragan Calvo', 'Carolina@example.com',' Carolina', 5),
('PRO#256','912EC803B2CE49E4A541068D495AB606','71426861Q','Lin Lopez', 'Begoña@example.com',' Begoña', 6),
('PRO#257','912EC803B2CE49E4A541068D495AB607','30012665B','Cebrian Singh', 'Ezequiel@example.com',' Ezequiel', 7),
('PRO#258','912EC803B2CE49E4A541068D495AB608','16498815H','Lara Sola', 'Alfonso@example.com',' Alfonso', 8),
('PRO#259','912EC803B2CE49E4A541068D495AB609','15562370H','Arroyo Montes', 'Jose Andres@example.com',' Jose Andres', 9),
('PRO#260','912EC803B2CE49E4A541068D495AB610','66463342N','Ordoñez Duarte', 'Eugenio@example.com',' Eugenio', 10),
('PRO#261','912EC803B2CE49E4A541068D495AB611','14744481D','Abad Ochoa', 'Maria Consuelo@example.com',' Maria Consuelo', 11),
('PRO#262','912EC803B2CE49E4A541068D495AB612','53480443S','Rebollo Llorente', 'Maria Mar@example.com',' Maria Mar', 12),
('PRO#263','912EC803B2CE49E4A541068D495AB613','92028592A','Corrales Valls', 'Maria Begoña@example.com',' Maria Begoña', 13),
('PRO#264','912EC803B2CE49E4A541068D495AB614','70140762P','Lazaro Olivares', 'Eva@example.com',' Eva', 14),
('PRO#265','912EC803B2CE49E4A541068D495AB615','13666514Y','Barragan Brito', 'Hassan@example.com',' Hassan', 15),
('PRO#266','912EC803B2CE49E4A541068D495AB616','91860648M','Sola Cabello', 'Carolina@example.com',' Carolina', 1),
('PRO#267','912EC803B2CE49E4A541068D495AB617','81967550N','Brito Castilla', 'Paloma@example.com',' Paloma', 2),
('PRO#268','912EC803B2CE49E4A541068D495AB618','12780784Y','Gomez Contreras', 'Francisco Jose@example.com',' Francisco Jose', 3),
('PRO#269','912EC803B2CE49E4A541068D495AB619','32916744H','Davila Grau', 'Asier@example.com',' Asier', 4),
('PRO#270','912EC803B2CE49E4A541068D495AB620','55885029C','Anton Arranz', 'Jose Juan@example.com',' Jose Juan', 5),
('PRO#271','912EC803B2CE49E4A541068D495AB621','80583716L','Mateo Saiz', 'Estela@example.com',' Estela', 6),
('PRO#272','912EC803B2CE49E4A541068D495AB622','53325940A','Roldan Madrid', 'Caridad@example.com',' Caridad', 7),
('PRO#273','912EC803B2CE49E4A541068D495AB623','06748487B','Vazquez Del Valle', 'Estefania@example.com',' Estefania', 8),
('PRO#274','912EC803B2CE49E4A541068D495AB624','09042179M','Aguirre Casas', 'Leo@example.com',' Leo', 9),
('PRO#275','912EC803B2CE49E4A541068D495AB625','31618057A','Agudo Cervera', 'Roger@example.com',' Roger', 10),
('PRO#276','912EC803B2CE49E4A541068D495AB626','91690066Z','Palomo Solis', 'Marco Antonio@example.com',' Marco Antonio', 11),
('PRO#277','912EC803B2CE49E4A541068D495AB627','90043496Z','Quesada Ferreiro', 'Sagrario@example.com',' Sagrario', 12),
('PRO#278','912EC803B2CE49E4A541068D495AB628','39047783Q','Villa Granados', 'Aranzazu@example.com',' Aranzazu', 13),
('PRO#279','912EC803B2CE49E4A541068D495AB629','38357589Y','Montero Mesa', 'Ian@example.com',' Ian', 14),
('PRO#280','912EC803B2CE49E4A541068D495AB630','59233949W','Valle Galindo', 'Aina@example.com',' Aina', 15),
('PRO#281','912EC803B2CE49E4A541068D495AB631','96370632B','Valverde Marquez', 'Esther@example.com',' Esther', 1),
('PRO#282','912EC803B2CE49E4A541068D495AB632','70570638Z','Roig Gonzalez', 'Leticia@example.com',' Leticia', 2),
('PRO#283','912EC803B2CE49E4A541068D495AB633','42627271Z','Molina Alonso', 'Maria Purificacion@example.com',' Maria Purificacion', 3),
('PRO#284','912EC803B2CE49E4A541068D495AB634','68067563Y','Alcaide Bonilla', 'Rocio@example.com',' Rocio', 4),
('PRO#285','912EC803B2CE49E4A541068D495AB635','57280486K','Gordillo Vives', 'Fidel@example.com',' Fidel', 5),
('PRO#286','912EC803B2CE49E4A541068D495AB636','25001934Z','Iglesias Huertas', 'Jose Javier@example.com',' Jose Javier', 6),
('PRO#287','912EC803B2CE49E4A541068D495AB637','17084953R','Paniagua Arias', 'Ander@example.com',' Ander', 7),
('PRO#288','912EC803B2CE49E4A541068D495AB638','43949222V','Ramos Sosa', 'Maria Montserrat@example.com',' Maria Montserrat', 8),
('PRO#289','912EC803B2CE49E4A541068D495AB639','06951384W','Varela Perez', 'Aurelia@example.com',' Aurelia', 9),
('PRO#290','912EC803B2CE49E4A541068D495AB640','09702609J','Lobato Llorens', 'Maria Inmaculada@example.com',' Maria Inmaculada', 10),
('PRO#291','912EC803B2CE49E4A541068D495AB641','13463437L','Santana Pereira', 'Nerea@example.com',' Nerea', 11),
('PRO#292','912EC803B2CE49E4A541068D495AB642','41872706X','Clemente Ocaña', 'Margarita@example.com',' Margarita', 12),
('PRO#293','912EC803B2CE49E4A541068D495AB643','22477540P','Pavon Contreras', 'Jose Angel@example.com',' Jose Angel', 13),
('PRO#294','912EC803B2CE49E4A541068D495AB644','72650618N','Silva De La Torre', 'Ismael@example.com',' Ismael', 14),
('PRO#295','912EC803B2CE49E4A541068D495AB645','31857829T','Wang Bonilla', 'Rosario@example.com',' Rosario', 15),
('PRO#296','912EC803B2CE49E4A541068D495AB646','15902914R','Pelaez Barrio', 'Maria Mar@example.com',' Maria Mar', 1),
('PRO#297','912EC803B2CE49E4A541068D495AB647','79159517A','Correa Casado', 'Iñigo@example.com',' Iñigo', 2),
('PRO#298','912EC803B2CE49E4A541068D495AB648','22669136Z','Casas Carvajal', 'Raul@example.com',' Raul', 3),
('PRO#299','912EC803B2CE49E4A541068D495AB649','51991129C','Ruiz Garrido', 'Eva Maria@example.com',' Eva Maria', 4),
('PRO#300','912EC803B2CE49E4A541068D495AB650','22250791Q','Pardo Frias', 'Aranzazu@example.com',' Aranzazu', 5),
('PRO#301','912EC803B2CE49E4A541068D495AB651','49206646D','Domingo Bueno', 'Rosa Maria@example.com',' Rosa Maria', 6),
('PRO#302','912EC803B2CE49E4A541068D495AB652','80621576K','Burgos Bueno', 'Igor@example.com',' Igor', 7),
('PRO#303','912EC803B2CE49E4A541068D495AB653','73047658A','Gil Pino', 'Benjamin@example.com',' Benjamin', 8),
('PRO#304','912EC803B2CE49E4A541068D495AB654','72128948M','Duarte Ortiz', 'Adrian@example.com',' Adrian', 9),
('PRO#305','912EC803B2CE49E4A541068D495AB655','24282032N','Velasco Moran', 'Lidia@example.com',' Lidia', 10),
('PRO#306','912EC803B2CE49E4A541068D495AB656','07606725G','Granados Cardona', 'Vasile@example.com',' Vasile', 11),
('PRO#307','912EC803B2CE49E4A541068D495AB657','31186730H','Aragon Arranz', 'Alexandra@example.com',' Alexandra', 12),
('PRO#308','912EC803B2CE49E4A541068D495AB658','43619490J','Bonilla Lago', 'Alexis@example.com',' Alexis', 13),
('PRO#309','912EC803B2CE49E4A541068D495AB659','17935762V','Juan Aznar', 'Elias@example.com',' Elias', 14),
('PRO#310','912EC803B2CE49E4A541068D495AB660','19653102Q','Martin Hurtado', 'Maria Manuela@example.com',' Maria Manuela', 15),
('PRO#311','912EC803B2CE49E4A541068D495AB661','87495503F','Cordero Campos', 'Naiara@example.com',' Naiara', 6),
('PRO#312','912EC803B2CE49E4A541068D495AB662','38673770Y','Del Rio Fraile', 'Kevin@example.com',' Kevin', 7),
('PRO#313','912EC803B2CE49E4A541068D495AB663','00840863Y','Abad Wang', 'Igor@example.com',' Igor', 8),
('PRO#314','912EC803B2CE49E4A541068D495AB664','92404967Y','Galvez Blasco', 'Alberto@example.com',' Alberto', 9),
('PRO#315','912EC803B2CE49E4A541068D495AB665','62521101V','Ramirez Ochoa', 'Albert@example.com',' Albert', 10),
('PRO#316','912EC803B2CE49E4A541068D495AB666','37944035S','Hernando Cordero', 'Maria Belen@example.com',' Maria Belen', 11),
('PRO#317','912EC803B2CE49E4A541068D495AB667','67045193D','Alfaro Barreiro', 'Samuel@example.com',' Samuel', 12),
('PRO#318','912EC803B2CE49E4A541068D495AB668','68481931Y','Cardona Huerta', 'Rafael@example.com',' Rafael', 13),
('PRO#319','912EC803B2CE49E4A541068D495AB669','75627578J','Lobato Brito', 'Paulino@example.com',' Paulino', 14),
('PRO#320','912EC803B2CE49E4A541068D495AB670','66946733N','Cervera Estrada', 'Aranzazu@example.com',' Aranzazu', 15);

-- Insertar Pacientes
INSERT INTO myhealth.patient(personalidentificationcode, password, nif, surname, email, name, familydoctorid) VALUES 
('PAT#100','912EC803B2CE49E4A541068D495AB570','97758900E','Singh Vila', 'Soledad@example.com','Soledad', 1)
,('PAT#101','912EC803B2CE49E4A541068D495AB570','Z9518183Y','Jimenez Merino', 'Ainhoa@example.com','Ainhoa', 2)
,('PAT#102','912EC803B2CE49E4A541068D495AB570','49426296D','Jesus Chen Barba', 'Abel@example.com','Abel', 3)
,('PAT#103','912EC803B2CE49E4A541068D495AB570','95014341F','Lorenzo Tapia Navas', 'Francisco@example.com','Francisco', 4)
,('PAT#104','912EC803B2CE49E4A541068D495AB570','17873499S','Gimenez Gutierrez', 'Teodora@example.com','Teodora', 5)
,('PAT#105','912EC803B2CE49E4A541068D495AB570','07320674G','Escobar Marquez', 'Jorge@example.com','Jorge', 6)
,('PAT#106','912EC803B2CE49E4A541068D495AB570','63888801E','Marin Reina', 'Marti@example.com','Marti', 7)
,('PAT#107','912EC803B2CE49E4A541068D495AB570','36676167E','Bosch Zapata', 'Abril@example.com','Abril', 8)
,('PAT#108','912EC803B2CE49E4A541068D495AB570','73569670F','Bosch Zapata', 'Esperanza@example.com','Esperanza', 9)
,('PAT#109','912EC803B2CE49E4A541068D495AB570','53986482P','Carretero Ayala', 'Eduardo@example.com','Eduardo', 10);

-- Insertar datos de prueba para preguntas
INSERT INTO myhealth.question(title, message, status, response, patientid, familydoctorid) VALUES 
('titulo de la pregunta número 1', 'Doctor, tengo dolor en la articulación numero 1', 'PENDING', null,  1,  1)
,('titulo de la pregunta número 2', 'Doctor, tengo dolor en la articulación numero 2', 'PENDING', null,  2,  1)
,('titulo de la pregunta número 3', 'Doctor, tengo dolor en la articulación numero 3', 'PENDING', null,  3,  1)
,('titulo de la pregunta número 4', 'Doctor, tengo dolor en la articulación numero 4', 'PENDING', null,  4,  1)
,('titulo de la pregunta número 5', 'Doctor, tengo dolor en la articulación numero 5', 'PENDING', null,  5,  1)
,('titulo de la pregunta número 6', 'Doctor, tengo dolor en la articulación numero 6', 'PENDING', null,  6,  1)
,('titulo de la pregunta número 7', 'Doctor, tengo dolor en la articulación numero 7', 'PENDING', null,  7,  1)
,('titulo de la pregunta número 8', 'Doctor, tengo dolor en la articulación numero 8', 'PENDING', null,  8,  1)
,('titulo de la pregunta número 9', 'Doctor, tengo dolor en la articulación numero 9', 'PENDING', null,  9,  1)
,('titulo de la pregunta número 10', 'Doctor, tengo dolor en la articulación numero 10', 'PENDING', null,  10,  1)
,('titulo de la pregunta número 11', 'Doctor, tengo dolor en la articulación numero 11', 'PENDING', null,  1,  1)
,('titulo de la pregunta número 12', 'Doctor, tengo dolor en la articulación numero 12', 'PENDING', null,  2,  1)
,('titulo de la pregunta número 13', 'Doctor, tengo dolor en la articulación numero 13', 'PENDING', null,  3,  1)
,('titulo de la pregunta número 14', 'Doctor, tengo dolor en la articulación numero 14', 'PENDING', null,  4,  1)
,('titulo de la pregunta número 15', 'Doctor, tengo dolor en la articulación numero 15', 'PENDING', null,  5,  1)
,('titulo de la pregunta número 16', 'Doctor, tengo dolor en la articulación numero 16', 'PENDING', null,  6,  1)
,('titulo de la pregunta número 17', 'Doctor, tengo dolor en la articulación numero 17', 'PENDING', null,  7,  1)
,('titulo de la pregunta número 18', 'Doctor, tengo dolor en la articulación numero 18', 'PENDING', null,  8,  1)
,('titulo de la pregunta número 19', 'Doctor, tengo dolor en la articulación numero 19', 'PENDING', null,  9,  1)
,('titulo de la pregunta número 20', 'Doctor, tengo dolor en la articulación numero 20', 'PENDING', null,  10,  1)
,('titulo de la pregunta número 21', 'Doctor, tengo dolor en la articulación numero 21', 'PENDING', null,  8,  1)
,('titulo de la pregunta número 22', 'Doctor, tengo dolor en la articulación numero 22', 'PENDING', null,  9,  1)
,('titulo de la pregunta número 23', 'Doctor, tengo dolor en la articulación numero 23', 'PENDING', null,  10,  1);

-- Insertar datos de prueba para visitas
INSERT INTO myhealth.visit(date, "time", observations, result, patientid, familydoctorid) VALUES 
('2019-12-23','09:00:00','Observaciones de la visita 43822','',1,1),
('2019-12-24','10:00:00','Observaciones de la visita 43823','',2,1),
('2019-12-25','11:00:00','Observaciones de la visita 43824','',3,1),
('2019-12-26','12:00:00','Observaciones de la visita 43825','',4,1),
('2019-12-27','13:00:00','Observaciones de la visita 43826','',5,1),
('2019-12-28','14:00:00','Observaciones de la visita 43827','',6,1),
('2019-12-29','15:00:00','Observaciones de la visita 43828','',7,1),
('2019-12-30','16:00:00','Observaciones de la visita 43829','',8,1),
('2019-12-31','17:00:00','Observaciones de la visita 43830','',9,1),
('2020-01-01','18:00:00','Observaciones de la visita 43831','',10,1),
('2019-12-23','09:00:00','Observaciones de la visita 43822','',1,1),
('2019-12-23','10:00:00','Observaciones de la visita 43822','',2,1),
('2019-12-23','11:00:00','Observaciones de la visita 43822','',3,1),
('2019-12-23','12:00:00','Observaciones de la visita 43822','',4,1),
('2019-12-23','13:00:00','Observaciones de la visita 43822','',5,1),
('2019-12-23','14:00:00','Observaciones de la visita 43822','',6,1),
('2019-12-23','15:00:00','Observaciones de la visita 43822','',7,1),
('2019-12-23','16:00:00','Observaciones de la visita 43822','',8,1),
('2019-12-23','17:00:00','Observaciones de la visita 43822','',9,1),
('2019-12-23','18:00:00','Observaciones de la visita 43822','',10,1),
('2019-12-23','09:00:00','Observaciones de la visita 43822','',1,2),
('2019-12-23','10:00:00','Observaciones de la visita 43822','',2,2),
('2019-12-23','11:00:00','Observaciones de la visita 43822','',3,2),
('2019-12-23','12:00:00','Observaciones de la visita 43822','',4,2),
('2019-12-23','13:00:00','Observaciones de la visita 43822','',5,2),
('2019-12-23','14:00:00','Observaciones de la visita 43822','',6,2),
('2019-12-23','15:00:00','Observaciones de la visita 43822','',7,2),
('2019-12-23','16:00:00','Observaciones de la visita 43822','',8,2),
('2019-12-23','17:00:00','Observaciones de la visita 43822','',9,2),
('2019-12-23','18:00:00','Observaciones de la visita 43822','',10,2),
('2019-12-23','09:00:00','Observaciones de la visita 43822','',1,2),
('2020-01-23','10:00:00','Observaciones de la visita 43853','',2,2),
('2020-01-24','11:00:00','Observaciones de la visita 43854','',3,2),
('2020-01-25','12:00:00','Observaciones de la visita 43855','',4,2),
('2020-01-26','13:00:00','Observaciones de la visita 43856','',5,2),
('2020-01-27','14:00:00','Observaciones de la visita 43857','',6,2),
('2020-01-28','15:00:00','Observaciones de la visita 43858','',7,2),
('2020-01-29','16:00:00','Observaciones de la visita 43859','',8,2),
('2020-01-30','17:00:00','Observaciones de la visita 43860','',9,2),
('2020-01-31','18:00:00','Observaciones de la visita 43861','',10,2);

-- Insertar datos de prueba para medical test
INSERT INTO myhealth.medicaltest(date, "time", observations, highresimage, type, patientid, specialistdoctorid) VALUES 
('2019-12-23','09:00:00','Observaciones del medical test1','somehighresimage1', 'Radiografía Tórax', 1, 1),
('2019-12-24','19:20:00','Observaciones del medical test2','somehighresimage2', 'TAC Craneal', 2, 1),
('2019-12-25','18:35:20','Observaciones del medical test3','somehighresimage3', 'Radiografía Cadera', 3, 2),
('2019-12-26','08:15:10','Observaciones del medical test4','somehighresimage4', 'TAC Rodilla', 4, 2),
('2019-12-27','18:15:10','Observaciones del medical test5','somehighresimage5', 'TAC Pie Izquierdo', 5, 1),
('2019-12-28','22:15:40','Observaciones del medical test6','somehighresimage6', 'Radiografía Tórax', 6, 3),
('2019-12-28','23:15:40','Observaciones del medical test7','somehighresimage7', 'Radiografía Tibia', 7, 1),
('2019-12-29','11:12:20','Observaciones del medical test8','somehighresimage8', 'TAC Craneal', 8, 1),
('2019-12-30','13:17:50','Observaciones del medical test9','somehighresimage9', 'Radiografía Cadera', 2, 2),
('2019-12-31','05:08:30','Observaciones del medical test10','somehighresimage10', 'Radiografía rodilla', 4, 1);
