diff --git a/Dashboard.php b/Dashboard.php index c9170bd..1199ce8 100755 --- a/Dashboard.php +++ b/Dashboard.php @@ -37,6 +37,20 @@ if(!Authentification::checkUser(0)){ + +
+
+ +
+ +
+
+ diff --git a/Docs/BDD.sql b/Docs/BDD.sql old mode 100644 new mode 100755 diff --git a/Docs/Model.mwb b/Docs/Model.mwb old mode 100644 new mode 100755 diff --git a/Docs/PatientExemple.json b/Docs/PatientExemple.json new file mode 100755 index 0000000..91258d5 --- /dev/null +++ b/Docs/PatientExemple.json @@ -0,0 +1,1302 @@ +[ + { + "Id": 0, + "Civilite": "F", + "Nom": "BIRD", + "Prenom": "Isabelle", + "Adresse": "931 Sedgwick Place, Duryea, Guam", + "Ville": "Maryland", + "CodePostal": "81853", + "DateNaissance": "1939-12-24", + "LieuNaissance": "Arkansas", + "NumSecuriteSociale": "26240615413", + "MedecinTraitant": 100 + }, + { + "Id": 1, + "Civilite": "F", + "Nom": "YORK", + "Prenom": "Ashley", + "Adresse": "921 Colby Court, Day, Oklahoma", + "Ville": "Nebraska", + "CodePostal": "69999", + "DateNaissance": "2014-06-03", + "LieuNaissance": "Missouri", + "NumSecuriteSociale": "22415123134", + "MedecinTraitant": 100 + }, + { + "Id": 2, + "Civilite": "M", + "Nom": "WALTON", + "Prenom": "Nichols", + "Adresse": "397 Montana Place, Eastmont, Utah", + "Ville": "American Samoa", + "CodePostal": "27538", + "DateNaissance": "2008-11-28", + "LieuNaissance": "Illinois", + "NumSecuriteSociale": "16835480019", + "MedecinTraitant": 100 + }, + { + "Id": 3, + "Civilite": "M", + "Nom": "PRESTON", + "Prenom": "Schmidt", + "Adresse": "533 Lawrence Avenue, Escondida, Alabama", + "Ville": "Pennsylvania", + "CodePostal": "64271", + "DateNaissance": "2010-05-24", + "LieuNaissance": "North Carolina", + "NumSecuriteSociale": "13571535910", + "MedecinTraitant": 1 + }, + { + "Id": 4, + "Civilite": "M", + "Nom": "KIRK", + "Prenom": "Noelle", + "Adresse": "150 Stryker Court, Sehili, Arizona", + "Ville": "Michigan", + "CodePostal": "13240", + "DateNaissance": "2004-08-16", + "LieuNaissance": "Iowa", + "NumSecuriteSociale": "18066015776", + "MedecinTraitant": 100 + }, + { + "Id": 5, + "Civilite": "F", + "Nom": "SCHMIDT", + "Prenom": "Willie", + "Adresse": "251 Troutman Street, Coral, Louisiana", + "Ville": "Nevada", + "CodePostal": "20709", + "DateNaissance": "2004-04-18", + "LieuNaissance": "Wyoming", + "NumSecuriteSociale": "26181224602", + "MedecinTraitant": 100 + }, + { + "Id": 6, + "Civilite": "F", + "Nom": "ROSA", + "Prenom": "Vilma", + "Adresse": "136 Trucklemans Lane, Levant, Ohio", + "Ville": "Montana", + "CodePostal": "17912", + "DateNaissance": "1906-02-27", + "LieuNaissance": "Washington", + "NumSecuriteSociale": "24691294721", + "MedecinTraitant": 1 + }, + { + "Id": 7, + "Civilite": "F", + "Nom": "DAY", + "Prenom": "Dorsey", + "Adresse": "334 Elizabeth Place, Brutus, Florida", + "Ville": "Texas", + "CodePostal": "92811", + "DateNaissance": "2005-12-09", + "LieuNaissance": "Kansas", + "NumSecuriteSociale": "23386604216", + "MedecinTraitant": 1 + }, + { + "Id": 8, + "Civilite": "M", + "Nom": "SALAS", + "Prenom": "Tommie", + "Adresse": "986 Brooklyn Avenue, Alleghenyville, Minnesota", + "Ville": "Vermont", + "CodePostal": "66337", + "DateNaissance": "2002-11-24", + "LieuNaissance": "Puerto Rico", + "NumSecuriteSociale": "18890079929", + "MedecinTraitant": 100 + }, + { + "Id": 9, + "Civilite": "F", + "Nom": "SIMS", + "Prenom": "Leila", + "Adresse": "501 Wilson Avenue, Homestead, Palau", + "Ville": "South Carolina", + "CodePostal": "82315", + "DateNaissance": "1946-01-14", + "LieuNaissance": "New Mexico", + "NumSecuriteSociale": "21994286442", + "MedecinTraitant": 1 + }, + { + "Id": 10, + "Civilite": "F", + "Nom": "EATON", + "Prenom": "Sosa", + "Adresse": "609 McKinley Avenue, Tonopah, Tennessee", + "Ville": "Wisconsin", + "CodePostal": "74595", + "DateNaissance": "1999-10-30", + "LieuNaissance": "Massachusetts", + "NumSecuriteSociale": "28333040891", + "MedecinTraitant": 100 + }, + { + "Id": 11, + "Civilite": "M", + "Nom": "NICHOLSON", + "Prenom": "Pitts", + "Adresse": "569 Lake Avenue, Grayhawk, Virgin Islands", + "Ville": "Idaho", + "CodePostal": "09423", + "DateNaissance": "1995-10-08", + "LieuNaissance": "Indiana", + "NumSecuriteSociale": "11378390779", + "MedecinTraitant": 100 + }, + { + "Id": 12, + "Civilite": "M", + "Nom": "ASHLEY", + "Prenom": "Figueroa", + "Adresse": "254 Sumner Place, Succasunna, Delaware", + "Ville": "Connecticut", + "CodePostal": "17656", + "DateNaissance": "2007-07-24", + "LieuNaissance": "New Hampshire", + "NumSecuriteSociale": "13086556690", + "MedecinTraitant": 1 + }, + { + "Id": 13, + "Civilite": "M", + "Nom": "SYKES", + "Prenom": "Hart", + "Adresse": "781 Caton Avenue, Hobucken, Maine", + "Ville": "District Of Columbia", + "CodePostal": "66140", + "DateNaissance": "1999-11-04", + "LieuNaissance": "Georgia", + "NumSecuriteSociale": "18254253573", + "MedecinTraitant": 100 + }, + { + "Id": 14, + "Civilite": "M", + "Nom": "RIVAS", + "Prenom": "Jean", + "Adresse": "451 Belvidere Street, Lewis, Kentucky", + "Ville": "West Virginia", + "CodePostal": "27539", + "DateNaissance": "2004-04-05", + "LieuNaissance": "Northern Mariana Islands", + "NumSecuriteSociale": "19465007771", + "MedecinTraitant": 100 + }, + { + "Id": 15, + "Civilite": "F", + "Nom": "TREVINO", + "Prenom": "Hanson", + "Adresse": "723 Beaver Street, Brookfield, Virginia", + "Ville": "Rhode Island", + "CodePostal": "01886", + "DateNaissance": "2000-10-21", + "LieuNaissance": "New Jersey", + "NumSecuriteSociale": "22390372021", + "MedecinTraitant": 1 + }, + { + "Id": 16, + "Civilite": "M", + "Nom": "MURRAY", + "Prenom": "Decker", + "Adresse": "211 Madoc Avenue, Ahwahnee, Alaska", + "Ville": "Hawaii", + "CodePostal": "52411", + "DateNaissance": "2011-09-07", + "LieuNaissance": "North Dakota", + "NumSecuriteSociale": "15191766054", + "MedecinTraitant": 1 + }, + { + "Id": 17, + "Civilite": "M", + "Nom": "BLACKBURN", + "Prenom": "Sybil", + "Adresse": "381 Hyman Court, Alamo, Oregon", + "Ville": "California", + "CodePostal": "75726", + "DateNaissance": "2004-02-20", + "LieuNaissance": "South Dakota", + "NumSecuriteSociale": "14023851052", + "MedecinTraitant": 1 + }, + { + "Id": 18, + "Civilite": "F", + "Nom": "HUBBARD", + "Prenom": "Peck", + "Adresse": "527 Nassau Avenue, Moscow, New York", + "Ville": "Colorado", + "CodePostal": "77274", + "DateNaissance": "2008-11-22", + "LieuNaissance": "Marshall Islands", + "NumSecuriteSociale": "24053299940", + "MedecinTraitant": 1 + }, + { + "Id": 19, + "Civilite": "M", + "Nom": "KING", + "Prenom": "Drake", + "Adresse": "272 Luquer Street, Fivepointville, Federated States Of Micronesia", + "Ville": "Guam", + "CodePostal": "78262", + "DateNaissance": "2015-02-01", + "LieuNaissance": "Maryland", + "NumSecuriteSociale": "14573194918", + "MedecinTraitant": 100 + }, + { + "Id": 20, + "Civilite": "M", + "Nom": "HUDSON", + "Prenom": "Lynne", + "Adresse": "407 Knight Court, Starks, Arkansas", + "Ville": "Oklahoma", + "CodePostal": "00986", + "DateNaissance": "1986-12-11", + "LieuNaissance": "Nebraska", + "NumSecuriteSociale": "19553304807", + "MedecinTraitant": 1 + }, + { + "Id": 21, + "Civilite": "F", + "Nom": "HANSON", + "Prenom": "Cheri", + "Adresse": "794 Pierrepont Street, Comptche, Missouri", + "Ville": "Utah", + "CodePostal": "65533", + "DateNaissance": "2001-05-30", + "LieuNaissance": "American Samoa", + "NumSecuriteSociale": "22890075882", + "MedecinTraitant": 1 + }, + { + "Id": 22, + "Civilite": "F", + "Nom": "OCONNOR", + "Prenom": "Krista", + "Adresse": "279 Scholes Street, Longbranch, Illinois", + "Ville": "Alabama", + "CodePostal": "64012", + "DateNaissance": "2012-01-27", + "LieuNaissance": "Pennsylvania", + "NumSecuriteSociale": "28075435164", + "MedecinTraitant": 100 + }, + { + "Id": 23, + "Civilite": "F", + "Nom": "ROCHA", + "Prenom": "Sheena", + "Adresse": "928 Porter Avenue, Elliston, North Carolina", + "Ville": "Arizona", + "CodePostal": "60431", + "DateNaissance": "2007-01-17", + "LieuNaissance": "Michigan", + "NumSecuriteSociale": "22273757750", + "MedecinTraitant": 1 + }, + { + "Id": 24, + "Civilite": "F", + "Nom": "MITCHELL", + "Prenom": "Dona", + "Adresse": "404 Kingsway Place, Iola, Iowa", + "Ville": "Louisiana", + "CodePostal": "69549", + "DateNaissance": "1948-04-03", + "LieuNaissance": "Nevada", + "NumSecuriteSociale": "28985940481", + "MedecinTraitant": 100 + }, + { + "Id": 25, + "Civilite": "F", + "Nom": "MORRISON", + "Prenom": "Nora", + "Adresse": "833 Belmont Avenue, Trexlertown, Wyoming", + "Ville": "Ohio", + "CodePostal": "25776", + "DateNaissance": "1986-05-29", + "LieuNaissance": "Montana", + "NumSecuriteSociale": "21465165642", + "MedecinTraitant": 100 + }, + { + "Id": 26, + "Civilite": "F", + "Nom": "KELLER", + "Prenom": "Mcdowell", + "Adresse": "824 Sapphire Street, Bladensburg, Washington", + "Ville": "Florida", + "CodePostal": "63345", + "DateNaissance": "2003-01-27", + "LieuNaissance": "Texas", + "NumSecuriteSociale": "22995340259", + "MedecinTraitant": 1 + }, + { + "Id": 27, + "Civilite": "M", + "Nom": "GRAY", + "Prenom": "Teresa", + "Adresse": "722 Noble Street, Hilltop, Kansas", + "Ville": "Minnesota", + "CodePostal": "77245", + "DateNaissance": "1939-01-22", + "LieuNaissance": "Vermont", + "NumSecuriteSociale": "16951453268", + "MedecinTraitant": 1 + }, + { + "Id": 28, + "Civilite": "F", + "Nom": "TATE", + "Prenom": "Valeria", + "Adresse": "437 Autumn Avenue, Southmont, Puerto Rico", + "Ville": "Palau", + "CodePostal": "31844", + "DateNaissance": "1951-08-06", + "LieuNaissance": "South Carolina", + "NumSecuriteSociale": "25005748462", + "MedecinTraitant": 1 + }, + { + "Id": 29, + "Civilite": "F", + "Nom": "SHAW", + "Prenom": "Hogan", + "Adresse": "987 Johnson Avenue, Bend, New Mexico", + "Ville": "Tennessee", + "CodePostal": "99704", + "DateNaissance": "1930-08-06", + "LieuNaissance": "Wisconsin", + "NumSecuriteSociale": "24531993166", + "MedecinTraitant": 1 + }, + { + "Id": 30, + "Civilite": "M", + "Nom": "DICKSON", + "Prenom": "Bridget", + "Adresse": "245 Ford Street, Grapeview, Massachusetts", + "Ville": "Virgin Islands", + "CodePostal": "53520", + "DateNaissance": "1919-12-03", + "LieuNaissance": "Idaho", + "NumSecuriteSociale": "14716982494", + "MedecinTraitant": 1 + }, + { + "Id": 31, + "Civilite": "F", + "Nom": "TURNER", + "Prenom": "Shawn", + "Adresse": "536 Woodside Avenue, Sharon, Indiana", + "Ville": "Delaware", + "CodePostal": "80424", + "DateNaissance": "2008-02-07", + "LieuNaissance": "Connecticut", + "NumSecuriteSociale": "26274892206", + "MedecinTraitant": 100 + }, + { + "Id": 32, + "Civilite": "F", + "Nom": "YATES", + "Prenom": "Petersen", + "Adresse": "812 Clarkson Avenue, Cliff, New Hampshire", + "Ville": "Maine", + "CodePostal": "25924", + "DateNaissance": "2004-05-12", + "LieuNaissance": "District Of Columbia", + "NumSecuriteSociale": "21325802502", + "MedecinTraitant": 100 + }, + { + "Id": 33, + "Civilite": "M", + "Nom": "CONRAD", + "Prenom": "Blackburn", + "Adresse": "303 Montieth Street, Aguila, Georgia", + "Ville": "Kentucky", + "CodePostal": "94579", + "DateNaissance": "2001-08-20", + "LieuNaissance": "West Virginia", + "NumSecuriteSociale": "15330766765", + "MedecinTraitant": 1 + }, + { + "Id": 34, + "Civilite": "M", + "Nom": "DICKERSON", + "Prenom": "Reyes", + "Adresse": "207 Commerce Street, Enetai, Northern Mariana Islands", + "Ville": "Virginia", + "CodePostal": "28405", + "DateNaissance": "1914-02-11", + "LieuNaissance": "Rhode Island", + "NumSecuriteSociale": "13255367907", + "MedecinTraitant": 100 + }, + { + "Id": 35, + "Civilite": "M", + "Nom": "NORMAN", + "Prenom": "Luann", + "Adresse": "121 Stillwell Avenue, Bawcomville, New Jersey", + "Ville": "Alaska", + "CodePostal": "06988", + "DateNaissance": "2004-01-21", + "LieuNaissance": "Hawaii", + "NumSecuriteSociale": "13262501991", + "MedecinTraitant": 100 + }, + { + "Id": 36, + "Civilite": "F", + "Nom": "GUY", + "Prenom": "Theresa", + "Adresse": "964 Seba Avenue, Shrewsbury, North Dakota", + "Ville": "Oregon", + "CodePostal": "08530", + "DateNaissance": "1972-11-28", + "LieuNaissance": "California", + "NumSecuriteSociale": "21691609628", + "MedecinTraitant": 100 + }, + { + "Id": 37, + "Civilite": "F", + "Nom": "WOLF", + "Prenom": "Goodman", + "Adresse": "596 Jaffray Street, Singer, South Dakota", + "Ville": "New York", + "CodePostal": "97956", + "DateNaissance": "1945-04-27", + "LieuNaissance": "Colorado", + "NumSecuriteSociale": "20327379298", + "MedecinTraitant": 1 + }, + { + "Id": 38, + "Civilite": "M", + "Nom": "HAYS", + "Prenom": "Earlene", + "Adresse": "543 Joval Court, Boonville, Marshall Islands", + "Ville": "Federated States Of Micronesia", + "CodePostal": "22434", + "DateNaissance": "2002-06-01", + "LieuNaissance": "Guam", + "NumSecuriteSociale": "15714924243", + "MedecinTraitant": 1 + }, + { + "Id": 39, + "Civilite": "F", + "Nom": "KANE", + "Prenom": "Donaldson", + "Adresse": "664 Vandalia Avenue, Cressey, Maryland", + "Ville": "Arkansas", + "CodePostal": "13550", + "DateNaissance": "2008-02-07", + "LieuNaissance": "Oklahoma", + "NumSecuriteSociale": "29539391502", + "MedecinTraitant": 100 + }, + { + "Id": 40, + "Civilite": "M", + "Nom": "MCKAY", + "Prenom": "Blackwell", + "Adresse": "559 Matthews Place, Biehle, Nebraska", + "Ville": "Missouri", + "CodePostal": "91404", + "DateNaissance": "2012-04-07", + "LieuNaissance": "Utah", + "NumSecuriteSociale": "17107079425", + "MedecinTraitant": 100 + }, + { + "Id": 41, + "Civilite": "M", + "Nom": "ROWE", + "Prenom": "Villarreal", + "Adresse": "304 Manor Court, Foxworth, American Samoa", + "Ville": "Illinois", + "CodePostal": "72685", + "DateNaissance": "2012-09-03", + "LieuNaissance": "Alabama", + "NumSecuriteSociale": "11529731181", + "MedecinTraitant": 100 + }, + { + "Id": 42, + "Civilite": "M", + "Nom": "DECKER", + "Prenom": "Copeland", + "Adresse": "371 Lafayette Walk, Waiohinu, Pennsylvania", + "Ville": "North Carolina", + "CodePostal": "44627", + "DateNaissance": "2009-09-17", + "LieuNaissance": "Arizona", + "NumSecuriteSociale": "14587278151", + "MedecinTraitant": 100 + }, + { + "Id": 43, + "Civilite": "M", + "Nom": "SAVAGE", + "Prenom": "Josefina", + "Adresse": "170 Hillel Place, Shepardsville, Michigan", + "Ville": "Iowa", + "CodePostal": "76463", + "DateNaissance": "1965-09-01", + "LieuNaissance": "Louisiana", + "NumSecuriteSociale": "16328217724", + "MedecinTraitant": 100 + }, + { + "Id": 44, + "Civilite": "F", + "Nom": "FINCH", + "Prenom": "Simon", + "Adresse": "943 Ditmars Street, Greenbush, Nevada", + "Ville": "Wyoming", + "CodePostal": "53620", + "DateNaissance": "1941-04-11", + "LieuNaissance": "Ohio", + "NumSecuriteSociale": "29540662022", + "MedecinTraitant": 1 + }, + { + "Id": 45, + "Civilite": "M", + "Nom": "MCKEE", + "Prenom": "Yvonne", + "Adresse": "461 Exeter Street, Islandia, Montana", + "Ville": "Washington", + "CodePostal": "30734", + "DateNaissance": "1979-11-23", + "LieuNaissance": "Florida", + "NumSecuriteSociale": "11871993791", + "MedecinTraitant": 1 + }, + { + "Id": 46, + "Civilite": "F", + "Nom": "KENNEDY", + "Prenom": "Baxter", + "Adresse": "689 Dewey Place, Kenmar, Texas", + "Ville": "Kansas", + "CodePostal": "29754", + "DateNaissance": "1971-06-17", + "LieuNaissance": "Minnesota", + "NumSecuriteSociale": "22774828414", + "MedecinTraitant": 1 + }, + { + "Id": 47, + "Civilite": "M", + "Nom": "INGRAM", + "Prenom": "Wendi", + "Adresse": "905 Claver Place, Cherokee, Vermont", + "Ville": "Puerto Rico", + "CodePostal": "18369", + "DateNaissance": "2006-12-03", + "LieuNaissance": "Palau", + "NumSecuriteSociale": "11307394077", + "MedecinTraitant": 100 + }, + { + "Id": 48, + "Civilite": "F", + "Nom": "DELEON", + "Prenom": "Hannah", + "Adresse": "381 Bedford Place, Moquino, South Carolina", + "Ville": "New Mexico", + "CodePostal": "29390", + "DateNaissance": "1932-09-05", + "LieuNaissance": "Tennessee", + "NumSecuriteSociale": "26144187355", + "MedecinTraitant": 100 + }, + { + "Id": 49, + "Civilite": "F", + "Nom": "HAMILTON", + "Prenom": "Alison", + "Adresse": "886 Freeman Street, Emory, Wisconsin", + "Ville": "Massachusetts", + "CodePostal": "46826", + "DateNaissance": "1985-04-23", + "LieuNaissance": "Virgin Islands", + "NumSecuriteSociale": "20140307380", + "MedecinTraitant": 100 + }, + { + "Id": 50, + "Civilite": "F", + "Nom": "MYERS", + "Prenom": "Dixon", + "Adresse": "501 Love Lane, Carbonville, Idaho", + "Ville": "Indiana", + "CodePostal": "17532", + "DateNaissance": "2015-02-04", + "LieuNaissance": "Delaware", + "NumSecuriteSociale": "20358491276", + "MedecinTraitant": 100 + }, + { + "Id": 51, + "Civilite": "M", + "Nom": "WALLS", + "Prenom": "Montoya", + "Adresse": "728 Ocean Court, Rose, Connecticut", + "Ville": "New Hampshire", + "CodePostal": "12591", + "DateNaissance": "2006-11-03", + "LieuNaissance": "Maine", + "NumSecuriteSociale": "13100720229", + "MedecinTraitant": 1 + }, + { + "Id": 52, + "Civilite": "M", + "Nom": "LITTLE", + "Prenom": "Goodwin", + "Adresse": "420 Bayard Street, Dragoon, District Of Columbia", + "Ville": "Georgia", + "CodePostal": "90167", + "DateNaissance": "1916-11-01", + "LieuNaissance": "Kentucky", + "NumSecuriteSociale": "13767946554", + "MedecinTraitant": 100 + }, + { + "Id": 53, + "Civilite": "M", + "Nom": "VANG", + "Prenom": "Combs", + "Adresse": "179 Karweg Place, Tyhee, West Virginia", + "Ville": "Northern Mariana Islands", + "CodePostal": "45488", + "DateNaissance": "2006-04-22", + "LieuNaissance": "Virginia", + "NumSecuriteSociale": "12063431164", + "MedecinTraitant": 100 + }, + { + "Id": 54, + "Civilite": "M", + "Nom": "FULTON", + "Prenom": "Knight", + "Adresse": "270 Bancroft Place, Hickory, Rhode Island", + "Ville": "New Jersey", + "CodePostal": "58412", + "DateNaissance": "1922-07-16", + "LieuNaissance": "Alaska", + "NumSecuriteSociale": "12516538812", + "MedecinTraitant": 100 + }, + { + "Id": 55, + "Civilite": "M", + "Nom": "BEACH", + "Prenom": "Elba", + "Adresse": "822 Rogers Avenue, Machias, Hawaii", + "Ville": "North Dakota", + "CodePostal": "66071", + "DateNaissance": "1997-10-31", + "LieuNaissance": "Oregon", + "NumSecuriteSociale": "12823276991", + "MedecinTraitant": 1 + }, + { + "Id": 56, + "Civilite": "F", + "Nom": "JACKSON", + "Prenom": "Maritza", + "Adresse": "343 Laurel Avenue, Faywood, California", + "Ville": "South Dakota", + "CodePostal": "76917", + "DateNaissance": "1980-06-19", + "LieuNaissance": "New York", + "NumSecuriteSociale": "25513819797", + "MedecinTraitant": 1 + }, + { + "Id": 57, + "Civilite": "F", + "Nom": "WILDER", + "Prenom": "Mejia", + "Adresse": "164 Grafton Street, Westboro, Colorado", + "Ville": "Marshall Islands", + "CodePostal": "13462", + "DateNaissance": "1998-08-19", + "LieuNaissance": "Federated States Of Micronesia", + "NumSecuriteSociale": "24148975187", + "MedecinTraitant": 1 + }, + { + "Id": 58, + "Civilite": "M", + "Nom": "BASS", + "Prenom": "Watts", + "Adresse": "100 Glenmore Avenue, Maybell, Guam", + "Ville": "Maryland", + "CodePostal": "48355", + "DateNaissance": "2007-06-30", + "LieuNaissance": "Arkansas", + "NumSecuriteSociale": "15788944071", + "MedecinTraitant": 1 + }, + { + "Id": 59, + "Civilite": "M", + "Nom": "COLLIER", + "Prenom": "Natasha", + "Adresse": "884 Douglass Street, Crawfordsville, Oklahoma", + "Ville": "Nebraska", + "CodePostal": "06201", + "DateNaissance": "1912-02-25", + "LieuNaissance": "Missouri", + "NumSecuriteSociale": "19829559908", + "MedecinTraitant": 1 + }, + { + "Id": 60, + "Civilite": "F", + "Nom": "FARLEY", + "Prenom": "Lori", + "Adresse": "427 Varet Street, Clara, Utah", + "Ville": "American Samoa", + "CodePostal": "22329", + "DateNaissance": "2006-01-20", + "LieuNaissance": "Illinois", + "NumSecuriteSociale": "21923124109", + "MedecinTraitant": 100 + }, + { + "Id": 61, + "Civilite": "F", + "Nom": "STEVENSON", + "Prenom": "Cotton", + "Adresse": "211 Rochester Avenue, Yardville, Alabama", + "Ville": "Pennsylvania", + "CodePostal": "11479", + "DateNaissance": "1932-02-18", + "LieuNaissance": "North Carolina", + "NumSecuriteSociale": "27795366216", + "MedecinTraitant": 1 + }, + { + "Id": 62, + "Civilite": "M", + "Nom": "WEBB", + "Prenom": "Lesley", + "Adresse": "404 Waldorf Court, Masthope, Arizona", + "Ville": "Michigan", + "CodePostal": "31370", + "DateNaissance": "2003-11-20", + "LieuNaissance": "Iowa", + "NumSecuriteSociale": "15982642632", + "MedecinTraitant": 100 + }, + { + "Id": 63, + "Civilite": "F", + "Nom": "SHEPARD", + "Prenom": "Graves", + "Adresse": "507 Wyona Street, Choctaw, Louisiana", + "Ville": "Nevada", + "CodePostal": "21794", + "DateNaissance": "2008-11-06", + "LieuNaissance": "Wyoming", + "NumSecuriteSociale": "23768131993", + "MedecinTraitant": 100 + }, + { + "Id": 64, + "Civilite": "M", + "Nom": "BRYAN", + "Prenom": "Blanchard", + "Adresse": "634 Bergen Street, Glenville, Ohio", + "Ville": "Montana", + "CodePostal": "28215", + "DateNaissance": "2013-01-09", + "LieuNaissance": "Washington", + "NumSecuriteSociale": "12323606634", + "MedecinTraitant": 1 + }, + { + "Id": 65, + "Civilite": "M", + "Nom": "STEIN", + "Prenom": "Burnett", + "Adresse": "846 Chase Court, Kula, Florida", + "Ville": "Texas", + "CodePostal": "08806", + "DateNaissance": "2006-06-08", + "LieuNaissance": "Kansas", + "NumSecuriteSociale": "18748259742", + "MedecinTraitant": 100 + }, + { + "Id": 66, + "Civilite": "M", + "Nom": "SAMPSON", + "Prenom": "Christi", + "Adresse": "644 Ryerson Street, Clarksburg, Minnesota", + "Ville": "Vermont", + "CodePostal": "39230", + "DateNaissance": "2007-01-26", + "LieuNaissance": "Puerto Rico", + "NumSecuriteSociale": "19064708663", + "MedecinTraitant": 1 + }, + { + "Id": 67, + "Civilite": "F", + "Nom": "MAY", + "Prenom": "Manuela", + "Adresse": "101 Russell Street, Chesterfield, Palau", + "Ville": "South Carolina", + "CodePostal": "82890", + "DateNaissance": "2015-02-17", + "LieuNaissance": "New Mexico", + "NumSecuriteSociale": "21893544930", + "MedecinTraitant": 100 + }, + { + "Id": 68, + "Civilite": "F", + "Nom": "COHEN", + "Prenom": "Hampton", + "Adresse": "322 Union Avenue, Hollymead, Tennessee", + "Ville": "Wisconsin", + "CodePostal": "37320", + "DateNaissance": "2003-04-18", + "LieuNaissance": "Massachusetts", + "NumSecuriteSociale": "29423959761", + "MedecinTraitant": 1 + }, + { + "Id": 69, + "Civilite": "M", + "Nom": "WILKINS", + "Prenom": "Enid", + "Adresse": "477 Gunther Place, Bethany, Virgin Islands", + "Ville": "Idaho", + "CodePostal": "86024", + "DateNaissance": "2003-10-30", + "LieuNaissance": "Indiana", + "NumSecuriteSociale": "14407445750", + "MedecinTraitant": 1 + }, + { + "Id": 70, + "Civilite": "F", + "Nom": "WASHINGTON", + "Prenom": "Rowe", + "Adresse": "772 Montauk Avenue, Hannasville, Delaware", + "Ville": "Connecticut", + "CodePostal": "29560", + "DateNaissance": "2012-04-21", + "LieuNaissance": "New Hampshire", + "NumSecuriteSociale": "22110627968", + "MedecinTraitant": 100 + }, + { + "Id": 71, + "Civilite": "M", + "Nom": "GUERRA", + "Prenom": "Kaufman", + "Adresse": "445 Dahl Court, Garberville, Maine", + "Ville": "District Of Columbia", + "CodePostal": "20800", + "DateNaissance": "2004-09-27", + "LieuNaissance": "Georgia", + "NumSecuriteSociale": "14283824472", + "MedecinTraitant": 100 + }, + { + "Id": 72, + "Civilite": "M", + "Nom": "DOTSON", + "Prenom": "Aileen", + "Adresse": "298 Lyme Avenue, Grantville, Kentucky", + "Ville": "West Virginia", + "CodePostal": "92185", + "DateNaissance": "1946-06-21", + "LieuNaissance": "Northern Mariana Islands", + "NumSecuriteSociale": "18779048769", + "MedecinTraitant": 1 + }, + { + "Id": 73, + "Civilite": "F", + "Nom": "HERRERA", + "Prenom": "Myra", + "Adresse": "718 Macdougal Street, Takilma, Virginia", + "Ville": "Rhode Island", + "CodePostal": "21912", + "DateNaissance": "1952-06-15", + "LieuNaissance": "New Jersey", + "NumSecuriteSociale": "23164040988", + "MedecinTraitant": 100 + }, + { + "Id": 74, + "Civilite": "F", + "Nom": "BERG", + "Prenom": "Lara", + "Adresse": "524 Prospect Place, Boomer, Alaska", + "Ville": "Hawaii", + "CodePostal": "36454", + "DateNaissance": "1995-10-07", + "LieuNaissance": "North Dakota", + "NumSecuriteSociale": "28464711038", + "MedecinTraitant": 1 + }, + { + "Id": 75, + "Civilite": "M", + "Nom": "CARLSON", + "Prenom": "Rosales", + "Adresse": "530 Tillary Street, Chamizal, Oregon", + "Ville": "California", + "CodePostal": "30660", + "DateNaissance": "1971-07-13", + "LieuNaissance": "South Dakota", + "NumSecuriteSociale": "10825533075", + "MedecinTraitant": 1 + }, + { + "Id": 76, + "Civilite": "M", + "Nom": "HENRY", + "Prenom": "Regina", + "Adresse": "142 Berriman Street, Broadlands, New York", + "Ville": "Colorado", + "CodePostal": "04151", + "DateNaissance": "1949-03-23", + "LieuNaissance": "Marshall Islands", + "NumSecuriteSociale": "12198556888", + "MedecinTraitant": 1 + }, + { + "Id": 77, + "Civilite": "F", + "Nom": "BOYER", + "Prenom": "Benson", + "Adresse": "815 Thatford Avenue, Sheatown, Federated States Of Micronesia", + "Ville": "Guam", + "CodePostal": "48151", + "DateNaissance": "2014-07-13", + "LieuNaissance": "Maryland", + "NumSecuriteSociale": "20448517036", + "MedecinTraitant": 1 + }, + { + "Id": 78, + "Civilite": "M", + "Nom": "MERRILL", + "Prenom": "Benjamin", + "Adresse": "278 Lenox Road, Callaghan, Arkansas", + "Ville": "Oklahoma", + "CodePostal": "27718", + "DateNaissance": "2011-11-08", + "LieuNaissance": "Nebraska", + "NumSecuriteSociale": "10019372216", + "MedecinTraitant": 1 + }, + { + "Id": 79, + "Civilite": "M", + "Nom": "ROBINSON", + "Prenom": "Earline", + "Adresse": "897 Keen Court, Jacumba, Missouri", + "Ville": "Utah", + "CodePostal": "27855", + "DateNaissance": "2001-01-27", + "LieuNaissance": "American Samoa", + "NumSecuriteSociale": "12176878157", + "MedecinTraitant": 1 + }, + { + "Id": 80, + "Civilite": "F", + "Nom": "JACOBS", + "Prenom": "Dana", + "Adresse": "912 Ralph Avenue, Forbestown, Illinois", + "Ville": "Alabama", + "CodePostal": "47648", + "DateNaissance": "1987-08-26", + "LieuNaissance": "Pennsylvania", + "NumSecuriteSociale": "23021984892", + "MedecinTraitant": 1 + }, + { + "Id": 81, + "Civilite": "F", + "Nom": "LYONS", + "Prenom": "Tucker", + "Adresse": "429 Eldert Street, Savage, North Carolina", + "Ville": "Arizona", + "CodePostal": "44274", + "DateNaissance": "1944-07-31", + "LieuNaissance": "Michigan", + "NumSecuriteSociale": "28978854411", + "MedecinTraitant": 1 + }, + { + "Id": 82, + "Civilite": "M", + "Nom": "MIRANDA", + "Prenom": "Elsie", + "Adresse": "309 Delmonico Place, Lupton, Iowa", + "Ville": "Louisiana", + "CodePostal": "39359", + "DateNaissance": "2002-06-08", + "LieuNaissance": "Nevada", + "NumSecuriteSociale": "15849533561", + "MedecinTraitant": 1 + }, + { + "Id": 83, + "Civilite": "F", + "Nom": "GRAVES", + "Prenom": "Mcdaniel", + "Adresse": "145 Front Street, Gordon, Wyoming", + "Ville": "Ohio", + "CodePostal": "22087", + "DateNaissance": "2001-12-20", + "LieuNaissance": "Montana", + "NumSecuriteSociale": "26428863651", + "MedecinTraitant": 100 + }, + { + "Id": 84, + "Civilite": "M", + "Nom": "COLON", + "Prenom": "Ester", + "Adresse": "713 Bergen Court, Wyano, Washington", + "Ville": "Florida", + "CodePostal": "92438", + "DateNaissance": "2005-05-12", + "LieuNaissance": "Texas", + "NumSecuriteSociale": "15093081521", + "MedecinTraitant": 100 + }, + { + "Id": 85, + "Civilite": "F", + "Nom": "BUTLER", + "Prenom": "Shepard", + "Adresse": "240 Miller Avenue, Bedias, Kansas", + "Ville": "Minnesota", + "CodePostal": "06240", + "DateNaissance": "2010-12-14", + "LieuNaissance": "Vermont", + "NumSecuriteSociale": "25221064670", + "MedecinTraitant": 100 + }, + { + "Id": 86, + "Civilite": "M", + "Nom": "CARPENTER", + "Prenom": "Rojas", + "Adresse": "366 Albemarle Road, Greenfields, Puerto Rico", + "Ville": "Palau", + "CodePostal": "09533", + "DateNaissance": "1935-09-24", + "LieuNaissance": "South Carolina", + "NumSecuriteSociale": "10790727829", + "MedecinTraitant": 1 + }, + { + "Id": 87, + "Civilite": "M", + "Nom": "RODRIQUEZ", + "Prenom": "Roberta", + "Adresse": "911 Stockholm Street, Gulf, New Mexico", + "Ville": "Tennessee", + "CodePostal": "63863", + "DateNaissance": "2004-06-20", + "LieuNaissance": "Wisconsin", + "NumSecuriteSociale": "13835989325", + "MedecinTraitant": 1 + }, + { + "Id": 88, + "Civilite": "F", + "Nom": "RUTLEDGE", + "Prenom": "Vargas", + "Adresse": "103 Clay Street, Weedville, Massachusetts", + "Ville": "Virgin Islands", + "CodePostal": "40148", + "DateNaissance": "1984-07-01", + "LieuNaissance": "Idaho", + "NumSecuriteSociale": "23935301336", + "MedecinTraitant": 1 + }, + { + "Id": 89, + "Civilite": "M", + "Nom": "SANTANA", + "Prenom": "Thelma", + "Adresse": "640 Commercial Street, Aurora, Indiana", + "Ville": "Delaware", + "CodePostal": "45470", + "DateNaissance": "2006-12-09", + "LieuNaissance": "Connecticut", + "NumSecuriteSociale": "12024549855", + "MedecinTraitant": 100 + }, + { + "Id": 90, + "Civilite": "F", + "Nom": "HOUSE", + "Prenom": "Carrillo", + "Adresse": "241 Channel Avenue, Dahlen, New Hampshire", + "Ville": "Maine", + "CodePostal": "41210", + "DateNaissance": "2013-06-02", + "LieuNaissance": "District Of Columbia", + "NumSecuriteSociale": "29397708459", + "MedecinTraitant": 100 + }, + { + "Id": 91, + "Civilite": "M", + "Nom": "BUCKLEY", + "Prenom": "Evangelina", + "Adresse": "789 Opal Court, Hardyville, Georgia", + "Ville": "Kentucky", + "CodePostal": "84566", + "DateNaissance": "2010-07-24", + "LieuNaissance": "West Virginia", + "NumSecuriteSociale": "13765533537", + "MedecinTraitant": 100 + }, + { + "Id": 92, + "Civilite": "F", + "Nom": "ALSTON", + "Prenom": "Everett", + "Adresse": "843 Stuart Street, Utting, Northern Mariana Islands", + "Ville": "Virginia", + "CodePostal": "31450", + "DateNaissance": "2011-08-16", + "LieuNaissance": "Rhode Island", + "NumSecuriteSociale": "20282762628", + "MedecinTraitant": 1 + }, + { + "Id": 93, + "Civilite": "M", + "Nom": "WEBSTER", + "Prenom": "Welch", + "Adresse": "473 Surf Avenue, Rockbridge, New Jersey", + "Ville": "Alaska", + "CodePostal": "64161", + "DateNaissance": "2010-09-19", + "LieuNaissance": "Hawaii", + "NumSecuriteSociale": "15543053067", + "MedecinTraitant": 1 + }, + { + "Id": 94, + "Civilite": "M", + "Nom": "RICHARD", + "Prenom": "Tonya", + "Adresse": "999 Campus Road, Graball, North Dakota", + "Ville": "Oregon", + "CodePostal": "20271", + "DateNaissance": "1936-04-29", + "LieuNaissance": "California", + "NumSecuriteSociale": "10061371942", + "MedecinTraitant": 100 + }, + { + "Id": 95, + "Civilite": "F", + "Nom": "STEVENS", + "Prenom": "Mooney", + "Adresse": "465 Mersereau Court, National, South Dakota", + "Ville": "New York", + "CodePostal": "75303", + "DateNaissance": "1919-09-12", + "LieuNaissance": "Colorado", + "NumSecuriteSociale": "24736305674", + "MedecinTraitant": 100 + }, + { + "Id": 96, + "Civilite": "M", + "Nom": "ODONNELL", + "Prenom": "Alissa", + "Adresse": "738 Thames Street, Barstow, Marshall Islands", + "Ville": "Federated States Of Micronesia", + "CodePostal": "26783", + "DateNaissance": "1979-01-04", + "LieuNaissance": "Guam", + "NumSecuriteSociale": "12728065898", + "MedecinTraitant": 100 + }, + { + "Id": 97, + "Civilite": "F", + "Nom": "BEAN", + "Prenom": "Howard", + "Adresse": "392 Ashland Place, Baden, Maryland", + "Ville": "Arkansas", + "CodePostal": "59082", + "DateNaissance": "2006-03-29", + "LieuNaissance": "Oklahoma", + "NumSecuriteSociale": "28509489364", + "MedecinTraitant": 100 + }, + { + "Id": 98, + "Civilite": "M", + "Nom": "SPARKS", + "Prenom": "Ross", + "Adresse": "354 Just Court, Bison, Nebraska", + "Ville": "Missouri", + "CodePostal": "12474", + "DateNaissance": "2011-01-06", + "LieuNaissance": "Utah", + "NumSecuriteSociale": "10260800774", + "MedecinTraitant": 100 + }, + { + "Id": 99, + "Civilite": "M", + "Nom": "REED", + "Prenom": "Paul", + "Adresse": "271 Beach Place, Bluetown, American Samoa", + "Ville": "Illinois", + "CodePostal": "26946", + "DateNaissance": "2003-07-01", + "LieuNaissance": "Alabama", + "NumSecuriteSociale": "16511789200", + "MedecinTraitant": 1 + } +] \ No newline at end of file diff --git a/Docs/generatePatients b/Docs/generatePatients new file mode 100755 index 0000000..441a758 --- /dev/null +++ b/Docs/generatePatients @@ -0,0 +1,20 @@ +[ + '{{repeat(100)}}', + { + Id: '{{index()}}', + // retourne 'M' ou 'F' aléatoirement + Civilite: function(tags){ return (tags.gender() == 'female') ? 'F' : 'M'; }, + Nom: function(tags){ return tags.surname().toUpperCase(); }, + Prenom: function(tags){ return tags.firstName(); }, + + Adresse: '{{integer(100, 999)}} {{street()}}, {{city()}}, {{state()}}', + Ville: '{{state()}}', + CodePostal: function(tags){ return String(Math.floor(Math.random()*10))+String(Math.floor(Math.random()*10))+String(Math.floor(Math.random()*10))+String(Math.floor(Math.random()*10))+String(Math.floor(Math.random()*10)); }, + DateNaissance: '{{date(new Date(random(1900,2000), random(1,12), random(0,28)), new Date(), "YYYY-MM-dd")}}', + LieuNaissance: '{{state()}}', + NumSecuriteSociale: function(tags){ + return ((this.Civilite=='M')?'1':'2') + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)) + String(Math.floor(Math.random()*10)); + }, + MedecinTraitant: '{{random(1,100)}}' + } +] \ No newline at end of file diff --git a/css/global.css b/css/global.css index 03ba01c..3aa4585 100755 --- a/css/global.css +++ b/css/global.css @@ -183,3 +183,67 @@ body{ background-image: url(../src/home.svg); background-size: auto 100%; } + + + +/******************************/ +/* ARTICLES (cadres internes) */ +/******************************/ +#CONTAINER > article[data-title]{ + /* position */ + display: block; + position: relative; + width: calc( 100% - 2*2em ); + margin: 2em; + + /* border */ + border: 1px solid #f09108; +} + +#CONTAINER > article[data-title]:before{ + content: attr(data-title); + /* position */ + display: block; + position: relative; + margin-top: -2.5em; + margin-left: -1px; + width: calc( 100% - .5em - 2em ); + padding: .5em; + padding-left: 2em; + + /* border */ + border: 1px solid #f09108; + + /* background */ + background: #f09108 url(../src/title-gears.svg) left .5em center no-repeat; + background-size: 1em auto; + + /* foreground */ + color: #fff; +} + + +/* */ + appearance: none; + -moz-appearance: none; + -webkit-appearance: none; + -ms-appearance: none; + -o-appearance: none; +} \ No newline at end of file diff --git a/repositories/repos/MedecinRepo.php b/repositories/repos/MedecinRepo.php old mode 100644 new mode 100755 diff --git a/repositories/repos/PatientRepo.php b/repositories/repos/PatientRepo.php old mode 100644 new mode 100755 diff --git a/repositories/repos/RDVRepo.php b/repositories/repos/RDVRepo.php old mode 100644 new mode 100755 diff --git a/repositories/repos/StatsRepo.php b/repositories/repos/StatsRepo.php old mode 100644 new mode 100755 diff --git a/src/Response.php b/src/Response.php old mode 100644 new mode 100755 diff --git a/src/down-arrow.svg b/src/down-arrow.svg new file mode 100755 index 0000000..5ed893c --- /dev/null +++ b/src/down-arrow.svg @@ -0,0 +1,68 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/src/right-arrow.svg b/src/right-arrow.svg index 04e77dd..4a81972 100755 --- a/src/right-arrow.svg +++ b/src/right-arrow.svg @@ -14,7 +14,7 @@ id="svg2" version="1.1" inkscape:version="0.48.4 r9939" - sodipodi:docname="Nouveau document 1"> + sodipodi:docname="right-arrow.svg"> image/svg+xml - + @@ -56,16 +56,13 @@ inkscape:groupmode="layer" id="layer1" transform="translate(79.704273,-522.0936)"> - > + id="text3146"> + + diff --git a/src/title-gears.svg b/src/title-gears.svg new file mode 100755 index 0000000..8611d36 --- /dev/null +++ b/src/title-gears.svg @@ -0,0 +1,44 @@ + +image/svg+xml \ No newline at end of file