SlideShare uma empresa Scribd logo
1 de 51
Entity Relationship Diagrams
 
 
 
Prescription
Prescription
Prescription Dr. Lewis Zimmerman 459  Patient name: Tom Paris Stardate: 41153.7  Drug: Tri-Ox Compound Take twice a day Dr. Lewis Zimmerman 459  Patient name: Tom Paris Stardate: 41153.7  Drug: Tri-Ox Compound Take twice a day
Prescription Dr. Lewis Zimmerman 459  Patient name: Tom Paris Stardate: 41153.7  Drug: Tri-Ox Compound Take twice a day Doctor Patient Date Drug Frequency Prescription number Dr. Lewis Zimmerman 459  Patient name: Tom Paris Stardate: 41153.7  Drug: Tri-Ox Compound Take twice a day
Prescription PrescriptionID DoctorName PatientName DrugName Date Frequency
Prescription PrescriptionID DoctorName PatientName DrugName Date Frequency Is this a good and sufficient representation ?????
Prescription 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L.  Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman  1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
[object Object],[object Object],[object Object]
[object Object],[object Object]
[object Object],[object Object],Doctor Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman  1 Doctor Name Doctor ID
Prescription 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L.  Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman  1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
Prescription 3 37389.5 Tri-Ox T’Pol 4 9 4 45673.4 Hyronalin Katherine Janeway 1 8 5 42604.4 Tri-Ox Tom Paris 1 7 90 42765.5 Priaxate Tom Paris 1 6 2 48796.6 Synaptizine Odo 2 5 1 45912.3 Hyronalin Lt. Data 2 4 7 42235.2 Tri-Ox Harry Kim 1 3 3 45432.1 Hyronalin Odo 2 2 2 42231.2 Tri-Ox Tom Paris 1  1 Frequency (per day) Date Drug Name Patient Name Doctor ID Prescription ID
[object Object],[object Object],Patient T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID
Prescription 3 37389.5 Tri-Ox T’Pol 4 9 4 45673.4 Hyronalin Katherine Janeway 1 8 5 42604.4 Tri-Ox Tom Paris 1 7 90 42765.5 Priaxate Tom Paris 1 6 2 48796.6 Synaptizine Odo 2 5 1 45912.3 Hyronalin Lt. Data 2 4 7 42235.2 Tri-Ox Harry Kim 1 3 3 45432.1 Hyronalin Odo 2 2 2 42231.2 Tri-Ox Tom Paris 1  1 Frequency (per day) Date Drug Name Patient Name Doctor ID Prescription ID
Prescription 3 37389.5 Tri-Ox 6 4 9 4 45673.4 Hyronalin 5 1 8 5 42604.4 Tri-Ox 1 1 7 90 42765.5 Priaxate 1 1 6 2 48796.6 Synaptizine 2 2 5 1 45912.3 Hyronalin 4 2 4 7 42235.2 Tri-Ox 3 1 3 3 45432.1 Hyronalin 2 2 2 2 42231.2 Tri-Ox 1 1  1 Frequency (per day) Date Drug Name Patient ID Doctor ID Prescription ID
[object Object],[object Object],Drug Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID
Prescription 3 37389.5 Tri-Ox 6 4 9 4 45673.4 Hyronalin 5 1 8 5 42604.4 Tri-Ox 1 1 7 90 42765.5 Priaxate 1 1 6 2 48796.6 Synaptizine 2 2 5 1 45912.3 Hyronalin 4 2 4 7 42235.2 Tri-Ox 3 1 3 3 45432.1 Hyronalin 2 2 2 2 42231.2 Tri-Ox 1 1  1 Frequency (per day) Date Drug Name Patient ID Doctor ID Prescription ID
Prescription 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1  1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID
[object Object]
Prescription Drug Patient Doctor 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1  1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman  1 Doctor Name Doctor ID
Prescription Drug Patient Doctor
[object Object],[object Object]
Prescription Drug Patient Doctor 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1  1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman  1 Doctor Name Doctor ID
Prescription Drug Patient Doctor Text Numbers Text Text 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1  1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman  1 Doctor Name Doctor ID
Prescription Drug Patient Doctor Transactional Table Master Table Master Table Master Table 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1  1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman  1 Doctor Name Doctor ID
[object Object],[object Object]
Prescription Drug Patient Doctor 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1  1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman  1 Doctor Name Doctor ID
Prescription Drug Patient Doctor Tricordrazine 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1  1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman  1 Doctor Name Doctor ID
[object Object]
Prescription 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L.  Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman  1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
Prescription Tricordrazine Tricordrazine Tricordrazine Tricordrazine 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L.  Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman  1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
[object Object]
Prescription Tricordrazine Tricordrazine Tricordrazine 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L.  Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman  1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
[object Object],[object Object]
[object Object]
Prescription Drug Patient Doctor 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1  1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman  1 Doctor Name Doctor ID
Now when we insert a record
Now when we insert a record PrescriptionID DoctorID PatientID DrugID Date Frequency
Prescription Insert new prescription record
Prescription Insert new prescription record Drug Check if the drug on the prescription is a real and existing drug
Prescription Drug Insert new prescription record Patient Check if the patient on the prescription is a real and existing patient
Prescription Drug Insert new prescription record Patient Check if the doctor  on the Prescription  is a real and  existing doctor Doctor
Prescription Drug Patient Doctor
Prescription Drug Patient Doctor DrugID PatientID DoctorID
Prescription Drug Patient Doctor DrugID PatientID DoctorID PrescriptionID DoctorID PatientID DrugID Date Frequency DrugID DrugName RecommendedDosage Side-Effects PatientID PatientName PatientAddress Sympthoms Occupation DoctorID DoctorName Qualifications
Prescription Drug Patient Doctor DrugID PatientID DoctorID PrescriptionID DoctorID PatientID DrugID Date Frequency DrugID DrugName RecommendedDosage Side-Effects DoctorID DoctorName Qualifications PatientID PatientName PatientAddress Sympthoms Occupation
 

Mais conteúdo relacionado

Destaque

Bridge metrics channel marketing overview 2013
Bridge metrics channel marketing overview 2013Bridge metrics channel marketing overview 2013
Bridge metrics channel marketing overview 2013
Chris May
 
Universal Design, Education and Technology
Universal Design, Education and TechnologyUniversal Design, Education and Technology
Universal Design, Education and Technology
Damian T. Gordon
 
Training ime, guru
Training ime, guruTraining ime, guru
Training ime, guru
imecommunity
 
fall meeting sept 18-21, 2007 version 2
fall meeting sept 18-21, 2007 version 2fall meeting sept 18-21, 2007 version 2
fall meeting sept 18-21, 2007 version 2
Philip Young
 
Eziopatogenesi Ipertensione Polmonare Arteriosa-PAH ETIOPATHOGENESIS
Eziopatogenesi Ipertensione Polmonare Arteriosa-PAH ETIOPATHOGENESISEziopatogenesi Ipertensione Polmonare Arteriosa-PAH ETIOPATHOGENESIS
Eziopatogenesi Ipertensione Polmonare Arteriosa-PAH ETIOPATHOGENESIS
PAHUPDATE
 

Destaque (17)

Bridge metrics channel marketing overview 2013
Bridge metrics channel marketing overview 2013Bridge metrics channel marketing overview 2013
Bridge metrics channel marketing overview 2013
 
Cognitivism
CognitivismCognitivism
Cognitivism
 
Steel sm
Steel smSteel sm
Steel sm
 
Television Cameras puzzle
Television Cameras puzzleTelevision Cameras puzzle
Television Cameras puzzle
 
Corporate training - Mind Programming - Kushalta Academy
Corporate training - Mind Programming - Kushalta AcademyCorporate training - Mind Programming - Kushalta Academy
Corporate training - Mind Programming - Kushalta Academy
 
100 examples
100 examples100 examples
100 examples
 
Universal Design, Education and Technology
Universal Design, Education and TechnologyUniversal Design, Education and Technology
Universal Design, Education and Technology
 
Steel
SteelSteel
Steel
 
Youtube Policy Primer
Youtube Policy PrimerYoutube Policy Primer
Youtube Policy Primer
 
BPCO IPERTENSIONE POLMONARE-PH COPD
BPCO IPERTENSIONE POLMONARE-PH COPDBPCO IPERTENSIONE POLMONARE-PH COPD
BPCO IPERTENSIONE POLMONARE-PH COPD
 
Training ime, guru
Training ime, guruTraining ime, guru
Training ime, guru
 
fall meeting sept 18-21, 2007 version 2
fall meeting sept 18-21, 2007 version 2fall meeting sept 18-21, 2007 version 2
fall meeting sept 18-21, 2007 version 2
 
Eziopatogenesi Ipertensione Polmonare Arteriosa-PAH ETIOPATHOGENESIS
Eziopatogenesi Ipertensione Polmonare Arteriosa-PAH ETIOPATHOGENESISEziopatogenesi Ipertensione Polmonare Arteriosa-PAH ETIOPATHOGENESIS
Eziopatogenesi Ipertensione Polmonare Arteriosa-PAH ETIOPATHOGENESIS
 
การใช้งานคอมฯ (Pptx)
การใช้งานคอมฯ  (Pptx)การใช้งานคอมฯ  (Pptx)
การใช้งานคอมฯ (Pptx)
 
Large organisations large intranets: where to start a redevelopment project
Large organisations large intranets: where to start a redevelopment projectLarge organisations large intranets: where to start a redevelopment project
Large organisations large intranets: where to start a redevelopment project
 
Inleiding Milieurecht
Inleiding MilieurechtInleiding Milieurecht
Inleiding Milieurecht
 
វចនានុក្រុម ពេទ្យ អង់គ្លេស ខ្មែរ
វចនានុក្រុម ពេទ្យ អង់គ្លេស   ខ្មែរវចនានុក្រុម ពេទ្យ អង់គ្លេស   ខ្មែរ
វចនានុក្រុម ពេទ្យ អង់គ្លេស ខ្មែរ
 

Semelhante a Entity Relationship Diagrams - Star Trek style (7)

Uremic Pruritus (Basic Science → Evidence → Practice) - Dr. Gawad
Uremic Pruritus (Basic Science → Evidence → Practice) - Dr. GawadUremic Pruritus (Basic Science → Evidence → Practice) - Dr. Gawad
Uremic Pruritus (Basic Science → Evidence → Practice) - Dr. Gawad
 
Case study-10-depression
Case study-10-depressionCase study-10-depression
Case study-10-depression
 
Dynamic Product Labeling Overview
Dynamic Product Labeling OverviewDynamic Product Labeling Overview
Dynamic Product Labeling Overview
 
Journal.pctr.0020016.sd002
Journal.pctr.0020016.sd002Journal.pctr.0020016.sd002
Journal.pctr.0020016.sd002
 
Case Representation on Typhoid
Case Representation on TyphoidCase Representation on Typhoid
Case Representation on Typhoid
 
Undifferentiated schizophrenia
Undifferentiated schizophreniaUndifferentiated schizophrenia
Undifferentiated schizophrenia
 
Hypothyroidism - Nuts and Bolts
Hypothyroidism - Nuts and BoltsHypothyroidism - Nuts and Bolts
Hypothyroidism - Nuts and Bolts
 

Mais de Damian T. Gordon

Mais de Damian T. Gordon (20)

Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
REST and RESTful Services
REST and RESTful ServicesREST and RESTful Services
REST and RESTful Services
 
Serverless Computing
Serverless ComputingServerless Computing
Serverless Computing
 
Cloud Identity Management
Cloud Identity ManagementCloud Identity Management
Cloud Identity Management
 
Containers and Docker
Containers and DockerContainers and Docker
Containers and Docker
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
 
Introduction to ChatGPT
Introduction to ChatGPTIntroduction to ChatGPT
Introduction to ChatGPT
 
How to Argue Logically
How to Argue LogicallyHow to Argue Logically
How to Argue Logically
 
Evaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONSEvaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONS
 
Evaluating Teaching: MERLOT
Evaluating Teaching: MERLOTEvaluating Teaching: MERLOT
Evaluating Teaching: MERLOT
 
Evaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson RubricEvaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson Rubric
 
Evaluating Teaching: LORI
Evaluating Teaching: LORIEvaluating Teaching: LORI
Evaluating Teaching: LORI
 
Designing Teaching: Pause Procedure
Designing Teaching: Pause ProcedureDesigning Teaching: Pause Procedure
Designing Teaching: Pause Procedure
 
Designing Teaching: ADDIE
Designing Teaching: ADDIEDesigning Teaching: ADDIE
Designing Teaching: ADDIE
 
Designing Teaching: ASSURE
Designing Teaching: ASSUREDesigning Teaching: ASSURE
Designing Teaching: ASSURE
 
Designing Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning TypesDesigning Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning Types
 
Designing Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of InstructionDesigning Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of Instruction
 
Designing Teaching: Elaboration Theory
Designing Teaching: Elaboration TheoryDesigning Teaching: Elaboration Theory
Designing Teaching: Elaboration Theory
 
Universally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some ConsiderationsUniversally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some Considerations
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

Entity Relationship Diagrams - Star Trek style

  • 2.  
  • 3.  
  • 4.  
  • 7. Prescription Dr. Lewis Zimmerman 459 Patient name: Tom Paris Stardate: 41153.7 Drug: Tri-Ox Compound Take twice a day Dr. Lewis Zimmerman 459 Patient name: Tom Paris Stardate: 41153.7 Drug: Tri-Ox Compound Take twice a day
  • 8. Prescription Dr. Lewis Zimmerman 459 Patient name: Tom Paris Stardate: 41153.7 Drug: Tri-Ox Compound Take twice a day Doctor Patient Date Drug Frequency Prescription number Dr. Lewis Zimmerman 459 Patient name: Tom Paris Stardate: 41153.7 Drug: Tri-Ox Compound Take twice a day
  • 9. Prescription PrescriptionID DoctorName PatientName DrugName Date Frequency
  • 10. Prescription PrescriptionID DoctorName PatientName DrugName Date Frequency Is this a good and sufficient representation ?????
  • 11. Prescription 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L. Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman 1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
  • 12.
  • 13.
  • 14.
  • 15. Prescription 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L. Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman 1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
  • 16. Prescription 3 37389.5 Tri-Ox T’Pol 4 9 4 45673.4 Hyronalin Katherine Janeway 1 8 5 42604.4 Tri-Ox Tom Paris 1 7 90 42765.5 Priaxate Tom Paris 1 6 2 48796.6 Synaptizine Odo 2 5 1 45912.3 Hyronalin Lt. Data 2 4 7 42235.2 Tri-Ox Harry Kim 1 3 3 45432.1 Hyronalin Odo 2 2 2 42231.2 Tri-Ox Tom Paris 1 1 Frequency (per day) Date Drug Name Patient Name Doctor ID Prescription ID
  • 17.
  • 18. Prescription 3 37389.5 Tri-Ox T’Pol 4 9 4 45673.4 Hyronalin Katherine Janeway 1 8 5 42604.4 Tri-Ox Tom Paris 1 7 90 42765.5 Priaxate Tom Paris 1 6 2 48796.6 Synaptizine Odo 2 5 1 45912.3 Hyronalin Lt. Data 2 4 7 42235.2 Tri-Ox Harry Kim 1 3 3 45432.1 Hyronalin Odo 2 2 2 42231.2 Tri-Ox Tom Paris 1 1 Frequency (per day) Date Drug Name Patient Name Doctor ID Prescription ID
  • 19. Prescription 3 37389.5 Tri-Ox 6 4 9 4 45673.4 Hyronalin 5 1 8 5 42604.4 Tri-Ox 1 1 7 90 42765.5 Priaxate 1 1 6 2 48796.6 Synaptizine 2 2 5 1 45912.3 Hyronalin 4 2 4 7 42235.2 Tri-Ox 3 1 3 3 45432.1 Hyronalin 2 2 2 2 42231.2 Tri-Ox 1 1 1 Frequency (per day) Date Drug Name Patient ID Doctor ID Prescription ID
  • 20.
  • 21. Prescription 3 37389.5 Tri-Ox 6 4 9 4 45673.4 Hyronalin 5 1 8 5 42604.4 Tri-Ox 1 1 7 90 42765.5 Priaxate 1 1 6 2 48796.6 Synaptizine 2 2 5 1 45912.3 Hyronalin 4 2 4 7 42235.2 Tri-Ox 3 1 3 3 45432.1 Hyronalin 2 2 2 2 42231.2 Tri-Ox 1 1 1 Frequency (per day) Date Drug Name Patient ID Doctor ID Prescription ID
  • 22. Prescription 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1 1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID
  • 23.
  • 24. Prescription Drug Patient Doctor 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1 1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman 1 Doctor Name Doctor ID
  • 26.
  • 27. Prescription Drug Patient Doctor 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1 1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman 1 Doctor Name Doctor ID
  • 28. Prescription Drug Patient Doctor Text Numbers Text Text 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1 1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman 1 Doctor Name Doctor ID
  • 29. Prescription Drug Patient Doctor Transactional Table Master Table Master Table Master Table 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1 1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman 1 Doctor Name Doctor ID
  • 30.
  • 31. Prescription Drug Patient Doctor 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1 1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman 1 Doctor Name Doctor ID
  • 32. Prescription Drug Patient Doctor Tricordrazine 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1 1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman 1 Doctor Name Doctor ID
  • 33.
  • 34. Prescription 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L. Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman 1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
  • 35. Prescription Tricordrazine Tricordrazine Tricordrazine Tricordrazine 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L. Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman 1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
  • 36.
  • 37. Prescription Tricordrazine Tricordrazine Tricordrazine 3 37389.5 Tri-Ox T’Pol Dr. Phlox 9 4 45673.4 Hyronalin Katherine Janeway Dr. L. Zimmerman 8 5 42604.4 Tri-Ox Tom Paris Dr. Lewis Zimmerman 7 90 42765.5 Priaxate Tom Paris L. Zimmerman 6 2 48796.6 Synaptizine Odo Dr. Bashir 5 1 45912.3 Hyronalin Lt. Data Dr. Beverly Crusher 4 7 42235.2 Tri-Ox Harry Kim Lewis Zimmerman 3 3 45432.1 Hyronalin Odo Dr. Julian Bashir 2 2 42231.2 Tri-Ox Tom Paris Dr. Lewis Zimmerman 1 Frequency (per day) Date Drug Name Patient Name Doctor Name Prescription ID
  • 38.
  • 39.
  • 40. Prescription Drug Patient Doctor 3 37389.5 1 6 4 9 4 45673.4 2 5 1 8 5 42604.4 1 1 1 7 90 42765.5 4 1 1 6 2 48796.6 3 2 2 5 1 45912.3 2 4 2 4 7 42235.2 1 3 1 3 3 45432.1 2 2 2 2 2 42231.2 1 1 1 1 Frequency (per day) Date Drug ID Patient ID Doctor ID Prescription ID Priaxate 4 Synaptizine 3 Hyronalin 2 Tri-Ox 1 Drug Name Drug ID T’Pol 6 Katherine Janeway 5 Lt. Data 4 Harry Kim 3 Odo 2 Tom Paris 1 Patient Name Prescription ID Dr. Phlox 4 Dr. Beverly Crusher 3 Dr. Julian Bashir 2 Dr. Lewis Zimmerman 1 Doctor Name Doctor ID
  • 41. Now when we insert a record
  • 42. Now when we insert a record PrescriptionID DoctorID PatientID DrugID Date Frequency
  • 43. Prescription Insert new prescription record
  • 44. Prescription Insert new prescription record Drug Check if the drug on the prescription is a real and existing drug
  • 45. Prescription Drug Insert new prescription record Patient Check if the patient on the prescription is a real and existing patient
  • 46. Prescription Drug Insert new prescription record Patient Check if the doctor on the Prescription is a real and existing doctor Doctor
  • 48. Prescription Drug Patient Doctor DrugID PatientID DoctorID
  • 49. Prescription Drug Patient Doctor DrugID PatientID DoctorID PrescriptionID DoctorID PatientID DrugID Date Frequency DrugID DrugName RecommendedDosage Side-Effects PatientID PatientName PatientAddress Sympthoms Occupation DoctorID DoctorName Qualifications
  • 50. Prescription Drug Patient Doctor DrugID PatientID DoctorID PrescriptionID DoctorID PatientID DrugID Date Frequency DrugID DrugName RecommendedDosage Side-Effects DoctorID DoctorName Qualifications PatientID PatientName PatientAddress Sympthoms Occupation
  • 51.