Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://api.cvdprevent.nhs.uk

...

Key terms:

See below terms used in CVDPrevent API to describe key concepts.

Term

Description

Example

System Level

Grouping of Areas into comparable levels

England, Region, ICB, sub-ICB

Area

Geographical locality for which data was recorded

Bedfordshire, Luton and Milton Keynes ICB

Time Period

Time span in which data was recorded

To June 2024

Indicator

High-level performance measure

CVDP001AF is short reference for “Prevalence of GP recorded atrial fibrillation” indicator

Metric

Category break-down of Indicator

CVDP001AF – Male, Aged 18-39

...

Contents:

Table of Contents
minLevel1
maxLevel76
outlinefalse
styledefault
typelist
printabletrue

...

Time Period

/timePeriod

Returns all available time periods.

...

Code Block
languagejson
{
  "indicatorList": [
    {
      "AxisCharacter": "%",
      "DataUpdateInterval": null,
      "FormatDisplayName": "Proportion %", 
      "IndicatorCode": "CVDP002AF", 
      "IndicatorFormatID": 1, 
      "IndicatorID": 7, 
      "IndicatorName": "The percentage of patients aged 18 and over with GP recorded atrial fibrillation and a record of a CHA2DS2-VASc score of 2 or more who are currently treated with anticoagulation drug therapy", 
      "IndicatorOrder": 9,
      "IndicatorShortName": "CVD Prevalence",
      "IndicatorStatus": null
    },
    ...
  ]
}

...

*Proposed*/indicator/metricList

Info

Example: /indicator/metricList?timePeriodID=1&areaID=3&tagID=12&tagID=34

...

systemLevelID=2

Returns same data as “/indicator/list“, but adds a “MetricList“ array for each indicator, containing details of the relevant metrics.. Only returns indicators for which data exists in selected time period, and on selected system level.

Query parameters:

  • timePeriodID - time period to return data for (compulsory)

  • areaID systemLevelID - area system level to return data for (compulsory)

  • tagID - allows filtering indicators by one or more tags (optional, array)

Code Block
languagejson
{

  "indicatorList": [
      {
 
       "AxisCharacter": "%",

        "CategoriesDataUpdateInterval":[ null,
      "FormatDisplayName": "Proportion  %", 
{      "IndicatorCode": "CVDP002AF", 
       "CategoryAttributeIndicatorFormatID":"Persons" 1, 
      "IndicatorID": 7, 
      "DataIndicatorName":{ "The percentage of patients aged 18 and over with GP recorded atrial fibrillation and a record of  "AreaID":97,
                  "Count":105.0a CHA2DS2-VASc score of 2 or more who are currently treated with anticoagulation drug therapy", 
        "IndicatorOrder": 9,
        "DataIDIndicatorShortName":28489, "CVD Prevalence",
      "IndicatorStatus": null,
        "DenominatorMetricList":204430.0, [
        {
          "FactorCategoryAttribute":1.0 "Male",
                 "MetricCategoryName": "LowerConfidenceLimitMale":2.6,
      
           "MaxMetricCategoryTypeName":4.2,
                  "MedianSex":2.6,
  
               "MinMetricID":1.1, 124
        },
        "Numerator":5415.0,...
      ]
    },
      "Q20":1.1,...
                  "Q40":2.2,]
}

...

/indicator

Info

Example: /indicator?timePeriodID=1&areaID=3&tagID=12&tagID=34

Returns all indicators and data for given time period and area. Also returns time series data for all time periods available. If tags are specified, only indicators which have one of the specified tags will be returned.

Query parameters:

  • timePeriodID - time period to return data for (compulsory)

  • areaID - area to return data for (compulsory)

  • tagID - allows filtering indicators by one or more tags (optional, array)

Code Block
languagejson
{
   "indicatorList":[
      {
           "Q60AxisCharacter":2.7"%",
         "Categories":[
        "Q80":3.0,    {
               "TimePeriodIDCategoryAttribute":1"Persons",
                  "UpperConfidenceLimitData":2.7,{
                  "ValueAreaID":2.697,
                  "ValueNoteCount":""105.0,
                  }"DataID":28489,
                  "MetricCategoryIDDenominator":30204430.0,
                  "MetricCategoryNameFactor":"Persons"1.0,
                  "MetricCategoryOrderLowerConfidenceLimit":12.6,
                  "MetricCategoryTypeNameMax":"Sex",4.2,
                  "MetricIDMedian":1902.6,
                  "TimeSeriesMin":[1.1,
                  {
 "Numerator":5415.0,
                   "EndDateQ20":"Tue1.1,
31 Mar 2020 00:00:00 GMT",
                     "Median"Q40":2.62,
                     "StartDateQ60":"Mon2.7,
01 Jan 1900 00:00:00 GMT",
                     "TimePeriodIDQ80":13.0,
                     "TimePeriodNameTimePeriodID":"To March 2020",
  1,
                  "ValueUpperConfidenceLimit":2.67,
                   }"Value":2.6,
                  "ValueNote":""
  ]             },
               {"MetricCategoryID":30,
               "CategoryAttributeMetricCategoryName":"MalePersons",
               "DataMetricCategoryOrder":{1,
                  "AreaIDMetricCategoryTypeName":97,
  "Sex",
               "CountMetricID":105.0190,
               "TimeSeries":[
  "DataID":26956,                {
  "Denominator":101470.0,                   "Factor":1.0EndDate":"Tue, 31 Mar 2020 00:00:00 GMT",
                     "LowerConfidenceLimitMedian":32.06,
                     "Max":4.8,StartDate":"Mon, 01 Jan 1900 00:00:00 GMT",
                     "MedianTimePeriodID":3.1,
                     "MinTimePeriodName":1.2,"To March 2020",
                     "NumeratorValue":31302.0,6
                   "Q20":1.2,}
               ]
   "Q40":2.6,         },
         "Q60":3.1,   {
               "Q80CategoryAttribute":3.5"Male",
                  "TimePeriodIDData":1,{
                  "UpperConfidenceLimitAreaID":3.297,
                  "ValueCount":3105.10,
                  "ValueNoteDataID":""26956,
                  },"Denominator":101470.0,
                  "ExternalCategoryIDFactor":291.0,
                  "MetricCategoryIDLowerConfidenceLimit":29,3.0,
                  "MetricCategoryNameMax":"Male",4.8,
                  "MetricCategoryOrderMedian":23.1,
                  "MetricCategoryTypeNameMin":"Sex",1.2,
                  "MetricIDNumerator":1723130.0,
                  "TimeSeriesQ20":[
  1.2,
               {   "Q40":2.6,
                  "EndDate":"Tue, 31 Mar 2020 00:00:00 GMT",
 Q60":3.1,
                   "MedianQ80":3.15,
  
                  "StartDateTimePeriodID":"Mon1,
01 Jan 1900 00:00:00 GMT",                      "TimePeriodID"UpperConfidenceLimit":1,
  3.2,
                  "TimePeriodNameValue":"To March 2020"3.1,
                     "ValueValueNote":3.1""
               },
  }             "ExternalCategoryID":29,
  ]             },"MetricCategoryID":29,
               {"MetricCategoryName":"Male",
               "CategoryAttributeMetricCategoryOrder":"Female"2,
               "DataMetricCategoryTypeName":{"Sex",
                  "AreaIDMetricID":97172,
  
               "CountTimeSeries":105.0,[
                  "DataID":26949,{
                     "DenominatorEndDate":102960.0"Tue, 31 Mar 2020 00:00:00 GMT",
             "Factor":1.0,        "Median":3.1,
          "LowerConfidenceLimit":2.1,           "StartDate":"Mon, 01 Jan 1900 00:00:00 GMT",
  "Max":3.7,                   "MedianTimePeriodID":2.21,
                     "MinTimePeriodName":1.0"To March 2020",
                     "NumeratorValue":22853.0,1
                   "Q20":1.0,}
               ]
   "Q40":1.9,         },
         "Q60":2.2,   {
               "Q80CategoryAttribute":2.5,
 "Female",
                "TimePeriodIDData":1,{
                  "UpperConfidenceLimitAreaID":2.397,
                  "ValueCount":2105.20,
                  "ValueNoteDataID":""26949,
               },
               "ExternalCategoryID":28,"Denominator":102960.0,
                  "MetricCategoryIDFactor":281.0,
                  "MetricCategoryNameLowerConfidenceLimit":"Female"2.1,
                  "MetricCategoryOrderMax":3.7,
                  "MetricCategoryTypeNameMedian":"Sex"2.2,
                  "MetricIDMin":1711.0,
                  "TimeSeriesNumerator":[2285.0,
                  {"Q20":1.0,
                     "EndDate":"Tue, 31 Mar 2020 00:00:00 GMT"Q40":1.9,
                     "MedianQ60":2.2,
  
                  "StartDateQ80":"Mon2.5,
01 Jan 1900 00:00:00 GMT",
                     "TimePeriodID":1,
                     "TimePeriodNameUpperConfidenceLimit":"To March 2020"2.3,
                     "Value":2.2,
                  }"ValueNote":""
               ]},
            }   "ExternalCategoryID":28,
      ],          "DataUpdateIntervalMetricCategoryID": null,28,
               "FormatDisplayNameMetricCategoryName":"Proportion %Female",
         "IndicatorCode":"CVDP001AF",
         "IndicatorFormatIDMetricCategoryOrder":13,
         "IndicatorID":1,          "IndicatorNameMetricCategoryTypeName":"PrevalenceSex",
 of GP recorded Atrial Fibrillation in patients aged 18 and over",    "MetricID":171,
     "IndicatorOrder":1,          "IndicatorShortNameTimeSeries":[
"AF: prevalence",          "IndicatorStatus": null      {
}    ] }

...

/indicator/tags

Returns a list of all available tags, which can be used to filter indicators.

Query parameter:
None

Code Block
languagejson
{   "indicatorTagList": [     {       "IndicatorTagIDEndDate": 1"Tue, 31 Mar 2020 00:00:00 GMT",
  "IndicatorTagName": "Anticogulation drug therapy"     },      {       "IndicatorTagIDMedian": 2.2,
       "IndicatorTagName              "StartDate": "AtrialMon, Fibrillation"01 Jan 1900   }00:00:00 GMT",
     {       "IndicatorTagID": 3,        "IndicatorTagNameTimePeriodID":1,
 "Blood pressure measures"     }   ] }

/indicator/<indicator_ID>/details

Returns details of a single indicator

Query parameters:

None

Info

For age standardised indicators, there are two sets of Metadata for each Section - one for standard data, and one for age standardised data respectively. “AgeStandardised” attribute distinguishes between the two sets of MetaData.

Code Block
languagejson
{   "indicatorDetails": {     "DataUpdateIntervalTimePeriodName": null"To March 2020",
                     "Value":2.2
                  }
               ]
            }
         ],
         "DataUpdateInterval": null,
         "FormatDisplayName":"Proportion %",
         "IndicatorCode":"CVDP001AF",
         "CVDP001AFIndicatorFormatID":1,
         "IndicatorID": 1,
         "IndicatorName": "Prevalence of GP recorded Atrial Fibrillation in patients aged 18 and over", 
    "IndicatorOrder": 1, 
    "IndicatorShortName": "AF: prevalence",
    "IndicatorStatus": null,
    "MetaData": in patients aged 18 and over",
         "IndicatorOrder":1,
         "IndicatorShortName": "AF: prevalence",
         "IndicatorStatus": null
      }
   ]
}

...

/indicator/tags

Returns a list of all available tags, which can be used to filter indicators.

Query parameter:
None

Code Block
languagejson
{
  "indicatorTagList": [
    {
      "IndicatorTagID": 1, 
      "IndicatorTagName": "Anticogulation drug therapy"
    }, 
    {
      "IndicatorTagID": 2, 
      "IndicatorTagName": "Atrial Fibrillation"
    }, 
    {
      "IndicatorTagID": 3, 
      "IndicatorTagName": "Blood pressure measures"
    }
  ]
}

...

/indicator/<indicator_ID>/details

Returns details of a single indicator

Query parameters:

None

Info

For age standardised indicators, there are two sets of Metadata for each Section - one for standard data, and one for age standardised data respectively. “AgeStandardised” attribute distinguishes between the two sets of MetaData.

Code Block
languagejson
{
  "indicatorDetails": {
    "DataUpdateInterval": null,
    "IndicatorCode": "CVDP001AF", 
    "IndicatorID": 1, 
    "IndicatorName": "Prevalence of GP recorded Atrial Fibrillation in patients aged 18 and over", 
    "IndicatorOrder": 1, 
    "IndicatorShortName": "AF: prevalence",
    "IndicatorStatus": null,
    "MetaData": {
      "Section 1: Indicator Overview & Rationale": [
        {
          "AgeStandardised": "Y",
          "CategoryName": "Section 1: Indicator Overview & Rationale", 
          "MetaData": "Prevalence of GP recorded atrial fibrillation", 
          "MetaDataCategoryID": 1, 
          "MetaDataTitle": "Indicator title"
        }, 
        {
          "CategoryName": "Section 1: Indicator Overview & Rationale", 
          "MetaData": "Prevalence of GP recorded atrial fibrillation in patients aged 18 and over", 
          "MetaDataCategoryID": 1, 
          "MetaDataTitle": "Definition"
        }
      ]
    }
  }
}

...

/indicator/siblingData

Returns all sibling areas and their data for specified time period, area and metric. This endpoint is intended to only return data for selected metric, and not all metrics for a chosen indicator, hence the metricID query parameter.

Query parameters:

  • timePeriodID - time period for which to return data (compulsory)

  • areaID - area for which all sibling data will be returned (compulsory)

  • metricID - metric for which to return data (compulsory)

Code Block
languagejson
{
  "siblingData": {
    "CategoryAttribute": "Female", 
    "Data": [
      {
        "AreaCode": "E54000029", 
        "AreaID": 30, 
        "AreaName": "East London Health and Care Partnership", 
        "Count": 42.0, 
        "DataID": 4812, 
        "Denominator": 77090.0, 
        "Factor": 1.0, 
        "LowerConfidenceLimit": 73.3, 
        "Max": 73.6, 
        "Median": 68.8, 
        "Min": 64.0, 
        "Numerator": 56745.0, 
        "Q20": 64.0, 
        "Q40": 67.2, 
        "Q60": 68.9, 
        "Q80": 69.9, 
        "SystemLevelID": 2, 
        "SystemLevelName": "STP", 
        "TimePeriodID": 1, 
        "TimePeriodName": "To March 2020", 
        "UpperConfidenceLimit": 73.9, 
        "Value": 73.6, 
        "ValueNote": ""
      }, 
      {
        "AreaCode": "E54000050", 
        "AreaID": 38, 
        "AreaName": "Cumbria and North East", 
        "Count": 42.0, 
        "DataID": 4821, 
        "Denominator": 150670.0, 
        "Factor": 1.0, 
        "LowerConfidenceLimit": 71.2, 
        "Max": 73.6, 
        "Median": 68.8, 
        "Min": 64.0, 
        "Numerator": 107555.0, 
        "Q20": 64.0, 
        "Q40": 67.2, 
        "Q60": 68.9, 
        "Q80": 69.9, 
        "SystemLevelID": 2, 
        "SystemLevelName": "STP", 
        "TimePeriodID": 1, 
        "TimePeriodName": "To March 2020", 
        "UpperConfidenceLimit": 71.6, 
        "Value": 71.4, 
        "ValueNote": ""
      }
    ], 
    "IndicatorCode": "CVDP002HYP", 
    "IndicatorID": 2, 
    "IndicatorName": "The percentage of patients aged 18 to 79 years with GP recorded hypertension, in whom the last blood pressure reading within the preceding 12 months is equal to 140/90 mmHg or less", 
    "IndicatorOrder": 5, 
    "IndicatorShortName": "AF: prevalence",
    "MetricCategoryID": 28, 
    "MetricCategoryName": "Female", 
    "MetricCategoryOrder": 3, 
    "MetricCategoryTypeName": "Sex"
  }
}

...

/indicator/childData

Returns all children areas and their data for specified time period, area and metric. This endpoint is intended to only return data for selected metric, and not all metrics for indicators, hence the metricID query parameter.

Query parameters:

  • timePeriodID - time period for which to return data (compulsory)

  • areaID - area for which all children data will be returned (compulsory)

  • metricID - metric for which to return data (compulsory)

Code Block
{
  "childData": {
    "CategoryAttribute": "Female", 
    "Data": [
      {
        "AreaCode": "E38000257", 
        "AreaID": 74, 
        "AreaName": "NHS Shropshire, Telford and Wrekin CCG", 
        "Count": 105.0, 
        "DataID": 5896, 
        "Denominator": 20615.0, 
        "Factor": 1.0, 
        "LowerConfidenceLimit": 65.4, 
        "Max": 75.5, 
        "Median": 69.0, 
        "Min": 61.6, 
        "Numerator": 13625.0, 
        "Q20": 61.6, 
        "Q40": 67.1, 
        "Q60": 69.1, 
        "Q80": 71.0, 
        "SystemLevelID": 3, 
        "SystemLevelName": "CCG", 
        "TimePeriodID": 1, 
        "TimePeriodName": "To March 2020", 
        "UpperConfidenceLimit": 66.7, 
        "Value": 66.1, 
        "ValueNote": ""
      }
    ], 
    "IndicatorCode": "CVDP002HYP", 
    "IndicatorID": 2, 
    "IndicatorName": "The percentage of patients aged 18 to 79 years with GP recorded hypertension, in whom the last blood pressure reading within the preceding 12 months is equal to 140/90 mmHg or less", 
    "IndicatorOrder": 5, 
    "IndicatorShortName": "AF: prevalence",
    "MetricCategoryID": 28, 
    "MetricCategoryName": "Female", 
    "MetricCategoryOrder": 3, 
    "MetricCategoryTypeName": "Sex"
  }
}

...

/indicator/<indicator_id>/data

Returns all metric data for a specified indicator. Data will include values for both selected area, and organisation at National Level (usually England).

Query parameters:

  • timePeriodID - time period for which to return data for (compulsory)

  • areaID - area for which to return data for (compulsory)

Code Block
languagejson
{
  "indicatorData": {
    "AxisCharacter": "%", 
    "Categories": [
      {
      "Section 1: Indicator Overview & Rationale": [
        "AreaData": {
          "AgeStandardisedAreaCode": "YE54000011", 
          "CategoryNameAreaID": "Section 1: Indicator Overview & Rationale"2, 
          "MetaDataAreaName": "PrevalenceShropshire ofand GPTelford recordedand atrial fibrillationWrekin", 
          "MetaDataCategoryIDCount": 142.0, 
          "MetaDataTitleDataID": "Indicator title"
        }, 
 5164, 
     {           "CategoryName"Denominator": "Section 1: Indicator Overview & Rationale"43950.0, 
          "MetaDataFactor": "Prevalence of GP recorded atrial fibrillation in patients aged 18 and over"1.0, 
          "LowerConfidenceLimit": 63.6, 
          "MetaDataCategoryIDMax": 171.5, 
          "MetaDataTitleMedian": "Definition"67.3, 
        }  "Min": 62.1, 
  ]     }   }
}

/indicator/siblingData

Returns all sibling areas and their data for specified time period, area and metric. This endpoint is intended to only return data for selected metric, and not all metrics for a chosen indicator, hence the metricID query parameter.

Query parameters:

  • timePeriodID - time period for which to return data (compulsory)

  • areaID - area for which all sibling data will be returned (compulsory)

  • metricID - metric for which to return data (compulsory)

Code Block
languagejson
{
  "siblingData": {"Numerator": 28155.0, 
          "Q20": 62.1, 
          "CategoryAttributeQ40": "Female"66.3, 
    "Data":  [    "Q60": 67.4, 
{          "AreaCodeQ80": "E54000029"68.1, 
          "AreaIDTimePeriodID": 301, 
          "AreaNameUpperConfidenceLimit": "East London Health and Care Partnership"64.5, 
          "Value": 64.1, 
          "CountValueNote": 42.0""
        }, 
        "DataIDCategoryAttribute": 4812"Persons", 
        "DenominatorExternalCategoryID": 77090.030, 
        "FactorMetricCategoryID": 1.030, 
        "LowerConfidenceLimitMetricCategoryName": 73.3"Persons", 
        "MaxMetricCategoryOrder": 73.61, 
        "MedianMetricCategoryTypeName": 68.8"Sex", 
        "MinNationalData": 64.0,{
          "NumeratorAreaCode": 56745.0"E92000001", 
          "Q20AreaID": 64.01, 
          "Q40AreaName": 67.2,"England", 
          "Q60Count": 68.9null, 
          "Q80DataID": 69.94748, 
          "SystemLevelIDDenominator": 25068900.0, 
          "SystemLevelNameFactor": "STP"1.0, 
          "TimePeriodIDLowerConfidenceLimit": 167.5, 
          "TimePeriodNameMax": "Tonull, March
2020",          "UpperConfidenceLimitMedian": 73.9null, 
          "ValueMin": 73.6null, 
          "ValueNoteNumerator": ""3422314.0, 
      },    "Q20": null, 
 {         "AreaCodeQ40": "E54000050"null, 
          "AreaIDQ60": 38null, 
          "AreaNameQ80": "Cumbrianull, and
North East",          "CountTimePeriodID": 42.01, 
          "DataIDUpperConfidenceLimit": 482167.6, 
          "DenominatorValue": 15067067.05, 
          "FactorValueNote": 1.0, ""
        }
 "LowerConfidenceLimit": 71.2,    }, 
    "Max": 73.6, {
        "MedianAreaData": 68.8,{
          "MinAreaCode": 64.0"E54000011", 
          "NumeratorAreaID": 107555.02, 
          "Q20AreaName": 64.0, "Shropshire and Telford and Wrekin", 
          "Q40Count": 6742.20, 
          "Q60DataID": 68.94749, 
          "Q80Denominator": 6923330.90, 
          "SystemLevelIDFactor": 21.0, 
          "SystemLevelNameLowerConfidenceLimit": "STP",61.7, 
          "TimePeriodIDMax": 169.7, 
          "TimePeriodNameMedian": "To March 2020",65.85, 
          "UpperConfidenceLimitMin": 7160.64, 
          "ValueNumerator": 7114535.40, 
          "ValueNoteQ20": ""60.4, 
     }     ], 
    "IndicatorCode"Q40": "CVDP002HYP"65.2, 
    "IndicatorID": 2,      "IndicatorNameQ60": "The percentage of patients aged 18 to 79 years with GP recorded hypertension, in whom the last blood pressure reading within the preceding 12 months is equal to 140/90 mmHg or less",65.9, 
          "Q80": 66.9, 
          "TimePeriodID": 1, 
          "IndicatorOrderUpperConfidenceLimit": 5,62.9, 
          "IndicatorShortNameValue": "AF: prevalence"62.3, 
   "MetricCategoryID": 28,      "MetricCategoryNameValueNote": "Female",
       "MetricCategoryOrder": 3}, 
        "MetricCategoryTypeNameCategoryAttribute": "SexMale", 
 }
}

/indicator/childData

Returns all children areas and their data for specified time period, area and metric. This endpoint is intended to only return data for selected metric, and not all metrics for indicators, hence the metricID query parameter.

Query parameters:

  • timePeriodID - time period for which to return data (compulsory)

  • areaID - area for which all children data will be returned (compulsory)

  • metricID - metric for which to return data (compulsory)

Code Block
{
  "childData": {       "ExternalCategoryID": 29, 
        "MetricCategoryID": 29, 
        "CategoryAttributeMetricCategoryName": "Male", 
        "FemaleMetricCategoryOrder": 2, 
        "DataMetricCategoryTypeName": [ "Sex", 
        "NationalData": {
          "AreaCode": "E38000257E92000001", 
          "AreaID": 741, 
          "AreaName": "England"NHS Shropshire, Telford
and Wrekin CCG",          "Count": 105.0null, 
          "DataID": 58964725, 
          "Denominator": 206152662000.0, 
          "Factor": 1.0, 
          "LowerConfidenceLimit": 6566.42, 
          "Max": 75.5null, 
          "Median": 69.0null, 
          "Min": 61.6null, 
          "Numerator": 136251762593.0, 
          "Q20": 61.6null, 
          "Q40": 67.1null, 
          "Q60": 69.1null, 
          "Q80": 71.0null, 
          "SystemLevelIDTimePeriodID": 31, 
          "SystemLevelNameUpperConfidenceLimit": "CCG"66.3, 
          "TimePeriodIDValue": 166.2, 
          "TimePeriodNameValueNote": "To March 2020",
         "UpperConfidenceLimit": 66.7,}
      }
   "Value": 66.1, 
 ], 
      "ValueNoteFormatDisplayName": "Proportion %", 
     }
    ]"IndicatorCode": "CVDP002HYP", 
    "IndicatorCodeIndicatorFormatID": "CVDP002HYP"1, 
    "IndicatorID": 2, 
    "IndicatorName": "The percentage of patients aged 18 to 79 years with GP recorded hypertension, in whom the last blood pressure reading within the preceding 12 months is equal to 140/90 mmHg or less", 
    "IndicatorOrder": 5, 
    "IndicatorShortName": "AF: prevalence",
    "MetricCategoryIDTimePeriodID": 281, 
    "MetricCategoryNameTimePeriodName": "Female",To March     "MetricCategoryOrder": 3, 
    "MetricCategoryTypeName": "Sex"
  2020"
  }
}

...

*Proposed*/indicator/metric/

...

<metric_id>/data

Returns all metric data for a specified indicatormetric. Data will include values for both selected area, and organisation at National Level (usually England).

...

Code Block
languagejson
{
  "indicatorData": {
    "AxisCharacter": "%", 
    "Categories": [
      {
        "AreaData": {
          "AreaCode": "E54000011", 
          "AreaID": 2, 
          "AreaName": "Shropshire and Telford and Wrekin", 
          "Count": 42.0, 
          "DataID": 5164, 
          "Denominator": 43950.0, 
          "Factor": 1.0, 
          "LowerConfidenceLimit": 63.6, 
          "Max": 71.5, 
          "Median": 67.3, 
          "Min": 62.1, 
          "Numerator": 28155.0, 
          "Q20": 62.1, 
          "Q40": 66.3, 
          "Q60": 67.4, 
          "Q80": 68.1, 
          "TimePeriodID": 1, 
          "UpperConfidenceLimit": 64.5, 
          "Value": 64.1, 
          "ValueNote": ""
        }, 
        "CategoryAttribute": "Persons", 
        "ExternalCategoryID": 30, 
        "MetricCategoryID": 30, 
        "MetricCategoryName": "Persons", 
        "MetricCategoryOrder": 1, 
        "MetricCategoryTypeName": "Sex", 
        "NationalData": {
          "AreaCode": "E92000001", 
          "AreaID": 1, 
          "AreaName": "England", 
          "Count": null, 
          "DataID": 4748, 
          "Denominator": 5068900.0, 
          "Factor": 1.0, 
          "LowerConfidenceLimit": 67.5, 
          "Max": null, 
          "Median": null, 
          "Min": null, 
          "Numerator": 3422314.0, 
          "Q20": null, 
          "Q40": null, 
          "Q60": null, 
          "Q80": null, 
          "TimePeriodID": 1, 
          "UpperConfidenceLimit": 67.6, 
          "Value": 67.5, 
          "ValueNote": ""
        }
      }, 
      {
        "AreaData": {
          "AreaCode": "E54000011", 
          "AreaID": 2, 
          "AreaName": "Shropshire and Telford and Wrekin", 
          "Count": 42.0, 
          "DataID": 4749, 
          "Denominator": 23330.0, 
          "Factor": 1.0, 
          "LowerConfidenceLimit": 61.7, 
          "Max": 69.7, 
          "Median": 65.85, 
          "Min": 60.4, 
          "Numerator": 14535.0, 
          "Q20": 60.4, 
          "Q40": 65.2, 
          "Q60": 65.9, 
          "Q80": 66.9, 
          "TimePeriodID": 1, 
          "UpperConfidenceLimit": 62.9, 
          "Value": 62.3, 
          "ValueNote": ""
        }, 
        "CategoryAttribute": "Male", 
        "ExternalCategoryID": 29, 
        "MetricCategoryID": 29, 
        "MetricCategoryName": "Male", 
        "MetricCategoryOrder": 2, 
        "MetricCategoryTypeName": "Sex", 
        "NationalData": {
          "AreaCode": "E92000001", 
          "AreaID": 1, 
          "AreaName": "England", 
          "Count": null, 
          "DataID": 4725, 
          "Denominator": 2662000.0, 
          "Factor": 1.0, 
          "LowerConfidenceLimit": 66.2, 
          "Max": null, 
          "Median": null, 
          "Min": null, 
          "Numerator": 1762593.0, 
          "Q20": null, 
          "Q40": null, 
          "Q60": null, 
          "Q80": null, 
          "TimePeriodID": 1, 
          "UpperConfidenceLimit": 66.3, 
          "Value": 66.2, 
          "ValueNote": ""
        }
      }
    ], 
    "FormatDisplayName": "Proportion %", 
    "IndicatorCode": "CVDP002HYP", 
    "IndicatorFormatID": 1, 
    "IndicatorID": 2, 
    "IndicatorName": "The percentage of patients aged 18 to 79 years with GP recorded hypertension, in whom the last blood pressure reading within the preceding 12 months is equal to 140/90 mmHg or less", 
    "IndicatorOrder": 5, 
    "IndicatorShortName": "AF: prevalence",
    "TimePeriodID": 1, 
    "TimePeriodName": "To March 2020"
  }
}

...

...

/indicator/<indicator_ID>/rawDataJSON

...