Get Best Compliance Report
Perform Get Best Compliance Report through React Health.
reacthealth_best_compliance_reportreadreacthealth
Use in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "React Health",
"params": {
"period_days": 30,
"lookback_days": 88,
"skip_if_empty": false
},
"handler": "reacthealth_best_compliance_report"
}Inputs
- Reacthealth Patient Id
reacthealth_patient_idexpressionOptional literal value or workflow expression.
- Lookback End Date
lookback_end_dateexpressionOptional literal value or workflow expression.
- Lookback Days
lookback_daysnumberOptional numeric value.
Default:
88 - Period Days
period_daysnumberOptional numeric value.
Default:
30 - Skip If Empty
skip_if_emptybooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessskippedSkippedfailure_categoryFailure Categorydocument_idDocument Idrequested_period_beginRequested Period Beginrequested_period_endRequested Period Endrequested_period_daysRequested Period Daysreport_start_dateReport Start Datereport_end_dateReport End Datedays_in_periodDays In Perioddays_usedDays Usedusage_threshold_hoursUsage Threshold Hoursdays_at_or_above_thresholdDays At Or Above Thresholdbest_window_startBest Window Startbest_window_endBest Window Endbest_window_days_metBest Window Days Metaverage_usage_days_used_minutesAverage Usage Days Used Minutestherapy_modeTherapy ModeretryableRetryableerrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"properties": {
"period_days": {
"type": "number",
"default": 30,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"lookback_days": {
"type": "number",
"default": 88,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"skip_if_empty": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"lookback_end_date": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"reacthealth_patient_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"skipped": {},
"success": {},
"days_used": {},
"retryable": {},
"document_id": {},
"therapy_mode": {},
"days_in_period": {},
"best_window_end": {},
"report_end_date": {},
"failure_category": {},
"best_window_start": {},
"report_start_date": {},
"best_window_days_met": {},
"requested_period_end": {},
"requested_period_days": {},
"usage_threshold_hours": {},
"requested_period_begin": {},
"days_at_or_above_threshold": {},
"average_usage_days_used_minutes": {}
},
"additionalProperties": true
}