Clinical Alert and Threshold Monitoring System provides real-time monitoring of clinical parameters with customizable alert thresholds and priority-based warnings for evidence-based clinical decision support.
Usage
clinicalalerts(
data,
clinicalVars,
patientId,
timeVar,
alert_summary = TRUE,
detailed_alerts = TRUE,
clinical_recommendations = TRUE,
patient_analysis = FALSE,
trend_analysis = FALSE,
use_clinical_defaults = TRUE,
custom_thresholds = FALSE,
include_medium_priority = TRUE,
include_low_priority = FALSE,
confidence_level = 0.95,
alert_dashboard = TRUE,
threshold_plots = FALSE,
trend_plots = FALSE,
interpretation_guide = TRUE,
evidence_references = FALSE,
quality_metrics = FALSE
)Arguments
- data
.
- clinicalVars
Clinical variables to monitor (laboratory values, vital signs, etc.)
- patientId
Patient identifier for patient-specific monitoring (optional)
- timeVar
Time variable for longitudinal monitoring (optional)
- alert_summary
Show summary of alerts by priority level
- detailed_alerts
Show detailed table of all threshold violations
- clinical_recommendations
Show evidence-based clinical recommendations
- patient_analysis
Show per-patient alert analysis (requires Patient ID)
- trend_analysis
Show temporal patterns in alerts (requires Time Variable)
- use_clinical_defaults
Use evidence-based clinical default thresholds
- custom_thresholds
Enable custom threshold configuration
- include_medium_priority
Include medium priority threshold violations
- include_low_priority
Include low priority threshold violations
- confidence_level
Confidence level for statistical calculations
- alert_dashboard
Create visual dashboard of alert status
- threshold_plots
Create plots showing threshold violations
- trend_plots
Create trend plots over time (requires Time Variable)
- interpretation_guide
Show clinical interpretation guidelines
- evidence_references
Show references for threshold recommendations
- quality_metrics
Show quality assurance and safety metrics
Value
A results object containing:
results$todo | a html | ||||
results$summary | a html | ||||
results$alertSummary | a table | ||||
results$detailedAlerts | a table | ||||
results$clinicalRecommendations | a table | ||||
results$patientAnalysis | a table | ||||
results$trendAnalysis | a table | ||||
results$alertDashboard | an image | ||||
results$thresholdPlots | an image | ||||
results$trendPlots | an image | ||||
results$interpretationGuide | a html | ||||
results$evidenceReferences | a html | ||||
results$qualityMetrics | a html | ||||
results$technicalNotes | a html |
Tables can be converted to data frames with asDF or as.data.frame. For example:
results$alertSummary$asDF
as.data.frame(results$alertSummary)
Examples
data('histopathology', package='ClinicoPath')
# Basic clinical alert monitoring
clinicalalerts(histopathology,
clinicalVars = 'Age',
alert_summary = TRUE,
detailed_alerts = TRUE)