Zum Hauptinhalt springen

Drug Check

Category: Healthcare Standards
Node id: drug-check
Maturity: simulated
Risk tier: C

Standards: HIPAA, GDPR, SOC2

SIMULATED medication safety checks backed by a small built-in demo drug database (~5 drugs) — NOT a comprehensive clinical drug-safety source; do not rely on it for production prescribing decisions (BR-4/CDS-004). Covers drug interactions, allergy screening, dosage validation, and duplicate therapy detection over the demo dataset.

What it does​

  • Drug-drug interaction detection with severity classification
  • Allergy cross-reference screening
  • Dosage validation with renal/hepatic/pediatric adjustments
  • Duplicate therapy detection across drug classes
  • Comprehensive multi-check safety review
  • Severity-filtered reporting (mild/moderate/severe/critical)

Use cases​

  • Medication reconciliation during hospital admission
  • Prescription safety checks at point of order entry
  • Polypharmacy risk assessment for elderly patients
  • Allergy-aware medication selection

Runtime​

  • Performance tier: fast

Input ports​

NameTypeRequiredDescription
medicationsjsonYesList of medication names
allergiesjsonNoPatient allergy list
medicationtextNoSingle medication name (for dosage check)
dosenumberNoPrescribed dose (for dosage check)
unittextNoDosage unit (default: mg)
patientjsonNoPatient data for dosage adjustments

Output ports​

NameTypeRequiredDescription
resultjsonNoDrug check result data (interactions, allergy matches, dosage checks, duplicates, safety status)
has_criticalbooleanNoWhether critical issues exist
successbooleanNoOperation success flag

Settings​

Basic​

SettingNameTypeRequiredDefaultAllowed valuesDescription
OperationoperationenumNointeractioninteraction, allergy, dosage, duplicate, comprehensiveDrug check operation to perform

Advanced​

SettingNameTypeRequiredDefaultAllowed valuesDescription
Min Severitymin_severitystringNomoderateMinimum interaction severity to report

Errors​

CodeDescription
MEDICATIONS_REQUIREDNo medications list provided in inputs
MEDICATION_REQUIREDSingle medication name required for dosage check
UNSUPPORTED_OPERATIONOperation not recognized

Runtime notes​

  • Output shape under 'result' varies by operation: interaction has interactions/total_count/severity_counts, allergy has allergy_matches/safe_to_prescribe, dosage has dosage_check/is_within_range, comprehensive has nested results
  • has_critical is a top-level boolean — use it for branching without parsing result internals
  • Dosage check uses 'medication' + 'dose' inputs (singular), not the 'medications' array
  • Comprehensive mode runs interaction + allergy + duplicate checks and returns an overall safety_status (safe/review/warning/critical)

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..