Closed jBesic closed 2 years ago
You would have to query an additional openFDA endpoint. You could query the NDC endpoint using the SPL Set IDs provided and then match the returned results with what you have from the Drugs@FDA endpoint by keying on, for example, the brand_name
and active_ingredients
fields.
The NDC query for your specific example would be https://api.fda.gov/drug/ndc.json?search=openfda.spl_set_id.exact:(610022b7-7dc9-405a-a580-104657f43bdf+OR+fb4810ec-d26f-429d-b87c-5898a7870169+OR+62eda83d-d043-4c7e-8fcf-75d05efbf35b)&limit=10
For the example below, I have two products while there is three spl_set_id items. How can I say which product belongs to which spl_set_id?
Thank you all,