fhircat / CORD-19-on-FHIR

Semantics for COVID-19 Discovery
Other
40 stars 8 forks source link

SPARQL query for procedures #9

Open jonimoreira opened 4 years ago

jonimoreira commented 4 years ago

There are examples of SPARQL queries for conditions and medications, is it also possible to include queries for procedures? https://github.com/fhircat/CORD-19-on-FHIR/wiki/SPARQL-Queries

Are there procedure instances linked to focal devices, status, category, subject, etc? I'm missing some information (links) from FHIR data model: image https://www.hl7.org/fhir/procedure.html

Also, is it possible to add queries linking procedures to medications and conditions? E.g., which medications are used in a procedure?

gqjiang commented 4 years ago

There is a limitation in the underlying NLP engine that can not identify device datatype. We will see if we can enhance this in the future.

I added a couple sparql queries that can retrieve procedure data and identify the co-occurrence of condition and medication. You can modify it for other co-occurrences.

see: https://github.com/fhircat/CORD-19-on-FHIR/wiki/SPARQL-Queries

Hope this would be helpful. thanks, -Guoqian

jonimoreira commented 4 years ago

Thanks, really useful! Regarding the Procedure.focalDevice, is it possible to generate? We'd like to work on the information regarding the devices used in the procedures.