# BI Capabilities on openEHR

**URL:** https://discourse.openehr.org/t/bi-capabilities-on-openehr/2809
**Category:** Platform
**Created:** [7 July 2022 15:07 UTC](https://discourse.openehr.org/t/bi-capabilities-on-openehr/2809 "2022-07-07T15:07:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Hector\_del\_Castillo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/hector_del_castillo/32/2068_2.png) [@Hector\_del\_Castillo](https://discourse.openehr.org/u/Hector_del_Castillo)
#### Post date: [7 July 2022 15:07 UTC](https://discourse.openehr.org/t/bi-capabilities-on-openehr/2809/1 "2022-07-07T15:07:20Z")

</div>

Hi all,

I am analizyng openEHR capabilities but I cannot find information regarding on BI and Analitycs.  
I am not wrong, information model is oriented to store a complete xml into a field but, what options do we have to extract information and add some reports, charts, … to it?  
Thanks in advance

---

<div class="post-metadata">

### Author: ![joostholslag](https://discourse.openehr.org/user_avatar/discourse.openehr.org/joostholslag/32/1981_2.png) [@joostholslag](https://discourse.openehr.org/u/joostholslag)
#### Post date: [7 July 2022 16:36 UTC](https://discourse.openehr.org/t/bi-capabilities-on-openehr/2809/2 "2022-07-07T16:36:03Z")

</div>

Have a look at this thread please. [Business Intelligence tools with openEHR support - #15 by pablo](https://discourse.openehr.org/t/business-intelligence-tools-with-openehr-support/1264/15)

---

<div class="post-metadata">

### Author: ![Hector\_del\_Castillo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/hector_del_castillo/32/2068_2.png) [@Hector\_del\_Castillo](https://discourse.openehr.org/u/Hector_del_Castillo)
#### Post date: [8 July 2022 07:00 UTC](https://discourse.openehr.org/t/bi-capabilities-on-openehr/2809/3 "2022-07-08T07:00:07Z")

</div>

Many thanks @joostholslag  
So the idea is create a datawarehouse applying ETL over each XML and structure the info. I supposed that BI was generalized because the structure of the information is well formed before the aggregation and some standard fact tables could be created by default, but it has sense develop ad hoc fact tables denormalized to extract measures and KPI  
Regards

---

<div class="post-metadata">

### Author: ![birger.haarbrandt](https://discourse.openehr.org/user_avatar/discourse.openehr.org/birger.haarbrandt/32/24_2.png) [@birger.haarbrandt](https://discourse.openehr.org/u/birger.haarbrandt)
#### Post date: [8 July 2022 08:35 UTC](https://discourse.openehr.org/t/bi-capabilities-on-openehr/2809/4 "2022-07-08T08:35:45Z")

</div>

@Hector_del_Castillo,

our learning at Hannover Medical School and HiGHmed is that openEHR can be an excellent foundation for an Enterprise Data Warehouse (for the clinical data part) and then specific data marts can be derived. This can be automated to some extend as describe here:

> **[Automated population of an i2b2 clinical data warehouse from an openEHR-based...](https://pubmed.ncbi.nlm.nih.gov/27507090/)**
>
> We found the automated population of an i2b2 clinical data warehouse to be a feasible approach to make openEHR data instances available for secondary use. Such an approach can facilitate timely provision of clinical data to researchers. It...

There is also ongoing work on semi-automated transformation into OMOP data model.

---

<div class="post-metadata">

### Author: ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)
#### Post date: [8 July 2022 12:14 UTC](https://discourse.openehr.org/t/bi-capabilities-on-openehr/2809/5 "2022-07-08T12:14:39Z")

</div>

> So the idea is create a datawarehouse applying ETL over each XML

I’d see it more as creating a set of BI-oriented AQLs as the basis for your ETL, then normalising those AQL resultsets into a SQL or CSV type structures. You generally do not want to be working with whole compositions for BI type stuff, I’d have thought.

---

<div class="post-metadata">

### Author: ![pablo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pablo/32/3505_2.png) [@pablo](https://discourse.openehr.org/u/pablo)
#### Post date: [13 July 2022 22:59 UTC](https://discourse.openehr.org/t/bi-capabilities-on-openehr/2809/6 "2022-07-13T22:59:28Z")

</div>

Hi Hector,

In general terms, ETL is applied over a database, not over a set of XMLs, but not sure what your requirements are.

Also, in general, a transactional database used as the information source is not the one that is used to store the information to run BI procedures (aggregate, drill-down, etc), which in general has a different structure like start or snowflake, so the ETL is from the source to the star/snowflake. XML, JSON spreadsheets, CSV, text files, etc. could be used as middle formats for the ETL or as secondary data sources, for instance if you need to mix your main clinical data with other kinds of information like geolocation.

So this doesn’t seem to be correct (unless you are using XML as a transport format, but conceptually that is not your data source)

> [@Hector\_del\_Castillo](#):
>
> …applying ETL over each XML…
