# Extract Emergency Contact

> Perform Extract Emergency Contact through GenHealth.

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

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

- Handler: `genhealth_extract_emergency_contact`

## Inputs

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

## Outputs

- `success` — Success
- `document_id` — Document Id
- `patient_id` — Patient Id
- `cached` — Cached
- `contact_name` — Contact Name
- `first_name` — First Name
- `middle_name` — Middle Name
- `last_name` — Last Name
- `relationship_type` — Relationship Type
- `address` — Address
- `address_2` — Address 2
- `city` — City
- `state` — State
- `zip` — Zip
- `country` — Country
- `phone` — Phone
- `mobile` — Mobile
- `email` — Email
- `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"
    },
    "prompt_override": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "zip": {},
    "city": {},
    "email": {},
    "error": {},
    "phone": {},
    "state": {},
    "cached": {},
    "mobile": {},
    "address": {},
    "country": {},
    "success": {},
    "address_2": {},
    "last_name": {},
    "first_name": {},
    "patient_id": {},
    "document_id": {},
    "middle_name": {},
    "contact_name": {},
    "relationship_type": {}
  },
  "additionalProperties": true
}
```
