https://github.com/liquid36/snomed-expression-builder
Trasform Snomed expression constraint to MongoDB query
https://github.com/liquid36/snomed-expression-builder
Last synced: about 1 month ago
JSON representation
Trasform Snomed expression constraint to MongoDB query
- Host: GitHub
- URL: https://github.com/liquid36/snomed-expression-builder
- Owner: liquid36
- License: mit
- Created: 2018-06-06T22:15:47.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-06T22:42:30.000Z (about 7 years ago)
- Last Synced: 2025-05-26T06:10:58.569Z (about 2 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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