This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "201809 FHIR Storage and Analytics"

From HL7Wiki
Jump to navigation Jump to search
(Created page with "May 2018 Proposals __NOTOC__ =Track Name= FHIR Storage, Query & Analytics ([https://github.com/fhir-fuel/fhir-storage-an...")
 
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:201805_FHIR_Connectathon_Track_Proposals|May 2018 Proposals]]
+
[http://wiki.hl7.org/index.php?title=Category:201809_FHIR_Connectathon_Track_Proposals Return to Fall 2018 Proposals]
 +
[[Category:201809_FHIR_Connectathon_Track_Proposals|Fall 2018 Proposals]]
 +
 
 +
 
 +
* [https://chat.fhir.org/#narrow/stream/73-analytics-on.20FHIR Zulip Analytics stream]
 +
 
 +
 
 +
Previous tracks:
 +
 
 +
* [http://wiki.hl7.org/index.php?title=201805_FHIR_Storage_and_Analytics 2018-05]
 +
 
 
__NOTOC__
 
__NOTOC__
 
=Track Name=
 
=Track Name=
  
FHIR Storage, Query & Analytics ([https://github.com/fhir-fuel/fhir-storage-and-analytics-track])
+
FHIR Storage & Analytics ([https://github.com/fhir-fuel/fhir-storage-and-analytics-track])
  
 
=Track Overview=
 
=Track Overview=
  
More and more developers about to start design storage for FHIR data.
+
With this track we want to put together people, which are interested in implementation and usage of
We hope this track will share experience about FHIR storage implementation,  
+
FHIR persistence layer, implementing FHIR servers on top  and analysing FHIR data.
as well as analytics on FHIR datasets.
 
  
Please fill out: [https://docs.google.com/spreadsheets/d/11QbX8iB49s_-YMP6GmEej41uT58ir4f6W2EvMEe4cUg/edit#gid=474724399 Track Registration Spreadsheet]
+
We hope this group can produce useful feedback for FHIR community and potentially
 +
propose new aspects for standard - like SQL on FHIR or FHIRPath for databases.
 +
 
 +
Another goal is to collect solutions and best practices to store and query FHIR data,
 +
using popular databases.
 +
 
 +
 
 +
Please fill out: TODO [TODO Track Registration Spreadsheet]
  
 
==Submitting WG/Project/Implementer Group==
 
==Submitting WG/Project/Implementer Group==
  
???
+
We want to create S&A working group or FHIR Foundation Project.
+
 
 
   
 
   
 
==Justification==
 
==Justification==
  
Questions to be answered
+
Initial set of questions to be answered or discussed
  
 +
* How we can organise our FHIR Foundation Project?
 
* How to store FHIR data?
 
* How to store FHIR data?
 
* What is database schema design?
 
* What is database schema design?
* Which databases can be used?
+
* SQL (as common query language) on FHIR
* SQL on FHIR
 
 
* FHIR data representation for storage
 
* FHIR data representation for storage
 
* FHIRPath subset for databases
 
* FHIRPath subset for databases
* What i have to do to be part of it?
 
 
* How to approach FHIR search?
 
* How to approach FHIR search?
 
+
* Best practices for popular databases (postgresq, spark, mongo, bigquery etc)?
  
 
==Proposed Track Lead==
 
==Proposed Track Lead==
  
* Nikolai Ryzhikov
+
Nikolai Ryzhikov
* Ryan Brush
 
* Patrik Sundberg
 
* Kenny Blanchette
 
 
 
  
==Expected participants==
+
== Participants ==
  
* Nikolai Ryzhikov
 
* Tim Zallin
 
* Alexander Zautke
 
* Ryan Brush
 
* Patrik Sundberg
 
* Kenny Blanchette
 
  
 +
* Ryan Brush (Cerner)
 +
* Patrik Sundberg (Google)
 +
* Kenny Blanchette (Athena Health)
 +
* Nikolai Ryzhikov & Mike Lapshin (Health Samurai)
 +
* ADD YOURSELF!
  
 
==Roles==
 
==Roles==
Line 55: Line 65:
 
* Database User: design queries
 
* Database User: design queries
  
==Scenarios==
+
==Discussions==
  
 +
=== SQL on FHIR ===
  
===Scenario 1: FHIR search===
+
Initial notes for creating a standard representation of FHIR that is directly usable in scalable SQL-based systems.
  
* Design or take an existing database schema to store Patient, Encounter & Practitioner resources
+
Original document by Ryan Brush  - https://docs.google.com/document/d/1IPyI-4GYlF400vmZvrtjDYL6jauHdjeLfjGJMo6yWtA/edit#heading=h.ch8y6lqurlaj
** relational (consider schema generation)
 
** document oriented
 
*** postgresql jsonb
 
*** mongodb
 
*** big query
 
** tripple store (datomic, EAV)
 
** xml database (?)
 
* Load sample data
 
* Implement FHIR search for
 
** Patient by name, address
 
** Encounter by date and location/practitioner
 
** Encounter include patient/practitioner
 
** Encounter chained params
 
* On fly convertion to FHIR if format is different
 
  
===Scenario 2: Advanced FHIR search===
+
Github repo - https://github.com/rbrush/sql-on-fhir/blob/master/sql-on-fhir.md
  
* Design or take an existing database schema to store Patient & Observation
+
=== FHIR data representation in database ===
* Implement search by quantity with respect to system and units
 
  
===Scenario 3: Complex Queries / CQL===
 
  
* Implement CQL to SQL (or other query lang) translation (automatic or manual)
+
JSON and other JSON like formats like yaml, edn, avro, protobuf are very popular in avantе-garde of programmers,
* Another analytic queries???
+
some modern databases now could understad JSON as first-class data-structures, that’s why we think, good design for it is strictly required for FHIR adoption.
  
 +
Original github - https://github.com/fhir-fuel/fhir-fuel.github.io/issues
  
===Scenario 4: Analytical databases replication===
+
=== FHIRPath subset for databases ===
  
* Get `transaction log` / history of all CRUD/transaction operations from kafka topic
+
It worth to discuss subset of FHIRPath, which is implementable in databases
* Transform and load into analytical databases
 
** Click House
 
** Elastic Search
 
** Vertica
 
** Relational databases (MS SQL, Oracle, Postgresql, Mysql)
 
* Run analytical queries
 
  
===Scenario 5: Graphql implementaton===
+
Issue to discuss - https://github.com/fhir-fuel/fhir-fuel.github.io/issues/10
  
* prototype efficient graphql => sql transpilation
+
==Scenarios==
 
 
===Discussion===
 
 
 
fhirpath implementation/subset for databases
 
 
 
==Assets==
 
 
 
* we will provide you with test datasets
 
* jupyter environment with examples (will be used for demo after track)
 
* access to existing databases
 
** fhirbase
 
** Biq Query
 
** aidbox
 
** HAPI db?
 
** ....
 
 
 
==Outcomes==
 
 
 
* make participants familiar with different approaches
 
* report/guidelines for implementation of FHIR database
 
* discuss open questions in a group :)
 
 
 
 
 
==Databases==
 
 
 
===Relational===
 
 
 
* PostgreSQL
 
* Big Query
 
 
 
===Document databases===
 
  
* MongoDB
+
===Scenario: Bulk Loader===
  
===Analytical===
 
  
* ElasitcSearch
+
Implement and demonstrate bulk loader script for your specific database.
* ClickHouse
 
* Vertica
 
* Spark / Hadoop?
 
  
===Integration bus===
+
* Provide Bulk Loader for your specific database to easily and efficiently load data from FHIR server thro Bulk API into db.
 +
* Loader for Mitre Synthea (https://github.com/synthetichealth/synthea) - where source is file system as synthea generate.
 +
* Loader for FHIR examples - zipped dir of resources and bundles in json
  
* Kafka
+
Discussion at https://github.com/fhir-fuel/fhir-storage-and-analytics-track/issues/6

Latest revision as of 03:13, 21 September 2018

Return to Fall 2018 Proposals



Previous tracks:


Track Name

FHIR Storage & Analytics ([1])

Track Overview

With this track we want to put together people, which are interested in implementation and usage of FHIR persistence layer, implementing FHIR servers on top and analysing FHIR data.

We hope this group can produce useful feedback for FHIR community and potentially propose new aspects for standard - like SQL on FHIR or FHIRPath for databases.

Another goal is to collect solutions and best practices to store and query FHIR data, using popular databases.


Please fill out: TODO [TODO Track Registration Spreadsheet]

Submitting WG/Project/Implementer Group

We want to create S&A working group or FHIR Foundation Project.


Justification

Initial set of questions to be answered or discussed

  • How we can organise our FHIR Foundation Project?
  • How to store FHIR data?
  • What is database schema design?
  • SQL (as common query language) on FHIR
  • FHIR data representation for storage
  • FHIRPath subset for databases
  • How to approach FHIR search?
  • Best practices for popular databases (postgresq, spark, mongo, bigquery etc)?

Proposed Track Lead

Nikolai Ryzhikov

Participants

  • Ryan Brush (Cerner)
  • Patrik Sundberg (Google)
  • Kenny Blanchette (Athena Health)
  • Nikolai Ryzhikov & Mike Lapshin (Health Samurai)
  • ADD YOURSELF!

Roles

  • Database Provider: provides access to database with FHIR data
  • Database User: design queries

Discussions

SQL on FHIR

Initial notes for creating a standard representation of FHIR that is directly usable in scalable SQL-based systems.

Original document by Ryan Brush - https://docs.google.com/document/d/1IPyI-4GYlF400vmZvrtjDYL6jauHdjeLfjGJMo6yWtA/edit#heading=h.ch8y6lqurlaj

Github repo - https://github.com/rbrush/sql-on-fhir/blob/master/sql-on-fhir.md

FHIR data representation in database

JSON and other JSON like formats like yaml, edn, avro, protobuf are very popular in avantе-garde of programmers, some modern databases now could understad JSON as first-class data-structures, that’s why we think, good design for it is strictly required for FHIR adoption.

Original github - https://github.com/fhir-fuel/fhir-fuel.github.io/issues

FHIRPath subset for databases

It worth to discuss subset of FHIRPath, which is implementable in databases

Issue to discuss - https://github.com/fhir-fuel/fhir-fuel.github.io/issues/10

Scenarios

Scenario: Bulk Loader

Implement and demonstrate bulk loader script for your specific database.

  • Provide Bulk Loader for your specific database to easily and efficiently load data from FHIR server thro Bulk API into db.
  • Loader for Mitre Synthea (https://github.com/synthetichealth/synthea) - where source is file system as synthea generate.
  • Loader for FHIR examples - zipped dir of resources and bundles in json

Discussion at https://github.com/fhir-fuel/fhir-storage-and-analytics-track/issues/6