new year province ehr system a customized solution to your ehr needs

28
New Year Province EHR System A Customized Solution to Your EHR Needs Janessa Griffith Victor Guo Marianne Leenaerts Will Yang Ryan Zhang

Upload: derica

Post on 22-Feb-2016

39 views

Category:

Documents


0 download

DESCRIPTION

New Year Province EHR System A Customized Solution to Your EHR Needs. Janessa Griffith Victor Guo Marianne Leenaerts Will Yang Ryan Zhang. New Year Province EHR System A Customized Solution to Your EHR Needs. Background and introduction Project conduct Demonstration - PowerPoint PPT Presentation

TRANSCRIPT

New Year Province EHR System A customized Solution to Your EHR Needs

New Year Province EHR SystemA Customized Solution to Your EHR Needs

Janessa GriffithVictor GuoMarianne LeenaertsWill YangRyan Zhang

1New Year Province EHR SystemA Customized Solution to Your EHR NeedsBackground and introduction Project conductDemonstrationIssues in conducting the projectLearning outcomesConclusion

Background and IntroductionGoal: To develop an EHR for all hospitals in a provincePurpose: To increase Patient safety Wait-time monitoring Data integration, sharing and analytics Communication Collaboration Efficiency Cost-savings

Background and Introduction (Contd)System features Create Update Search Delete Alert Provide feedback

Project scope

Work breakdown structure Entity relationship diagram as blueprint SQL statements to produce database Java to interface the system Organization and project planning

Background and Introduction (Contd)Work Breakdown Structure

Background and Introduction (Contd)H

Work Breakdown Structure

Background and Introduction (Contd)Project ConductEntity Relationship Diagram13 EntitiesPrimary, Foreign, and Composite key Cardinalities

Create Tables/* Create Patient table */create tablepatient( pt_idnumber(10), pt_lst_nmvarchar2(20)not null, pt_frst_nmvarchar2(20)not null, pt_gendervarchar2(1), pt_dobdate, pt_adrsvarchar2(30), pt_ctyvarchar2(20), pt_prvncvarchar2(20), pt_pstl_cdvarchar2(10), pt_phonenumber(15), pt_phnnumber(10), pt_emrgncy_cntctvarchar2(50), pt_emrgncy_phonenumber(15), constraint patient_PK primary key (pt_id), constraint patient_CK1check(pt_id between 1000000000 and 1999999999), constraint patient_CK2 check (pt_phn between 9000000000 and 9999999999)) ;Project Conduct (Contd)Patient TablePatientIDPatientLastNamePatientFirstNamePatientGenderPatientBirthdatePatientAddressPatientCityPatientProvincePatientPostalCodePatientPhonePatientPHNPatientEmergencyContactPatientEmergencyPhoneProject Conduct (Contd)Create Sequences/* Create Physician_ID sequence */create sequence phy_seqstart with 30001increment by 1maxvalue 39999;

/* Insert records into the Physician table */insert into physician values ( (phy_seq.nextval), 'Iwata', 'Hitomi', '2893 Dallas Rd.', 'Langford', 'NY', 'V1G 2M8', 2504745555, 'Dermatology');Project Conduct (Contd)More Sequences/* Create Medication_ID sequence */create sequence mdctn_seqstart with 40000001increment by 1maxvalue 49999999;

/* Create Prescription_ID sequence */create sequence px_seqstart with 70000001increment by 1maxvalue 79999999;

/* Create Diagnosis_ID sequence */create sequence dgn_seqstart with 800000001increment by 1maxvalue 899999999;Project Conduct (Contd)Primary & Foreign Keys/* Create Visit table */create tablevisit( vst_idnumber(9), vst_dxvarchar2(500)not null, vst_dtdatenot null, vst_tpvarchar2(20), pt_idnumber(10), hsptl_idnumber(3), constraint visit_PK primary key (vst_id), constraint visit_FK1 foreign key (pt_id) references patient (pt_id)on delete set null, constraint visit_FK2 foreign key (hsptl_id) references hospital (hsptl_id) on delete set null, constraint visit_CK check (vst_id between 200000000 and 299999999));Project Conduct (Contd)Composite Key/* Create Patient_Allergy table */create tablepatient_allergy( allrgy_idvarchar2(8)not null, pt_idnumber(10)not null, constraint patient_allergy_PK primary key (allrgy_id,pt_id), constraint patient_allergy_CK1 check(allrgy_id >= 100000 and allrgy_id