Sunteți pe pagina 1din 4

La descrition du system:

Le Center Medical est un systme,dontil a les entits: mdecin, patient, le mdicament, loperation et la
facture.Lemdecinpeut faire diverse operation, analyser le patient et donner un prescription avec
medicaments. Le patient peutprendre les medicaments, avoirdes operation et ildoit payer la facture
pour loperation.

Le model relationnel
Le model logique

Le model structurele

create table Medicament ( id_Medicament number(4) NOT NULL ,


nom_Medicament char , );

type_Medicament char , create table Facture (

primary key(id_Medicament) id_Facture number(4) NOT NULL ,

); nom_Facture char ,

create table Medicen ( somme_Factureint ,

id_Medicen number(4) NOT NULL , primary key(id_Facture)

nom_Medicen char , );

prenom_Medicen char , create table Analyse (

specialite char, id_Analyse number(4) NOT NULL ,

ageint, id_Medicen_A number(4) NOT NULL ,

primary key(id_Medicament) id_Patient_A number(4) NOT NULL ,

); date_A date ,

create table Operation ( primary key (id_Analyse) ,

id_Operation number(4) NOT NULL , constraintfk_A_Medicen foreign key


(id_Medicen_A) references
nom_Operation char , Medicen(id_Medicen) ,
type_Operation char , constraintfk_A_Patient foreign key
risc_Operation char, (id_Patient_A) references Patient(id_Patient)

primary key(id_Operation) );

); create table Payer (

create table Patient ( create table Prescription (

id_Patient number(4) NOT NULL , id_Prescription number(4) NOT NULL ,

nom_Patient char , id_Medicen_Pr number(4) NOT NULL ,

prenom_Patient char , id_Patient_Pr number(4) NOT NULL ,

age_Patientint, id_Medicament_Pr number(4) NOT NULL ,

primary key(id_Patient) date_Pr date,

periode_Pr char,
dose_Pr char, id_Operation_I number(4) NOT NULL ,

primary key (id_Prescription) , date_I date,

constraintfk_Pr_Medicen foreign key primary key (id_Investigation) ,


(id_Medicen_Pr) references
Medicen(id_Medicen) , constraintfk_I_Medicen foreign key
(id_Medicen_I) references
constraintfk_Pr_Patient foreign key Medicen(id_Medicen) ,
(id_Patient_Pr) references Patient(id_Patient) ,
constraintfk_I_Patient foreign key
constraintfk_Pr_Medicament foreign key (id_Patient_I) references Patient(id_Patient) ,
(id_Medicament_Pr) references
Medicament(id_Medicament) constraintfk_I_Operation foreign key
(id_Operation_I) references
); Operation(id_Operation)

create table Investigation ( );

id_Investigation number(4) NOT NULL ,

id_Medicen_I number(4) NOT NULL ,

id_Patient_I number(4) NOT NULL ,

Conclusion:

Dansce travail de laboratoirej'airalisune conception d'une base de donnner. Pour raliserune base des
donnesildoiteffectuer : un model d'activites de la companie,un model de dates, un model, un projet de
base des donnees, defir les tables et base des donneesrelationnele.