Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced intersection #29

Open
rossjones opened this issue Mar 3, 2015 · 7 comments
Open

Advanced intersection #29

rossjones opened this issue Mar 3, 2015 · 7 comments
Labels

Comments

@rossjones
Copy link
Contributor

Originally from #13

Intersections of drugs in particular can be more complicated
For example
Allergy = Co-Amoxiclav
Should trigger an alert if drug ==Any penicillin
Might trigger an alert if drug==any cephlasporin or any carbapenem

@rossjones
Copy link
Contributor Author

We may need some special form of API for keyword expansion, so we can easily determine all penicillin drug names, for instance.

We could implement this with vars and phrases like...

when "allergies.name" intersections "@paracetamol_names"

but this is a bit specific and would require a lot of rules.

Need to think about this some more.

@rossjones rossjones added the ready label Mar 3, 2015
@michaeledwardmarks
Copy link

For drugs at least I would consider meta-categories/groups?
e.g
All penicillins belong to group X (trivial to do for a clinician or by scraping the BNF ala OPENBNF)
Repeat

@davidmiller
Copy link
Member

This is another case of openhealthcare/elcid#447 - taxonomies for coded lists.
The short term thing to do is allow arrays as variables and have user defined ones for the subset that are actually in use.

Mediumer term, we need coordinated taxonomies for coded data, which should be a coherent approach across all of our projects.

Perhaps we need something that provides this as a service?
https://github.com/openhealthcare/dmdd or an elixir version?
I'd want to be able to answer taxonomical questions, or at least ask for a point in the graph and get all subnodes for a given dimension.

Maybe we want a graph database + API + some ETL for DMDD/SNOMED CT/TRUD/ICD10/Something else (this is not currently my area of expertise)

@rossjones
Copy link
Contributor Author

+1 for Elixir. Unsure about a graphdb, or whether to use mnesia/digraph. We probably do want a DAG though to represent it.

@davidmiller
Copy link
Member

mnesia + / or digraph !

@rossjones
Copy link
Contributor Author

@davidmiller
Copy link
Member

Looks like it could work :)

Maybe that can be a project to hack on at Elixirconf.eu ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants