ReadmissionPredictionOMOP Task
Source:R/Task_ReadmissionPredictionOMOP.R
ReadmissionPredictionOMOP.RdTask for predicting hospital readmission using OMOP CDM dataset. Predicts whether a patient will be readmitted within a specified time window based on clinical information from the current visit.
Details
This task predicts whether a patient will be readmitted to the hospital within a specified time window (default 15 days) after the current visit. The prediction is based on clinical codes (conditions, procedures, drugs) from the current visit.
Label definition:
Label = 1 if the time gap between current visit and next visit < time_window
Label = 0 otherwise
The task excludes:
Patients with only one visit (no next visit to predict)
Visits without any clinical codes (conditions, procedures, or drugs)
Super class
RHealth::BaseTask -> ReadmissionPredictionOMOP
Public fields
task_nameName of the task.
input_schemaInput schema.
output_schemaOutput schema.
time_windowTime window in days for readmission prediction.
Methods
Method call()
Process a single patient to generate samples.