0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-30 19:19:56 +03:00

Multicolumn bands rendering has been fixed

# Conflicts:
#	limereport/lrreportrender.cpp
#	limereport/lrreportrender.h
This commit is contained in:
Arin Alexander
2018-06-07 21:03:55 +03:00
46 changed files with 37539 additions and 49 deletions

View File

@@ -0,0 +1,76 @@
-- --------------------------------------------------------
-- Hôte : 127.0.0.1
-- Version du serveur: 5.1.37-community-log - MySQL Community Server (GPL)
-- SE du serveur: Win32
-- HeidiSQL Version: 9.4.0.5125
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Export de données de la table essai.resultatglobale : 56 rows
/*!40000 ALTER TABLE `resultatglobale` DISABLE KEYS */;
INSERT INTO `resultatglobale` (`CODE_MALADE`, `noms`, `nom`, `CODE_PARAMETRE`, `Valeur1`, `val2`, `val3`, `val4`, `date1`, `date2`, `date3`, `date4`, `unite`, `groupe`, `bornemin`, `bornemax`, `code_dossier`, `TYPE`, `sous_groupe`, `Date_prelevement`, `date_analyse`, `sexe`, `age`, `mois`, `lieu_de_naissance`, `laboratoire`, `MedecinTraitant`, `TELEPHONE`, `Date_de_Prescription`, `DATE_CREATION`, `hosp`, `commentaire`, `CODE_ECHANTILLONS`, `MATRICULE_ANALYSE`, `CODE_MEDECIN`, `SERVICES`) VALUES
('00003P18', 'Mr KAMDOUM Jules', 'Protéinuries', 'CZ', '5.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mol/l', 'Urine', 'N/A', 'N/A', '001DS05-01-18', 'Biochimie', '', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'BIOCHIMIE', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001CZ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'poly. neutrophile (PNN)', 'BF', '215.10', '27.46', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BF05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire neutrophile PNN', 'AB', '45.00', '42.25', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AB05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'poly. éosinophiles (PNE)', 'BH', '124.27', '196.46', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BH05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire éosinophile (PNE', 'AC', '26.00', '302.25', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AC05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'poly. Basophile (PNB)', 'BG', '162.52', '196.30', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BG05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire Basophile (PNB)', 'AD', '34.00', '302.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AD05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'lymphocyte', 'BI', '4.78', '277.15', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BI05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% lymphocyte (Lympho)', 'AF', '1.00', '426.39', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AF05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'monocyte', 'BJ', '23.89', '1.68', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'G/l', 'Formule leucoytaire', '0.2', '0.8', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BJ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% monocyte (Mono)', 'AE', '5.00', '2.58', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AE05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Hématies', 'AT', '124.00', '4.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'téra/l', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AT05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Hémoglobine', 'AU', '78.00', '64.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'g/dl', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AU05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Hematocrite', 'AV', '45.00', '342.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Numerisation globulaire', '0.37', '0.46', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AV05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'VGM', 'AW', '76.00', '54.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'u3', 'Numerisation globulaire', '85', '95', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AW05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'CCMH', 'AY', '98.00', '8.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, NULL, 'Numerisation globulaire', '18', '22', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AY05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'TCMH', 'AX', '76.00', '6.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'pg', 'Numerisation globulaire', '27', '32', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AX05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Indice de distribution GR', 'AZ', '87.00', '4.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AZ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'IDR-DS', 'BA', '23.00', '5.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation globulaire', '19000', '90000', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BA05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Nombres de Globule Blanc', 'AA', '478.00', '65.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Numerisation globulaire', '13400', '123000', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AA05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Plaquette', 'BB', '98.00', '54.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BB05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'VMP', 'BC', '45.00', '1.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BC05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'IDP', 'BD', '31.00', '46.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BD05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'PCT', 'BE', '8.00', '548.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BE05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00004P18', 'Mme/Mlle NGO\'SEAM Madeleine', 'Temps de Saignement', 'AI', '6.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'TS/TC', 'N/A', 'N/A', '002DS05-01-18', 'TS/TC', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AI05-01-18', 'P001', '001MD18', 'HBD'),
('00004P18', 'Mme/Mlle NGO\'SEAM Madeleine', 'Temps de Coagulation', 'AJ', '8.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'TS/TC', 'N/A', 'N/A', '002DS05-01-18', 'TS/TC', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AJ05-01-18', 'P001', '001MD18', 'HBD'),
('00004P18', 'Mme/Mlle NGO\'SEAM Madeleine', 'Prémiere Heures', 'AH', '4.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', '3', '7', '002DS05-01-18', 'VS', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AH05-01-18', 'P001', '001MD18', 'HBD'),
('00004P18', 'Mme/Mlle NGO\'SEAM Madeleine', 'Deuxieme Heures', 'AG', '5.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', 'N/A', 'N/A', '002DS05-01-18', 'VS', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AG05-01-18', 'P001', '001MD18', 'HBD'),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Groupe Sanguin et Rhesus', 'AM', 'A+', '', '', '', '2018-01-08', NULL, NULL, NULL, NULL, 'GS', 'N/A', 'N/A', '001DS06-01-18', 'GS', 'GS', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AM08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Temps de cephaline activer', 'AK', '24.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'S', 'TCK/TQ', 'N/A', 'N/A', '001DS08-01-18', 'TCK/TQ', 'Hémostase', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'SIKATI Paul Rene', '6 89 85 87 47', '2018-01-08', '2018-01-08', 'Interne', '', '001AK08-01-18', 'P001', '002MD18', 'médecine F'),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Temps de quit', 'AL', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'S', 'TCK/TQ', 'N/A', 'N/A', '001DS08-01-18', 'TCK/TQ', 'Hémostase', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'SIKATI Paul Rene', '6 89 85 87 47', '2018-01-08', '2018-01-08', 'Interne', '', '001AL08-01-18', 'P001', '002MD18', 'médecine F'),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Prémiere Heures', 'AH', '4.00', '', '', '', '2018-01-06', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', '3', '7', '001DS06-01-18', 'VS', 'Hémostase', '2018-01-06', '2018-01-06', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-06', '2018-01-06', 'Interne', '', '001AH06-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Deuxieme Heures', 'AG', '5.00', '', '', '', '2018-01-06', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', 'N/A', 'N/A', '001DS06-01-18', 'VS', 'Hémostase', '2018-01-06', '2018-01-06', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-06', '2018-01-06', 'Interne', '', '001AG06-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. neutrophile (PNN)', 'BF', '1108.52', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BF08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire neutrophile PNN', 'AB', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AB08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. éosinophiles (PNE)', 'BH', '674.09', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BH08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire éosinophile (PNE', 'AC', '45.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AC08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. Basophile (PNB)', 'BG', '74.90', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BG08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire Basophile (PNB)', 'AD', '5.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AD08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'lymphocyte', 'BI', '614.17', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BI08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% lymphocyte (Lympho)', 'AF', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AF08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'monocyte', 'BJ', '629.15', '', '', '', '2018-01-08', NULL, NULL, NULL, 'G/l', 'Formule leucoytaire', '0.2', '0.8', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BJ08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% monocyte (Mono)', 'AE', '42.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AE08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hématies', 'AT', '5.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'téra/l', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AT08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hémoglobine', 'AU', '62.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'g/dl', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AU08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hematocrite', 'AV', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Numerisation globulaire', '0.37', '0.46', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AV08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'VGM', 'AW', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'u3', 'Numerisation globulaire', '85', '95', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AW08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'CCMH', 'AY', '44.00', '', '', '', '2018-01-08', NULL, NULL, NULL, NULL, 'Numerisation globulaire', '18', '22', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AY08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'TCMH', 'AX', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'pg', 'Numerisation globulaire', '27', '32', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AX08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Indice de distribution GR', 'AZ', '45.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AZ08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'IDR-DS', 'BA', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation globulaire', '19000', '90000', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BA08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Nombres de Globule Blanc', 'AA', '1498.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Numerisation globulaire', '13400', '123000', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AA08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Plaquette', 'BB', '7.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BB08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'VMP', 'BC', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BC08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'IDP', 'BD', '54.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BD08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'PCT', 'BE', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BE08-01-18', 'P001', '003MD18', '');
/*!40000 ALTER TABLE `resultatglobale` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

View File

@@ -0,0 +1,123 @@
-- phpMyAdmin SQL Dump
-- version 3.2.1
-- http://www.phpmyadmin.net
--
-- Serveur: localhost
-- Généré le : Dim 14 Janvier 2018 à 17:34
-- Version du serveur: 5.1.37
-- Version de PHP: 5.3.0
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Base de données: `essai`
--
CREATE DATABASE `essai` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `essai`;
-- --------------------------------------------------------
--
-- Structure de la table `resultatglobale`
--
CREATE TABLE IF NOT EXISTS `resultatglobale` (
`CODE_MALADE` char(10) DEFAULT NULL,
`noms` varchar(266) DEFAULT NULL,
`nom` char(32) DEFAULT NULL,
`CODE_PARAMETRE` char(15) DEFAULT NULL,
`Valeur1` varbinary(57) DEFAULT NULL,
`val2` varbinary(19) DEFAULT NULL,
`val3` varbinary(19) DEFAULT NULL,
`val4` varbinary(19) DEFAULT NULL,
`date1` date DEFAULT NULL,
`date2` date DEFAULT NULL,
`date3` date DEFAULT NULL,
`date4` date DEFAULT NULL,
`unite` char(32) DEFAULT NULL,
`groupe` varchar(35) DEFAULT NULL,
`bornemin` varbinary(12) DEFAULT NULL,
`bornemax` varbinary(12) DEFAULT NULL,
`code_dossier` char(20) DEFAULT NULL,
`TYPE` varchar(50) DEFAULT NULL,
`sous_groupe` varchar(35) DEFAULT NULL,
`Date_prelevement` date DEFAULT NULL,
`date_analyse` date DEFAULT NULL,
`sexe` char(1) DEFAULT NULL,
`age` varbinary(25) DEFAULT NULL,
`mois` bigint(21) DEFAULT NULL,
`lieu_de_naissance` varchar(128) DEFAULT NULL,
`laboratoire` varchar(20) DEFAULT NULL,
`MedecinTraitant` varchar(257) DEFAULT NULL,
`TELEPHONE` char(32) DEFAULT NULL,
`Date_de_Prescription` date DEFAULT NULL,
`DATE_CREATION` date DEFAULT NULL,
`hosp` varchar(20) DEFAULT NULL,
`commentaire` text,
`CODE_ECHANTILLONS` char(50) DEFAULT NULL,
`MATRICULE_ANALYSE` char(50) DEFAULT NULL,
`CODE_MEDECIN` varchar(15) DEFAULT NULL,
`SERVICES` varchar(25) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Contenu de la table `resultatglobale`
--
INSERT INTO `resultatglobale` (`CODE_MALADE`, `noms`, `nom`, `CODE_PARAMETRE`, `Valeur1`, `val2`, `val3`, `val4`, `date1`, `date2`, `date3`, `date4`, `unite`, `groupe`, `bornemin`, `bornemax`, `code_dossier`, `TYPE`, `sous_groupe`, `Date_prelevement`, `date_analyse`, `sexe`, `age`, `mois`, `lieu_de_naissance`, `laboratoire`, `MedecinTraitant`, `TELEPHONE`, `Date_de_Prescription`, `DATE_CREATION`, `hosp`, `commentaire`, `CODE_ECHANTILLONS`, `MATRICULE_ANALYSE`, `CODE_MEDECIN`, `SERVICES`) VALUES
('00003P18', 'Mr KAMDOUM Jules', 'Protéinuries', 'CZ', '5.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mol/l', 'Urine', 'N/A', 'N/A', '001DS05-01-18', 'Biochimie', '', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'BIOCHIMIE', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001CZ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'poly. neutrophile (PNN)', 'BF', '215.10', '27.46', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BF05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire neutrophile PNN', 'AB', '45.00', '42.25', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AB05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'poly. éosinophiles (PNE)', 'BH', '124.27', '196.46', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BH05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire éosinophile (PNE', 'AC', '26.00', '302.25', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AC05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'poly. Basophile (PNB)', 'BG', '162.52', '196.30', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BG05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire Basophile (PNB)', 'AD', '34.00', '302.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AD05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'lymphocyte', 'BI', '4.78', '277.15', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BI05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% lymphocyte (Lympho)', 'AF', '1.00', '426.39', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AF05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'monocyte', 'BJ', '23.89', '1.68', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'G/l', 'Formule leucoytaire', '0.2', '0.8', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BJ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', '% monocyte (Mono)', 'AE', '5.00', '2.58', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AE05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Hématies', 'AT', '124.00', '4.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'téra/l', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AT05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Hémoglobine', 'AU', '78.00', '64.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'g/dl', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AU05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Hematocrite', 'AV', '45.00', '342.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Numerisation globulaire', '0.37', '0.46', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AV05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'VGM', 'AW', '76.00', '54.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'u3', 'Numerisation globulaire', '85', '95', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AW05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'CCMH', 'AY', '98.00', '8.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, NULL, 'Numerisation globulaire', '18', '22', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AY05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'TCMH', 'AX', '76.00', '6.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'pg', 'Numerisation globulaire', '27', '32', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AX05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Indice de distribution GR', 'AZ', '87.00', '4.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AZ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'IDR-DS', 'BA', '23.00', '5.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation globulaire', '19000', '90000', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BA05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Nombres de Globule Blanc', 'AA', '478.00', '65.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Numerisation globulaire', '13400', '123000', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AA05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'Plaquette', 'BB', '98.00', '54.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BB05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'VMP', 'BC', '45.00', '1.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BC05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'IDP', 'BD', '31.00', '46.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BD05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00003P18', 'Mr KAMDOUM Jules', 'PCT', 'BE', '8.00', '548.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BE05-01-18', 'P001', '001MD18', 'Chirurgie A'),
('00004P18', 'Mme/Mlle NGO''SEAM Madeleine', 'Temps de Saignement', 'AI', '6.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'TS/TC', 'N/A', 'N/A', '002DS05-01-18', 'TS/TC', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AI05-01-18', 'P001', '001MD18', 'HBD'),
('00004P18', 'Mme/Mlle NGO''SEAM Madeleine', 'Temps de Coagulation', 'AJ', '8.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'TS/TC', 'N/A', 'N/A', '002DS05-01-18', 'TS/TC', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AJ05-01-18', 'P001', '001MD18', 'HBD'),
('00004P18', 'Mme/Mlle NGO''SEAM Madeleine', 'Prémiere Heures', 'AH', '4.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', '3', '7', '002DS05-01-18', 'VS', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AH05-01-18', 'P001', '001MD18', 'HBD'),
('00004P18', 'Mme/Mlle NGO''SEAM Madeleine', 'Deuxieme Heures', 'AG', '5.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', 'N/A', 'N/A', '002DS05-01-18', 'VS', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AG05-01-18', 'P001', '001MD18', 'HBD'),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Groupe Sanguin et Rhesus', 'AM', 'A+', '', '', '', '2018-01-08', NULL, NULL, NULL, NULL, 'GS', 'N/A', 'N/A', '001DS06-01-18', 'GS', 'GS', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AM08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Temps de cephaline activer', 'AK', '24.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'S', 'TCK/TQ', 'N/A', 'N/A', '001DS08-01-18', 'TCK/TQ', 'Hémostase', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'SIKATI Paul Rene', '6 89 85 87 47', '2018-01-08', '2018-01-08', 'Interne', '', '001AK08-01-18', 'P001', '002MD18', 'médecine F'),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Temps de quit', 'AL', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'S', 'TCK/TQ', 'N/A', 'N/A', '001DS08-01-18', 'TCK/TQ', 'Hémostase', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'SIKATI Paul Rene', '6 89 85 87 47', '2018-01-08', '2018-01-08', 'Interne', '', '001AL08-01-18', 'P001', '002MD18', 'médecine F'),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Prémiere Heures', 'AH', '4.00', '', '', '', '2018-01-06', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', '3', '7', '001DS06-01-18', 'VS', 'Hémostase', '2018-01-06', '2018-01-06', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-06', '2018-01-06', 'Interne', '', '001AH06-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Deuxieme Heures', 'AG', '5.00', '', '', '', '2018-01-06', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', 'N/A', 'N/A', '001DS06-01-18', 'VS', 'Hémostase', '2018-01-06', '2018-01-06', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-06', '2018-01-06', 'Interne', '', '001AG06-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. neutrophile (PNN)', 'BF', '1108.52', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BF08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire neutrophile PNN', 'AB', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AB08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. éosinophiles (PNE)', 'BH', '674.09', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BH08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire éosinophile (PNE', 'AC', '45.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AC08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. Basophile (PNB)', 'BG', '74.90', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BG08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire Basophile (PNB)', 'AD', '5.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AD08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'lymphocyte', 'BI', '614.17', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BI08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% lymphocyte (Lympho)', 'AF', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AF08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'monocyte', 'BJ', '629.15', '', '', '', '2018-01-08', NULL, NULL, NULL, 'G/l', 'Formule leucoytaire', '0.2', '0.8', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BJ08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', '% monocyte (Mono)', 'AE', '42.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AE08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hématies', 'AT', '5.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'téra/l', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AT08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hémoglobine', 'AU', '62.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'g/dl', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AU08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hematocrite', 'AV', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Numerisation globulaire', '0.37', '0.46', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AV08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'VGM', 'AW', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'u3', 'Numerisation globulaire', '85', '95', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AW08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'CCMH', 'AY', '44.00', '', '', '', '2018-01-08', NULL, NULL, NULL, NULL, 'Numerisation globulaire', '18', '22', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AY08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'TCMH', 'AX', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'pg', 'Numerisation globulaire', '27', '32', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AX08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Indice de distribution GR', 'AZ', '45.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AZ08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'IDR-DS', 'BA', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation globulaire', '19000', '90000', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BA08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Nombres de Globule Blanc', 'AA', '1498.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Numerisation globulaire', '13400', '123000', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AA08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'Plaquette', 'BB', '7.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BB08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'VMP', 'BC', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BC08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'IDP', 'BD', '54.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BD08-01-18', 'P001', '003MD18', ''),
('00005P18', 'Mr BOLOGA Pierre Marie', 'PCT', 'BE', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BE08-01-18', 'P001', '003MD18', '');

View File

@@ -0,0 +1,46 @@
#! /usr/bin/python
# coding: utf-8
"""Copy table from mysql to sqlite.
Require:
* SQLAlchemy
* MySQLdb or PyMySQL
Usage:
mylite.py "mysql+pymysql://user:password@host/db?charset=utf8" "sqlite:///out.db" table_name [table_name2...]
"""
import sqlalchemy as sa
from sqlalchemy.ext.compiler import compiles
from sqlalchemy.dialects import mysql
@compiles(mysql.TINYINT, 'sqlite')
@compiles(mysql.SMALLINT, 'sqlite')
def compile_sqlite_tinyint(type_, compiler, **kw):
return 'INTEGER'
@compiles(mysql.LONGBLOB, 'sqlite')
def compile_sqlite_tinyint(type_, compiler, **kw):
return 'BLOB'
def copy_table(my_engine, lite_engine, table_name):
meta = sa.MetaData(my_engine)
table = sa.Table(table_name, meta, autoload=True)
lite_engine.execute("DROP TABLE IF EXISTS " + table_name)
table.create(lite_engine)
rows = my_engine.execute(table.select()).fetchall()
with lite_engine.begin() as con:
for row in rows:
con.execute(table.insert().values(**row))
def main():
import sys
mysql = sa.create_engine(sys.argv[1])
lite = sa.create_engine(sys.argv[2])
for table in sys.argv[3:]:
copy_table(mysql, lite, table)
if __name__ == '__main__':
main()

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff