# Extract SWO Sections

> Perform Extract SWO Sections through Intake.

Source: [https://genhealth.ai/docs/workflows/integrations/intake/dynasplint_extract_swo_sections](https://genhealth.ai/docs/workflows/integrations/intake/dynasplint_extract_swo_sections)

Integration: [Intake](https://genhealth.ai/docs/workflows/integrations/intake.md)

- Handler: `dynasplint_extract_swo_sections`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "Intake",
  "params": {},
  "handler": "dynasplint_extract_swo_sections"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `sections` — Sections (json, required)
  Required JSON value.
- `section_defaults` — Section Defaults (json)
  Optional JSON value.

## Outputs

- `success` — Success
- `document_id` — Document Id
- `demographics` — Demographics
- `diagnoses` — Diagnoses
- `order` — Order
- `provider` — Provider
- `insurance` — Insurance
- `section_status` — Section Status
- `defaulted_sections` — Defaulted Sections
- `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": [
    "document_id",
    "sections"
  ],
  "properties": {
    "sections": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "section_defaults": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "order": {},
    "success": {},
    "provider": {},
    "diagnoses": {},
    "insurance": {},
    "document_id": {},
    "demographics": {},
    "section_status": {},
    "defaulted_sections": {}
  },
  "additionalProperties": true
}
```
