SlideShare a Scribd company logo
1 of 14
Download to read offline
Scaling up an openEHR CDR
Christian Chevalley, Khon-Kaen, Thailand
christian@adoc.co.th
– Born in Geneva, Switzerland
– Studied Physics and Computer Science at Geneva
University
– Worked for several blue chip companies (HP, Sun
Microsystems)
– Developed 5 commercial enterprise systems for
Finance and Healthcare
– Founded ADOC Software in 2009: a Thailand based
operation, BOI supported
– Wrote EtherCIS in 2011
– Migrated EtherCIS to EHRbase in 2019
●
Governance
– Hanover Medical School (https://www.mhh.de/en/)
– Vitasystems Gmbh (https://www.vitagroup.ag/de_DE/Ueber-uns/vitasystems)
– HiGHmed Medical Informatics (https://highmed.org/), sponsored by:
●
German Ministry of Education and Research (https://www.bmbf.de/en/index.html)
●
Medical Informatics Initiative Germany (https://www.medizininformatik-initiative.de/en/about-
initiative)
– Open Source!
EHRBase: What Is it?
●
openEHR CDR: Reference Model (RM 1.0.4), ADL 1.4
●
Transactional DB Centric Application (PostgreSQL 11+)
●
OpenEHR REST API incl. AQL
●
Development:
– Java 11, jOOQ, Archie, SQL
– Test Automation, Continuous Integration: Robot, Circle CI
– Load Testing: jmeter
– Quality Checking: Sonar Analysis (sonarcloud.io)
Scalability: Some Numbers
●
Deal with > 10’s Mio EHRs
●
Avg nnn compositions/EHR
●
> nnn TB of data (even PB!)
●
> nnnn concurrent users
Many Challenges
●
Multiple Levels of Technical Limitations
– Storage I/Os
– DB (even stated as limitless...)
– Network Latency
– Middleware latency (!) (in particular transformations)
●
Overlapping NFRs
– Multi-Tenancy
– Secondary use (analytics)
– Availability
– Security
– Administration: maintenance, disaster management, monitoring
My Observations
●
Two areas of concern
– CRUD
– Querying (AQL)
●
Query/transaction has to be really fast (~ 1ms or less)
– Minimize middleware/DB transactions
●
ONE query to the DB
●
Resolve containments and paths before launching the query
– Optimize DB model
●
Deal with limitations (denormalization of ITEM_STRUCTURE)
●
Indexing
●
Monitor query execution (query planner)
●
Keep SQL translations as short as possible
Observation/Optimization
●
DB CRUD should be performed in ONE transaction
●
Query (AQL) is accelerated by pre-calculation of
value points paths. Then executed in ONE
transaction
●
OpenEHR middleware (many) format
transformations remain costly!
Benchmark
650 000 EHRs - 130 000 000 compositions
PostgreSQL cluster with 5 nodes, (12 vCPU, 8 GB RAM, 3 TB disk)
select e/ehr_id/value, a/uid, o/data[at0001]/events[at0002]/data
[at0003]/items[at0004]/value from EHR e contains COMPOSITION a[openEHR-
EHR-COMPOSITION.sample_encounter.v1] contains OBSERVATION o[openEHR-EHR-
OBSERVATION.sample_blood_pressure.v1] where o/data[at0001]/events[at0002]
/data[at0003]/items[at0004]/value/magnitude > 20 limit 50
Distributing Transaction Load
●
Deploy DB as a “dumb” cluster
●
Deploy DB as a hyperscale cluster
●
Deploy the middleware as a distributed cluster
w/distributed AQL optimizer
DB Dumb Cluster (1)
Pros
- Easy to deploy (at the beginning)
Cons
- DB maintenance:schema, migration,
backup/recovery
- Storage (replication!)
- No parallelization
- No failover of node
- Heavy procedure to add nodes
- Expensive in a Cloud environment
- Security
- No easy secondary usage
- Has an impact on code logic!
DB Dumb Cluster (2)
Pros
- Somehow easy to deploy (at the
beginning)
Cons
- DB maintenance:
schema,
migration,
backup/recovery
- Storage (replication!)
- No parallelization
- Heavy procedure to add nodes
- Expensive in a Cloud environment
- Security
- Potentially reach DB limits...
HyperScale DB
(Citus, YugabyteDB etc.)
Pros
- Transparent DB maintenance
(single master for admin)
- distributed storage
- parallelism
- Automated failover
- Tools to maintain nodes
- Distributed Security policy
Cons
- Can be tricky to deploy (DB
system setting, driver, may require
additional sharding key...)
EHRbase Cluster+HyperScale DB
(Citus, YugabyteDB etc.)
Pros
- Distributed Middleware
processing
Cons
- Can be tricky to deploy
Conclusion
●
Assuming the right topology (cluster + db sharding), operation
involves Capacity Planning: monitoring, thresholds,
orchestration tool etc.
●
Other infrastructure aspects must be factored in:
– Network latency between nodes
– Storage technology (SSD, write ahead, caching)
– Significant operating concepts and administration
– Requires skills to be administered properly

More Related Content

What's hot

Pre trained language model
Pre trained language modelPre trained language model
Pre trained language modelJiWenKim
 
Open Metadata and Governance with Apache Atlas
Open Metadata and Governance with Apache AtlasOpen Metadata and Governance with Apache Atlas
Open Metadata and Governance with Apache AtlasDataWorks Summit
 
Gartner market guide for hybrid integration platform enabling technologies
Gartner market guide for hybrid integration platform enabling technologiesGartner market guide for hybrid integration platform enabling technologies
Gartner market guide for hybrid integration platform enabling technologiescamrituraj
 
The Heart of the Data Mesh Beats in Real-Time with Apache Kafka
The Heart of the Data Mesh Beats in Real-Time with Apache KafkaThe Heart of the Data Mesh Beats in Real-Time with Apache Kafka
The Heart of the Data Mesh Beats in Real-Time with Apache KafkaKai Wähner
 
Real-time Freight Visibility: How TMW Systems uses NiFi and SAM to create sub...
Real-time Freight Visibility: How TMW Systems uses NiFi and SAM to create sub...Real-time Freight Visibility: How TMW Systems uses NiFi and SAM to create sub...
Real-time Freight Visibility: How TMW Systems uses NiFi and SAM to create sub...DataWorks Summit
 
AutoML - The Future of AI
AutoML - The Future of AIAutoML - The Future of AI
AutoML - The Future of AINing Jiang
 
[오픈소스컨설팅]이기종 WAS 클러스터링 솔루션- Athena Dolly
[오픈소스컨설팅]이기종 WAS 클러스터링 솔루션- Athena Dolly[오픈소스컨설팅]이기종 WAS 클러스터링 솔루션- Athena Dolly
[오픈소스컨설팅]이기종 WAS 클러스터링 솔루션- Athena DollyJi-Woong Choi
 
Estructura de la Historia Clínica Electrónica openEHR
Estructura de la Historia Clínica Electrónica openEHREstructura de la Historia Clínica Electrónica openEHR
Estructura de la Historia Clínica Electrónica openEHRPablo Pazos
 
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...James Serra
 
AI Foundations Course Module 1 - An AI Transformation Journey
AI Foundations Course Module 1 - An AI Transformation JourneyAI Foundations Course Module 1 - An AI Transformation Journey
AI Foundations Course Module 1 - An AI Transformation JourneySri Ambati
 
Neural Machine Translation (D3L4 Deep Learning for Speech and Language UPC 2017)
Neural Machine Translation (D3L4 Deep Learning for Speech and Language UPC 2017)Neural Machine Translation (D3L4 Deep Learning for Speech and Language UPC 2017)
Neural Machine Translation (D3L4 Deep Learning for Speech and Language UPC 2017)Universitat Politècnica de Catalunya
 
Free Training: How to Build a Lakehouse
Free Training: How to Build a LakehouseFree Training: How to Build a Lakehouse
Free Training: How to Build a LakehouseDatabricks
 
LLM in Intellectual Property and E Law
LLM in Intellectual Property and E LawLLM in Intellectual Property and E Law
LLM in Intellectual Property and E LawDarius Whelan
 

What's hot (20)

Pre trained language model
Pre trained language modelPre trained language model
Pre trained language model
 
Open Metadata and Governance with Apache Atlas
Open Metadata and Governance with Apache AtlasOpen Metadata and Governance with Apache Atlas
Open Metadata and Governance with Apache Atlas
 
Data Science
Data ScienceData Science
Data Science
 
Gartner market guide for hybrid integration platform enabling technologies
Gartner market guide for hybrid integration platform enabling technologiesGartner market guide for hybrid integration platform enabling technologies
Gartner market guide for hybrid integration platform enabling technologies
 
Semantic AI
Semantic AISemantic AI
Semantic AI
 
Data automation 101
Data automation 101Data automation 101
Data automation 101
 
The Heart of the Data Mesh Beats in Real-Time with Apache Kafka
The Heart of the Data Mesh Beats in Real-Time with Apache KafkaThe Heart of the Data Mesh Beats in Real-Time with Apache Kafka
The Heart of the Data Mesh Beats in Real-Time with Apache Kafka
 
Real-time Freight Visibility: How TMW Systems uses NiFi and SAM to create sub...
Real-time Freight Visibility: How TMW Systems uses NiFi and SAM to create sub...Real-time Freight Visibility: How TMW Systems uses NiFi and SAM to create sub...
Real-time Freight Visibility: How TMW Systems uses NiFi and SAM to create sub...
 
Pytorch
PytorchPytorch
Pytorch
 
Big data
Big dataBig data
Big data
 
Lecture4 - Machine Learning
Lecture4 - Machine LearningLecture4 - Machine Learning
Lecture4 - Machine Learning
 
AutoML - The Future of AI
AutoML - The Future of AIAutoML - The Future of AI
AutoML - The Future of AI
 
Big data
Big dataBig data
Big data
 
[오픈소스컨설팅]이기종 WAS 클러스터링 솔루션- Athena Dolly
[오픈소스컨설팅]이기종 WAS 클러스터링 솔루션- Athena Dolly[오픈소스컨설팅]이기종 WAS 클러스터링 솔루션- Athena Dolly
[오픈소스컨설팅]이기종 WAS 클러스터링 솔루션- Athena Dolly
 
Estructura de la Historia Clínica Electrónica openEHR
Estructura de la Historia Clínica Electrónica openEHREstructura de la Historia Clínica Electrónica openEHR
Estructura de la Historia Clínica Electrónica openEHR
 
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
AI for an intelligent cloud and intelligent edge: Discover, deploy, and manag...
 
AI Foundations Course Module 1 - An AI Transformation Journey
AI Foundations Course Module 1 - An AI Transformation JourneyAI Foundations Course Module 1 - An AI Transformation Journey
AI Foundations Course Module 1 - An AI Transformation Journey
 
Neural Machine Translation (D3L4 Deep Learning for Speech and Language UPC 2017)
Neural Machine Translation (D3L4 Deep Learning for Speech and Language UPC 2017)Neural Machine Translation (D3L4 Deep Learning for Speech and Language UPC 2017)
Neural Machine Translation (D3L4 Deep Learning for Speech and Language UPC 2017)
 
Free Training: How to Build a Lakehouse
Free Training: How to Build a LakehouseFree Training: How to Build a Lakehouse
Free Training: How to Build a Lakehouse
 
LLM in Intellectual Property and E Law
LLM in Intellectual Property and E LawLLM in Intellectual Property and E Law
LLM in Intellectual Property and E Law
 

Similar to Scaling up an openEHR CDR

EHRbase, open source openEHR CDR
EHRbase, open source openEHR CDREHRbase, open source openEHR CDR
EHRbase, open source openEHR CDRopenEHR-Japan
 
Implementation and Use of ISO EN 13606 and openEHR
Implementation and Use of ISO EN 13606 and openEHRImplementation and Use of ISO EN 13606 and openEHR
Implementation and Use of ISO EN 13606 and openEHRKoray Atalag
 
Making Sense of Medicare Data: From Mining to Analytics
Making Sense of Medicare Data: From Mining to AnalyticsMaking Sense of Medicare Data: From Mining to Analytics
Making Sense of Medicare Data: From Mining to AnalyticsHPCC Systems
 
Towards the Implementation of an openEHR-based Open Source EHR Platform (a vi...
Towards the Implementation of an openEHR-based Open Source EHR Platform (a vi...Towards the Implementation of an openEHR-based Open Source EHR Platform (a vi...
Towards the Implementation of an openEHR-based Open Source EHR Platform (a vi...Pablo Pazos
 
Duncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems InteroperabilityDuncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems Interoperabilitygeorge.james
 
Enhancing the Security for Clinical Document Architecture Generating System u...
Enhancing the Security for Clinical Document Architecture Generating System u...Enhancing the Security for Clinical Document Architecture Generating System u...
Enhancing the Security for Clinical Document Architecture Generating System u...IRJET Journal
 
Big data talking stories in Healthcare
Big data talking stories in Healthcare Big data talking stories in Healthcare
Big data talking stories in Healthcare Mostafa
 
Implementing dual model systems
Implementing dual model systemsImplementing dual model systems
Implementing dual model systemsyampeku
 
OpenEhr rEvolution Sardinia 2019
OpenEhr rEvolution Sardinia 2019OpenEhr rEvolution Sardinia 2019
OpenEhr rEvolution Sardinia 2019Ian McNicoll
 
openEHR Medinfo2015 Brazil Sponsor Session
openEHR Medinfo2015 Brazil Sponsor SessionopenEHR Medinfo2015 Brazil Sponsor Session
openEHR Medinfo2015 Brazil Sponsor SessionopenEHR Foundation
 
Standardised and Flexible Health Data Management with an Archetype Driven EHR...
Standardised and Flexible Health Data Management with an Archetype Driven EHR...Standardised and Flexible Health Data Management with an Archetype Driven EHR...
Standardised and Flexible Health Data Management with an Archetype Driven EHR...David Moner Cano
 
ACID Transactions in Hive
ACID Transactions in HiveACID Transactions in Hive
ACID Transactions in HiveEugene Koifman
 
Cosylab | codeBeamer ALM as a Swiss Army Knife on a Particle Therapy Project
Cosylab | codeBeamer ALM as a Swiss Army Knife on a Particle Therapy ProjectCosylab | codeBeamer ALM as a Swiss Army Knife on a Particle Therapy Project
Cosylab | codeBeamer ALM as a Swiss Army Knife on a Particle Therapy ProjectIntland Software GmbH
 
Ods, edf, eav & global types
Ods, edf, eav & global typesOds, edf, eav & global types
Ods, edf, eav & global typesSTIinnsbruck
 
openEHR Developers Workshop at #MedInfo2015
openEHR Developers Workshop at #MedInfo2015openEHR Developers Workshop at #MedInfo2015
openEHR Developers Workshop at #MedInfo2015Pablo Pazos
 
Electronic patients records system based on oracle apex
Electronic patients records system based on oracle apexElectronic patients records system based on oracle apex
Electronic patients records system based on oracle apexJan Karremans
 
Intel life sciences_personalizedmedicine_stanford biomed 052214 dist
Intel life sciences_personalizedmedicine_stanford biomed 052214 distIntel life sciences_personalizedmedicine_stanford biomed 052214 dist
Intel life sciences_personalizedmedicine_stanford biomed 052214 distKetan Paranjape
 

Similar to Scaling up an openEHR CDR (20)

EHRbase, open source openEHR CDR
EHRbase, open source openEHR CDREHRbase, open source openEHR CDR
EHRbase, open source openEHR CDR
 
Implementation and Use of ISO EN 13606 and openEHR
Implementation and Use of ISO EN 13606 and openEHRImplementation and Use of ISO EN 13606 and openEHR
Implementation and Use of ISO EN 13606 and openEHR
 
1 3 introduction to open_ehr
1 3 introduction to open_ehr1 3 introduction to open_ehr
1 3 introduction to open_ehr
 
Making Sense of Medicare Data: From Mining to Analytics
Making Sense of Medicare Data: From Mining to AnalyticsMaking Sense of Medicare Data: From Mining to Analytics
Making Sense of Medicare Data: From Mining to Analytics
 
Towards the Implementation of an openEHR-based Open Source EHR Platform (a vi...
Towards the Implementation of an openEHR-based Open Source EHR Platform (a vi...Towards the Implementation of an openEHR-based Open Source EHR Platform (a vi...
Towards the Implementation of an openEHR-based Open Source EHR Platform (a vi...
 
Duncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems InteroperabilityDuncan Allen :: Supporting Healthcare Systems Interoperability
Duncan Allen :: Supporting Healthcare Systems Interoperability
 
Enhancing the Security for Clinical Document Architecture Generating System u...
Enhancing the Security for Clinical Document Architecture Generating System u...Enhancing the Security for Clinical Document Architecture Generating System u...
Enhancing the Security for Clinical Document Architecture Generating System u...
 
Big data talking stories in Healthcare
Big data talking stories in Healthcare Big data talking stories in Healthcare
Big data talking stories in Healthcare
 
Implementing dual model systems
Implementing dual model systemsImplementing dual model systems
Implementing dual model systems
 
OpenEhr rEvolution Sardinia 2019
OpenEhr rEvolution Sardinia 2019OpenEhr rEvolution Sardinia 2019
OpenEhr rEvolution Sardinia 2019
 
openEHR Medinfo2015 Brazil Sponsor Session
openEHR Medinfo2015 Brazil Sponsor SessionopenEHR Medinfo2015 Brazil Sponsor Session
openEHR Medinfo2015 Brazil Sponsor Session
 
Standardised and Flexible Health Data Management with an Archetype Driven EHR...
Standardised and Flexible Health Data Management with an Archetype Driven EHR...Standardised and Flexible Health Data Management with an Archetype Driven EHR...
Standardised and Flexible Health Data Management with an Archetype Driven EHR...
 
Apache Hive ACID Project
Apache Hive ACID ProjectApache Hive ACID Project
Apache Hive ACID Project
 
ACID Transactions in Hive
ACID Transactions in HiveACID Transactions in Hive
ACID Transactions in Hive
 
Cosylab | codeBeamer ALM as a Swiss Army Knife on a Particle Therapy Project
Cosylab | codeBeamer ALM as a Swiss Army Knife on a Particle Therapy ProjectCosylab | codeBeamer ALM as a Swiss Army Knife on a Particle Therapy Project
Cosylab | codeBeamer ALM as a Swiss Army Knife on a Particle Therapy Project
 
Ods, edf, eav & global types
Ods, edf, eav & global typesOds, edf, eav & global types
Ods, edf, eav & global types
 
Pivoting approach-eav-data-dinu-2006
Pivoting approach-eav-data-dinu-2006Pivoting approach-eav-data-dinu-2006
Pivoting approach-eav-data-dinu-2006
 
openEHR Developers Workshop at #MedInfo2015
openEHR Developers Workshop at #MedInfo2015openEHR Developers Workshop at #MedInfo2015
openEHR Developers Workshop at #MedInfo2015
 
Electronic patients records system based on oracle apex
Electronic patients records system based on oracle apexElectronic patients records system based on oracle apex
Electronic patients records system based on oracle apex
 
Intel life sciences_personalizedmedicine_stanford biomed 052214 dist
Intel life sciences_personalizedmedicine_stanford biomed 052214 distIntel life sciences_personalizedmedicine_stanford biomed 052214 dist
Intel life sciences_personalizedmedicine_stanford biomed 052214 dist
 

More from openEHR-Japan

openEHR Progress in China 2022
openEHR Progress in China 2022openEHR Progress in China 2022
openEHR Progress in China 2022openEHR-Japan
 
Modelling clinical knowledge
Modelling clinical knowledgeModelling clinical knowledge
Modelling clinical knowledgeopenEHR-Japan
 
2021年から2022年にかけてのopenEHR Project概況
2021年から2022年にかけてのopenEHR Project概況2021年から2022年にかけてのopenEHR Project概況
2021年から2022年にかけてのopenEHR Project概況openEHR-Japan
 
Updates of openEHR and Japan activity
Updates of openEHR and Japan activityUpdates of openEHR and Japan activity
Updates of openEHR and Japan activityopenEHR-Japan
 
openEHR Updates 2020-2021
openEHR Updates 2020-2021openEHR Updates 2020-2021
openEHR Updates 2020-2021openEHR-Japan
 
openEHR / ISO 13606入門
openEHR / ISO 13606入門openEHR / ISO 13606入門
openEHR / ISO 13606入門openEHR-Japan
 
openEHR template development for COVID-19
openEHR template development for COVID-19openEHR template development for COVID-19
openEHR template development for COVID-19openEHR-Japan
 
Guideline based CDSS for COVID-19
Guideline based CDSS for COVID-19Guideline based CDSS for COVID-19
Guideline based CDSS for COVID-19openEHR-Japan
 
openEHR/ISO13606入門
openEHR/ISO13606入門openEHR/ISO13606入門
openEHR/ISO13606入門openEHR-Japan
 
2019年版openEHRプロジェクトの近況について
2019年版openEHRプロジェクトの近況について2019年版openEHRプロジェクトの近況について
2019年版openEHRプロジェクトの近況についてopenEHR-Japan
 
Loclisation of openEHR in Japan and nation-wide EHR project
Loclisation of openEHR in Japan and nation-wide EHR projectLoclisation of openEHR in Japan and nation-wide EHR project
Loclisation of openEHR in Japan and nation-wide EHR projectopenEHR-Japan
 
openEHR in China 2019-06
openEHR in China 2019-06openEHR in China 2019-06
openEHR in China 2019-06openEHR-Japan
 
RippleStack & EtherCIS: Shinkansen to openEHR
RippleStack & EtherCIS: Shinkansen to openEHRRippleStack & EtherCIS: Shinkansen to openEHR
RippleStack & EtherCIS: Shinkansen to openEHRopenEHR-Japan
 
openEHR in China, 2018
openEHR in China, 2018openEHR in China, 2018
openEHR in China, 2018openEHR-Japan
 
千年カルテプロジェクト成果と事業化
千年カルテプロジェクト成果と事業化千年カルテプロジェクト成果と事業化
千年カルテプロジェクト成果と事業化openEHR-Japan
 
openEHR activities, 2017-2018
openEHR activities, 2017-2018openEHR activities, 2017-2018
openEHR activities, 2017-2018openEHR-Japan
 
Updates of openEHR, 2017-2018
Updates of openEHR, 2017-2018Updates of openEHR, 2017-2018
Updates of openEHR, 2017-2018openEHR-Japan
 

More from openEHR-Japan (20)

openEHR Progress in China 2022
openEHR Progress in China 2022openEHR Progress in China 2022
openEHR Progress in China 2022
 
Modelling clinical knowledge
Modelling clinical knowledgeModelling clinical knowledge
Modelling clinical knowledge
 
2021年から2022年にかけてのopenEHR Project概況
2021年から2022年にかけてのopenEHR Project概況2021年から2022年にかけてのopenEHR Project概況
2021年から2022年にかけてのopenEHR Project概況
 
Updates of openEHR and Japan activity
Updates of openEHR and Japan activityUpdates of openEHR and Japan activity
Updates of openEHR and Japan activity
 
SMART on openEHR
SMART on openEHRSMART on openEHR
SMART on openEHR
 
openEHR Updates 2020-2021
openEHR Updates 2020-2021openEHR Updates 2020-2021
openEHR Updates 2020-2021
 
openEHR / ISO 13606入門
openEHR / ISO 13606入門openEHR / ISO 13606入門
openEHR / ISO 13606入門
 
openEHR template development for COVID-19
openEHR template development for COVID-19openEHR template development for COVID-19
openEHR template development for COVID-19
 
Opening remarks
Opening remarksOpening remarks
Opening remarks
 
Guideline based CDSS for COVID-19
Guideline based CDSS for COVID-19Guideline based CDSS for COVID-19
Guideline based CDSS for COVID-19
 
openEHR v COVID-19
openEHR v COVID-19openEHR v COVID-19
openEHR v COVID-19
 
openEHR/ISO13606入門
openEHR/ISO13606入門openEHR/ISO13606入門
openEHR/ISO13606入門
 
2019年版openEHRプロジェクトの近況について
2019年版openEHRプロジェクトの近況について2019年版openEHRプロジェクトの近況について
2019年版openEHRプロジェクトの近況について
 
Loclisation of openEHR in Japan and nation-wide EHR project
Loclisation of openEHR in Japan and nation-wide EHR projectLoclisation of openEHR in Japan and nation-wide EHR project
Loclisation of openEHR in Japan and nation-wide EHR project
 
openEHR in China 2019-06
openEHR in China 2019-06openEHR in China 2019-06
openEHR in China 2019-06
 
RippleStack & EtherCIS: Shinkansen to openEHR
RippleStack & EtherCIS: Shinkansen to openEHRRippleStack & EtherCIS: Shinkansen to openEHR
RippleStack & EtherCIS: Shinkansen to openEHR
 
openEHR in China, 2018
openEHR in China, 2018openEHR in China, 2018
openEHR in China, 2018
 
千年カルテプロジェクト成果と事業化
千年カルテプロジェクト成果と事業化千年カルテプロジェクト成果と事業化
千年カルテプロジェクト成果と事業化
 
openEHR activities, 2017-2018
openEHR activities, 2017-2018openEHR activities, 2017-2018
openEHR activities, 2017-2018
 
Updates of openEHR, 2017-2018
Updates of openEHR, 2017-2018Updates of openEHR, 2017-2018
Updates of openEHR, 2017-2018
 

Recently uploaded

VIP Kolkata Call Girl New Town 👉 8250192130 Available With Room
VIP Kolkata Call Girl New Town 👉 8250192130  Available With RoomVIP Kolkata Call Girl New Town 👉 8250192130  Available With Room
VIP Kolkata Call Girl New Town 👉 8250192130 Available With Roomdivyansh0kumar0
 
Leading transformational change: inner and outer skills
Leading transformational change: inner and outer skillsLeading transformational change: inner and outer skills
Leading transformational change: inner and outer skillsHelenBevan4
 
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591adityaroy0215
 
Basics of Anatomy- Language of Anatomy.pptx
Basics of Anatomy- Language of Anatomy.pptxBasics of Anatomy- Language of Anatomy.pptx
Basics of Anatomy- Language of Anatomy.pptxAyush Gupta
 
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near MeVIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Memriyagarg453
 
Hot Call Girl In Ludhiana 👅🥵 9053'900678 Call Girls Service In Ludhiana
Hot  Call Girl In Ludhiana 👅🥵 9053'900678 Call Girls Service In LudhianaHot  Call Girl In Ludhiana 👅🥵 9053'900678 Call Girls Service In Ludhiana
Hot Call Girl In Ludhiana 👅🥵 9053'900678 Call Girls Service In LudhianaRussian Call Girls in Ludhiana
 
Call Girls Service Chandigarh Grishma ❤️🍑 9907093804 👄🫦 Independent Escort Se...
Call Girls Service Chandigarh Grishma ❤️🍑 9907093804 👄🫦 Independent Escort Se...Call Girls Service Chandigarh Grishma ❤️🍑 9907093804 👄🫦 Independent Escort Se...
Call Girls Service Chandigarh Grishma ❤️🍑 9907093804 👄🫦 Independent Escort Se...High Profile Call Girls Chandigarh Aarushi
 
(Jessica) Call Girl in Jaipur- 9521753030 Escorts Service 50% Off with Cash O...
(Jessica) Call Girl in Jaipur- 9521753030 Escorts Service 50% Off with Cash O...(Jessica) Call Girl in Jaipur- 9521753030 Escorts Service 50% Off with Cash O...
(Jessica) Call Girl in Jaipur- 9521753030 Escorts Service 50% Off with Cash O...indiancallgirl4rent
 
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...Sheetaleventcompany
 
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋Sheetaleventcompany
 
indian Call Girl Panchkula ❤️🍑 9907093804 Low Rate Call Girls Ludhiana Tulsi
indian Call Girl Panchkula ❤️🍑 9907093804 Low Rate Call Girls Ludhiana Tulsiindian Call Girl Panchkula ❤️🍑 9907093804 Low Rate Call Girls Ludhiana Tulsi
indian Call Girl Panchkula ❤️🍑 9907093804 Low Rate Call Girls Ludhiana TulsiHigh Profile Call Girls Chandigarh Aarushi
 
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.ktanvi103
 
Udaipur Call Girls 📲 9999965857 Call Girl in Udaipur
Udaipur Call Girls 📲 9999965857 Call Girl in UdaipurUdaipur Call Girls 📲 9999965857 Call Girl in Udaipur
Udaipur Call Girls 📲 9999965857 Call Girl in Udaipurseemahedar019
 
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋Sheetaleventcompany
 
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...Gfnyt.com
 
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...Call Girls Noida
 

Recently uploaded (20)

VIP Kolkata Call Girl New Town 👉 8250192130 Available With Room
VIP Kolkata Call Girl New Town 👉 8250192130  Available With RoomVIP Kolkata Call Girl New Town 👉 8250192130  Available With Room
VIP Kolkata Call Girl New Town 👉 8250192130 Available With Room
 
Leading transformational change: inner and outer skills
Leading transformational change: inner and outer skillsLeading transformational change: inner and outer skills
Leading transformational change: inner and outer skills
 
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
VIP Call Girl Sector 25 Gurgaon Just Call Me 9899900591
 
Basics of Anatomy- Language of Anatomy.pptx
Basics of Anatomy- Language of Anatomy.pptxBasics of Anatomy- Language of Anatomy.pptx
Basics of Anatomy- Language of Anatomy.pptx
 
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near MeVIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
VIP Call Girls Noida Sia 9711199171 High Class Call Girl Near Me
 
Hot Call Girl In Ludhiana 👅🥵 9053'900678 Call Girls Service In Ludhiana
Hot  Call Girl In Ludhiana 👅🥵 9053'900678 Call Girls Service In LudhianaHot  Call Girl In Ludhiana 👅🥵 9053'900678 Call Girls Service In Ludhiana
Hot Call Girl In Ludhiana 👅🥵 9053'900678 Call Girls Service In Ludhiana
 
Call Girls Service Chandigarh Grishma ❤️🍑 9907093804 👄🫦 Independent Escort Se...
Call Girls Service Chandigarh Grishma ❤️🍑 9907093804 👄🫦 Independent Escort Se...Call Girls Service Chandigarh Grishma ❤️🍑 9907093804 👄🫦 Independent Escort Se...
Call Girls Service Chandigarh Grishma ❤️🍑 9907093804 👄🫦 Independent Escort Se...
 
(Jessica) Call Girl in Jaipur- 9521753030 Escorts Service 50% Off with Cash O...
(Jessica) Call Girl in Jaipur- 9521753030 Escorts Service 50% Off with Cash O...(Jessica) Call Girl in Jaipur- 9521753030 Escorts Service 50% Off with Cash O...
(Jessica) Call Girl in Jaipur- 9521753030 Escorts Service 50% Off with Cash O...
 
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
 
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Chandigarh Escort Service Call Girls, ₹5000 To 25K With AC💚😋
 
indian Call Girl Panchkula ❤️🍑 9907093804 Low Rate Call Girls Ludhiana Tulsi
indian Call Girl Panchkula ❤️🍑 9907093804 Low Rate Call Girls Ludhiana Tulsiindian Call Girl Panchkula ❤️🍑 9907093804 Low Rate Call Girls Ludhiana Tulsi
indian Call Girl Panchkula ❤️🍑 9907093804 Low Rate Call Girls Ludhiana Tulsi
 
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
Call Now ☎ 9999965857 !! Call Girls in Hauz Khas Escort Service Delhi N.C.R.
 
VIP Call Girls Lucknow Isha 🔝 9719455033 🔝 🎶 Independent Escort Service Lucknow
VIP Call Girls Lucknow Isha 🔝 9719455033 🔝 🎶 Independent Escort Service LucknowVIP Call Girls Lucknow Isha 🔝 9719455033 🔝 🎶 Independent Escort Service Lucknow
VIP Call Girls Lucknow Isha 🔝 9719455033 🔝 🎶 Independent Escort Service Lucknow
 
Russian Call Girls in Dehradun Komal 🔝 7001305949 🔝 📍 Independent Escort Serv...
Russian Call Girls in Dehradun Komal 🔝 7001305949 🔝 📍 Independent Escort Serv...Russian Call Girls in Dehradun Komal 🔝 7001305949 🔝 📍 Independent Escort Serv...
Russian Call Girls in Dehradun Komal 🔝 7001305949 🔝 📍 Independent Escort Serv...
 
Udaipur Call Girls 📲 9999965857 Call Girl in Udaipur
Udaipur Call Girls 📲 9999965857 Call Girl in UdaipurUdaipur Call Girls 📲 9999965857 Call Girl in Udaipur
Udaipur Call Girls 📲 9999965857 Call Girl in Udaipur
 
Call Girl Guwahati Aashi 👉 7001305949 👈 🔝 Independent Escort Service Guwahati
Call Girl Guwahati Aashi 👉 7001305949 👈 🔝 Independent Escort Service GuwahatiCall Girl Guwahati Aashi 👉 7001305949 👈 🔝 Independent Escort Service Guwahati
Call Girl Guwahati Aashi 👉 7001305949 👈 🔝 Independent Escort Service Guwahati
 
Call Girls in Lucknow Esha 🔝 8923113531 🔝 🎶 Independent Escort Service Lucknow
Call Girls in Lucknow Esha 🔝 8923113531  🔝 🎶 Independent Escort Service LucknowCall Girls in Lucknow Esha 🔝 8923113531  🔝 🎶 Independent Escort Service Lucknow
Call Girls in Lucknow Esha 🔝 8923113531 🔝 🎶 Independent Escort Service Lucknow
 
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
💚😋Mumbai Escort Service Call Girls, ₹5000 To 25K With AC💚😋
 
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
 
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
Vip sexy Call Girls Service In Sector 137,9999965857 Young Female Escorts Ser...
 

Scaling up an openEHR CDR

  • 1. Scaling up an openEHR CDR Christian Chevalley, Khon-Kaen, Thailand christian@adoc.co.th – Born in Geneva, Switzerland – Studied Physics and Computer Science at Geneva University – Worked for several blue chip companies (HP, Sun Microsystems) – Developed 5 commercial enterprise systems for Finance and Healthcare – Founded ADOC Software in 2009: a Thailand based operation, BOI supported – Wrote EtherCIS in 2011 – Migrated EtherCIS to EHRbase in 2019
  • 2. ● Governance – Hanover Medical School (https://www.mhh.de/en/) – Vitasystems Gmbh (https://www.vitagroup.ag/de_DE/Ueber-uns/vitasystems) – HiGHmed Medical Informatics (https://highmed.org/), sponsored by: ● German Ministry of Education and Research (https://www.bmbf.de/en/index.html) ● Medical Informatics Initiative Germany (https://www.medizininformatik-initiative.de/en/about- initiative) – Open Source!
  • 3. EHRBase: What Is it? ● openEHR CDR: Reference Model (RM 1.0.4), ADL 1.4 ● Transactional DB Centric Application (PostgreSQL 11+) ● OpenEHR REST API incl. AQL ● Development: – Java 11, jOOQ, Archie, SQL – Test Automation, Continuous Integration: Robot, Circle CI – Load Testing: jmeter – Quality Checking: Sonar Analysis (sonarcloud.io)
  • 4. Scalability: Some Numbers ● Deal with > 10’s Mio EHRs ● Avg nnn compositions/EHR ● > nnn TB of data (even PB!) ● > nnnn concurrent users
  • 5. Many Challenges ● Multiple Levels of Technical Limitations – Storage I/Os – DB (even stated as limitless...) – Network Latency – Middleware latency (!) (in particular transformations) ● Overlapping NFRs – Multi-Tenancy – Secondary use (analytics) – Availability – Security – Administration: maintenance, disaster management, monitoring
  • 6. My Observations ● Two areas of concern – CRUD – Querying (AQL) ● Query/transaction has to be really fast (~ 1ms or less) – Minimize middleware/DB transactions ● ONE query to the DB ● Resolve containments and paths before launching the query – Optimize DB model ● Deal with limitations (denormalization of ITEM_STRUCTURE) ● Indexing ● Monitor query execution (query planner) ● Keep SQL translations as short as possible
  • 7. Observation/Optimization ● DB CRUD should be performed in ONE transaction ● Query (AQL) is accelerated by pre-calculation of value points paths. Then executed in ONE transaction ● OpenEHR middleware (many) format transformations remain costly!
  • 8. Benchmark 650 000 EHRs - 130 000 000 compositions PostgreSQL cluster with 5 nodes, (12 vCPU, 8 GB RAM, 3 TB disk) select e/ehr_id/value, a/uid, o/data[at0001]/events[at0002]/data [at0003]/items[at0004]/value from EHR e contains COMPOSITION a[openEHR- EHR-COMPOSITION.sample_encounter.v1] contains OBSERVATION o[openEHR-EHR- OBSERVATION.sample_blood_pressure.v1] where o/data[at0001]/events[at0002] /data[at0003]/items[at0004]/value/magnitude > 20 limit 50
  • 9. Distributing Transaction Load ● Deploy DB as a “dumb” cluster ● Deploy DB as a hyperscale cluster ● Deploy the middleware as a distributed cluster w/distributed AQL optimizer
  • 10. DB Dumb Cluster (1) Pros - Easy to deploy (at the beginning) Cons - DB maintenance:schema, migration, backup/recovery - Storage (replication!) - No parallelization - No failover of node - Heavy procedure to add nodes - Expensive in a Cloud environment - Security - No easy secondary usage - Has an impact on code logic!
  • 11. DB Dumb Cluster (2) Pros - Somehow easy to deploy (at the beginning) Cons - DB maintenance: schema, migration, backup/recovery - Storage (replication!) - No parallelization - Heavy procedure to add nodes - Expensive in a Cloud environment - Security - Potentially reach DB limits...
  • 12. HyperScale DB (Citus, YugabyteDB etc.) Pros - Transparent DB maintenance (single master for admin) - distributed storage - parallelism - Automated failover - Tools to maintain nodes - Distributed Security policy Cons - Can be tricky to deploy (DB system setting, driver, may require additional sharding key...)
  • 13. EHRbase Cluster+HyperScale DB (Citus, YugabyteDB etc.) Pros - Distributed Middleware processing Cons - Can be tricky to deploy
  • 14. Conclusion ● Assuming the right topology (cluster + db sharding), operation involves Capacity Planning: monitoring, thresholds, orchestration tool etc. ● Other infrastructure aspects must be factored in: – Network latency between nodes – Storage technology (SSD, write ahead, caching) – Significant operating concepts and administration – Requires skills to be administered properly