Skip to main content
GET
/
medical
/
v1
/
care-gaps
List Care Gaps
curl --request GET \
  --url https://api.sandbox.metriport.com/medical/v1/care-gaps \
  --header 'x-api-key: <api-key>'
curl -X GET 'https://api.metriport.com/medical/v1/care-gaps' \
  -H 'x-api-key: YOUR_API_KEY'
Analytics must be enabled for your account to receive data from this endpoint. Contact us to get started.
Returns a paginated list of care gaps. Each result is a FHIR Bundle containing a MeasureReport resource and a Parameters resource with supporting calculation details for that patient and measure. You can optionally filter by a specific patient. For more context on care gaps and how to interpret results, see the Care Gaps guide.

Query Params

patientId
string
The ID of the Patient to filter care gaps for. If omitted, returns care gaps across all patients in your organization.
limit
number
Maximum number of results to return. Must be between 1 and 100. Defaults to 20.
offset
number
Number of results to skip for pagination. Must be 0 or greater. Defaults to 0.

Response

metadata
object
required
Pagination metadata.
results
Bundle[]
required
Array of FHIR Bundle resources. Each bundle contains a MeasureReport and a Parameters resource.
curl -X GET 'https://api.metriport.com/medical/v1/care-gaps' \
  -H 'x-api-key: YOUR_API_KEY'
Response
{
  "metadata": {
    "total": 1,
    "limit": 20,
    "offset": 0
  },
  "results": [
    {
      "resourceType": "Bundle",
      "type": "collection",
      "entry": [
        {
          "fullUrl": "urn:uuid:11111111-1111-1111-1111-111111111111",
          "resource": {
            "resourceType": "MeasureReport",
            "id": "BreastCancerScreening.00000000-0000-0000-0000-000000000000.2025-01-01",
            "status": "complete",
            "type": "individual",
            "measure": "http://ncqa.org/fhir/Measure/BreastCancerScreening",
            "subject": {
              "reference": "Patient/00000000-0000-0000-0000-000000000000"
            },
            "period": {
              "start": "2025-01-01",
              "end": "2025-12-31"
            },
            "extension": [
              {
                "url": "https://public.metriport.com/fhir/StructureDefinition/job-id",
                "valueString": "11111111-1111-1111-1111-111111111111"
              }
            ],
            "group": [
              {
                "id": "BreastCancerScreening",
                "code": {
                  "coding": [
                    {
                      "system": "https://ncqa.org/fhir/CodeSystem/measure-group",
                      "code": "BreastCancerScreening"
                    }
                  ]
                },
                "population": [
                  {
                    "code": {
                      "coding": [
                        {
                          "system": "https://ncqa.org/fhir/CodeSystem/measure-group",
                          "code": "initial-population"
                        }
                      ]
                    },
                    "count": 1
                  },
                  {
                    "code": {
                      "coding": [
                        {
                          "system": "https://ncqa.org/fhir/CodeSystem/measure-group",
                          "code": "denominator"
                        }
                      ]
                    },
                    "count": 1
                  },
                  {
                    "code": {
                      "coding": [
                        {
                          "system": "https://ncqa.org/fhir/CodeSystem/measure-group",
                          "code": "denominator-exclusion"
                        }
                      ]
                    },
                    "count": 0
                  },
                  {
                    "code": {
                      "coding": [
                        {
                          "system": "https://ncqa.org/fhir/CodeSystem/measure-group",
                          "code": "numerator"
                        }
                      ]
                    },
                    "count": 0
                  }
                ]
              }
            ]
          }
        },
        {
          "fullUrl": "urn:uuid:22222222-2222-2222-2222-222222222222",
          "resource": {
            "resourceType": "Parameters",
            "parameter": [
              {
                "name": "Age at end of measurement period",
                "valueInteger": 42
              },
              {
                "name": "Is continuously enrolled",
                "valueBoolean": true
              },
              {
                "name": "Mammography screening period",
                "valuePeriod": {
                  "start": "2023-10-01",
                  "end": "2025-12-31"
                }
              }
            ]
          }
        }
      ]
    }
  ]
}