corection de test

This commit is contained in:
Lucas Mascaro 2016-01-03 19:13:42 +01:00
parent 498eb88cb6
commit 512a382c8a
11 changed files with 515 additions and 474 deletions

View File

@ -1,11 +1,11 @@
-- phpMyAdmin SQL Dump
-- version 4.5.2
-- version 4.5.3
-- http://www.phpmyadmin.net
--
-- Client : localhost
-- Généré le : Jeu 10 Décembre 2015 à 09:46
-- Version du serveur : 10.1.9-MariaDB-log
-- Version de PHP : 7.0.0
-- Host: localhost
-- Generation Time: Jan 03, 2016 at 05:37 PM
-- Server version: 10.1.10-MariaDB-log
-- PHP Version: 7.0.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
@ -17,13 +17,13 @@ SET time_zone = "+00:00";
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de données : `projetphp`
-- Database: `projetphp`
--
-- --------------------------------------------------------
--
-- Structure de la table `Medecin`
-- Table structure for table `Medecin`
--
CREATE TABLE `Medecin` (
@ -34,115 +34,115 @@ CREATE TABLE `Medecin` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `Medecin`
-- Dumping data for table `Medecin`
--
INSERT INTO `Medecin` (`Id`, `Civilite`, `Prenom`, `Nom`) VALUES
(1, 'M', 'Heather', 'HUFF'),
(2, 'F', 'Leann', 'SCOTT'),
(3, 'F', 'Browning', 'DAVENPORT'),
(4, 'M', 'Garner', 'REYNOLDS'),
(5, 'M', 'Juana', 'KOCH'),
(6, 'F', 'Lynn', 'OWENS'),
(7, 'M', 'Jefferson', 'FIGUEROA'),
(8, 'M', 'Jones', 'LOWE'),
(9, 'M', 'Kristi', 'FITZGERALD'),
(10, 'F', 'Sue', 'SHEPHERD'),
(11, 'F', 'Dyer', 'KNOX'),
(12, 'M', 'Joann', 'VALENCIA'),
(13, 'F', 'Catherine', 'BAXTER'),
(14, 'F', 'Dominique', 'MOONEY'),
(15, 'F', 'Baldwin', 'BAUER'),
(16, 'M', 'Turner', 'SANDOVAL'),
(17, 'M', 'Martin', 'KIDD'),
(18, 'M', 'Shannon', 'BALLARD'),
(19, 'F', 'Lillian', 'SOLOMON'),
(20, 'F', 'Cervantes', 'HURLEY'),
(21, 'M', 'Mcgee', 'WIGGINS'),
(22, 'M', 'Bartlett', 'COTE'),
(23, 'M', 'Rosanna', 'WILLIAM'),
(24, 'F', 'Diane', 'HOLMES'),
(25, 'F', 'Mattie', 'AYERS'),
(26, 'F', 'Shepherd', 'MOON'),
(27, 'M', 'Kendra', 'LARSEN'),
(28, 'F', 'Gaines', 'WHITEHEAD'),
(29, 'M', 'Cindy', 'LEVY'),
(30, 'F', 'Meredith', 'MACIAS'),
(31, 'F', 'Christine', 'MEYERS'),
(32, 'F', 'Gabriela', 'INGRAM'),
(33, 'F', 'Fleming', 'MONTGOMERY'),
(34, 'M', 'Cannon', 'GRANT'),
(35, 'M', 'Joyce', 'WHITFIELD'),
(36, 'M', 'Hardin', 'SHIELDS'),
(37, 'M', 'Rowena', 'AVILA'),
(38, 'F', 'Renee', 'RICE'),
(39, 'F', 'Anna', 'RANDOLPH'),
(40, 'F', 'Kathie', 'CONLEY'),
(41, 'F', 'Clemons', 'COLLINS'),
(42, 'M', 'Black', 'HARTMAN'),
(43, 'M', 'Baker', 'BUSH'),
(44, 'M', 'Emerson', 'GUTIERREZ'),
(45, 'M', 'Schmidt', 'HOUSE'),
(46, 'M', 'Frances', 'MORGAN'),
(47, 'F', 'Mcdonald', 'MIDDLETON'),
(48, 'M', 'Taylor', 'NIXON'),
(49, 'F', 'Durham', 'HALEY'),
(50, 'M', 'Craft', 'FORBES'),
(51, 'M', 'Stephanie', 'LANG'),
(52, 'F', 'Chapman', 'PRATT'),
(53, 'M', 'Jody', 'WISE'),
(54, 'F', 'Prince', 'DUDLEY'),
(55, 'M', 'Terry', 'BURNETT'),
(56, 'F', 'Gwen', 'JUSTICE'),
(57, 'F', 'Lancaster', 'DORSEY'),
(58, 'M', 'Eloise', 'MELENDEZ'),
(59, 'F', 'Mercedes', 'GOULD'),
(60, 'F', 'Caitlin', 'WHITE'),
(61, 'F', 'Ashlee', 'DAVIDSON'),
(62, 'F', 'Mccall', 'CARLSON'),
(63, 'M', 'Workman', 'PETTY'),
(64, 'M', 'Sonya', 'DONOVAN'),
(65, 'F', 'Sharon', 'HOPPER'),
(66, 'F', 'Sylvia', 'STARK'),
(67, 'F', 'Sheri', 'ALLISON'),
(68, 'F', 'Fuentes', 'BURGESS'),
(69, 'M', 'Elaine', 'WEEKS'),
(70, 'F', 'Nunez', 'HARMON'),
(71, 'M', 'Darcy', 'FORD'),
(72, 'F', 'Delacruz', 'SANDERS'),
(73, 'M', 'Farrell', 'BOND'),
(74, 'M', 'Jana', 'GORDON'),
(75, 'F', 'Brooke', 'ROSALES'),
(76, 'F', 'Carson', 'WILKERSON'),
(77, 'M', 'Jeanine', 'ONEILL'),
(78, 'F', 'Molly', 'FITZPATRICK'),
(79, 'F', 'Moon', 'WILLIS'),
(80, 'M', 'Rose', 'SOSA'),
(81, 'M', 'Ericka', 'PARSONS'),
(82, 'F', 'Lynch', 'SWANSON'),
(83, 'M', 'Le', 'BRADLEY'),
(84, 'M', 'Lois', 'BENTLEY'),
(85, 'F', 'Vance', 'ORTEGA'),
(86, 'M', 'Alice', 'PARK'),
(87, 'F', 'Dickerson', 'LAMB'),
(88, 'M', 'Jewel', 'SNIDER'),
(89, 'F', 'Hewitt', 'BATTLE'),
(90, 'M', 'Louise', 'PADILLA'),
(91, 'F', 'Eliza', 'FOWLER'),
(92, 'F', 'Catalina', 'PETERSEN'),
(93, 'F', 'Simon', 'NGUYEN'),
(94, 'M', 'Boyd', 'MATHIS'),
(95, 'M', 'Alston', 'CALDERON'),
(96, 'M', 'Bolton', 'ELLISON'),
(97, 'M', 'Stefanie', 'DURHAM'),
(98, 'F', 'Janice', 'FRANCIS'),
(99, 'F', 'Jean', 'BOOTH'),
(100, 'F', 'Ryan', 'SHEPPARD');
(1, 'M', 'Heather', 'HUFF'),
(2, 'F', 'Leann', 'SCOTT'),
(3, 'F', 'Browning', 'DAVENPORT'),
(4, 'M', 'Garner', 'REYNOLDS'),
(5, 'M', 'Juana', 'KOCH'),
(6, 'F', 'Lynn', 'OWENS'),
(7, 'M', 'Jefferson', 'FIGUEROA'),
(8, 'M', 'Jones', 'LOWE'),
(9, 'M', 'Kristi', 'FITZGERALD'),
(10, 'F', 'Sue', 'SHEPHERD'),
(11, 'F', 'Dyer', 'KNOX'),
(12, 'M', 'Joann', 'VALENCIA'),
(13, 'F', 'Catherine', 'BAXTER'),
(14, 'F', 'Dominique', 'MOONEY'),
(15, 'F', 'Baldwin', 'BAUER'),
(16, 'M', 'Turner', 'SANDOVAL'),
(17, 'M', 'Martin', 'KIDD'),
(18, 'M', 'Shannon', 'BALLARD'),
(19, 'F', 'Lillian', 'SOLOMON'),
(20, 'F', 'Cervantes', 'HURLEY'),
(21, 'M', 'Mcgee', 'WIGGINS'),
(22, 'M', 'Bartlett', 'COTE'),
(23, 'M', 'Rosanna', 'WILLIAM'),
(24, 'F', 'Diane', 'HOLMES'),
(25, 'F', 'Mattie', 'AYERS'),
(26, 'F', 'Shepherd', 'MOON'),
(27, 'M', 'Kendra', 'LARSEN'),
(28, 'F', 'Gaines', 'WHITEHEAD'),
(29, 'M', 'Cindy', 'LEVY'),
(30, 'F', 'Meredith', 'MACIAS'),
(31, 'F', 'Christine', 'MEYERS'),
(32, 'F', 'Gabriela', 'INGRAM'),
(33, 'F', 'Fleming', 'MONTGOMERY'),
(34, 'M', 'Cannon', 'GRANT'),
(35, 'M', 'Joyce', 'WHITFIELD'),
(36, 'M', 'Hardin', 'SHIELDS'),
(37, 'M', 'Rowena', 'AVILA'),
(38, 'F', 'Renee', 'RICE'),
(39, 'F', 'Anna', 'RANDOLPH'),
(40, 'F', 'Kathie', 'CONLEY'),
(41, 'F', 'Clemons', 'COLLINS'),
(42, 'M', 'Black', 'HARTMAN'),
(43, 'M', 'Baker', 'BUSH'),
(44, 'M', 'Emerson', 'GUTIERREZ'),
(45, 'M', 'Schmidt', 'HOUSE'),
(46, 'M', 'Frances', 'MORGAN'),
(47, 'F', 'Mcdonald', 'MIDDLETON'),
(48, 'M', 'Taylor', 'NIXON'),
(49, 'F', 'Durham', 'HALEY'),
(50, 'M', 'Craft', 'FORBES'),
(51, 'M', 'Stephanie', 'LANG'),
(52, 'F', 'Chapman', 'PRATT'),
(53, 'M', 'Jody', 'WISE'),
(54, 'F', 'Prince', 'DUDLEY'),
(55, 'M', 'Terry', 'BURNETT'),
(56, 'F', 'Gwen', 'JUSTICE'),
(57, 'F', 'Lancaster', 'DORSEY'),
(58, 'M', 'Eloise', 'MELENDEZ'),
(59, 'F', 'Mercedes', 'GOULD'),
(60, 'F', 'Caitlin', 'WHITE'),
(61, 'F', 'Ashlee', 'DAVIDSON'),
(62, 'F', 'Mccall', 'CARLSON'),
(63, 'M', 'Workman', 'PETTY'),
(64, 'M', 'Sonya', 'DONOVAN'),
(65, 'F', 'Sharon', 'HOPPER'),
(66, 'F', 'Sylvia', 'STARK'),
(67, 'F', 'Sheri', 'ALLISON'),
(68, 'F', 'Fuentes', 'BURGESS'),
(69, 'M', 'Elaine', 'WEEKS'),
(70, 'F', 'Nunez', 'HARMON'),
(71, 'M', 'Darcy', 'FORD'),
(72, 'F', 'Delacruz', 'SANDERS'),
(73, 'M', 'Farrell', 'BOND'),
(74, 'M', 'Jana', 'GORDON'),
(75, 'F', 'Brooke', 'ROSALES'),
(76, 'F', 'Carson', 'WILKERSON'),
(77, 'M', 'Jeanine', 'ONEILL'),
(78, 'F', 'Molly', 'FITZPATRICK'),
(79, 'F', 'Moon', 'WILLIS'),
(80, 'M', 'Rose', 'SOSA'),
(81, 'M', 'Ericka', 'PARSONS'),
(82, 'F', 'Lynch', 'SWANSON'),
(83, 'M', 'Le', 'BRADLEY'),
(84, 'M', 'Lois', 'BENTLEY'),
(85, 'F', 'Vance', 'ORTEGA'),
(86, 'M', 'Alice', 'PARK'),
(87, 'F', 'Dickerson', 'LAMB'),
(88, 'M', 'Jewel', 'SNIDER'),
(89, 'F', 'Hewitt', 'BATTLE'),
(90, 'M', 'Louise', 'PADILLA'),
(91, 'F', 'Eliza', 'FOWLER'),
(92, 'F', 'Catalina', 'PETERSEN'),
(93, 'F', 'Simon', 'NGUYEN'),
(94, 'M', 'Boyd', 'MATHIS'),
(95, 'M', 'Alston', 'CALDERON'),
(96, 'M', 'Bolton', 'ELLISON'),
(97, 'M', 'Stefanie', 'DURHAM'),
(98, 'F', 'Janice', 'FRANCIS'),
(99, 'F', 'Jean', 'BOOTH'),
(100, 'F', 'Ryan', 'SHEPPARD');
-- --------------------------------------------------------
--
-- Structure de la table `Patient`
-- Table structure for table `Patient`
--
CREATE TABLE `Patient` (
@ -161,115 +161,115 @@ CREATE TABLE `Patient` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `Patient`
-- Dumping data for table `Patient`
--
INSERT INTO `Patient` (`Id`, `Civilite`, `Nom`, `Prenom`, `Adresse`, `Adresse2`, `Ville`, `CodePostal`, `DateNaissance`, `LieuNaissance`, `NumSecuriteSociale`, `MedecinTraitant`) VALUES
(1, 'M', 'SILVA', 'Lena', '649 Banner Avenue, Tooleville, Iowa', NULL, 'North Dakota', '52882', '1911-09-13', 'Texas', '12698948371', 33),
(2, 'F', 'KEMP', 'Clay', '807 Beayer Place, Linganore, New Hampshire', NULL, 'South Dakota', '61218', '2010-08-20', 'Arkansas', '20628078948', 88),
(3, 'M', 'PAUL', 'Buck', '494 Macdougal Street, Chumuckla, Marshall Islands', NULL, 'Massachusetts', '68865', '1910-12-09', 'Federated States Of Micronesia', '15945373003', 9),
(4, 'M', 'GARNER', 'Martina', '339 Frank Court, Defiance, West Virginia', NULL, 'Puerto Rico', '62671', '2008-10-01', 'Hawaii', '19329610967', 66),
(5, 'F', 'BURCH', 'Chasity', '866 Clarendon Road, Cumminsville, Virginia', NULL, 'Vermont', '38435', '2012-06-25', 'Arizona', '27391164606', 25),
(6, 'F', 'JEFFERSON', 'Shana', '175 Wyckoff Street, Trucksville, South Carolina', NULL, 'New Mexico', '85431', '2006-10-15', 'Mississippi', '26819094421', 30),
(7, 'F', 'BLAKE', 'Arlene', '859 Debevoise Street, Russellville, Virgin Islands', NULL, 'Wyoming', '61926', '1966-06-18', 'Pennsylvania', '23960497083', 93),
(8, 'F', 'DIAZ', 'Dawn', '273 Madison Street, Boonville, Idaho', NULL, 'North Carolina', '02209', '2006-10-04', 'Rhode Island', '27215823739', 40),
(9, 'F', 'WHITLEY', 'Franco', '693 Horace Court, Rockbridge, Florida', NULL, 'California', '97479', '1927-06-07', 'Indiana', '29328474141', 46),
(10, 'M', 'BUCK', 'Beck', '919 Cleveland Street, Barronett, Montana', NULL, 'Palau', '48585', '2012-12-09', 'American Samoa', '19699641707', 67),
(11, 'M', 'COLE', 'Solomon', '412 Elizabeth Place, Bannock, Wisconsin', NULL, 'Michigan', '12693', '1935-04-15', 'Tennessee', '10678642104', 89),
(12, 'M', 'VASQUEZ', 'Best', '335 Krier Place, Tedrow, Delaware', NULL, 'Connecticut', '32627', '2007-08-28', 'Guam', '19009855991', 32),
(13, 'M', 'ROSS', 'Clark', '979 Celeste Court, Hessville, Louisiana', NULL, 'Northern Mariana Islands', '87310', '2007-06-27', 'Illinois', '11086416557', 72),
(14, 'M', 'CHEN', 'Ida', '205 Malta Street, Camas, Oklahoma', NULL, 'Alaska', '14500', '1927-06-02', 'New York', '17998195070', 35),
(15, 'F', 'BUCKLEY', 'Kathie', '415 Varick Street, Watchtower, Nevada', NULL, 'Minnesota', '87418', '2010-11-20', 'Colorado', '28577369272', 29),
(16, 'F', 'FOX', 'Mitchell', '474 Navy Walk, Waterford, Alabama', NULL, 'Kentucky', '20730', '2008-12-13', 'Missouri', '23197712678', 94),
(17, 'M', 'GOODMAN', 'Anthony', '526 Dodworth Street, Shawmut, Kansas', NULL, 'Ohio', '73624', '2000-11-21', 'Nebraska', '14355429029', 87),
(18, 'M', 'SAWYER', 'Brigitte', '490 Ebony Court, Steinhatchee, Maryland', NULL, 'Maine', '90009', '1993-09-30', 'Georgia', '19496691291', 12),
(19, 'F', 'CHRISTENSEN', 'Bates', '743 Middleton Street, Lowell, District Of Columbia', NULL, 'Washington', '43676', '2015-09-05', 'Oregon', '29308759372', 84),
(20, 'M', 'TALLEY', 'Angela', '524 Wythe Avenue, Bawcomville, New Jersey', NULL, 'Iowa', '50898', '2003-10-30', 'North Dakota', '11465049462', 43),
(21, 'F', 'COLEMAN', 'Logan', '238 Kent Street, Celeryville, Texas', NULL, 'New Hampshire', '06311', '2008-03-17', 'South Dakota', '28533965670', 21),
(22, 'M', 'MCCULLOUGH', 'Newman', '199 Kane Place, Yogaville, Arkansas', NULL, 'Marshall Islands', '80883', '2002-07-04', 'Massachusetts', '13498991796', 48),
(23, 'M', 'ROWLAND', 'Koch', '676 Oliver Street, Kraemer, Federated States Of Micronesia', NULL, 'West Virginia', '52228', '1998-05-18', 'Puerto Rico', '15879675253', 63),
(24, 'M', 'COOLEY', 'Matthews', '610 Arlington Avenue, Kennedyville, Hawaii', NULL, 'Virginia', '57187', '2003-05-13', 'Vermont', '12165901177', 35),
(25, 'M', 'PENNINGTON', 'Robbins', '101 Falmouth Street, Unionville, Arizona', NULL, 'South Carolina', '16649', '2012-09-12', 'New Mexico', '13627814148', 50),
(26, 'M', 'FARLEY', 'Austin', '869 Duffield Street, Rivers, Mississippi', NULL, 'Virgin Islands', '41659', '2002-08-03', 'Wyoming', '19094300308', 8),
(27, 'M', 'VELAZQUEZ', 'Winifred', '594 Rock Street, Fairacres, Pennsylvania', NULL, 'Idaho', '99838', '1981-06-30', 'North Carolina', '15647563918', 24),
(28, 'F', 'WALLACE', 'Frost', '135 Sapphire Street, Tolu, Rhode Island', NULL, 'Florida', '85278', '2007-11-12', 'California', '25913410982', 39),
(29, 'M', 'STANLEY', 'Hood', '833 Fountain Avenue, Moraida, Indiana', NULL, 'Montana', '96419', '2006-08-16', 'Palau', '17946621124', 26),
(30, 'M', 'GILES', 'Maggie', '643 Joval Court, Trail, American Samoa', NULL, 'Wisconsin', '48204', '2012-03-04', 'Michigan', '10662686180', 26),
(31, 'F', 'ESPINOZA', 'Tamara', '371 Ralph Avenue, Cuylerville, Tennessee', NULL, 'Delaware', '07341', '2008-08-10', 'Connecticut', '20083172261', 26),
(32, 'F', 'HOLDER', 'Pena', '712 Channel Avenue, Richmond, Guam', NULL, 'Louisiana', '72630', '2013-06-17', 'Northern Mariana Islands', '29005097826', 65),
(33, 'M', 'STOKES', 'Strong', '389 Dank Court, Temperanceville, Illinois', NULL, 'Oklahoma', '19213', '1924-04-09', 'Alaska', '14386411303', 82),
(34, 'M', 'PENA', 'Pamela', '979 Dumont Avenue, Stollings, New York', NULL, 'Nevada', '01244', '2008-09-06', 'Minnesota', '19329398624', 50),
(35, 'F', 'LEON', 'Allen', '899 Nevins Street, Fedora, Colorado', NULL, 'Alabama', '14863', '2015-05-10', 'Kentucky', '20535405226', 52),
(36, 'M', 'STOUT', 'Gamble', '238 Oceanview Avenue, Graball, Missouri', NULL, 'Kansas', '35626', '2011-12-13', 'Ohio', '16717569080', 67),
(37, 'M', 'BUTLER', 'Shawn', '563 Interborough Parkway, Lupton, Nebraska', NULL, 'Maryland', '82759', '1953-09-09', 'Maine', '18681124800', 45),
(38, 'F', 'HENDRICKS', 'Ayala', '839 Navy Street, Grahamtown, Georgia', NULL, 'District Of Columbia', '60566', '2004-07-12', 'Washington', '29995060639', 48),
(39, 'M', 'MAYO', 'Hicks', '626 Wilson Street, Noxen, Oregon', NULL, 'New Jersey', '87938', '2002-10-26', 'Iowa', '11993094532', 45),
(40, 'M', 'ATKINS', 'Cecelia', '210 Humboldt Street, Elbert, North Dakota', NULL, 'Texas', '17198', '2002-08-06', 'New Hampshire', '15111976539', 49),
(41, 'F', 'SUMMERS', 'Pauline', '550 Lorimer Street, Hailesboro, South Dakota', NULL, 'Arkansas', '95004', '1958-10-05', 'Marshall Islands', '28350963212', 47),
(42, 'F', 'GREER', 'Shelly', '469 Livonia Avenue, Lodoga, Massachusetts', NULL, 'Federated States Of Micronesia', '30292', '2001-01-30', 'West Virginia', '21326809626', 67),
(43, 'F', 'NIEVES', 'Wilma', '450 Guider Avenue, Selma, Puerto Rico', NULL, 'Hawaii', '39647', '1917-02-04', 'Virginia', '27216034661', 5),
(44, 'F', 'WALLER', 'Duncan', '255 Blake Court, Freetown, Vermont', NULL, 'Arizona', '48683', '2008-03-07', 'South Carolina', '25345198647', 36),
(45, 'M', 'VINCENT', 'Glenna', '727 Leonora Court, Tryon, New Mexico', NULL, 'Mississippi', '55687', '2009-10-09', 'Virgin Islands', '10271387742', 16),
(46, 'F', 'WILKERSON', 'Kelley', '304 Bleecker Street, Concho, Wyoming', NULL, 'Pennsylvania', '30593', '2004-10-12', 'Idaho', '20837368947', 76),
(47, 'M', 'CHAVEZ', 'Carolina', '620 Cumberland Street, Greer, North Carolina', NULL, 'Rhode Island', '72334', '1996-06-02', 'Florida', '13128264581', 39),
(48, 'F', 'CORTEZ', 'Donaldson', '654 Diamond Street, Bonanza, California', NULL, 'Indiana', '67633', '1936-05-13', 'Montana', '20450513660', 5),
(49, 'M', 'WHITAKER', 'Geraldine', '248 Louisiana Avenue, Hobucken, Palau', NULL, 'American Samoa', '19680', '1912-01-11', 'Wisconsin', '14501409312', 71),
(50, 'F', 'WILSON', 'Isabelle', '319 Stryker Street, Henrietta, Michigan', NULL, 'Tennessee', '75542', '2013-09-30', 'Delaware', '21523135649', 93),
(51, 'F', 'KLINE', 'Shirley', '325 Newel Street, Retsof, Connecticut', NULL, 'Guam', '67214', '2006-04-28', 'Louisiana', '29829440387', 97),
(52, 'F', 'CROSBY', 'Sweet', '406 Dekalb Avenue, Nadine, Northern Mariana Islands', NULL, 'Illinois', '18491', '2002-10-02', 'Oklahoma', '22799689361', 15),
(53, 'M', 'PRUITT', 'Bette', '140 Voorhies Avenue, Weedville, Alaska', NULL, 'New York', '73961', '1961-11-01', 'Nevada', '11917517213', 59),
(54, 'F', 'LARSEN', 'Julianne', '706 Tiffany Place, Eagleville, Minnesota', NULL, 'Colorado', '39520', '1984-01-12', 'Alabama', '29343266278', 29),
(55, 'F', 'NICHOLS', 'Mckay', '383 Dewey Place, Lithium, Kentucky', NULL, 'Missouri', '20493', '1929-07-17', 'Kansas', '21719339678', 47),
(56, 'M', 'REEVES', 'Vasquez', '164 Cozine Avenue, Tecolotito, Ohio', NULL, 'Nebraska', '64893', '2009-06-25', 'Maryland', '16427456557', 40),
(57, 'M', 'HERRING', 'Finch', '798 Albemarle Road, Gouglersville, Maine', NULL, 'Georgia', '58812', '1957-06-18', 'District Of Columbia', '13122477225', 24),
(58, 'M', 'HOLLOWAY', 'Cummings', '522 Howard Alley, Escondida, Washington', NULL, 'Oregon', '62194', '1960-09-09', 'New Jersey', '19596957459', 89),
(59, 'M', 'MILLER', 'Oliver', '273 Lenox Road, Norwood, Iowa', NULL, 'North Dakota', '62699', '1932-03-25', 'Texas', '19968426193', 57),
(60, 'M', 'CAMPOS', 'Hart', '787 Polhemus Place, Motley, New Hampshire', NULL, 'South Dakota', '77516', '2007-12-21', 'Arkansas', '17253462074', 31),
(61, 'M', 'CASE', 'Henson', '174 Stillwell Place, Mulino, Marshall Islands', NULL, 'Massachusetts', '85870', '2001-09-11', 'Federated States Of Micronesia', '12489367510', 96),
(62, 'M', 'HANSEN', 'Melisa', '349 Berriman Street, Shasta, West Virginia', NULL, 'Puerto Rico', '48480', '2000-12-22', 'Hawaii', '12589313144', 6),
(63, 'F', 'DALE', 'Jean', '169 Bay Parkway, Mayfair, Virginia', NULL, 'Vermont', '98518', '2009-06-09', 'Arizona', '22810920517', 86),
(64, 'F', 'GONZALEZ', 'Combs', '374 Merit Court, Sperryville, South Carolina', NULL, 'New Mexico', '59695', '2013-05-27', 'Mississippi', '20990109001', 61),
(65, 'M', 'SWEENEY', 'Edith', '995 Maple Avenue, Ilchester, Virgin Islands', NULL, 'Wyoming', '67276', '2007-02-02', 'Pennsylvania', '16022894937', 70),
(66, 'F', 'STRONG', 'Jacquelyn', '626 Hazel Court, Allensworth, Idaho', NULL, 'North Carolina', '67826', '2005-07-12', 'Rhode Island', '20684605971', 56),
(67, 'F', 'RIVERA', 'Leigh', '708 Quay Street, Hachita, Florida', NULL, 'California', '91928', '2005-12-05', 'Indiana', '29628059742', 33),
(68, 'F', 'MYERS', 'Gladys', '141 Heyward Street, Darbydale, Montana', NULL, 'Palau', '84636', '1969-09-14', 'American Samoa', '28694761131', 40),
(69, 'F', 'KELLER', 'Terry', '170 Hanover Place, Boykin, Wisconsin', NULL, 'Michigan', '78173', '2014-01-01', 'Tennessee', '26102225068', 22),
(70, 'M', 'MAY', 'Snyder', '854 Orange Street, Stouchsburg, Delaware', NULL, 'Connecticut', '55484', '1936-10-14', 'Guam', '16217199153', 75),
(71, 'M', 'DOTSON', 'Joanna', '976 Albany Avenue, Saranap, Louisiana', NULL, 'Northern Mariana Islands', '88021', '2003-04-25', 'Illinois', '18490418466', 58),
(72, 'F', 'CRANE', 'Sampson', '574 Summit Street, Johnsonburg, Oklahoma', NULL, 'Alaska', '09843', '2013-01-22', 'New York', '27655744344', 58),
(73, 'M', 'ROBERTS', 'Elizabeth', '679 Highland Place, Riviera, Nevada', NULL, 'Minnesota', '28575', '1934-06-02', 'Colorado', '19433331796', 8),
(74, 'F', 'DELANEY', 'Gross', '467 Butler Place, Aurora, Alabama', NULL, 'Kentucky', '69364', '2005-01-08', 'Missouri', '22011388800', 46),
(75, 'M', 'ROBERSON', 'Claire', '792 Nichols Avenue, Roulette, Kansas', NULL, 'Ohio', '01221', '1919-11-19', 'Nebraska', '16305786338', 80),
(76, 'F', 'CONRAD', 'Tammi', '621 Crystal Street, Newkirk, Maryland', NULL, 'Maine', '03729', '2010-05-19', 'Georgia', '25770649159', 23),
(77, 'F', 'ERICKSON', 'Grace', '736 Commerce Street, Beechmont, District Of Columbia', NULL, 'Washington', '32188', '2002-08-09', 'Oregon', '23105547041', 99),
(78, 'F', 'STEWART', 'Alston', '807 Empire Boulevard, Keyport, New Jersey', NULL, 'Iowa', '73784', '1923-04-03', 'North Dakota', '27009664661', 17),
(79, 'M', 'RIOS', 'Terri', '462 Fanchon Place, Zeba, Texas', NULL, 'New Hampshire', '50920', '2012-12-10', 'South Dakota', '13800615485', 3),
(80, 'F', 'BOND', 'Spence', '803 Amherst Street, Rosine, Arkansas', NULL, 'Marshall Islands', '11222', '1975-07-18', 'Massachusetts', '23767781414', 77),
(81, 'M', 'BARTON', 'Blake', '636 Prince Street, Mammoth, Federated States Of Micronesia', NULL, 'West Virginia', '17295', '2014-09-29', 'Puerto Rico', '10219535739', 22),
(82, 'M', 'VANG', 'Monica', '691 Gerry Street, Toftrees, Hawaii', NULL, 'Virginia', '17720', '2006-07-08', 'Vermont', '19231014062', 41),
(83, 'F', 'FIELDS', 'Giles', '189 Sullivan Place, Hilltop, Arizona', NULL, 'South Carolina', '93234', '1945-10-11', 'New Mexico', '24846926528', 75),
(84, 'M', 'CLAY', 'Dalton', '375 Fay Court, Greensburg, Mississippi', NULL, 'Virgin Islands', '15908', '1939-12-22', 'Wyoming', '19933111163', 24),
(85, 'M', 'WEEKS', 'Tonya', '411 Milton Street, Valmy, Pennsylvania', NULL, 'Idaho', '64798', '2004-02-08', 'North Carolina', '17176317887', 24),
(86, 'F', 'WALTER', 'Sanford', '984 Rapelye Street, Oasis, Rhode Island', NULL, 'Florida', '19871', '2007-02-03', 'California', '22983447225', 85),
(87, 'M', 'SCHWARTZ', 'Mae', '740 Kossuth Place, Tyro, Indiana', NULL, 'Montana', '56876', '2010-11-17', 'Palau', '18050339720', 8),
(88, 'F', 'HILL', 'Alyson', '935 Bay Avenue, Neibert, American Samoa', NULL, 'Wisconsin', '81361', '2006-11-22', 'Michigan', '24102999369', 37),
(89, 'F', 'BAKER', 'Judy', '159 Kenilworth Place, Washington, Tennessee', NULL, 'Delaware', '23849', '2012-11-08', 'Connecticut', '28124601703', 92),
(90, 'F', 'VALDEZ', 'Phelps', '207 Grant Avenue, Buxton, Guam', NULL, 'Louisiana', '39088', '1948-10-28', 'Northern Mariana Islands', '23363949354', 18),
(91, 'M', 'TERRY', 'Bernadine', '126 Cook Street, Drummond, Illinois', NULL, 'Oklahoma', '82875', '1902-12-13', 'Alaska', '10607274186', 54),
(92, 'F', 'COFFEY', 'Mabel', '242 Dupont Street, Wiscon, New York', NULL, 'Nevada', '34688', '2015-10-18', 'Minnesota', '20291563081', 95),
(93, 'F', 'TODD', 'Lucy', '158 Jardine Place, Bowie, Colorado', NULL, 'Alabama', '84196', '2011-01-08', 'Kentucky', '29773564480', 24),
(94, 'F', 'MENDEZ', 'Joann', '584 Kiely Place, Frizzleburg, Missouri', NULL, 'Kansas', '80528', '2007-04-19', 'Ohio', '22504705446', 47),
(95, 'F', 'KIRKLAND', 'Patrice', '924 Bond Street, Katonah, Nebraska', NULL, 'Maryland', '56940', '1972-03-21', 'Maine', '25277175911', 34),
(96, 'F', 'NASH', 'Sexton', '323 Coventry Road, Spelter, Georgia', NULL, 'District Of Columbia', '74403', '1994-03-26', 'Washington', '20857808066', 100),
(97, 'M', 'FLORES', 'Yvonne', '606 Beacon Court, Westwood, Oregon', NULL, 'New Jersey', '17963', '1977-08-10', 'Iowa', '10912788354', 81),
(98, 'F', 'IRWIN', 'Helene', '747 Martense Street, Lafferty, North Dakota', NULL, 'Texas', '00597', '1953-06-21', 'New Hampshire', '21111493296', 96),
(99, 'F', 'JACOBSON', 'Wendi', '482 Poly Place, Veyo, South Dakota', NULL, 'Arkansas', '54428', '1980-12-11', 'Marshall Islands', '20915062532', 69),
(100, 'F', 'RICH', 'Guerra', '191 Hart Street, Teasdale, Massachusetts', NULL, 'Federated States Of Micronesia', '67771', '2001-05-16', 'West Virginia', '24748914281', 71);
(1, 'M', 'SILVA', 'Lena', '649 Banner Avenue, Tooleville, Iowa', NULL, 'North Dakota', '52882', '1911-09-13', 'Texas', '12698948371', 33),
(2, 'F', 'KEMP', 'Clay', '807 Beayer Place, Linganore, New Hampshire', NULL, 'South Dakota', '61218', '2010-08-20', 'Arkansas', '20628078948', 63),
(3, 'M', 'PAUL', 'Buck', '494 Macdougal Street, Chumuckla, Marshall Islands', NULL, 'Massachusetts', '68865', '1910-12-09', 'Federated States Of Micronesia', '15945373003', 9),
(4, 'M', 'GARNER', 'Martina', '339 Frank Court, Defiance, West Virginia', NULL, 'Puerto Rico', '62671', '2008-10-01', 'Hawaii', '19329610967', 66),
(5, 'F', 'BURCH', 'Chasity', '866 Clarendon Road, Cumminsville, Virginia', NULL, 'Vermont', '38435', '2012-06-25', 'Arizona', '27391164606', 25),
(6, 'F', 'JEFFERSON', 'Shana', '175 Wyckoff Street, Trucksville, South Carolina', NULL, 'New Mexico', '85431', '2006-10-15', 'Mississippi', '26819094421', 30),
(7, 'F', 'BLAKE', 'Arlene', '859 Debevoise Street, Russellville, Virgin Islands', NULL, 'Wyoming', '61926', '1966-06-18', 'Pennsylvania', '23960497083', 93),
(8, 'F', 'DIAZ', 'Dawn', '273 Madison Street, Boonville, Idaho', NULL, 'North Carolina', '02209', '2006-10-04', 'Rhode Island', '27215823739', 40),
(9, 'F', 'WHITLEY', 'Franco', '693 Horace Court, Rockbridge, Florida', NULL, 'California', '97479', '1927-06-07', 'Indiana', '29328474141', 46),
(10, 'M', 'BUCK', 'Beck', '919 Cleveland Street, Barronett, Montana', NULL, 'Palau', '48585', '2012-12-09', 'American Samoa', '19699641707', 67),
(11, 'M', 'COLE', 'Solomon', '412 Elizabeth Place, Bannock, Wisconsin', NULL, 'Michigan', '12693', '1935-04-15', 'Tennessee', '10678642104', 89),
(12, 'M', 'VASQUEZ', 'Best', '335 Krier Place, Tedrow, Delaware', NULL, 'Connecticut', '32627', '2007-08-28', 'Guam', '19009855991', 32),
(13, 'M', 'ROSS', 'Clark', '979 Celeste Court, Hessville, Louisiana', NULL, 'Northern Mariana Islands', '87310', '2007-06-27', 'Illinois', '11086416557', 72),
(14, 'M', 'CHEN', 'Ida', '205 Malta Street, Camas, Oklahoma', NULL, 'Alaska', '14500', '1927-06-02', 'New York', '17998195070', 35),
(15, 'F', 'BUCKLEY', 'Kathie', '415 Varick Street, Watchtower, Nevada', NULL, 'Minnesota', '87418', '2010-11-20', 'Colorado', '28577369272', 29),
(16, 'F', 'FOX', 'Mitchell', '474 Navy Walk, Waterford, Alabama', NULL, 'Kentucky', '20730', '2008-12-13', 'Missouri', '23197712678', 94),
(17, 'M', 'GOODMAN', 'Anthony', '526 Dodworth Street, Shawmut, Kansas', NULL, 'Ohio', '73624', '2000-11-21', 'Nebraska', '14355429029', 87),
(18, 'M', 'SAWYER', 'Brigitte', '490 Ebony Court, Steinhatchee, Maryland', NULL, 'Maine', '90009', '1993-09-30', 'Georgia', '19496691291', 12),
(19, 'F', 'CHRISTENSEN', 'Bates', '743 Middleton Street, Lowell, District Of Columbia', NULL, 'Washington', '43676', '2015-09-05', 'Oregon', '29308759372', 84),
(20, 'M', 'TALLEY', 'Angela', '524 Wythe Avenue, Bawcomville, New Jersey', NULL, 'Iowa', '50898', '2003-10-30', 'North Dakota', '11465049462', 43),
(21, 'F', 'COLEMAN', 'Logan', '238 Kent Street, Celeryville, Texas', NULL, 'New Hampshire', '06311', '2008-03-17', 'South Dakota', '28533965670', 21),
(22, 'M', 'MCCULLOUGH', 'Newman', '199 Kane Place, Yogaville, Arkansas', NULL, 'Marshall Islands', '80883', '2002-07-04', 'Massachusetts', '13498991796', 48),
(23, 'M', 'ROWLAND', 'Koch', '676 Oliver Street, Kraemer, Federated States Of Micronesia', NULL, 'West Virginia', '52228', '1998-05-18', 'Puerto Rico', '15879675253', 63),
(24, 'M', 'COOLEY', 'Matthews', '610 Arlington Avenue, Kennedyville, Hawaii', NULL, 'Virginia', '57187', '2003-05-13', 'Vermont', '12165901177', 35),
(25, 'M', 'PENNINGTON', 'Robbins', '101 Falmouth Street, Unionville, Arizona', NULL, 'South Carolina', '16649', '2012-09-12', 'New Mexico', '13627814148', 50),
(26, 'M', 'FARLEY', 'Austin', '869 Duffield Street, Rivers, Mississippi', NULL, 'Virgin Islands', '41659', '2002-08-03', 'Wyoming', '19094300308', 8),
(27, 'M', 'VELAZQUEZ', 'Winifred', '594 Rock Street, Fairacres, Pennsylvania', NULL, 'Idaho', '99838', '1981-06-30', 'North Carolina', '15647563918', 24),
(28, 'F', 'WALLACE', 'Frost', '135 Sapphire Street, Tolu, Rhode Island', NULL, 'Florida', '85278', '2007-11-12', 'California', '25913410982', 39),
(29, 'M', 'STANLEY', 'Hood', '833 Fountain Avenue, Moraida, Indiana', NULL, 'Montana', '96419', '2006-08-16', 'Palau', '17946621124', 26),
(30, 'M', 'GILES', 'Maggie', '643 Joval Court, Trail, American Samoa', NULL, 'Wisconsin', '48204', '2012-03-04', 'Michigan', '10662686180', 26),
(31, 'F', 'ESPINOZA', 'Tamara', '371 Ralph Avenue, Cuylerville, Tennessee', NULL, 'Delaware', '07341', '2008-08-10', 'Connecticut', '20083172261', 26),
(32, 'F', 'HOLDER', 'Pena', '712 Channel Avenue, Richmond, Guam', NULL, 'Louisiana', '72630', '2013-06-17', 'Northern Mariana Islands', '29005097826', 65),
(33, 'M', 'STOKES', 'Strong', '389 Dank Court, Temperanceville, Illinois', NULL, 'Oklahoma', '19213', '1924-04-09', 'Alaska', '14386411303', 82),
(34, 'M', 'PENA', 'Pamela', '979 Dumont Avenue, Stollings, New York', NULL, 'Nevada', '01244', '2008-09-06', 'Minnesota', '19329398624', 50),
(35, 'F', 'LEON', 'Allen', '899 Nevins Street, Fedora, Colorado', NULL, 'Alabama', '14863', '2015-05-10', 'Kentucky', '20535405226', 52),
(36, 'M', 'STOUT', 'Gamble', '238 Oceanview Avenue, Graball, Missouri', NULL, 'Kansas', '35626', '2011-12-13', 'Ohio', '16717569080', 67),
(37, 'M', 'BUTLER', 'Shawn', '563 Interborough Parkway, Lupton, Nebraska', NULL, 'Maryland', '82759', '1953-09-09', 'Maine', '18681124800', 45),
(38, 'F', 'HENDRICKS', 'Ayala', '839 Navy Street, Grahamtown, Georgia', NULL, 'District Of Columbia', '60566', '2004-07-12', 'Washington', '29995060639', 48),
(39, 'M', 'MAYO', 'Hicks', '626 Wilson Street, Noxen, Oregon', NULL, 'New Jersey', '87938', '2002-10-26', 'Iowa', '11993094532', 45),
(40, 'M', 'ATKINS', 'Cecelia', '210 Humboldt Street, Elbert, North Dakota', NULL, 'Texas', '17198', '2002-08-06', 'New Hampshire', '15111976539', 49),
(41, 'F', 'SUMMERS', 'Pauline', '550 Lorimer Street, Hailesboro, South Dakota', NULL, 'Arkansas', '95004', '1958-10-05', 'Marshall Islands', '28350963212', 47),
(42, 'F', 'GREER', 'Shelly', '469 Livonia Avenue, Lodoga, Massachusetts', NULL, 'Federated States Of Micronesia', '30292', '2001-01-30', 'West Virginia', '21326809626', 67),
(43, 'F', 'NIEVES', 'Wilma', '450 Guider Avenue, Selma, Puerto Rico', NULL, 'Hawaii', '39647', '1917-02-04', 'Virginia', '27216034661', 5),
(44, 'F', 'WALLER', 'Duncan', '255 Blake Court, Freetown, Vermont', NULL, 'Arizona', '48683', '2008-03-07', 'South Carolina', '25345198647', 36),
(45, 'M', 'VINCENT', 'Glenna', '727 Leonora Court, Tryon, New Mexico', NULL, 'Mississippi', '55687', '2009-10-09', 'Virgin Islands', '10271387742', 16),
(46, 'F', 'WILKERSON', 'Kelley', '304 Bleecker Street, Concho, Wyoming', NULL, 'Pennsylvania', '30593', '2004-10-12', 'Idaho', '20837368947', 76),
(47, 'M', 'CHAVEZ', 'Carolina', '620 Cumberland Street, Greer, North Carolina', NULL, 'Rhode Island', '72334', '1996-06-02', 'Florida', '13128264581', 39),
(48, 'F', 'CORTEZ', 'Donaldson', '654 Diamond Street, Bonanza, California', NULL, 'Indiana', '67633', '1936-05-13', 'Montana', '20450513660', 5),
(49, 'M', 'WHITAKER', 'Geraldine', '248 Louisiana Avenue, Hobucken, Palau', NULL, 'American Samoa', '19680', '1912-01-11', 'Wisconsin', '14501409312', 71),
(50, 'F', 'WILSON', 'Isabelle', '319 Stryker Street, Henrietta, Michigan', NULL, 'Tennessee', '75542', '2013-09-30', 'Delaware', '21523135649', 93),
(51, 'F', 'KLINE', 'Shirley', '325 Newel Street, Retsof, Connecticut', NULL, 'Guam', '67214', '2006-04-28', 'Louisiana', '29829440387', 97),
(52, 'F', 'CROSBY', 'Sweet', '406 Dekalb Avenue, Nadine, Northern Mariana Islands', NULL, 'Illinois', '18491', '2002-10-02', 'Oklahoma', '22799689361', 15),
(53, 'M', 'PRUITT', 'Bette', '140 Voorhies Avenue, Weedville, Alaska', NULL, 'New York', '73961', '1961-11-01', 'Nevada', '11917517213', 59),
(54, 'F', 'LARSEN', 'Julianne', '706 Tiffany Place, Eagleville, Minnesota', NULL, 'Colorado', '39520', '1984-01-12', 'Alabama', '29343266278', 29),
(55, 'F', 'NICHOLS', 'Mckay', '383 Dewey Place, Lithium, Kentucky', NULL, 'Missouri', '20493', '1929-07-17', 'Kansas', '21719339678', 47),
(56, 'M', 'REEVES', 'Vasquez', '164 Cozine Avenue, Tecolotito, Ohio', NULL, 'Nebraska', '64893', '2009-06-25', 'Maryland', '16427456557', 40),
(57, 'M', 'HERRING', 'Finch', '798 Albemarle Road, Gouglersville, Maine', NULL, 'Georgia', '58812', '1957-06-18', 'District Of Columbia', '13122477225', 24),
(58, 'M', 'HOLLOWAY', 'Cummings', '522 Howard Alley, Escondida, Washington', NULL, 'Oregon', '62194', '1960-09-09', 'New Jersey', '19596957459', 89),
(59, 'M', 'MILLER', 'Oliver', '273 Lenox Road, Norwood, Iowa', NULL, 'North Dakota', '62699', '1932-03-25', 'Texas', '19968426193', 57),
(60, 'M', 'CAMPOS', 'Hart', '787 Polhemus Place, Motley, New Hampshire', NULL, 'South Dakota', '77516', '2007-12-21', 'Arkansas', '17253462074', 31),
(61, 'M', 'CASE', 'Henson', '174 Stillwell Place, Mulino, Marshall Islands', NULL, 'Massachusetts', '85870', '2001-09-11', 'Federated States Of Micronesia', '12489367510', 96),
(62, 'M', 'HANSEN', 'Melisa', '349 Berriman Street, Shasta, West Virginia', NULL, 'Puerto Rico', '48480', '2000-12-22', 'Hawaii', '12589313144', 6),
(63, 'F', 'DALE', 'Jean', '169 Bay Parkway, Mayfair, Virginia', NULL, 'Vermont', '98518', '2009-06-09', 'Arizona', '22810920517', 86),
(64, 'F', 'GONZALEZ', 'Combs', '374 Merit Court, Sperryville, South Carolina', NULL, 'New Mexico', '59695', '2013-05-27', 'Mississippi', '20990109001', 61),
(65, 'M', 'SWEENEY', 'Edith', '995 Maple Avenue, Ilchester, Virgin Islands', NULL, 'Wyoming', '67276', '2007-02-02', 'Pennsylvania', '16022894937', 70),
(66, 'F', 'STRONG', 'Jacquelyn', '626 Hazel Court, Allensworth, Idaho', NULL, 'North Carolina', '67826', '2005-07-12', 'Rhode Island', '20684605971', 56),
(67, 'F', 'RIVERA', 'Leigh', '708 Quay Street, Hachita, Florida', NULL, 'California', '91928', '2005-12-05', 'Indiana', '29628059742', 33),
(68, 'F', 'MYERS', 'Gladys', '141 Heyward Street, Darbydale, Montana', NULL, 'Palau', '84636', '1969-09-14', 'American Samoa', '28694761131', 40),
(69, 'F', 'KELLER', 'Terry', '170 Hanover Place, Boykin, Wisconsin', NULL, 'Michigan', '78173', '2014-01-01', 'Tennessee', '26102225068', 22),
(70, 'M', 'MAY', 'Snyder', '854 Orange Street, Stouchsburg, Delaware', NULL, 'Connecticut', '55484', '1936-10-14', 'Guam', '16217199153', 75),
(71, 'M', 'DOTSON', 'Joanna', '976 Albany Avenue, Saranap, Louisiana', NULL, 'Northern Mariana Islands', '88021', '2003-04-25', 'Illinois', '18490418466', 58),
(72, 'F', 'CRANE', 'Sampson', '574 Summit Street, Johnsonburg, Oklahoma', NULL, 'Alaska', '09843', '2013-01-22', 'New York', '27655744344', 58),
(73, 'M', 'ROBERTS', 'Elizabeth', '679 Highland Place, Riviera, Nevada', NULL, 'Minnesota', '28575', '1934-06-02', 'Colorado', '19433331796', 8),
(74, 'F', 'DELANEY', 'Gross', '467 Butler Place, Aurora, Alabama', NULL, 'Kentucky', '69364', '2005-01-08', 'Missouri', '22011388800', 46),
(75, 'M', 'ROBERSON', 'Claire', '792 Nichols Avenue, Roulette, Kansas', NULL, 'Ohio', '01221', '1919-11-19', 'Nebraska', '16305786338', 80),
(76, 'F', 'CONRAD', 'Tammi', '621 Crystal Street, Newkirk, Maryland', NULL, 'Maine', '03729', '2010-05-19', 'Georgia', '25770649159', 23),
(77, 'F', 'ERICKSON', 'Grace', '736 Commerce Street, Beechmont, District Of Columbia', NULL, 'Washington', '32188', '2002-08-09', 'Oregon', '23105547041', 99),
(78, 'F', 'STEWART', 'Alston', '807 Empire Boulevard, Keyport, New Jersey', NULL, 'Iowa', '73784', '1923-04-03', 'North Dakota', '27009664661', 17),
(79, 'M', 'RIOS', 'Terri', '462 Fanchon Place, Zeba, Texas', NULL, 'New Hampshire', '50920', '2012-12-10', 'South Dakota', '13800615485', 3),
(80, 'F', 'BOND', 'Spence', '803 Amherst Street, Rosine, Arkansas', NULL, 'Marshall Islands', '11222', '1975-07-18', 'Massachusetts', '23767781414', 77),
(81, 'M', 'BARTON', 'Blake', '636 Prince Street, Mammoth, Federated States Of Micronesia', NULL, 'West Virginia', '17295', '2014-09-29', 'Puerto Rico', '10219535739', 22),
(82, 'M', 'VANG', 'Monica', '691 Gerry Street, Toftrees, Hawaii', NULL, 'Virginia', '17720', '2006-07-08', 'Vermont', '19231014062', 41),
(83, 'F', 'FIELDS', 'Giles', '189 Sullivan Place, Hilltop, Arizona', NULL, 'South Carolina', '93234', '1945-10-11', 'New Mexico', '24846926528', 75),
(84, 'M', 'CLAY', 'Dalton', '375 Fay Court, Greensburg, Mississippi', NULL, 'Virgin Islands', '15908', '1939-12-22', 'Wyoming', '19933111163', 24),
(85, 'M', 'WEEKS', 'Tonya', '411 Milton Street, Valmy, Pennsylvania', NULL, 'Idaho', '64798', '2004-02-08', 'North Carolina', '17176317887', 24),
(86, 'F', 'WALTER', 'Sanford', '984 Rapelye Street, Oasis, Rhode Island', NULL, 'Florida', '19871', '2007-02-03', 'California', '22983447225', 85),
(87, 'M', 'SCHWARTZ', 'Mae', '740 Kossuth Place, Tyro, Indiana', NULL, 'Montana', '56876', '2010-11-17', 'Palau', '18050339720', 8),
(88, 'F', 'HILL', 'Alyson', '935 Bay Avenue, Neibert, American Samoa', NULL, 'Wisconsin', '81361', '2006-11-22', 'Michigan', '24102999369', 37),
(89, 'F', 'BAKER', 'Judy', '159 Kenilworth Place, Washington, Tennessee', NULL, 'Delaware', '23849', '2012-11-08', 'Connecticut', '28124601703', 92),
(90, 'F', 'VALDEZ', 'Phelps', '207 Grant Avenue, Buxton, Guam', NULL, 'Louisiana', '39088', '1948-10-28', 'Northern Mariana Islands', '23363949354', 18),
(91, 'M', 'TERRY', 'Bernadine', '126 Cook Street, Drummond, Illinois', NULL, 'Oklahoma', '82875', '1902-12-13', 'Alaska', '10607274186', 54),
(92, 'F', 'COFFEY', 'Mabel', '242 Dupont Street, Wiscon, New York', NULL, 'Nevada', '34688', '2015-10-18', 'Minnesota', '20291563081', 95),
(93, 'F', 'TODD', 'Lucy', '158 Jardine Place, Bowie, Colorado', NULL, 'Alabama', '84196', '2011-01-08', 'Kentucky', '29773564480', 24),
(94, 'F', 'MENDEZ', 'Joann', '584 Kiely Place, Frizzleburg, Missouri', NULL, 'Kansas', '80528', '2007-04-19', 'Ohio', '22504705446', 47),
(95, 'F', 'KIRKLAND', 'Patrice', '924 Bond Street, Katonah, Nebraska', NULL, 'Maryland', '56940', '1972-03-21', 'Maine', '25277175911', 34),
(96, 'F', 'NASH', 'Sexton', '323 Coventry Road, Spelter, Georgia', NULL, 'District Of Columbia', '74403', '1994-03-26', 'Washington', '20857808066', 100),
(97, 'M', 'FLORES', 'Yvonne', '606 Beacon Court, Westwood, Oregon', NULL, 'New Jersey', '17963', '1977-08-10', 'Iowa', '10912788354', 81),
(98, 'F', 'IRWIN', 'Helene', '747 Martense Street, Lafferty, North Dakota', NULL, 'Texas', '00597', '1953-06-21', 'New Hampshire', '21111493296', 96),
(99, 'F', 'JACOBSON', 'Wendi', '482 Poly Place, Veyo, South Dakota', NULL, 'Arkansas', '54428', '1980-12-11', 'Marshall Islands', '20915062532', 69),
(100, 'F', 'RICH', 'Guerra', '191 Hart Street, Teasdale, Massachusetts', NULL, 'Federated States Of Micronesia', '67771', '2001-05-16', 'West Virginia', '24748914281', 71);
-- --------------------------------------------------------
--
-- Structure de la table `RDV`
-- Table structure for table `RDV`
--
CREATE TABLE `RDV` (
@ -281,174 +281,174 @@ CREATE TABLE `RDV` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Contenu de la table `RDV`
-- Dumping data for table `RDV`
--
INSERT INTO `RDV` (`Id`, `DateRDV`, `Duree`, `Patient_Id`, `Medecin_id`) VALUES
(1, '2015-06-08 11:33:43', '01:00:00', 14, 60),
(2, '2015-04-04 04:22:43', '01:00:00', 9, 15),
(3, '2015-02-08 06:05:29', '01:00:00', 63, 2),
(4, '2015-04-13 08:48:17', '00:30:00', 3, 40),
(5, '2015-10-23 08:01:11', '01:00:00', 58, 74),
(6, '2015-01-02 09:51:57', '00:30:00', 33, 71),
(7, '2015-09-17 11:06:44', '01:00:00', 21, 69),
(8, '2015-07-08 03:55:22', '00:30:00', 18, 41),
(9, '2015-10-18 03:25:50', '01:00:00', 23, 70),
(10, '2015-01-29 09:21:39', '00:30:00', 82, 8),
(11, '2015-08-23 02:57:06', '00:30:00', 13, 25),
(12, '2015-11-30 05:11:44', '01:00:00', 20, 77),
(13, '2015-06-28 09:08:39', '00:30:00', 49, 82),
(14, '2015-06-08 02:00:35', '00:30:00', 93, 13),
(15, '2015-03-01 02:39:30', '01:00:00', 28, 26),
(16, '2015-09-24 01:02:24', '00:30:00', 56, 76),
(17, '2015-09-06 11:13:48', '01:00:00', 39, 97),
(18, '2015-01-15 03:36:46', '00:30:00', 46, 78),
(19, '2015-06-26 09:04:07', '01:00:00', 97, 55),
(20, '2015-07-01 08:27:26', '01:00:00', 22, 50),
(21, '2015-02-08 11:50:46', '00:30:00', 18, 34),
(22, '2015-01-29 03:27:30', '01:00:00', 14, 58),
(23, '2015-03-16 01:57:19', '00:30:00', 52, 4),
(24, '2015-09-21 05:49:59', '00:30:00', 11, 14),
(25, '2015-08-09 03:58:24', '00:30:00', 91, 29),
(26, '2015-02-04 06:35:51', '00:30:00', 29, 62),
(27, '2015-11-04 09:18:35', '00:30:00', 99, 87),
(28, '2015-05-02 04:25:22', '00:30:00', 2, 50),
(29, '2015-11-29 02:33:10', '01:00:00', 51, 89),
(30, '2015-10-15 07:02:24', '01:00:00', 10, 8),
(31, '2015-04-23 08:57:53', '00:30:00', 65, 35),
(32, '2015-02-22 04:17:11', '01:00:00', 35, 82),
(33, '2015-04-04 07:48:57', '00:30:00', 76, 53),
(34, '2015-09-18 07:48:07', '00:30:00', 94, 19),
(35, '2015-02-15 07:25:06', '01:00:00', 69, 44),
(36, '2015-06-08 04:25:39', '01:00:00', 15, 88),
(37, '2015-11-24 01:33:30', '01:00:00', 84, 20),
(38, '2015-07-11 04:17:24', '01:00:00', 30, 78),
(39, '2015-08-12 10:59:53', '00:30:00', 61, 95),
(40, '2015-09-19 05:08:41', '00:30:00', 11, 23),
(41, '2015-09-29 07:56:16', '00:30:00', 75, 86),
(42, '2015-03-22 01:07:22', '00:30:00', 83, 23),
(43, '2015-06-11 06:05:41', '01:00:00', 89, 20),
(44, '2015-03-17 04:28:43', '01:00:00', 77, 88),
(45, '2015-11-27 06:14:03', '01:00:00', 27, 54),
(46, '2015-03-07 09:38:22', '01:00:00', 2, 4),
(47, '2015-02-02 01:45:32', '00:30:00', 36, 60),
(48, '2015-06-18 04:52:09', '01:00:00', 69, 99),
(49, '2015-06-24 11:53:34', '01:00:00', 89, 40),
(50, '2015-10-21 04:19:14', '01:00:00', 85, 76),
(51, '2015-04-14 09:14:08', '00:30:00', 73, 48),
(52, '2015-04-18 09:11:32', '00:30:00', 90, 11),
(53, '2015-08-23 02:03:16', '00:30:00', 17, 57),
(54, '2015-05-03 02:25:11', '00:30:00', 21, 63),
(55, '2015-08-07 09:12:44', '00:30:00', 97, 92),
(56, '2015-05-09 06:18:46', '00:30:00', 21, 32),
(57, '2015-09-10 10:26:08', '00:30:00', 9, 6),
(58, '2015-09-06 11:38:09', '00:30:00', 26, 48),
(59, '2015-07-22 04:18:29', '01:00:00', 81, 90),
(60, '2015-11-29 12:25:38', '01:00:00', 91, 2),
(61, '2015-07-22 05:27:02', '01:00:00', 92, 27),
(62, '2015-02-12 09:02:35', '00:30:00', 50, 35),
(63, '2015-11-07 04:16:19', '01:00:00', 98, 35),
(64, '2015-11-20 09:12:30', '01:00:00', 22, 57),
(65, '2015-11-13 09:09:55', '00:30:00', 98, 69),
(66, '2015-08-04 07:56:59', '00:30:00', 88, 44),
(67, '2015-07-15 07:32:15', '01:00:00', 72, 59),
(68, '2015-05-26 07:16:43', '01:00:00', 22, 57),
(69, '2015-03-08 05:21:56', '01:00:00', 95, 19),
(70, '2015-01-12 02:11:24', '00:30:00', 51, 72),
(71, '2015-11-29 08:22:29', '01:00:00', 95, 56),
(72, '2015-10-09 06:50:11', '01:00:00', 53, 5),
(73, '2015-01-09 04:59:41', '01:00:00', 9, 44),
(74, '2015-03-06 01:45:26', '00:30:00', 50, 90),
(75, '2015-08-20 07:20:01', '00:30:00', 70, 60),
(76, '2015-08-08 03:18:32', '01:00:00', 34, 23),
(77, '2015-07-07 05:49:03', '00:30:00', 100, 97),
(78, '2015-05-14 12:17:01', '01:00:00', 37, 4),
(79, '2015-05-26 02:31:26', '00:30:00', 26, 92),
(80, '2015-07-10 01:06:31', '00:30:00', 37, 19),
(81, '2015-02-12 06:48:08', '01:00:00', 26, 36),
(82, '2015-04-04 09:58:14', '01:00:00', 56, 51),
(83, '2015-09-09 11:00:38', '00:30:00', 58, 60),
(84, '2015-04-07 06:46:08', '01:00:00', 6, 18),
(85, '2015-12-07 04:20:04', '01:00:00', 64, 6),
(86, '2015-09-28 02:43:55', '01:00:00', 57, 66),
(87, '2015-08-26 12:20:03', '01:00:00', 27, 36),
(88, '2015-09-06 08:31:43', '00:30:00', 71, 80),
(89, '2015-04-21 08:18:20', '00:30:00', 22, 30),
(90, '2015-08-13 11:00:42', '00:30:00', 10, 72),
(91, '2015-05-18 01:40:59', '01:00:00', 2, 78),
(92, '2015-11-15 05:32:12', '01:00:00', 94, 77),
(93, '2015-02-27 03:23:52', '01:00:00', 2, 71),
(94, '2015-11-07 04:56:09', '00:30:00', 96, 52),
(95, '2015-07-20 10:32:31', '00:30:00', 57, 38),
(96, '2015-04-09 06:30:20', '00:30:00', 91, 67),
(97, '2015-10-20 04:25:11', '00:30:00', 56, 98),
(98, '2015-11-11 08:29:45', '00:30:00', 88, 39),
(99, '2015-10-21 07:55:43', '00:30:00', 97, 6),
(100, '2015-07-11 11:02:43', '01:00:00', 7, 22);
(1, '2015-12-20 13:33:00', '00:30:00', 14, 60),
(2, '2015-04-04 04:22:43', '01:00:00', 9, 15),
(3, '2015-02-08 06:05:29', '01:00:00', 63, 2),
(4, '2015-04-13 08:48:17', '00:30:00', 3, 40),
(5, '2015-10-23 08:01:11', '01:00:00', 58, 74),
(6, '2015-01-02 09:51:57', '00:30:00', 33, 71),
(7, '2015-09-17 11:06:44', '01:00:00', 21, 69),
(8, '2015-07-08 03:55:22', '00:30:00', 18, 41),
(9, '2015-10-18 03:25:50', '01:00:00', 23, 70),
(10, '2015-01-29 09:21:39', '00:30:00', 82, 8),
(11, '2015-08-23 02:57:06', '00:30:00', 13, 25),
(12, '2015-11-30 05:11:44', '01:00:00', 20, 77),
(13, '2015-06-28 09:08:39', '00:30:00', 49, 82),
(14, '2015-06-08 02:00:35', '00:30:00', 93, 13),
(15, '2015-03-01 02:39:30', '01:00:00', 28, 26),
(16, '2015-09-24 01:02:24', '00:30:00', 56, 76),
(17, '2015-09-06 11:13:48', '01:00:00', 39, 97),
(18, '2015-01-15 03:36:46', '00:30:00', 46, 78),
(19, '2015-06-26 09:04:07', '01:00:00', 97, 55),
(20, '2015-07-01 08:27:26', '01:00:00', 22, 50),
(21, '2015-02-08 11:50:46', '00:30:00', 18, 34),
(22, '2015-01-29 03:27:30', '01:00:00', 14, 58),
(23, '2015-03-16 01:57:19', '00:30:00', 52, 4),
(24, '2015-09-21 05:49:59', '00:30:00', 11, 14),
(25, '2015-08-09 03:58:24', '00:30:00', 91, 29),
(26, '2015-02-04 06:35:51', '00:30:00', 29, 62),
(27, '2015-11-04 09:18:00', '00:00:00', 99, 87),
(28, '2015-05-02 04:25:22', '00:30:00', 2, 50),
(29, '2015-11-29 02:33:10', '01:00:00', 51, 89),
(30, '2015-10-15 07:02:24', '01:00:00', 10, 8),
(31, '2015-04-23 08:57:53', '00:30:00', 65, 35),
(32, '2015-02-22 04:17:11', '01:00:00', 35, 82),
(33, '2015-04-04 07:48:57', '00:30:00', 76, 53),
(34, '2015-09-18 07:48:07', '00:30:00', 94, 19),
(35, '2015-02-15 07:25:06', '01:00:00', 69, 44),
(36, '2015-06-08 04:25:39', '01:00:00', 15, 88),
(37, '2015-11-24 01:33:30', '01:00:00', 84, 20),
(38, '2015-07-11 04:17:24', '01:00:00', 30, 78),
(39, '2015-08-12 10:59:53', '00:30:00', 61, 95),
(40, '2015-09-19 05:08:41', '00:30:00', 11, 23),
(41, '2015-09-29 07:56:16', '00:30:00', 75, 86),
(42, '2015-03-22 01:07:22', '00:30:00', 83, 23),
(43, '2015-06-11 06:05:41', '01:00:00', 89, 20),
(44, '2015-03-17 04:28:43', '01:00:00', 77, 88),
(45, '2015-11-27 06:14:03', '01:00:00', 27, 54),
(46, '2015-03-07 09:38:22', '01:00:00', 2, 4),
(47, '2015-02-02 01:45:32', '00:30:00', 36, 60),
(48, '2015-06-18 04:52:09', '01:00:00', 69, 99),
(49, '2015-06-24 11:53:34', '01:00:00', 89, 40),
(50, '2015-10-21 04:19:14', '01:00:00', 85, 76),
(51, '2015-04-14 09:14:08', '00:30:00', 73, 48),
(52, '2015-04-18 09:11:32', '00:30:00', 90, 11),
(53, '2015-08-23 02:03:16', '00:30:00', 17, 57),
(54, '2015-05-03 02:25:11', '00:30:00', 21, 63),
(55, '2015-08-07 09:12:44', '00:30:00', 97, 92),
(56, '2015-05-09 06:18:46', '00:30:00', 21, 32),
(57, '2015-09-10 10:26:08', '00:30:00', 9, 6),
(58, '2015-09-06 11:38:09', '00:30:00', 26, 48),
(59, '2015-07-22 04:18:29', '01:00:00', 81, 90),
(60, '2015-11-29 12:25:38', '01:00:00', 91, 2),
(61, '2015-07-22 05:27:02', '01:00:00', 92, 27),
(62, '2015-02-12 09:02:35', '00:30:00', 50, 35),
(63, '2015-11-07 04:16:19', '01:00:00', 98, 35),
(64, '2015-11-20 09:12:30', '01:00:00', 22, 57),
(65, '2015-11-13 09:09:55', '00:30:00', 98, 69),
(66, '2015-08-04 07:56:59', '00:30:00', 88, 44),
(67, '2015-07-15 07:32:15', '01:00:00', 72, 59),
(68, '2015-05-26 07:16:43', '01:00:00', 22, 57),
(69, '2015-03-08 05:21:56', '01:00:00', 95, 19),
(70, '2015-01-12 02:11:24', '00:30:00', 51, 72),
(71, '2015-11-29 08:22:29', '01:00:00', 95, 56),
(72, '2015-10-09 06:50:11', '01:00:00', 53, 5),
(73, '2015-01-09 04:59:41', '01:00:00', 9, 44),
(74, '2015-03-06 01:45:26', '00:30:00', 50, 90),
(75, '2015-08-20 07:20:01', '00:30:00', 70, 60),
(76, '2015-08-08 03:18:32', '01:00:00', 34, 23),
(77, '2015-07-07 05:49:03', '00:30:00', 100, 97),
(78, '2015-05-14 12:17:01', '01:00:00', 37, 4),
(79, '2015-05-26 02:31:26', '00:30:00', 26, 92),
(80, '2015-07-10 01:06:31', '00:30:00', 37, 19),
(81, '2015-02-12 06:48:08', '01:00:00', 26, 36),
(82, '2015-04-04 09:58:14', '01:00:00', 56, 51),
(83, '2015-09-09 11:00:38', '00:30:00', 58, 60),
(84, '2015-04-07 06:46:08', '01:00:00', 6, 18),
(85, '2015-12-07 04:20:04', '01:00:00', 64, 6),
(86, '2015-09-28 02:43:55', '01:00:00', 57, 66),
(87, '2015-08-26 12:20:03', '01:00:00', 27, 36),
(88, '2015-09-06 08:31:43', '00:30:00', 71, 80),
(89, '2015-04-21 08:18:20', '00:30:00', 22, 30),
(90, '2015-08-13 11:00:42', '00:30:00', 10, 72),
(91, '2015-05-18 01:40:59', '01:00:00', 2, 78),
(92, '2015-11-15 05:32:12', '01:00:00', 94, 77),
(93, '2015-02-27 03:23:52', '01:00:00', 2, 71),
(94, '2015-11-07 04:56:09', '00:30:00', 96, 52),
(95, '2015-07-20 10:32:31', '00:30:00', 57, 38),
(96, '2015-04-09 06:30:20', '00:30:00', 91, 67),
(97, '2015-10-20 04:25:11', '00:30:00', 56, 98),
(98, '2015-11-11 08:29:45', '00:30:00', 88, 39),
(99, '2015-10-21 07:55:43', '00:30:00', 97, 6),
(100, '2015-07-11 11:02:43', '01:00:00', 7, 22);
--
-- Index pour les tables exportées
-- Indexes for dumped tables
--
--
-- Index pour la table `Medecin`
-- Indexes for table `Medecin`
--
ALTER TABLE `Medecin`
ADD PRIMARY KEY (`Id`),
ADD UNIQUE KEY `id_UNIQUE` (`Id`);
ADD PRIMARY KEY (`Id`),
ADD UNIQUE KEY `id_UNIQUE` (`Id`);
--
-- Index pour la table `Patient`
-- Indexes for table `Patient`
--
ALTER TABLE `Patient`
ADD PRIMARY KEY (`Id`),
ADD UNIQUE KEY `NumSecuriteSociale_UNIQUE` (`NumSecuriteSociale`),
ADD UNIQUE KEY `Id_UNIQUE` (`Id`),
ADD KEY `fk_Patient_Medecin_idx` (`MedecinTraitant`);
ADD PRIMARY KEY (`Id`),
ADD UNIQUE KEY `NumSecuriteSociale_UNIQUE` (`NumSecuriteSociale`),
ADD UNIQUE KEY `Id_UNIQUE` (`Id`),
ADD KEY `fk_Patient_Medecin_idx` (`MedecinTraitant`);
--
-- Index pour la table `RDV`
-- Indexes for table `RDV`
--
ALTER TABLE `RDV`
ADD PRIMARY KEY (`Id`),
ADD KEY `fk_RDV_Patient1_idx` (`Patient_Id`),
ADD KEY `fk_RDV_Medecin1_idx` (`Medecin_id`);
ADD PRIMARY KEY (`Id`),
ADD KEY `fk_RDV_Patient1_idx` (`Patient_Id`),
ADD KEY `fk_RDV_Medecin1_idx` (`Medecin_id`);
--
-- AUTO_INCREMENT pour les tables exportées
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT pour la table `Medecin`
-- AUTO_INCREMENT for table `Medecin`
--
ALTER TABLE `Medecin`
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=121;
--
-- AUTO_INCREMENT pour la table `Patient`
-- AUTO_INCREMENT for table `Patient`
--
ALTER TABLE `Patient`
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=139;
--
-- AUTO_INCREMENT pour la table `RDV`
-- AUTO_INCREMENT for table `RDV`
--
ALTER TABLE `RDV`
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=130;
--
-- Contraintes pour les tables exportées
-- Constraints for dumped tables
--
--
-- Contraintes pour la table `Patient`
-- Constraints for table `Patient`
--
ALTER TABLE `Patient`
ADD CONSTRAINT `fk_Patient_Medecin` FOREIGN KEY (`MedecinTraitant`) REFERENCES `Medecin` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
ADD CONSTRAINT `fk_Patient_Medecin` FOREIGN KEY (`MedecinTraitant`) REFERENCES `Medecin` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Contraintes pour la table `RDV`
-- Constraints for table `RDV`
--
ALTER TABLE `RDV`
ADD CONSTRAINT `fk_RDV_Medecin1` FOREIGN KEY (`Medecin_id`) REFERENCES `Medecin` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_RDV_Patient1` FOREIGN KEY (`Patient_Id`) REFERENCES `Patient` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
ADD CONSTRAINT `fk_RDV_Medecin1` FOREIGN KEY (`Medecin_id`) REFERENCES `Medecin` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_RDV_Patient1` FOREIGN KEY (`Patient_Id`) REFERENCES `Patient` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;

View File

@ -318,12 +318,12 @@
<tr class="covered-by-large-tests popin" data-title="6 tests cover line 129" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testAddDeleteUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testSearch&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StaticRepoTest::testCheckParam&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="129"></a><a href="#129">129</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">break</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="130"></a><a href="#130">130</a></div></td><td class="codeLine"></td></tr>
<tr class="danger"><td><div align="right"><a name="131"></a><a href="#131">131</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">case</span><span class="default">&nbsp;</span><span class="default">'Integer'</span><span class="keyword">:</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="9 tests cover line 132" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testAdd&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testUpdateTime&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByPAtientAndDate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetAll&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StaticRepoTest::testCheckParam&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="132"></a><a href="#132">132</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">is_null</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">is_int</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">$variable</span><span class="keyword">&lt;</span><span class="default">pow</span><span class="keyword">(</span><span class="default">2</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">32</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="9 tests cover line 133" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testAdd&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testUpdateTime&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByPAtientAndDate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetAll&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StaticRepoTest::testCheckParam&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="133"></a><a href="#133">133</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">break</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="7 tests cover line 132" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testAdd&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testUpdateTime&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByPAtientAndDate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetAll&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StaticRepoTest::testCheckParam&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="132"></a><a href="#132">132</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">is_null</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">is_int</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">$variable</span><span class="keyword">&lt;</span><span class="default">pow</span><span class="keyword">(</span><span class="default">2</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">32</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="7 tests cover line 133" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testAdd&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testUpdateTime&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByPAtientAndDate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetAll&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StaticRepoTest::testCheckParam&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="133"></a><a href="#133">133</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">break</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="134"></a><a href="#134">134</a></div></td><td class="codeLine"></td></tr>
<tr class="danger"><td><div align="right"><a name="135"></a><a href="#135">135</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">case</span><span class="default">&nbsp;</span><span class="default">'Numeric'</span><span class="keyword">:</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="9 tests cover line 136" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testAddDeleteUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testGetPatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testAdd&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testUpdateTime&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByDate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByPAtientAndDate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="136"></a><a href="#136">136</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">is_null</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">is_numeric</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="9 tests cover line 137" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testAddDeleteUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testGetPatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testAdd&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testUpdateTime&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByDate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByPAtientAndDate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="137"></a><a href="#137">137</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">break</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="11 tests cover line 136" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testAddDeleteUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testGetPatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testAdd&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testUpdateTime&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByDate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByPAtientAndDate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="136"></a><a href="#136">136</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">is_null</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">is_numeric</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="11 tests cover line 137" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testAddDeleteUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testGetPatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;MedecinRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testAdd&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testUpdateTime&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByDate&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;RDVRepoTest::testGetByPAtientAndDate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="137"></a><a href="#137">137</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">break</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="138"></a><a href="#138">138</a></div></td><td class="codeLine"></td></tr>
<tr class="danger"><td><div align="right"><a name="139"></a><a href="#139">139</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">case</span><span class="default">&nbsp;</span><span class="default">'SmallInteger'</span><span class="keyword">:</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 140" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StaticRepoTest::testCheckParam&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="140"></a><a href="#140">140</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$checker</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">is_null</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">is_int</span><span class="keyword">(</span><span class="default">$variable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">$variable</span><span class="keyword">&lt;</span><span class="default">pow</span><span class="keyword">(</span><span class="default">2</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">16</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
@ -372,7 +372,7 @@
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>

View File

@ -146,7 +146,7 @@
<footer>
<hr/>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
</footer>
</div>
@ -235,7 +235,7 @@ $(document).ready(function() {
chart.yAxis.axisLabel('Cyclomatic Complexity');
d3.select('#classComplexity svg')
.datum(getComplexityData([[83.928571428571,54,"<a href=\"StaticRepo.php.html#3\">StaticRepo<\/a>"],[97.058823529412,17,"<a href=\"repos\/MedecinRepo.php.html#9\">MedecinRepo<\/a>"],[97.560975609756,46,"<a href=\"repos\/PatientRepo.php.html#9\">PatientRepo<\/a>"],[96.774193548387,25,"<a href=\"repos\/RDVRepo.php.html#9\">RDVRepo<\/a>"],[93.548387096774,9,"<a href=\"repos\/StatsRepo.php.html#9\">StatsRepo<\/a>"]], 'Class Complexity'))
.datum(getComplexityData([[83.928571428571,54,"<a href=\"StaticRepo.php.html#3\">StaticRepo<\/a>"],[97.058823529412,17,"<a href=\"repos\/MedecinRepo.php.html#9\">MedecinRepo<\/a>"],[97.590361445783,48,"<a href=\"repos\/PatientRepo.php.html#9\">PatientRepo<\/a>"],[96.774193548387,25,"<a href=\"repos\/RDVRepo.php.html#9\">RDVRepo<\/a>"],[93.548387096774,9,"<a href=\"repos\/StatsRepo.php.html#9\">StatsRepo<\/a>"]], 'Class Complexity'))
.transition()
.duration(500)
.call(chart);
@ -259,7 +259,7 @@ $(document).ready(function() {
chart.yAxis.axisLabel('Method Complexity');
d3.select('#methodComplexity svg')
.datum(getComplexityData([[100,3,"<a href=\"StaticRepo.php.html#14\">StaticRepo::getConnexion<\/a>"],[100,1,"<a href=\"StaticRepo.php.html#27\">StaticRepo::testConnexion<\/a>"],[85.714285714286,10,"<a href=\"StaticRepo.php.html#41\">StaticRepo::delNumeric<\/a>"],[80.555555555556,40,"<a href=\"StaticRepo.php.html#102\">StaticRepo::checkParam<\/a>"],[100,2,"<a href=\"repos\/MedecinRepo.php.html#12\">MedecinRepo::getById<\/a>"],[88.888888888889,3,"<a href=\"repos\/MedecinRepo.php.html#22\">MedecinRepo::add<\/a>"],[100,2,"<a href=\"repos\/MedecinRepo.php.html#41\">MedecinRepo::delete<\/a>"],[100,6,"<a href=\"repos\/MedecinRepo.php.html#51\">MedecinRepo::search<\/a>"],[100,2,"<a href=\"repos\/MedecinRepo.php.html#69\">MedecinRepo::getPatients<\/a>"],[100,1,"<a href=\"repos\/MedecinRepo.php.html#81\">MedecinRepo::getAll<\/a>"],[100,1,"<a href=\"repos\/MedecinRepo.php.html#90\">MedecinRepo::update<\/a>"],[100,2,"<a href=\"repos\/PatientRepo.php.html#11\">PatientRepo::getById<\/a>"],[96.774193548387,16,"<a href=\"repos\/PatientRepo.php.html#20\">PatientRepo::add<\/a>"],[96.774193548387,16,"<a href=\"repos\/PatientRepo.php.html#74\">PatientRepo::update<\/a>"],[100,2,"<a href=\"repos\/PatientRepo.php.html#113\">PatientRepo::delete<\/a>"],[100,3,"<a href=\"repos\/PatientRepo.php.html#124\">PatientRepo::updateMedecinTraitant<\/a>"],[100,6,"<a href=\"repos\/PatientRepo.php.html#134\">PatientRepo::search<\/a>"],[100,1,"<a href=\"repos\/PatientRepo.php.html#153\">PatientRepo::getAll<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#12\">RDVRepo::getById<\/a>"],[100,1,"<a href=\"repos\/RDVRepo.php.html#22\">RDVRepo::getForMonth<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#34\">RDVRepo::getByDate<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#44\">RDVRepo::delete<\/a>"],[100,6,"<a href=\"repos\/RDVRepo.php.html#52\">RDVRepo::add<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#71\">RDVRepo::updateDateTime<\/a>"],[100,3,"<a href=\"repos\/RDVRepo.php.html#83\">RDVRepo::getByPatientAndDate<\/a>"],[86.666666666667,5,"<a href=\"repos\/RDVRepo.php.html#94\">RDVRepo::getAll<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#116\">RDVRepo::getByMonth<\/a>"],[92.592592592593,8,"<a href=\"repos\/StatsRepo.php.html#12\">StatsRepo::getAgePatient<\/a>"],[100,1,"<a href=\"repos\/StatsRepo.php.html#53\">StatsRepo::getRDVStat<\/a>"]], 'Method Complexity'))
.datum(getComplexityData([[100,3,"<a href=\"StaticRepo.php.html#14\">StaticRepo::getConnexion<\/a>"],[100,1,"<a href=\"StaticRepo.php.html#27\">StaticRepo::testConnexion<\/a>"],[85.714285714286,10,"<a href=\"StaticRepo.php.html#41\">StaticRepo::delNumeric<\/a>"],[80.555555555556,40,"<a href=\"StaticRepo.php.html#102\">StaticRepo::checkParam<\/a>"],[100,2,"<a href=\"repos\/MedecinRepo.php.html#12\">MedecinRepo::getById<\/a>"],[88.888888888889,3,"<a href=\"repos\/MedecinRepo.php.html#22\">MedecinRepo::add<\/a>"],[100,2,"<a href=\"repos\/MedecinRepo.php.html#41\">MedecinRepo::delete<\/a>"],[100,6,"<a href=\"repos\/MedecinRepo.php.html#51\">MedecinRepo::search<\/a>"],[100,2,"<a href=\"repos\/MedecinRepo.php.html#69\">MedecinRepo::getPatients<\/a>"],[100,1,"<a href=\"repos\/MedecinRepo.php.html#81\">MedecinRepo::getAll<\/a>"],[100,1,"<a href=\"repos\/MedecinRepo.php.html#90\">MedecinRepo::update<\/a>"],[100,2,"<a href=\"repos\/PatientRepo.php.html#11\">PatientRepo::getById<\/a>"],[96.774193548387,16,"<a href=\"repos\/PatientRepo.php.html#20\">PatientRepo::add<\/a>"],[96.875,18,"<a href=\"repos\/PatientRepo.php.html#74\">PatientRepo::update<\/a>"],[100,2,"<a href=\"repos\/PatientRepo.php.html#142\">PatientRepo::delete<\/a>"],[100,3,"<a href=\"repos\/PatientRepo.php.html#153\">PatientRepo::updateMedecinTraitant<\/a>"],[100,6,"<a href=\"repos\/PatientRepo.php.html#163\">PatientRepo::search<\/a>"],[100,1,"<a href=\"repos\/PatientRepo.php.html#182\">PatientRepo::getAll<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#12\">RDVRepo::getById<\/a>"],[100,1,"<a href=\"repos\/RDVRepo.php.html#22\">RDVRepo::getForMonth<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#34\">RDVRepo::getByDate<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#44\">RDVRepo::delete<\/a>"],[100,6,"<a href=\"repos\/RDVRepo.php.html#52\">RDVRepo::add<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#71\">RDVRepo::updateDateTime<\/a>"],[100,3,"<a href=\"repos\/RDVRepo.php.html#83\">RDVRepo::getByPatientAndDate<\/a>"],[86.666666666667,5,"<a href=\"repos\/RDVRepo.php.html#94\">RDVRepo::getAll<\/a>"],[100,2,"<a href=\"repos\/RDVRepo.php.html#116\">RDVRepo::getByMonth<\/a>"],[92.592592592593,8,"<a href=\"repos\/StatsRepo.php.html#12\">StatsRepo::getAgePatient<\/a>"],[100,1,"<a href=\"repos\/StatsRepo.php.html#53\">StatsRepo::getRDVStat<\/a>"]], 'Method Complexity'))
.transition()
.duration(500)
.call(chart);

View File

@ -43,13 +43,13 @@
<tr>
<td class="success">Total</td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="93.96" aria-valuemin="0" aria-valuemax="100" style="width: 93.96%">
<span class="sr-only">93.96% covered (success)</span>
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="93.98" aria-valuemin="0" aria-valuemax="100" style="width: 93.98%">
<span class="sr-only">93.98% covered (success)</span>
</div>
</div>
</td>
<td class="success small"><div align="right">93.96%</div></td>
<td class="success small"><div align="right">249&nbsp;/&nbsp;265</div></td>
<td class="success small"><div align="right">93.98%</div></td>
<td class="success small"><div align="right">250&nbsp;/&nbsp;266</div></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="75.86" aria-valuemin="0" aria-valuemax="100" style="width: 75.86%">
<span class="sr-only">75.86% covered (warning)</span>
@ -71,13 +71,13 @@
<tr>
<td class="success"><span class="glyphicon glyphicon-folder-open"></span> <a href="repos/index.html">repos</a></td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="96.65" aria-valuemin="0" aria-valuemax="100" style="width: 96.65%">
<span class="sr-only">96.65% covered (success)</span>
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="96.67" aria-valuemin="0" aria-valuemax="100" style="width: 96.67%">
<span class="sr-only">96.67% covered (success)</span>
</div>
</div>
</td>
<td class="success small"><div align="right">96.65%</div></td>
<td class="success small"><div align="right">202&nbsp;/&nbsp;209</div></td>
<td class="success small"><div align="right">96.67%</div></td>
<td class="success small"><div align="right">203&nbsp;/&nbsp;210</div></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="80.00" aria-valuemin="0" aria-valuemax="100" style="width: 80.00%">
<span class="sr-only">80.00% covered (warning)</span>
@ -136,7 +136,7 @@
<span class="success"><strong>High</strong>: 90% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
</footer>
</div>

View File

@ -359,7 +359,7 @@
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>

View File

@ -61,13 +61,13 @@
<td class="warning small"><div align="right">5&nbsp;/&nbsp;7</div></td>
<td class="warning small"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="97.56" aria-valuemin="0" aria-valuemax="100" style="width: 97.56%">
<span class="sr-only">97.56% covered (success)</span>
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="97.59" aria-valuemin="0" aria-valuemax="100" style="width: 97.59%">
<span class="sr-only">97.59% covered (success)</span>
</div>
</div>
</td>
<td class="success small"><div align="right">97.56%</div></td>
<td class="success small"><div align="right">80&nbsp;/&nbsp;82</div></td>
<td class="success small"><div align="right">97.59%</div></td>
<td class="success small"><div align="right">81&nbsp;/&nbsp;83</div></td>
</tr>
<tr>
@ -88,15 +88,15 @@
</td>
<td class="warning small"><div align="right">71.43%</div></td>
<td class="warning small"><div align="right">5&nbsp;/&nbsp;7</div></td>
<td class="warning small">46</td>
<td class="warning small">48</td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="97.56" aria-valuemin="0" aria-valuemax="100" style="width: 97.56%">
<span class="sr-only">97.56% covered (success)</span>
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="97.59" aria-valuemin="0" aria-valuemax="100" style="width: 97.59%">
<span class="sr-only">97.59% covered (success)</span>
</div>
</div>
</td>
<td class="success small"><div align="right">97.56%</div></td>
<td class="success small"><div align="right">80&nbsp;/&nbsp;82</div></td>
<td class="success small"><div align="right">97.59%</div></td>
<td class="success small"><div align="right">81&nbsp;/&nbsp;83</div></td>
</tr>
<tr>
@ -142,7 +142,19 @@
</tr>
<tr>
<td class="danger" colspan="4">&nbsp;<a href="#74"><abbr title="update($id,$civilite,$prenom,$nom,$adresse,$adresse2,$ville,$codePostal,$dateNaissance,$lieuNaissance,$numSecu,$medecinTraitant)">update</abbr></a></td>
<td class="danger" colspan="4">&nbsp;<a href="#74"><abbr title="update(
$id,
$civilite,
$prenom,
$nom,
$adresse,
$adresse2,
$ville,
$codePostal,
$dateNaissance,
$lieuNaissance,
$numSecu,
$medecinTraitant )">update</abbr></a></td>
<td class="danger big"> <div class="progress">
<div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="0.00" aria-valuemin="0" aria-valuemax="100" style="width: 0.00%">
<span class="sr-only">0.00% covered (danger)</span>
@ -151,19 +163,19 @@
</td>
<td class="danger small"><div align="right">0.00%</div></td>
<td class="danger small"><div align="right">0&nbsp;/&nbsp;1</div></td>
<td class="danger small">16</td>
<td class="danger small">18</td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="96.77" aria-valuemin="0" aria-valuemax="100" style="width: 96.77%">
<span class="sr-only">96.77% covered (success)</span>
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="96.88" aria-valuemin="0" aria-valuemax="100" style="width: 96.88%">
<span class="sr-only">96.88% covered (success)</span>
</div>
</div>
</td>
<td class="success small"><div align="right">96.77%</div></td>
<td class="success small"><div align="right">30&nbsp;/&nbsp;31</div></td>
<td class="success small"><div align="right">96.88%</div></td>
<td class="success small"><div align="right">31&nbsp;/&nbsp;32</div></td>
</tr>
<tr>
<td class="success" colspan="4">&nbsp;<a href="#113"><abbr title="delete($idPatient)">delete</abbr></a></td>
<td class="success" colspan="4">&nbsp;<a href="#142"><abbr title="delete($idPatient)">delete</abbr></a></td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
<span class="sr-only">100.00% covered (success)</span>
@ -184,7 +196,7 @@
</tr>
<tr>
<td class="success" colspan="4">&nbsp;<a href="#124"><abbr title="updateMedecinTraitant($idPatient,$idMedecin)">updateMedecinTraitant</abbr></a></td>
<td class="success" colspan="4">&nbsp;<a href="#153"><abbr title="updateMedecinTraitant($idPatient,$idMedecin)">updateMedecinTraitant</abbr></a></td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
<span class="sr-only">100.00% covered (success)</span>
@ -205,7 +217,7 @@
</tr>
<tr>
<td class="success" colspan="4">&nbsp;<a href="#134"><abbr title="search($nom, $prenom)">search</abbr></a></td>
<td class="success" colspan="4">&nbsp;<a href="#163"><abbr title="search($nom, $prenom)">search</abbr></a></td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
<span class="sr-only">100.00% covered (success)</span>
@ -226,7 +238,7 @@
</tr>
<tr>
<td class="success" colspan="4">&nbsp;<a href="#153"><abbr title="getAll()">getAll</abbr></a></td>
<td class="success" colspan="4">&nbsp;<a href="#182"><abbr title="getAll()">getAll</abbr></a></td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
<span class="sr-only">100.00% covered (success)</span>
@ -262,7 +274,7 @@
<tr><td><div align="right"><a name="9"></a><a href="#9">9</a></div></td><td class="codeLine"><span class="keyword">class</span><span class="default">&nbsp;</span><span class="default">PatientRepo</span></td></tr>
<tr><td><div align="right"><a name="10"></a><a href="#10">10</a></div></td><td class="codeLine"><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="11"></a><a href="#11">11</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">getById</span><span class="keyword">(</span><span class="default">$id</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="3 tests cover line 12" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="12"></a><a href="#12">12</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$id</span><span class="keyword">,</span><span class="default">'Integer'</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">{</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span><span class="keyword">}</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="3 tests cover line 12" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="12"></a><a href="#12">12</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$id</span><span class="keyword">,</span><span class="default">'Numeric'</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">{</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="13"></a><a href="#13">13</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="3 tests cover line 14" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="14"></a><a href="#14">14</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">prepare</span><span class="keyword">(</span><span class="default">'SELECT&nbsp;*&nbsp;FROM&nbsp;Patient&nbsp;WHERE&nbsp;Id&nbsp;=&nbsp;:id'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="3 tests cover line 15" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetById&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="15"></a><a href="#15">15</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">execute</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">'id'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$id</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
@ -324,94 +336,123 @@
<tr><td><div align="right"><a name="71"></a><a href="#71">71</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="72"></a><a href="#72">72</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="73"></a><a href="#73">73</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="74"></a><a href="#74">74</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">update</span><span class="keyword">(</span><span class="default">$id</span><span class="keyword">,</span><span class="default">$civilite</span><span class="keyword">,</span><span class="default">$prenom</span><span class="keyword">,</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">$adresse</span><span class="keyword">,</span><span class="default">$adresse2</span><span class="keyword">,</span><span class="default">$ville</span><span class="keyword">,</span><span class="default">$codePostal</span><span class="keyword">,</span><span class="default">$dateNaissance</span><span class="keyword">,</span><span class="default">$lieuNaissance</span><span class="keyword">,</span><span class="default">$numSecu</span><span class="keyword">,</span><span class="default">$medecinTraitant</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="75"></a><a href="#75">75</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 76" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="76"></a><a href="#76">76</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$civilite</span><span class="keyword">,</span><span class="default">'Civilite'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 77" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="77"></a><a href="#77">77</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$prenom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 78" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="78"></a><a href="#78">78</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 79" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="79"></a><a href="#79">79</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$adresse</span><span class="keyword">,</span><span class="default">'String255'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 80" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="80"></a><a href="#80">80</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$adresse2</span><span class="default">&nbsp;</span><span class="default">==</span><span class="default">&nbsp;</span><span class="default">'null'</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">$adresse2</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">null</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$adresse2</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'String255'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 81" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="81"></a><a href="#81">81</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$ville</span><span class="keyword">,</span><span class="default">'String50'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 82" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="82"></a><a href="#82">82</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$codePostal</span><span class="keyword">,</span><span class="default">'String'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 83" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="83"></a><a href="#83">83</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$dateNaissance</span><span class="keyword">,</span><span class="default">'Date'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 84" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="84"></a><a href="#84">84</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$lieuNaissance</span><span class="keyword">,</span><span class="default">'String50'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 85" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="85"></a><a href="#85">85</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$medecinTraitant</span><span class="default">&nbsp;</span><span class="default">==</span><span class="default">&nbsp;</span><span class="default">'null'</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">$medecinTraitant</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">null</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$medecinTraitant</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'Integer'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 86" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="86"></a><a href="#86">86</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="74"></a><a href="#74">74</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">update</span><span class="keyword">(</span></td></tr>
<tr><td><div align="right"><a name="75"></a><a href="#75">75</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$id</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="76"></a><a href="#76">76</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$civilite</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="77"></a><a href="#77">77</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$prenom</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="78"></a><a href="#78">78</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$nom</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="79"></a><a href="#79">79</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$adresse</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="80"></a><a href="#80">80</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$adresse2</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="81"></a><a href="#81">81</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$ville</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="82"></a><a href="#82">82</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$codePostal</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="83"></a><a href="#83">83</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$dateNaissance</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="84"></a><a href="#84">84</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$lieuNaissance</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="85"></a><a href="#85">85</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$numSecu</span><span class="keyword">,</span></td></tr>
<tr><td><div align="right"><a name="86"></a><a href="#86">86</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$medecinTraitant</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="87"></a><a href="#87">87</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 88" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="88"></a><a href="#88">88</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$dateNaissance</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">strtotime</span><span class="keyword">(</span><span class="default">$dateNaissance</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 89" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="89"></a><a href="#89">89</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$dateNaissance</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">Date</span><span class="keyword">(</span><span class="default">'o-m-d'</span><span class="keyword">,</span><span class="default">$dateNaissance</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="90"></a><a href="#90">90</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 91" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="91"></a><a href="#91">91</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">prepare</span><span class="keyword">(</span><span class="default">'UPDATE&nbsp;Patient&nbsp;SET&nbsp;Civilite=:civilite,Nom=:nom,Prenom=:prenom,Adresse=:adresse,Adresse2=:adresse2,Ville=:ville,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 92" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="92"></a><a href="#92">92</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CodePostal=:codePostal,DateNaissance=:dateNaissance,LieuNaissance=:lieuNaissance,NumSecuriteSociale=:numSecu,MedecinTraitant=:medecin&nbsp;WHERE&nbsp;Id=:id;'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 93" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="93"></a><a href="#93">93</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$result</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">execute</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">'civilite'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$civilite</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 94" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="94"></a><a href="#94">94</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'nom'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$nom</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 95" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="95"></a><a href="#95">95</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'prenom'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$prenom</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 96" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="96"></a><a href="#96">96</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'adresse'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$adresse</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 97" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="97"></a><a href="#97">97</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'adresse2'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$adresse2</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 98" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="98"></a><a href="#98">98</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'ville'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$ville</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 99" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="99"></a><a href="#99">99</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'codePostal'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$codePostal</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 100" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="100"></a><a href="#100">100</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'dateNaissance'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$dateNaissance</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 101" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="101"></a><a href="#101">101</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'lieuNaissance'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$lieuNaissance</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 102" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="102"></a><a href="#102">102</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'numSecu'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$numSecu</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 103" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="103"></a><a href="#103">103</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'medecin'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$medecinTraitant</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 104" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="104"></a><a href="#104">104</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">'id'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$id</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="105"></a><a href="#105">105</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//PDO&nbsp;renvoie&nbsp;un&nbsp;ID&nbsp;sous&nbsp;forme&nbsp;de&nbsp;char,&nbsp;on&nbsp;transtype</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 106" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="106"></a><a href="#106">106</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$id</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">lastInsertId</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 107" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="107"></a><a href="#107">107</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">settype</span><span class="keyword">(</span><span class="default">$id</span><span class="keyword">,</span><span class="default">'integer'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 108" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="108"></a><a href="#108">108</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="default">$result</span><span class="keyword">)</span><span class="keyword">{</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$id</span><span class="keyword">;</span><span class="keyword">}</span></td></tr>
<tr class="danger"><td><div align="right"><a name="109"></a><a href="#109">109</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">else</span><span class="keyword">{</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="110"></a><a href="#110">110</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="111"></a><a href="#111">111</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="112"></a><a href="#112">112</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="113"></a><a href="#113">113</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">delete</span><span class="keyword">(</span><span class="default">$idPatient</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="114"></a><a href="#114">114</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="115"></a><a href="#115">115</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;si&nbsp;format&nbsp;erroné,&nbsp;retourne&nbsp;FALSE</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 116" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="116"></a><a href="#116">116</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$idPatient</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'Numeric'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="117"></a><a href="#117">117</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 118" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="118"></a><a href="#118">118</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">prepare</span><span class="keyword">(</span><span class="default">'DELETE&nbsp;FROM&nbsp;Patient&nbsp;WHERE&nbsp;Patient.Id&nbsp;=&nbsp;:id'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="119"></a><a href="#119">119</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 120" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="120"></a><a href="#120">120</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">execute</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">':id'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$idPatient</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="121"></a><a href="#121">121</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="122"></a><a href="#122">122</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="123"></a><a href="#123">123</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="124"></a><a href="#124">124</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">updateMedecinTraitant</span><span class="keyword">(</span><span class="default">$idPatient</span><span class="keyword">,</span><span class="default">$idMedecin</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="125"></a><a href="#125">125</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 126" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="126"></a><a href="#126">126</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$idPatient</span><span class="keyword">,</span><span class="default">'Integer'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$idMedecin</span><span class="keyword">,</span><span class="default">'Integer'</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">{</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="127"></a><a href="#127">127</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 128" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="128"></a><a href="#128">128</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">prepare</span><span class="keyword">(</span><span class="default">'UPDATE&nbsp;Patient&nbsp;SET&nbsp;MedecinTraitant&nbsp;=&nbsp;:medecin&nbsp;WHERE&nbsp;Id&nbsp;=&nbsp;:id'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 129" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="129"></a><a href="#129">129</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">execute</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">'medecin'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$idMedecin</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'id'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$idPatient</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="130"></a><a href="#130">130</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="131"></a><a href="#131">131</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="132"></a><a href="#132">132</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="133"></a><a href="#133">133</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="134"></a><a href="#134">134</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">search</span><span class="keyword">(</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$prenom</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="135"></a><a href="#135">135</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 136" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="136"></a><a href="#136">136</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$prenom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">|</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="137"></a><a href="#137">137</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="138"></a><a href="#138">138</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;on&nbsp;définit&nbsp;les&nbsp;valeurs&nbsp;(peuvent&nbsp;être&nbsp;nulles)</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 139" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="139"></a><a href="#139">139</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$optPrenom</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$prenom</span><span class="default">&nbsp;</span><span class="default">!=</span><span class="default">&nbsp;</span><span class="default">'null'</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$prenom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">&nbsp;</span><span class="default">'%'</span><span class="keyword">.</span><span class="default">$prenom</span><span class="keyword">.</span><span class="default">'%'</span><span class="default">&nbsp;</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">'%'</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 140" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="140"></a><a href="#140">140</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$optNom</span><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$nom</span><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">!=</span><span class="default">&nbsp;</span><span class="default">'null'</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">&nbsp;&nbsp;&nbsp;</span><span class="default">'String45'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">&nbsp;</span><span class="default">'%'</span><span class="keyword">.</span><span class="default">$nom</span><span class="keyword">.</span><span class="default">'%'</span><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">'%'</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 88" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="88"></a><a href="#88">88</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$id</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'Numeric'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 89" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="89"></a><a href="#89">89</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$civilite</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'Civilite'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 90" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="90"></a><a href="#90">90</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$prenom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 91" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="91"></a><a href="#91">91</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 92" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="92"></a><a href="#92">92</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$adresse</span><span class="keyword">,</span><span class="default">'String255'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 93" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="93"></a><a href="#93">93</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$adresse2</span><span class="default">&nbsp;</span><span class="default">==</span><span class="default">&nbsp;</span><span class="default">'null'</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">$adresse2</span><span class="default">&nbsp;</span><span class="default">==</span><span class="default">&nbsp;</span><span class="default">''</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">$adresse2</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">null</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$adresse2</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'String255'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 94" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="94"></a><a href="#94">94</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$ville</span><span class="keyword">,</span><span class="default">'String50'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 95" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="95"></a><a href="#95">95</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$codePostal</span><span class="keyword">,</span><span class="default">'String'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 96" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="96"></a><a href="#96">96</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$dateNaissance</span><span class="keyword">,</span><span class="default">'Date'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 97" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="97"></a><a href="#97">97</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$lieuNaissance</span><span class="keyword">,</span><span class="default">'String50'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 98" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="98"></a><a href="#98">98</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$medecinTraitant</span><span class="default">&nbsp;</span><span class="default">==</span><span class="default">&nbsp;</span><span class="default">'null'</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">$medecinTraitant</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">null</span><span class="default">&nbsp;</span><span class="default">||</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$medecinTraitant</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'Numeric'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 99" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="99"></a><a href="#99">99</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">$correctTypes</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="100"></a><a href="#100">100</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="101"></a><a href="#101">101</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="102"></a><a href="#102">102</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;on&nbsp;enlève&nbsp;les&nbsp;espaces&nbsp;du&nbsp;numéro&nbsp;de&nbsp;sécu</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 103" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="103"></a><a href="#103">103</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$numSecu</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">str_replace</span><span class="keyword">(</span><span class="default">'&nbsp;'</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">''</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$numSecu</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="104"></a><a href="#104">104</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;on&nbsp;met&nbsp;la&nbsp;date&nbsp;de&nbsp;naissance&nbsp;au&nbsp;bon&nbsp;format</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 105" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="105"></a><a href="#105">105</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$dateNaissance</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">DateTime</span><span class="default">::</span><span class="default">createFromFormat</span><span class="keyword">(</span><span class="default">'d/m/Y'</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$dateNaissance</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">format</span><span class="keyword">(</span><span class="default">'Y-m-d&nbsp;00:00:00'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="106"></a><a href="#106">106</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 107" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="107"></a><a href="#107">107</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">prepare</span><span class="keyword">(</span><span class="default">'UPDATE&nbsp;Patient</span></td></tr>
<tr><td><div align="right"><a name="108"></a><a href="#108">108</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SET&nbsp;Civilite&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:civilite,</span></td></tr>
<tr><td><div align="right"><a name="109"></a><a href="#109">109</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Nom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:nom,</span></td></tr>
<tr><td><div align="right"><a name="110"></a><a href="#110">110</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prenom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:prenom,</span></td></tr>
<tr><td><div align="right"><a name="111"></a><a href="#111">111</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adresse&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:adresse,</span></td></tr>
<tr><td><div align="right"><a name="112"></a><a href="#112">112</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adresse2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:adresse2,</span></td></tr>
<tr><td><div align="right"><a name="113"></a><a href="#113">113</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ville&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:ville,</span></td></tr>
<tr><td><div align="right"><a name="114"></a><a href="#114">114</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CodePostal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:codePostal,</span></td></tr>
<tr><td><div align="right"><a name="115"></a><a href="#115">115</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DateNaissance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:dateNaissance,</span></td></tr>
<tr><td><div align="right"><a name="116"></a><a href="#116">116</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LieuNaissance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:lieuNaissance,</span></td></tr>
<tr><td><div align="right"><a name="117"></a><a href="#117">117</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NumSecuriteSociale&nbsp;=&nbsp;:numSecu,</span></td></tr>
<tr><td><div align="right"><a name="118"></a><a href="#118">118</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MedecinTraitant&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;:medecin</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 119" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="119"></a><a href="#119">119</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;Id&nbsp;=&nbsp;:id'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 120" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="120"></a><a href="#120">120</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$result</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">execute</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">'civilite'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$civilite</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 121" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="121"></a><a href="#121">121</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':nom'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$nom</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 122" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="122"></a><a href="#122">122</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':prenom'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$prenom</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 123" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="123"></a><a href="#123">123</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':adresse'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$adresse</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 124" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="124"></a><a href="#124">124</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':adresse2'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$adresse2</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 125" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="125"></a><a href="#125">125</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':ville'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$ville</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 126" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="126"></a><a href="#126">126</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':codePostal'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$codePostal</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 127" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="127"></a><a href="#127">127</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':dateNaissance'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$dateNaissance</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 128" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="128"></a><a href="#128">128</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':lieuNaissance'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$lieuNaissance</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 129" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="129"></a><a href="#129">129</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':numSecu'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$numSecu</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 130" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="130"></a><a href="#130">130</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':medecin'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$medecinTraitant</span><span class="keyword">,</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 131" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="131"></a><a href="#131">131</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">':id'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$id</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="132"></a><a href="#132">132</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//PDO&nbsp;renvoie&nbsp;un&nbsp;ID&nbsp;sous&nbsp;forme&nbsp;de&nbsp;char,&nbsp;on&nbsp;transtype</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 133" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="133"></a><a href="#133">133</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$id</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">lastInsertId</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="134"></a><a href="#134">134</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 135" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="135"></a><a href="#135">135</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">settype</span><span class="keyword">(</span><span class="default">$id</span><span class="keyword">,</span><span class="default">'integer'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="136"></a><a href="#136">136</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 137" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="137"></a><a href="#137">137</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="default">$result</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$id</span><span class="keyword">;</span><span class="default">&nbsp;</span></td></tr>
<tr class="danger"><td><div align="right"><a name="138"></a><a href="#138">138</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">else</span><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="139"></a><a href="#139">139</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="140"></a><a href="#140">140</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="141"></a><a href="#141">141</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 142" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="142"></a><a href="#142">142</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">query</span><span class="keyword">(</span><span class="default">&quot;SELECT&nbsp;Id,&nbsp;Civilite,&nbsp;Nom,&nbsp;Prenom,&nbsp;DATE_FORMAT(DateNaissance,&nbsp;'%d/%m/%Y')&nbsp;as&nbsp;DateNaissance,&nbsp;NumSecuriteSociale</span></td></tr>
<tr><td><div align="right"><a name="143"></a><a href="#143">143</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FROM&nbsp;Patient</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 144" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="144"></a><a href="#144">144</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;Nom&nbsp;LIKE&nbsp;'&quot;</span><span class="keyword">.</span><span class="default">$optNom</span><span class="keyword">.</span><span class="default">&quot;'</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 145" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="145"></a><a href="#145">145</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AND&nbsp;Prenom&nbsp;LIKE&nbsp;'&quot;</span><span class="keyword">.</span><span class="default">$optPrenom</span><span class="keyword">.</span><span class="default">&quot;'</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 146" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="146"></a><a href="#146">146</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ORDER&nbsp;BY&nbsp;Nom,&nbsp;Prenom&nbsp;ASC&quot;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="147"></a><a href="#147">147</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="142"></a><a href="#142">142</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">delete</span><span class="keyword">(</span><span class="default">$idPatient</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="143"></a><a href="#143">143</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="144"></a><a href="#144">144</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;si&nbsp;format&nbsp;erroné,&nbsp;retourne&nbsp;FALSE</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 145" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="145"></a><a href="#145">145</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$idPatient</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'Numeric'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="146"></a><a href="#146">146</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 147" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="147"></a><a href="#147">147</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">prepare</span><span class="keyword">(</span><span class="default">'DELETE&nbsp;FROM&nbsp;Patient&nbsp;WHERE&nbsp;Patient.Id&nbsp;=&nbsp;:id'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="148"></a><a href="#148">148</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 149" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="149"></a><a href="#149">149</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">delNumeric</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">fetchAll</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="warning"><td><div align="right"><a name="150"></a><a href="#150">150</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="151"></a><a href="#151">151</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 149" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testAddAndDeletePatient&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdate&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="149"></a><a href="#149">149</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">execute</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">':id'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$idPatient</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="150"></a><a href="#150">150</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="151"></a><a href="#151">151</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="152"></a><a href="#152">152</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="153"></a><a href="#153">153</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">getAll</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="153"></a><a href="#153">153</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">updateMedecinTraitant</span><span class="keyword">(</span><span class="default">$idPatient</span><span class="keyword">,</span><span class="default">$idMedecin</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="154"></a><a href="#154">154</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 155" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetAll&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StatsRepoTest::testAgePatient&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="155"></a><a href="#155">155</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">query</span><span class="keyword">(</span><span class="default">'SELECT&nbsp;*&nbsp;FROM&nbsp;Patient&nbsp;ORDER&nbsp;BY&nbsp;nom,&nbsp;prenom&nbsp;ASC'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 155" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="155"></a><a href="#155">155</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$idPatient</span><span class="keyword">,</span><span class="default">'Integer'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$idMedecin</span><span class="keyword">,</span><span class="default">'Integer'</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">{</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="156"></a><a href="#156">156</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 157" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetAll&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StatsRepoTest::testAgePatient&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="157"></a><a href="#157">157</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">delNumeric</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">fetchAll</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="158"></a><a href="#158">158</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="159"></a><a href="#159">159</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="160"></a><a href="#160">160</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="161"></a><a href="#161">161</a></div></td><td class="codeLine"><span class="keyword">}</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 157" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="157"></a><a href="#157">157</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">prepare</span><span class="keyword">(</span><span class="default">'UPDATE&nbsp;Patient&nbsp;SET&nbsp;MedecinTraitant&nbsp;=&nbsp;:medecin&nbsp;WHERE&nbsp;Id&nbsp;=&nbsp;:id'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 158" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testUpdateMedecinTraitant&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="158"></a><a href="#158">158</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">execute</span><span class="keyword">(</span><span class="keyword">[</span><span class="default">'medecin'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$idMedecin</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">'id'</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$idPatient</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="159"></a><a href="#159">159</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="160"></a><a href="#160">160</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="161"></a><a href="#161">161</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="162"></a><a href="#162">162</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="163"></a><a href="#163">163</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">search</span><span class="keyword">(</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$prenom</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="164"></a><a href="#164">164</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 165" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="165"></a><a href="#165">165</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$prenom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">|</span><span class="default">&nbsp;</span><span class="keyword">!</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="166"></a><a href="#166">166</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="167"></a><a href="#167">167</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;on&nbsp;définit&nbsp;les&nbsp;valeurs&nbsp;(peuvent&nbsp;être&nbsp;nulles)</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 168" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="168"></a><a href="#168">168</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$optPrenom</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$prenom</span><span class="default">&nbsp;</span><span class="default">!=</span><span class="default">&nbsp;</span><span class="default">'null'</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$prenom</span><span class="keyword">,</span><span class="default">'String45'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">&nbsp;</span><span class="default">'%'</span><span class="keyword">.</span><span class="default">$prenom</span><span class="keyword">.</span><span class="default">'%'</span><span class="default">&nbsp;</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">'%'</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 169" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="169"></a><a href="#169">169</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$optNom</span><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$nom</span><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">!=</span><span class="default">&nbsp;</span><span class="default">'null'</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">checkParam</span><span class="keyword">(</span><span class="default">$nom</span><span class="keyword">,</span><span class="default">&nbsp;&nbsp;&nbsp;</span><span class="default">'String45'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">&nbsp;</span><span class="default">'%'</span><span class="keyword">.</span><span class="default">$nom</span><span class="keyword">.</span><span class="default">'%'</span><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">'%'</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="170"></a><a href="#170">170</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 171" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="171"></a><a href="#171">171</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">query</span><span class="keyword">(</span><span class="default">&quot;SELECT&nbsp;Id,&nbsp;Civilite,&nbsp;Nom,&nbsp;Prenom,&nbsp;DATE_FORMAT(DateNaissance,&nbsp;'%d/%m/%Y')&nbsp;as&nbsp;DateNaissance,&nbsp;NumSecuriteSociale</span></td></tr>
<tr><td><div align="right"><a name="172"></a><a href="#172">172</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FROM&nbsp;Patient</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 173" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="173"></a><a href="#173">173</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;Nom&nbsp;LIKE&nbsp;'&quot;</span><span class="keyword">.</span><span class="default">$optNom</span><span class="keyword">.</span><span class="default">&quot;'</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 174" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="174"></a><a href="#174">174</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AND&nbsp;Prenom&nbsp;LIKE&nbsp;'&quot;</span><span class="keyword">.</span><span class="default">$optPrenom</span><span class="keyword">.</span><span class="default">&quot;'</span></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 175" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="175"></a><a href="#175">175</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ORDER&nbsp;BY&nbsp;Nom,&nbsp;Prenom&nbsp;ASC&quot;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="176"></a><a href="#176">176</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="177"></a><a href="#177">177</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="1 test covers line 178" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testSearch&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="178"></a><a href="#178">178</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">delNumeric</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">fetchAll</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="warning"><td><div align="right"><a name="179"></a><a href="#179">179</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="180"></a><a href="#180">180</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="181"></a><a href="#181">181</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="182"></a><a href="#182">182</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">getAll</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">{</span></td></tr>
<tr><td><div align="right"><a name="183"></a><a href="#183">183</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 184" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetAll&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StatsRepoTest::testAgePatient&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="184"></a><a href="#184">184</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$req</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">getConnexion</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">query</span><span class="keyword">(</span><span class="default">'SELECT&nbsp;*&nbsp;FROM&nbsp;Patient&nbsp;ORDER&nbsp;BY&nbsp;nom,&nbsp;prenom&nbsp;ASC'</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="185"></a><a href="#185">185</a></div></td><td class="codeLine"></td></tr>
<tr class="covered-by-large-tests popin" data-title="2 tests cover line 186" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;PatientRepoTest::testGetAll&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;StatsRepoTest::testAgePatient&lt;/li&gt;&lt;/ul&gt;" data-placement="bottom" data-html="true"><td><div align="right"><a name="186"></a><a href="#186">186</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">StaticRepo</span><span class="default">::</span><span class="default">delNumeric</span><span class="keyword">(</span><span class="default">&nbsp;</span><span class="default">$req</span><span class="default">-&gt;</span><span class="default">fetchAll</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr><td><div align="right"><a name="187"></a><a href="#187">187</a></div></td><td class="codeLine"></td></tr>
<tr class="warning"><td><div align="right"><a name="188"></a><a href="#188">188</a></div></td><td class="codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr><td><div align="right"><a name="189"></a><a href="#189">189</a></div></td><td class="codeLine"></td></tr>
<tr><td><div align="right"><a name="190"></a><a href="#190">190</a></div></td><td class="codeLine"><span class="keyword">}</span></td></tr>
</tbody>
</table>
@ -424,7 +465,7 @@
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>

View File

@ -437,7 +437,7 @@
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>

View File

@ -220,7 +220,7 @@
<span class="warning"><strong>Dead Code</strong></span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
<a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
</footer>

View File

@ -141,7 +141,7 @@
<footer>
<hr/>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
</footer>
</div>
@ -230,7 +230,7 @@ $(document).ready(function() {
chart.yAxis.axisLabel('Cyclomatic Complexity');
d3.select('#classComplexity svg')
.datum(getComplexityData([[97.058823529412,17,"<a href=\"MedecinRepo.php.html#9\">MedecinRepo<\/a>"],[97.560975609756,46,"<a href=\"PatientRepo.php.html#9\">PatientRepo<\/a>"],[96.774193548387,25,"<a href=\"RDVRepo.php.html#9\">RDVRepo<\/a>"],[93.548387096774,9,"<a href=\"StatsRepo.php.html#9\">StatsRepo<\/a>"]], 'Class Complexity'))
.datum(getComplexityData([[97.058823529412,17,"<a href=\"MedecinRepo.php.html#9\">MedecinRepo<\/a>"],[97.590361445783,48,"<a href=\"PatientRepo.php.html#9\">PatientRepo<\/a>"],[96.774193548387,25,"<a href=\"RDVRepo.php.html#9\">RDVRepo<\/a>"],[93.548387096774,9,"<a href=\"StatsRepo.php.html#9\">StatsRepo<\/a>"]], 'Class Complexity'))
.transition()
.duration(500)
.call(chart);
@ -254,7 +254,7 @@ $(document).ready(function() {
chart.yAxis.axisLabel('Method Complexity');
d3.select('#methodComplexity svg')
.datum(getComplexityData([[100,2,"<a href=\"MedecinRepo.php.html#12\">MedecinRepo::getById<\/a>"],[88.888888888889,3,"<a href=\"MedecinRepo.php.html#22\">MedecinRepo::add<\/a>"],[100,2,"<a href=\"MedecinRepo.php.html#41\">MedecinRepo::delete<\/a>"],[100,6,"<a href=\"MedecinRepo.php.html#51\">MedecinRepo::search<\/a>"],[100,2,"<a href=\"MedecinRepo.php.html#69\">MedecinRepo::getPatients<\/a>"],[100,1,"<a href=\"MedecinRepo.php.html#81\">MedecinRepo::getAll<\/a>"],[100,1,"<a href=\"MedecinRepo.php.html#90\">MedecinRepo::update<\/a>"],[100,2,"<a href=\"PatientRepo.php.html#11\">PatientRepo::getById<\/a>"],[96.774193548387,16,"<a href=\"PatientRepo.php.html#20\">PatientRepo::add<\/a>"],[96.774193548387,16,"<a href=\"PatientRepo.php.html#74\">PatientRepo::update<\/a>"],[100,2,"<a href=\"PatientRepo.php.html#113\">PatientRepo::delete<\/a>"],[100,3,"<a href=\"PatientRepo.php.html#124\">PatientRepo::updateMedecinTraitant<\/a>"],[100,6,"<a href=\"PatientRepo.php.html#134\">PatientRepo::search<\/a>"],[100,1,"<a href=\"PatientRepo.php.html#153\">PatientRepo::getAll<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#12\">RDVRepo::getById<\/a>"],[100,1,"<a href=\"RDVRepo.php.html#22\">RDVRepo::getForMonth<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#34\">RDVRepo::getByDate<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#44\">RDVRepo::delete<\/a>"],[100,6,"<a href=\"RDVRepo.php.html#52\">RDVRepo::add<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#71\">RDVRepo::updateDateTime<\/a>"],[100,3,"<a href=\"RDVRepo.php.html#83\">RDVRepo::getByPatientAndDate<\/a>"],[86.666666666667,5,"<a href=\"RDVRepo.php.html#94\">RDVRepo::getAll<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#116\">RDVRepo::getByMonth<\/a>"],[92.592592592593,8,"<a href=\"StatsRepo.php.html#12\">StatsRepo::getAgePatient<\/a>"],[100,1,"<a href=\"StatsRepo.php.html#53\">StatsRepo::getRDVStat<\/a>"]], 'Method Complexity'))
.datum(getComplexityData([[100,2,"<a href=\"MedecinRepo.php.html#12\">MedecinRepo::getById<\/a>"],[88.888888888889,3,"<a href=\"MedecinRepo.php.html#22\">MedecinRepo::add<\/a>"],[100,2,"<a href=\"MedecinRepo.php.html#41\">MedecinRepo::delete<\/a>"],[100,6,"<a href=\"MedecinRepo.php.html#51\">MedecinRepo::search<\/a>"],[100,2,"<a href=\"MedecinRepo.php.html#69\">MedecinRepo::getPatients<\/a>"],[100,1,"<a href=\"MedecinRepo.php.html#81\">MedecinRepo::getAll<\/a>"],[100,1,"<a href=\"MedecinRepo.php.html#90\">MedecinRepo::update<\/a>"],[100,2,"<a href=\"PatientRepo.php.html#11\">PatientRepo::getById<\/a>"],[96.774193548387,16,"<a href=\"PatientRepo.php.html#20\">PatientRepo::add<\/a>"],[96.875,18,"<a href=\"PatientRepo.php.html#74\">PatientRepo::update<\/a>"],[100,2,"<a href=\"PatientRepo.php.html#142\">PatientRepo::delete<\/a>"],[100,3,"<a href=\"PatientRepo.php.html#153\">PatientRepo::updateMedecinTraitant<\/a>"],[100,6,"<a href=\"PatientRepo.php.html#163\">PatientRepo::search<\/a>"],[100,1,"<a href=\"PatientRepo.php.html#182\">PatientRepo::getAll<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#12\">RDVRepo::getById<\/a>"],[100,1,"<a href=\"RDVRepo.php.html#22\">RDVRepo::getForMonth<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#34\">RDVRepo::getByDate<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#44\">RDVRepo::delete<\/a>"],[100,6,"<a href=\"RDVRepo.php.html#52\">RDVRepo::add<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#71\">RDVRepo::updateDateTime<\/a>"],[100,3,"<a href=\"RDVRepo.php.html#83\">RDVRepo::getByPatientAndDate<\/a>"],[86.666666666667,5,"<a href=\"RDVRepo.php.html#94\">RDVRepo::getAll<\/a>"],[100,2,"<a href=\"RDVRepo.php.html#116\">RDVRepo::getByMonth<\/a>"],[92.592592592593,8,"<a href=\"StatsRepo.php.html#12\">StatsRepo::getAgePatient<\/a>"],[100,1,"<a href=\"StatsRepo.php.html#53\">StatsRepo::getRDVStat<\/a>"]], 'Method Complexity'))
.transition()
.duration(500)
.call(chart);

View File

@ -44,13 +44,13 @@
<tr>
<td class="success">Total</td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="96.65" aria-valuemin="0" aria-valuemax="100" style="width: 96.65%">
<span class="sr-only">96.65% covered (success)</span>
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="96.67" aria-valuemin="0" aria-valuemax="100" style="width: 96.67%">
<span class="sr-only">96.67% covered (success)</span>
</div>
</div>
</td>
<td class="success small"><div align="right">96.65%</div></td>
<td class="success small"><div align="right">202&nbsp;/&nbsp;209</div></td>
<td class="success small"><div align="right">96.67%</div></td>
<td class="success small"><div align="right">203&nbsp;/&nbsp;210</div></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="80.00" aria-valuemin="0" aria-valuemax="100" style="width: 80.00%">
<span class="sr-only">80.00% covered (warning)</span>
@ -100,13 +100,13 @@
<tr>
<td class="success"><span class="glyphicon glyphicon-file"></span> <a href="PatientRepo.php.html">PatientRepo.php</a></td>
<td class="success big"> <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="97.56" aria-valuemin="0" aria-valuemax="100" style="width: 97.56%">
<span class="sr-only">97.56% covered (success)</span>
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="97.59" aria-valuemin="0" aria-valuemax="100" style="width: 97.59%">
<span class="sr-only">97.59% covered (success)</span>
</div>
</div>
</td>
<td class="success small"><div align="right">97.56%</div></td>
<td class="success small"><div align="right">80&nbsp;/&nbsp;82</div></td>
<td class="success small"><div align="right">97.59%</div></td>
<td class="success small"><div align="right">81&nbsp;/&nbsp;83</div></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="71.43" aria-valuemin="0" aria-valuemax="100" style="width: 71.43%">
<span class="sr-only">71.43% covered (warning)</span>
@ -193,7 +193,7 @@
<span class="success"><strong>High</strong>: 90% to 100%</span>
</p>
<p>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 17:34:44 UTC 2016.</small>
<small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.0.2</a> using <a href="http://php.net/" target="_top">PHP 7.0.1</a> and <a href="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 18:13:26 UTC 2016.</small>
</p>
</footer>
</div>

View File

@ -45,7 +45,7 @@ class PatientRepoTest extends PHPUnit_Framework_TestCase
public function testUpdate(){
$id = PatientRepo::add('M','Lucas','Mascaro','3 rue des fleurs qui sentent bon',NULL,'Pimpous-Les-Bains','31524','1996-11-19','Toulouse','123456789876543', 69);
$this->assertEquals(0,PatientRepo::update($id,'F','Lucas','Mascaro','3 rue des fleurs qui sentent bon','lol','Pimpous-Les-Bains','31524','1996-11-19','Toulouse','123456789876543', 69));
$this->assertEquals(0,PatientRepo::update($id,'F','Lucas','Mascaro','3 rue des fleurs qui sentent bon','lol','Pimpous-Les-Bains','31524','19/11/1996','Toulouse','123456789876543', 69));
$patient = PatientRepo::getById($id);
$this->assertEquals('F',$patient['Civilite']);
PatientRepo::delete($id);