Skip to documentation
React Health integration

Get Best Compliance Report

Perform Get Best Compliance Report through React Health.

View as Markdown
reacthealth_best_compliance_report
readreacthealth

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"
}

Action contracts and connections · Run recovery

Inputs

  • reacthealth_patient_id
    expression
    Reacthealth Patient Id

    Optional literal value or workflow expression.

  • lookback_end_date
    expression
    Lookback End Date

    Optional literal value or workflow expression.

  • lookback_days
    number
    Lookback Days

    Optional numeric value.

    Default: 88

  • period_days
    number
    Period Days

    Optional numeric value.

    Default: 30

  • skip_if_empty
    boolean
    Skip If Empty

    Optional true-or-false value.

    Default: false

Outputs

  • successSuccess
  • skippedSkipped
  • failure_categoryFailure Category
  • document_idDocument Id
  • requested_period_beginRequested Period Begin
  • requested_period_endRequested Period End
  • requested_period_daysRequested Period Days
  • report_start_dateReport Start Date
  • report_end_dateReport End Date
  • days_in_periodDays In Period
  • days_usedDays Used
  • usage_threshold_hoursUsage Threshold Hours
  • days_at_or_above_thresholdDays At Or Above Threshold
  • best_window_startBest Window Start
  • best_window_endBest Window End
  • best_window_days_metBest Window Days Met
  • average_usage_days_used_minutesAverage Usage Days Used Minutes
  • therapy_modeTherapy Mode
  • retryableRetryable
  • errorError

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
}
View all React Health actions