# Connecting openEHR data to Semantic Web **Category:** [Integration](https://discourse.openehr.org/c/integration/63) **Created:** 2025-01-29 07:32 UTC **Views:** 191 **Replies:** 11 **URL:** https://discourse.openehr.org/t/connecting-openehr-data-to-semantic-web/6244 --- ## Post #1 by @joostholslag Does anyone have experience connecting the openEHR and semantic web technologies? An increasing amount of care organisation in the Netherlands have their clinical data available in openehr format. The regulators require data in semantic web technologies: A custom ontology for relevant information, RDF store and SPARQL queries for key performance indicators. For example the number of staff, average time to receive treatment etc. Currently they are mapping admin data from EHR’s using an ‘exchange profile’ to the ontology. That mapping is custom per EHR system (and requires fine tuning for each care organisation). And they are interested to move into clinical performance indicators. Where data may be available in a standardised way in openEHR. Now those regulators have requested me to advise if openEHR could help with those challenges. The key question I have is how to efficiently make data in openEHR available to perform the SPARQL query (e.g. time after admission till Advance care plan recording). One of the scencarios is mapping to an ontology, exporting data and then running the SPARQL. A bit similar to EOS/OMOCL by @SevKohler. Does anyone have experience with a similar project? More info: https://docs.google.com/document/d/1GbUQVeTkabDF5BsKXgJN7b1vWeTN--gh3Mbc_2mShhQ/edit (Dutch, let me know if you need help translating) https://gitlab.com/kik-v --- ## Post #2 by @yampeku Hello Joost, in Spain several groups have worked on that regard. Both Jesualdo Fernandez Breis from Murcia University and Santiago Frid from Clinic Hospital from Barcelona have worked extensively with the OWL/Rdf representation of openEHR/ISO13606 data. https://www.researchgate.net/profile/Jesualdo-Fernandez-Breis https://www.researchgate.net/profile/Santiago-Frid We have also experimented with this in the past, specifically with the enrichment of EHR data with semantic web sources (e.g. drug-to-drug interactions). We participated in a paper on the matter https://www.mdpi.com/2076-3417/11/9/3978 This implied the transformation of openEHR data into rdf, and launching of SPARQL queries to get data back into the data instance --- ## Post #3 by @birger.haarbrandt Hi @joostholslag, I did a bit of work on this a good while ago. However, this was only a research prototype. You can read some details here: https://pubmed.ncbi.nlm.nih.gov/27139386/ This included also querying the data along with SNOMED CT (got an academic license for this purpose back then). --- ## Post #4 by @Seref When I was doing my PhD at UCL, Catalina Martinez was working on this, specifically mapping openEHR to semantic web tech. This is one of the early hits: [(PDF) Towards ISO 13606 and openEHR Archetype-Based Semantic Interoperability](https://www.researchgate.net/publication/26803570_Towards_ISO_13606_and_openEHR_Archetype-Based_Semantic_Interoperability) This was in 2008, she obviously kept working on this, so her other publications may be of interest too. --- ## Post #5 by @erik.sundvall Roland Hedayat also made some interesting Semantic Web work including using openEHR https://uu.diva-portal.org/smash/record.jsf?pid=diva2%3A310787&dswid=9378 --- ## Post #6 by @SteveHarris Very interesting thread. I'm starting to work on a RDFa/HTML5 representation of an ISO 13606 represented care record, which is of course related. I have an early draft of the 13606-1 record model in OWL if that helps anyone. --- ## Post #7 by @joostholslag Yes. I’d be interested in that! Would you be able to share it here? --- ## Post #8 by @linforest A relevant blog from @thomas.beale : [RDF for universal health data exchange? Correcting some basic misconceptions… | Woland's cat.](https://wolandscat.net/2014/08/08/rdf-for-universal-health-data-exchange-correcting-some-basic-misconceptions/) --- ## Post #9 by @Seref Tom's post shared by @linforest makes pretty good points. I am not implying anything against the use of Semantic Web technologies, but it takes some(!) effort to get the balance right. The reason I got introduced to openEHR and archetypes was a EU research project that aimed annotation of clinical data with OWL in .... 2001. I'd say 24 years should have been enough for an approach to get adopted, but then openEHR itself bloomed just recently, after ... 25 years or so :slight_smile: So who knows, this may be the spark! Oh, btw, if my memory is correct Josh Mandel's first attempt at SMART was based on RDF. It then became SMART on FHIR. So there's a story there worth learning about. (For those who'll google his name, I'm not talking about the ex treasurer from Ohio, add the term Microsoft to your query) --- ## Post #10 by @linforest [quote="Seref, post:9, topic:6244"] Josh Mandel [/quote] [Josh Mandel at Microsoft Research](https://www.microsoft.com/en-us/research/people/jmandel/) --- ## Post #11 by @SteveHarris Certainly for our use case, OWL based implication reasoning from the openEHR/13606 model end isn't a primary goal (although the record component and archetype identifier classifiers might prove useful if you're classifying in the SNOMED CT space). We're looking more at using HTML5+RDFa for property/attribute graphs that empower generic search and AI technologies. Unlike (say) CDA, the semantics of the record are properly inline with human readable content and can be traversed by both human and machine alike. Such a representation would be useful to records that originated outside openEHR, which is important in settings like the NHS. --- ## Post #12 by @Seref [quote="SteveHarris, post:11, topic:6244"] We’re looking more at using HTML5+RDFa for property/attribute graphs that empower generic search and AI technologies [/quote] My humble comment would be that you're on the right path. --- **Canonical:** https://discourse.openehr.org/t/connecting-openehr-data-to-semantic-web/6244 **Original content:** https://discourse.openehr.org/t/connecting-openehr-data-to-semantic-web/6244