# Prepare CMN Recertification Dates

> Perform Prepare CMN Recertification Dates through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_prepare_cmn_recertification](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_prepare_cmn_recertification)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_prepare_cmn_recertification`

- Connection type: `brightree`

## Inputs

- `cmn_key` — Cmn Key (expression, required)
  Required literal value or workflow expression.
- `cmn_form_key` — Cmn Form Key (expression, required)
  Required literal value or workflow expression.
- `patient_key` — Patient Key (expression, required)
  Required literal value or workflow expression.
- `ordering_doctor_key` — Ordering Doctor Key (expression, required)
  Required literal value or workflow expression.
- `source_expiration_date` — Source Expiration Date (date, required)
  Required date in YYYY-MM-DD format.
- `report_provider_fax_present` — Report Provider Fax Present (boolean, required)
  Required true-or-false value.
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `true`

## Outputs

- `success` — Success
- `dry_run` — Dry Run
- `prepared` — Prepared
- `noop` — Noop
- `manual_review_required` — Manual Review Required
- `retryable` — Retryable
- `idempotency_reused` — Idempotency Reused
- `outreach_status` — Outreach Status
- `cmn_key` — Cmn Key
- `cmn_form_key` — Cmn Form Key
- `patient_key` — Patient Key
- `ordering_doctor_key` — Ordering Doctor Key
- `source_expiration_date` — Source Expiration Date
- `fax_cycle_expiration_date` — Fax Cycle Expiration Date
- `length_of_need_months` — Length Of Need Months
- `proposed_recertification_date` — Proposed Recertification Date
- `proposed_expiration_date` — Proposed Expiration Date
- `mismatches` — Mismatches
- `message` — Message
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: yes

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "cmn_key",
    "cmn_form_key",
    "patient_key",
    "ordering_doctor_key",
    "source_expiration_date",
    "report_provider_fax_present"
  ],
  "properties": {
    "cmn_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "dry_run": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "patient_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "cmn_form_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "ordering_doctor_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "source_expiration_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "report_provider_fax_present": {
      "type": "boolean",
      "description": "Required true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "noop": {},
    "error": {},
    "cmn_key": {},
    "dry_run": {},
    "message": {},
    "success": {},
    "prepared": {},
    "retryable": {},
    "mismatches": {},
    "patient_key": {},
    "cmn_form_key": {},
    "outreach_status": {},
    "idempotency_reused": {},
    "ordering_doctor_key": {},
    "length_of_need_months": {},
    "manual_review_required": {},
    "source_expiration_date": {},
    "proposed_expiration_date": {},
    "fax_cycle_expiration_date": {},
    "proposed_recertification_date": {}
  },
  "additionalProperties": true
}
```
