neurobagel / query-tool-ai

MIT License
2 stars 0 forks source link

Construct the final API url based on user query #23

Closed Raya679 closed 4 months ago

Raya679 commented 4 months ago

Example

User query : Male subjects suffering from adhd

Output : https://api.neurobagel.org/query/?sex=snomed:248153007&diagnosis=snomed:406506008&is_control=false
User query : subjects between age 2 to 7 with ocd and t2 weighted image modal

Output : https://api.neurobagel.org/query/?min_age=2.0&max_age=7.0&diagnosis=snomed:191736004&is_control=false&image_modal=nidm:T2Weighted
User query : Female healthy control subjects with parkinsons

Output : Subjects cannot both be healthy controls and have a diagnosis.