information about allowable data in a openEHR format

Hey all,

Apologies for asking what is probably a simple question but I’m just starting out in this space now.

My question is:

If I have a patient record with ICD-9 and ICD-10 codes, Pharmacy codes, procedure codes, patient data such as age, sex, height, weight etc. and also free form clinical notes. Can I store all this kinda of data in a openEHR format? And if so could you provide me with a sample json of what that kind of patient record would look like?

Or point me in the right direction?

Thanks so much

Kind regards

Dave

Dr David Monaghan | Optum

Lead Machine Learning Researcher – Product Engineering and Data Solutions

BLOCK C, SPENCER DOCK, Dublin, Ireland

T +353 749 200 436

E david_monaghan@optum.com

www.optum.com

Our United Culture The way forward

Integrity | Compassion | Relationships | Innovation | Performance

Optum Services (Ireland) Limited, a private company limited by shares, registered in Ireland with company number 579794 and with its registered office at 70 Sir John Rogerson’s Quay, Dublin 2.

Dear David,

OpenEHR supports a wide variety of data types. Please refer to http://openehr.org/releases/RM/latest/docs/data_types/data_types.html for more details on the data types supported. That said the simple answer to your question is that all that you are looking for are supported. You can also have a look at some of the large number of archetypes available in the OpenEHR CKM (http://www.openehr.org/ckm/) to see how each of the data types have been used in practice.

As for how a patient record looks, a patient record in OpenEHR is made up of independent compositions, which are instances of use case driven templates. Templates in turn are made up of one or more archetypes. So a patient record can contain multiple JSONs(each representing a composition).

As per my understanding, the JSON structure of compositions can vary depending upon the implementation. The following link has more details on the JSON format used by Ethercis (an opensource OpenEHR server implementation)

https://github.com/ethercis/ethercis/blob/master/doc/flat%20json.md

I hope that helps

regards

Hi David,

The openEHR model can store codes data from any terminology and use any kind of structure, that is defined in archetypes and templates.

Why do you need json to understand openEHR data storage? Are you using a json database?

Json is not part of the specifications, but there is a standard XML schema available. They XML can be transformed to json with two lines of code.

I have tools that generate test documents with dummy data on openEHR XML. All open source.

Regards,
Pablo.

Hi Dave

Your use-case is to create data into an EHR. You have different kind of data like problem/diagnosis, medications, procedures, height and weight. These are all archetypes in openEHR and I have provided links to them above.

What you need to do is to create a Template based on these archetypes. Based on this Template you can create Compositions. Compositions are documents or transactions containing data into an openEHR system.

There are several ways to serialize this data. Both JSON and XML are used in production systems today.