# Extract Patient Note

> Perform Extract Patient Note through GenHealth.

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

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

- Handler: `genhealth_extract_patient_note`

## Inputs

- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.
- `force` — Force (boolean)
  Optional true-or-false value.
  Default: `"false"`

## Outputs

- `success` — Success
- `document_id` — Document Id
- `saved` — Saved
- `skipped` — Skipped
- `reason` — Reason
- `note_text` — Note Text
- `note_drafts` — Note Drafts
- `metadata` — Metadata
- `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",
  "properties": {
    "force": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "saved": {},
    "reason": {},
    "skipped": {},
    "success": {},
    "metadata": {},
    "note_text": {},
    "document_id": {},
    "note_drafts": {}
  },
  "additionalProperties": true
}
```
