# FDA Device Reports With a Death Outcome (Last 6 Months)

**Use case:** 

Medical device adverse event reports of the last 180 days whose event type is Death, across all device families: report number, dates, device brand and type, manufacturer, product code, device and patient problem codes and a MAUDE link. For safety monitoring, regulatory affairs and journalists. Switch the event type to Injury or Malfunction, or add search words for one device type or manufacturer.

## Input

```json
{
  "mode": "deviceEvents",
  "productArea": "drug",
  "query": "insulin",
  "searchField": "auto",
  "eventTypes": [
    "Death"
  ],
  "sinceDays": 180,
  "onlyNew": false,
  "sortOrder": "newest",
  "maxItems": 15,
  "includeText": false
}
```

## Output

```json
{
  "reportNumber": {
    "label": "Report number",
    "format": "text"
  },
  "eventType": {
    "label": "Event type",
    "format": "text"
  },
  "dateReceived": {
    "label": "Received",
    "format": "date"
  },
  "dateOfEvent": {
    "label": "Event date",
    "format": "date"
  },
  "deviceBrandName": {
    "label": "Device brand",
    "format": "text"
  },
  "deviceGenericName": {
    "label": "Device type",
    "format": "text"
  },
  "deviceManufacturer": {
    "label": "Manufacturer",
    "format": "text"
  },
  "productCode": {
    "label": "Product code",
    "format": "text"
  },
  "productProblems": {
    "label": "Device problems",
    "format": "array"
  },
  "patientProblems": {
    "label": "Patient problems",
    "format": "array"
  },
  "detailUrl": {
    "label": "MAUDE report",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [openFDA API: FDA Recalls, Drug Labels & Device Reports](https://apify.com/yadroo/openfda-records.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yadroo/openfda-records.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/yadroo/openfda-records.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
