Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liquid36/snomed-expression-builder

Trasform Snomed expression constraint to MongoDB query
https://github.com/liquid36/snomed-expression-builder

Last synced: about 16 hours ago
JSON representation

Trasform Snomed expression constraint to MongoDB query

Awesome Lists containing this project

README

        

# Snomed expression builder

Trasform Snomed expression constraint to MongoDB query

```
let makeExpression = require('snomed-expression-builder');
let query = makeExpression('* : 246075003 |causative agent| = 387517004 |paracetamol|');

...

db.getCollection('snomed').find(query).then(...);
```

### Thanks to
This package is just an isolation of the query builder with some library updates.
Thanks to https://github.com/IHTSDO/sct-snapshot-rest-api