# CMS Hospital Quality Data Extractor

**Use case:** 

Find and extract public CMS hospital quality datasets for provider directory enrichment and healthcare market analysis.

## Input

```json
{
  "datasetSearch": "hospital quality",
  "datasetIds": [
    "23ew-n7w9"
  ],
  "maxRows": 250,
  "rowsPerDataset": 50,
  "pageSize": 100,
  "state": "AL",
  "includeRawFields": false,
  "includeDatasetMetadata": true
}
```

## Output

```json
{
  "datasetId": {
    "label": "Dataset ID"
  },
  "datasetTitle": {
    "label": "Dataset"
  },
  "providerId": {
    "label": "Provider ID"
  },
  "npi": {
    "label": "NPI"
  },
  "ccn": {
    "label": "CCN"
  },
  "name": {
    "label": "Name"
  },
  "providerType": {
    "label": "Provider type"
  },
  "specialty": {
    "label": "Specialty"
  },
  "ownership": {
    "label": "Ownership"
  },
  "rating": {
    "label": "Rating"
  },
  "addressLine1": {
    "label": "Address line 1"
  },
  "addressLine2": {
    "label": "Address line 2"
  },
  "city": {
    "label": "City"
  },
  "state": {
    "label": "State"
  },
  "zipCode": {
    "label": "ZIP"
  },
  "county": {
    "label": "County"
  },
  "phone": {
    "label": "Phone"
  },
  "sourceApiUrl": {
    "label": "Source API URL"
  },
  "sourceRowIndex": {
    "label": "Source row index"
  },
  "scrapedAt": {
    "label": "Scraped at"
  },
  "dataset": {
    "label": "Dataset metadata"
  },
  "raw": {
    "label": "Raw CMS fields"
  }
}
```

## About this Actor

This example demonstrates how to use [CMS Medicare Provider Scraper](https://apify.com/automation-lab/cms-medicare-provider-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/cms-medicare-provider-scraper) to learn more, explore other use cases, and run it yourself.