# Reconcile DOS Encounter Status

> Perform Reconcile DOS Encounter Status through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/reconcile_dos_encounter_status](https://genhealth.ai/docs/workflows/integrations/gen-health/reconcile_dos_encounter_status)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `reconcile_dos_encounter_status`

## Inputs

- `visit_date` — Visit Date (date, required)
  Required date in YYYY-MM-DD format.
- `encounters` — Encounters (json, required)
  Required JSON value.
- `terminal_statuses` — Terminal Statuses (text)
  Optional text value.
  Default: `"released,_REFERRAL,_E Pending"`

## Outputs

- `success` — Success
- `visit_date` — Visit Date
- `total_count` — Total Count
- `terminal_count` — Terminal Count
- `gap_count` — Gap Count
- `gap_summary` — Gap Summary
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "visit_date",
    "encounters"
  ],
  "properties": {
    "encounters": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "visit_date": {
      "type": "string",
      "format": "date",
      "description": "Required date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "terminal_statuses": {
      "type": "string",
      "default": "released,_REFERRAL,_E Pending",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "gap_count": {},
    "visit_date": {},
    "gap_summary": {},
    "total_count": {},
    "terminal_count": {}
  },
  "additionalProperties": true
}
```
