DailyMed — FDA SPL Drug Reference
Category: Clinical Tools
Node id: dailymed
Standards: clinical-reference, FDA-DailyMed
Query the US FDA DailyMed (Structured Product Labels) database for authoritative drug reference labels. Complements CIMA for non-Spain markets.
What it does
- Authoritative US drug labels (FDA Structured Product Labels)
- Full label extraction by LOINC section: indications, dosage, contraindications, warnings, interactions, adverse reactions
- NDC and SPL set_id lookup
- Boxed warning detection
Use cases
- Retrieve dosing for a US-marketed medicine
- Check FDA-approved indications and contraindications
- Verify boxed warnings
- Look up drugs by NDC code from a US prescription record
Runtime
- Performance tier:
slow
Input ports
| Name | Type | Required | Description |
|---|---|---|---|
query | text | No | Drug name, NDC, or SPL set_id |
Output ports
| Name | Type | Required | Description |
|---|---|---|---|
label | json | No | Full SPL label (null when status is not ok/partial) |
section | json | No | Single section (only on get_section) |
candidates | json | No | Search candidates (only on search/disambiguation) |
status | text | No | ok | partial | not_found | unreachable | rate_limited | query_error |
missing_sections | json | No | List of LOINC codes not returned by DailyMed (on partial) |
Settings
Basic
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Operation | operation | enum | No | label | label, search, get_section | |
| Query | query | string | No | Drug name, NDC, or set_id (for label/search) | ||
| Query Type | query_type | enum | No | name, ndc, setid | ||
| Set ID | set_id | string | No | SPL set_id (required for get_section) | ||
| Section | section | string | No | LOINC code or alias (indications, dosage, contraindications, warnings, interactions, adverse_reactions, boxed_warning) |
Advanced
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Bypass Cache | bypass_cache | boolean | No | false |
Errors
| Code | Description |
|---|---|
DAILYMED_USER_AGENT_REQUIRED | DAILYMED_USER_AGENT env var is not set |
QUERY_REQUIRED | query input or config is empty for label/search |
SETID_SECTION_REQUIRED | set_id and section are required for get_section |
Runtime notes
- label output is null when status is not ok or partial — downstream nodes must check status before using label
- DAILYMED_USER_AGENT env var must be set or node will fail on first Execute
- partial status means some named SPL sections were unavailable; check missing_sections output
- Spain-authorized medicines should use the CIMA node instead
See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.
Quelque chose n'est pas clair ? Envoyez vos commentaires sur la documentation par courriel.