# Extract Order Tags

> Perform Extract Order Tags through GenHealth.

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

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

- Handler: `extract_order_tags`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `patient_id` — Patient Id (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `tag_ids` — Tag Ids
- `tag_summaries` — Tag Summaries
- `notes` — Notes
- `delivery_zip` — Delivery Zip
- `discharge_status` — Discharge Status
- `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",
    "patient_id"
  ],
  "properties": {
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "notes": {},
    "success": {},
    "tag_ids": {},
    "delivery_zip": {},
    "tag_summaries": {},
    "discharge_status": {}
  },
  "additionalProperties": true
}
```
