# Open Payments Teaching Hospital Data Task

**Use case:** 

Collect public Open Payments teaching hospital entity data with available organization details, locations, identifiers, and payment facts.

## Input

```json
{
  "sourceUrls": [
    {
      "url": "https://openpaymentsdata.cms.gov/"
    }
  ],
  "entitySearchTerms": [
    "Massachusetts General Hospital"
  ],
  "paymentCategory": "all",
  "maxResults": 10
}
```

## Output

```json
{
  "rowType": {
    "label": "Type",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "entityType": {
    "label": "Entity type",
    "format": "text"
  },
  "classification": {
    "label": "Classification",
    "format": "text"
  },
  "location.state": {
    "label": "State",
    "format": "text"
  },
  "recipient.state": {
    "label": "State",
    "format": "text"
  },
  "paymentCategory": {
    "label": "Category",
    "format": "text"
  },
  "programYear": {
    "label": "Year",
    "format": "number"
  },
  "paymentDate": {
    "label": "Payment date",
    "format": "date"
  },
  "recipient.name": {
    "label": "Recipient",
    "format": "text"
  },
  "payer.name": {
    "label": "Payer",
    "format": "text"
  },
  "amountUsd": {
    "label": "Amount USD",
    "format": "number"
  },
  "natureOfPayment": {
    "label": "Nature",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [CMS Open Payments Scraper](https://apify.com/maximedupre/cms-open-payments-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/cms-open-payments-scraper) to learn more, explore other use cases, and run it yourself.