Zum Hauptinhalt springen

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​

NameTypeRequiredDescription
medicationtextNoMedication name or identifier
medicationsjsonNoList of medication names
prescriptionjsonNoPrescription data for verification
patientjsonNoPatient data for context
weightnumberNoPatient weight for dosage calculation
dosage_per_kgnumberNoDosage per kilogram
max_dosagenumberNoMaximum allowed dosage
dosage_unittextNoDosage unit
home_medicationsjsonNoHome medication list for reconciliation
current_medicationsjsonNoCurrent medication list for reconciliation

Output ports​

NameTypeRequiredDescription
resultjsonNoMedication result data (lookup, verification, interactions, dosage, reconciliation)
has_interactionsbooleanNoWhether drug interactions exist
successbooleanNoOperation success flag

Settings​

Basic​

SettingNameTypeRequiredDefaultAllowed valuesDescription
OperationoperationenumNolookuplookup, verify, interactions, dosage, reconcileMedication operation to perform
Lookup Typelookup_typestringNonameHow to look up medication (name, rxnorm, ndc)

Advanced​

SettingNameTypeRequiredDefaultAllowed valuesDescription
Weight Unitweight_unitstringNokgPatient weight unit (kg or lb)
Round Toround_tostringNonearestDosage rounding method (nearest, up, down)

Errors​

CodeDescription
MEDICATION_REQUIREDMedication name or identifier is required
MEDICATIONS_REQUIREDMedication list required for interaction check
WEIGHT_REQUIREDPatient weight required for dosage calculation
UNSUPPORTED_OPERATIONOperation 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..