Entity Relationship Diagram. Farrokh Alemi Ph.D. Francesco Loaiza, Ph.D. J.D. Vikas Arya. Objective. How to construct an Entity Relationship (ER) Diagram An example A dialogue between a student and the instructor . I Don't Understand!. Can you give me an example?.
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
Logically Missing Data • When users have to leave a field as blank because it is not appropriate for the record • For example, if the patient's visit was about asthma, and we record data on hypertension
Redundant Data • In every visit you would need all information about the patient (e.g. contact information, insurance information, etc.) • This leads to redundant patient data on each record
Electronic Medical Record • An EMR is used by a provider of care to record information about the patient's visit so that the treatment can be coordinated over time with other providers. • It is also used to bill the patient about treatment they have received."
I See Two Entities • An EMR is used by a provider of care to record information about the patient's visit so that the treatment can be coordinated over time with other providers. • It is also used to bill the patientabout treatment they have received."
More Entities • An EMR is used by a provider of care to record information about the patient'svisit so that the treatment can be coordinated over time with other providers. • It is also used to bill the patientabout treatment they have received."
Depends on More Than Patients No. Diagnosis is not a stable fact about the patient. It shows the condition of the patient at a point in time, during the visit
Facts Belong to Primary Keys • If a fact can belong to the primary key and nothing else, then it belongs to the entity • Otherwise it belongs to a different entity • Consider address • Consider diagnosis
Not Black & White Address does not belong to the patient either as it changes over time
Design Choices • Number of Tables & Entities • For our example
Date of Birth Race Insurance number Gender Insurance company State Patient Middle initials city Last name Street number Zip Street First name Patient Attributes Revised
Provider table? What attributes should be included in the Provider table?
Date of Birth Year of graduation Board certification Employee ID Telephone Title State Providers Middle initials city Last name Street number Zip Street First name Email Provider Attributes