Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2008 by Justin Miranda; made available under the EPL v1.0 | 18 March 2008 Using Eclipse BIRT in … seriously! Justin Miranda

Similar presentations


Presentation on theme: "© 2008 by Justin Miranda; made available under the EPL v1.0 | 18 March 2008 Using Eclipse BIRT in … seriously! Justin Miranda"— Presentation transcript:

1 © 2008 by Justin Miranda; made available under the EPL v1.0 | 18 March 2008 Using Eclipse BIRT in … seriously! Justin Miranda justin@openmrs.org

2 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Apologies 2

3 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Partners In Health 3

4 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Where we work 4

5 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Rwinkwavu, Rwanda 5

6 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Inshuti Mu Buzima Rwinkwavu, Rwanda 6

7 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 What we do 7

8 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 8 Health Facility BeforeAfter Health Facilities Before After

9 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 9 Quality Health Care

10 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 10 Medication

11 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Food 11

12 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Community Health Workers 12 Housing BeforeAfter

13 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 13 Education

14 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Mountains Beyond Mountains 14

15 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Real World Challenges 15

16 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 16 HTTP Packet Slow Internet Power SurgesViruses

17 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Power Outage 17

18 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 18

19 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 19 Power Outages (very common where we work)

20 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Multiple Languages 20

21 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 We work in remote locations … 21

22 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 22 … really remote.

23 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 23 Paper… lots of it!

24 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 What the heck is OpenMRS? 24

25 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 25 Open Source Medical Record System

26 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Community 26 Community

27 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Collaboration 27

28 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Architecture 28

29 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Buzzword Soup 29 Tomcat

30 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Eclipse IDE 30

31 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 31 BIRT RCP Designer 31

32 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Why did we choose BIRT? 32

33 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Feature-Rich Design Tool 33

34 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Multiple Output Types 34.pdf.doc.xls.html … and more

35 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Extensibility 35

36 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Configurability 36

37 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Power Outage 37

38 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Built-in Surge Protection 38 … that is a joke

39 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 So how does OpenMRS use BIRT? 39  BIRT Runtime Engine API  BIRT Design Engine API Integration Extension  Open Data Access API  BIRT RCP Designer Design

40 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 40 Simple Charts

41 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 41

42 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 42 Data Quality Reports

43 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 43 Form Completeness

44 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Complex Reports 44

45 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 45 Enrollments By Gender and Age

46 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Patient Summary 46

47 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 47 Clinical Summary

48 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Critical Reports 48

49 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 49 Patients Lost to Follow-Up (Translation: Patients who have missed multiple visits)

50 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 How do we integrate & extend BIRT? 50

51 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Complex Data Model 51 WTF?

52 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Simple Approach DatePatientWeightHeightXRay MondaySmith190 lbs.71 in.null TuesdayJones180 lbs.74 in. 52 Observation Problems  How do I add a new observation type (i.e. Pulse)?  What if weight, height, and X-ray observations were taken on different days?  How do I store multiple Weights for a patient?

53 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 How do I add Pulse? 53 DatePatientWeightHeightXRay…Pulse MondaySmith190 lbs.71 in. …null TuesdayJones180 lbs.74 in. …null alter table observation add column pulse integer(10);

54 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Concept Dictionary 54 DatePatientConceptValue MondaySmithWeight190 FridaySmithHeight71 TuesdayJonesWeight180 TuesdayJonesHeight74 ConceptDataTypeUnits WeightNumericPounds HeightNumericInches XrayComplexNone DatePatientWeightHeightXRay MondaySmith190 lbs.71 in.null TuesdayJones180 lbs.74 in. DataMeta Data Observation Concept

55 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 55

56 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 How do I add Pulse? 56 DatePatientConceptValue MondaySmithWeight190 FridaySmithHeight71 TuesdayJonesWeight180 TuesdayJonesHeight74 FridaySmithWeight191 ConceptDataTypeUnits WeightNumericPounds HeightNumericInches XrayComplexNone PulseNumericBeats Per Minute ObservationConcept

57 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 How does this make the data model less complex? 57 SELECT obs.value FROM patient, obs, concept WHERE patient.patient_id = obs.patient_id ANDconcept.concept_id = obs.concept_id ANDconcept.concept_name = ‘WEIGHT’ AND patient.patient_id = ? ORDER BY obs.obsdatetime DESC LIMIT 1 Ugh!

58 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 But OpenMRS makes it simple! 58 OpenMRS Logic Service 191.0 lbs “LAST WEIGHT” LogicService.evaluate(patients, “LAST WEIGHT”) Nice!

59 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Integrating BIRT 59

60 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Architecture 60

61 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 OpenMRS uses DEAPI and REAPI 61 Design Engine API ReportDesign (.rptdesign) OpenMRS BIRT Report Module DataSet (.csv) 1 Report Engine API 3 ReportDoc (.rptdocument) Export Dataset Prepare Dataset Run Report 2 4 Modify Report

62 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Export Dataset PatientIDLAST CD4 COUNT LAST WEIGHT HIV POSITIVE ENROLLED DATE 139055.0TRUE01/01/2008 250059.0TRUE02/01/2008 320353.0TRUE03/01/2008 442950.0TRUE03/07/2008 5102381.0FALSE03/10/2008 613949.0TRUE03/18/2008 62 DataSet_03_18_2008.csv

63 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 OpenMRS Report Module 63 Design Engine API ReportDesign (.rptdesign) OpenMRS BIRT Report Module DataSet (.csv) 1 Report Engine API 3 ReportDoc (.rptdocument) Export Dataset Prepare Dataset Run Report 2 4 Modify Report

64 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Prepare Dataset (Design Engine API) 64 ReportDesign (.rptdesign)... /tmp/birt/reports/datasets select * from DataSet_03_18_2008.csv... Design Engine API OpenMRS BIRT Report Module BirtReportService.prepareDataset() DataSourceHandle.setProperty() OdaDataSetHandle.setQueryText() ReportDesignHandle.save()

65 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 OpenMRS Report Module 65 Design Engine API ReportDesign (.rptdesign) OpenMRS BIRT Report Module DataSet (.csv) 1 Report Engine API 3 ReportDoc (.rptdocument) Export Dataset Prepare Dataset Run Report 2 4 Modify Report

66 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Run Report (Report Engine API) 66

67 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Extending BIRT 67

68 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 OpenMRS ODA Plugin 68 Report Designer SQL Flat File XML Web Service (SOAP) Data OpenMRS (REST) XML Data CSV Data OpenMRS Logic REST API ??

69 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Select OpenMRS Data Source 69

70 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Configure Connection 70

71 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Create Data Set 71

72 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 72 OpenMRS Logic REST API GET COLUMNS PATIENT ID CD4 COUNT WEIGHT... Report Designer SQL Flat File XML Web Service (SOAP) OpenMRS (REST) Get Columns

73 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Select Columns 73

74 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Report Designer Execute Query 74 OpenMRS (REST) OpenMRS Logic REST API GET PATIENT ID, LAST WEIGHT, LAST CD4 COUNT FROM PATIENT 1 180 209 2 200 198 SQL Flat File XML Web Service (SOAP)

75 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Preview Data Set 75

76 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Back to the Real World 76

77 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 77  Diagnosed with HIV and TB  Started on ARV Regimen  Started on TB Regimen  Started on Food Program Joseph Jeune

78 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Sept 2003 78 March 2003

79 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 We need your help … join OpenMRS! 79 justin@openmrs.org

80 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Thank You 80 Thank you to the Eclipse and BIRT Communities!

81 Using Eclipse BIRT in the Real World … Seriously | © 2008 by Justin Miranda; made available under the EPL v1.0 Resources  Partners In Health – www.pih.orgwww.pih.org  OpenMRS – www.openmrs.orgwww.openmrs.org  OpenMRS IRC – irc.freenode.net #openmrs  Eclipse BIRT – http://www.eclipse.org/birthttp://www.eclipse.org/birt  BIRT Exchange – http://www.birt-exchange.comhttp://www.birt-exchange.com  BIRT World - http://birtworld.blogspot.comhttp://birtworld.blogspot.com  BIRT Newsgroup - news://news.eclipse.org/eclipse.birtnews://news.eclipse.org/eclipse.birt 81


Download ppt "© 2008 by Justin Miranda; made available under the EPL v1.0 | 18 March 2008 Using Eclipse BIRT in … seriously! Justin Miranda"

Similar presentations


Ads by Google