Medications
Category: Healthcare Standards
Node id: medications
Standards: HIPAA, GDPR, SOC2
Manages medication operations including lookup, prescription verification, interaction checking, dosage calculation, and medication reconciliation
What it does
- Medication lookup by name, RxNorm, or NDC code
- Prescription verification (dosage, frequency, refills)
- Drug interaction detection with severity classification
- Weight-based dosage calculation with rounding options
- Medication reconciliation (home vs. current medications)
Use cases
- Medication lookup during e-prescribing workflows
- Prescription validation at pharmacy dispensing
- Pediatric weight-based dosage calculation
- Admission medication reconciliation
- Drug interaction screening at point of order
Runtime
- Performance tier:
fast
Input ports
| Name | Type | Required | Description |
|---|---|---|---|
medication | text | No | Medication name or identifier |
medications | json | No | List of medication names |
prescription | json | No | Prescription data for verification |
patient | json | No | Patient data for context |
weight | number | No | Patient weight for dosage calculation |
dosage_per_kg | number | No | Dosage per kilogram |
max_dosage | number | No | Maximum allowed dosage |
dosage_unit | text | No | Dosage unit |
home_medications | json | No | Home medication list for reconciliation |
current_medications | json | No | Current medication list for reconciliation |
Output ports
| Name | Type | Required | Description |
|---|---|---|---|
result | json | No | Medication result data (lookup, verification, interactions, dosage, reconciliation) |
has_interactions | boolean | No | Whether drug interactions exist |
success | boolean | No | Operation success flag |
Settings
Basic
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Operation | operation | enum | No | lookup | lookup, verify, interactions, dosage, reconcile | Medication operation to perform |
| Lookup Type | lookup_type | string | No | name | How to look up medication (name, rxnorm, ndc) |
Advanced
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Weight Unit | weight_unit | string | No | kg | Patient weight unit (kg or lb) | |
| Round To | round_to | string | No | nearest | Dosage rounding method (nearest, up, down) |
Errors
| Code | Description |
|---|---|
MEDICATION_REQUIRED | Medication name or identifier is required |
MEDICATIONS_REQUIRED | Medication list required for interaction check |
WEIGHT_REQUIRED | Patient weight required for dosage calculation |
UNSUPPORTED_OPERATION | Operation not recognized |
Runtime notes
- has_interactions is only meaningful for the interactions operation; other operations always return false
- result shape varies by operation — lookup includes medication object, dosage includes calculated/final_dosage, reconcile includes added/discontinued/continued arrays
- interactions operation requires at least 2 medications; a single-item list returns an empty interactions array
- dosage calculation respects max_dosage cap and rounds using the configured round_to method (nearest, up, down)
See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.
Etwas unklar? Senden Sie Feedback zur Dokumentation per E-Mail..