IHTSDO / snowstorm

Scalable SNOMED CT Terminology Server using Elasticsearch
Other
204 stars 80 forks source link

get only generic drugs #482

Closed juanidepapi closed 1 year ago

juanidepapi commented 1 year ago

Hello. My question is about how to get only generic drugs through ECL. Excluding trademarks.

Thank you so much!

alopezo commented 1 year ago

Hello, the "Clinical Drug" class of the the Drug Model are the equivalent to the generic drugs, and there are different ways to retrieve them:

Queries based on attributes: << 763158003 |Medicinal product| : 732943007 |Has basis of strength substance (attribute)| = , [0..0] 774158006 |Has product name| =

Queries based on hierarchy + semantic tag << 763158003 |Medicinal product| {{ term = "(clinical drug)", type = fsn, dialect = en-us (prefer)}}

FHIR Expansions + Filter https://snowstorm.ihtsdotools.org/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/<< 763158003 |Medicinal product|&filter=(clinical drug)

You can see an interactive example here: https://ihtsdo.github.io/iig-drug-classes/

Best regards

Alejandro

juanidepapi commented 1 year ago

Thank you very much Alexander! I'm from Argentina too!

I will implement what you propose and comment on how it went.

Greetings!