diff --git a/sandbox/Sandbox endpoints - localhost.md b/sandbox/Sandbox endpoints - localhost.md index 7aacf45..58d4445 100644 --- a/sandbox/Sandbox endpoints - localhost.md +++ b/sandbox/Sandbox endpoints - localhost.md @@ -12,6 +12,11 @@ [Manifest Pages - Page 2](http://localhost:9000/manifest/pages/?page=2) +## Health A to Z + +[Health A to Z Root](http://localhost:9000/health-a-to-z/) + +[Health A to Z: Common conditions](http://localhost:9000/health-a-to-z/conditions) ## Conditions @@ -168,3 +173,23 @@ [Tests and treatments - Page: 1](http://localhost:9000/tests-and-treatments/?page=1) [Tests and treatments - Page: 7](http://localhost:9000/tests-and-treatments/?page=7) + +## Baby + +[Baby Root](http://localhost:9000/baby/) + +[First aid and safety](http://localhost:9000/baby/first-aid-and-safety/) + +[Support and services](http://localhost:9000/baby/support-and-services/) + +[Caring for a newborn](http://localhost:9000/baby/caring-for-a-newborn/) + +## Social care and support + +[Social care and support Root](http://localhost:9000/social-care-and-support/) + +[Introduction to care and support](http://localhost:9000/social-care-and-support/introduction-to-care-and-support/) + +[Money, work, benefits and social care](http://localhost:9000/social-care-and-support/money-work-and-benefits/) + +[Care after a hospital stay](http://localhost:9000/social-care-and-support/care-after-a-hospital-stay/) \ No newline at end of file diff --git a/sandbox/app.js b/sandbox/app.js index 5735bcf..d377f6a 100644 --- a/sandbox/app.js +++ b/sandbox/app.js @@ -225,6 +225,30 @@ app.all('/symptoms/', handlers.symptomsRoot) // ****************************************************************** app.all('/tests-and-treatments/', handlers.testsAndTreatmentsRoot) +// ****************************************************************** +// ** Health A to Z +// ****************************************************************** +app.all('/health-a-to-z/', handlers.healthAToZRoot) +app.all('/health-a-to-z/conditions/', handlers.healthAToZConditions) + +// ****************************************************************** +// ** Baby +// ****************************************************************** +app.all('/baby/', handlers.babyRoot) +app.all('/baby/first-aid-and-safety/', handlers.babyFirstAidAndSafety) +app.all('/baby/support-and-services/', handlers.babySupportAndServices) +app.all('/baby/caring-for-a-newborn/', handlers.babyCaringForANewborn) + + +// ****************************************************************** +// ** Social care and support +// ****************************************************************** +app.all('/social-care-and-support/', handlers.socialCareAndSupportRoot) +app.all('/social-care-and-support/introduction-to-care-and-support/', handlers.socialCareAndSupportIntroductionToCareAndSupport) +app.all('/social-care-and-support/money-work-and-benefits/', handlers.socialCareAndSupportMoneyWorkAndBenefits) +app.all('/social-care-and-support/care-after-a-hospital-stay/', handlers.socialCareAndSupportCareAfterAHospitalStay) + + app.use((req, res, next) => { res.status(404).json(errorResourceNotFoundResponse) }) diff --git a/sandbox/handlers.js b/sandbox/handlers.js index 574ff84..3b3e531 100644 --- a/sandbox/handlers.js +++ b/sandbox/handlers.js @@ -99,6 +99,22 @@ const testsAndTreatmentsRootCategoryBResponse = require('./responses/tests-and-t const testsAndTreatmentsRootPage1Response = require('./responses/tests-and-treatments-root-page-1.json') const testsAndTreatmentsRootPage7Response = require('./responses/tests-and-treatments-root-page-7.json') +// Health A to Z - Responses +const healthAToZRootNoParamsResponse = require('./responses/health-a-to-z-root-no-params.json') +const healthAToZConditionsNoParamsResponse = require('./responses/health-a-to-z-conditions-no-params.json') + +// Baby - Responses +const babyRootNoParamsResponse = require('./responses/baby-root-no-params.json') +const babyFirstAidAndSafetyNoParamsResponse = require('./responses/baby-first-aid-and-safety-no-params.json') +const babySupportAndServicesNoParamsResponse = require('./responses/baby-support-and-services-no-params.json') +const babyCaringForANewbornNoParamsResponse = require('./responses/baby-caring-for-a-newborn-no-params.json') + +// Social care and support - Responses +const socialCareAndSupportRootNoParamsResponse = require('./responses/social-care-and-support-root-no-params.json') +const socialCareAndSupportIntroductionToCareAndSupportNoParamsResponse = require('./responses/social-care-and-support-introduction-to-care-and-support-no-params.json') +const socialCareAndSupportMoneyWorkAndBenefitsNoParamsResponse = require('./responses/social-care-and-support-money-work-and-benefits-no-params.json') +const socialCareAndSupportCareAfterAHospitalStayNoParamsResponse = require('./responses/social-care-and-support-care-after-a-hospital-stay-no-params.json') + // ****************************************************************** // ** Root page // ****************************************************************** @@ -1218,6 +1234,139 @@ async function testsAndTreatmentsRoot(req, res, next) { next() } + +// ****************************************************************** +// ** Health A to Z +// ****************************************************************** + +// Live website URL +// https://www.nhs.uk/health-a-to-z/ +// This sandbox on localhost +// http://localhost:9000/health-a-to-z/ +// API on Azure API Management +// https://api.nhs.uk/health-a-to-z/ +// Wagtail (Python) Application (no auth key required) +// https://www.nhs.uk/content-api/health-a-to-z/ +// Apigee Sandbox environment (no auth key required) +// https://sandbox.api.service.nhs.uk/nhs-website-content/health-a-to-z/ +// Apigee Integration environment ('apikey' required in Header) +// https://int.api.service.nhs.uk/nhs-website-content/health-a-to-z/ +// Apigee Production environment ('apikey' required in Header) +// https://api.service.nhs.uk/nhs-website-content/health-a-to-z/ +async function healthAToZRoot(req, res, next) { + res.status(200).json(healthAToZRootNoParamsResponse) + res.end() + next() +} + +// ****************************************************************** +// ** Health A to Z - Conditions +// ****************************************************************** + +// Live website URL +// https://www.nhs.uk/health-a-to-z/conditions/ +// This sandbox on localhost +// http://localhost:9000/health-a-to-z/conditions/ +// API on Azure API Management +// https://api.nhs.uk/health-a-to-z/conditions/ +// Wagtail (Python) Application (no auth key required) +// https://www.nhs.uk/content-api/health-a-to-z/conditions/ +// Apigee Sandbox environment (no auth key required) +// https://sandbox.api.service.nhs.uk/nhs-website-content/health-a-to-z/conditions/ +// Apigee Integration environment ('apikey' required in Header) +// https://int.api.service.nhs.uk/nhs-website-content/health-a-to-z/conditions/ +// Apigee Production environment ('apikey' required in Header) +// https://api.service.nhs.uk/nhs-website-content/health-a-to-z/conditions/ +async function healthAToZConditions(req, res, next) { + res.status(200).json(healthAToZConditionsNoParamsResponse) + res.end() + next() +} + +// ****************************************************************** +// ** Baby +// ****************************************************************** + +// Live website URL +// https://www.nhs.uk/baby/ +// This sandbox on localhost +// http://localhost:9000/baby/ +// API on Azure API Management +// https://api.nhs.uk/baby/ +// Wagtail (Python) Application (no auth key required) +// https://www.nhs.uk/content-api/baby/ +// Apigee Sandbox environment (no auth key required) +// https://sandbox.api.service.nhs.uk/nhs-website-content/baby/ +// Apigee Integration environment ('apikey' required in Header) +// https://int.api.service.nhs.uk/nhs-website-content/baby/ +// Apigee Production environment ('apikey' required in Header) +// https://api.service.nhs.uk/nhs-website-content/baby/ +async function babyRoot(req, res, next) { + res.status(200).json(babyRootNoParamsResponse) + res.end() + next() +} + +// Live website URL +// https://www.nhs.uk/baby/first-aid-and-safety/ +// This sandbox on localhost +// http://localhost:9000/baby/first-aid-and-safety/ +// API on Azure API Management +// https://api.nhs.uk/baby/first-aid-and-safety/ +// Wagtail (Python) Application (no auth key required) +// https://www.nhs.uk/content-api/baby/first-aid-and-safety/ +// Apigee Sandbox environment (no auth key required) +// https://sandbox.api.service.nhs.uk/nhs-website-content/baby/first-aid-and-safety/ +// Apigee Integration environment ('apikey' required in Header) +// https://int.api.service.nhs.uk/nhs-website-content/baby/first-aid-and-safety/ +// Apigee Production environment ('apikey' required in Header) +// https://api.service.nhs.uk/nhs-website-content/baby/first-aid-and-safety/ +async function babyFirstAidAndSafety(req, res, next) { + res.status(200).json(babyFirstAidAndSafetyNoParamsResponse) + res.end() + next() +} + +// Live website URL +// https://www.nhs.uk/baby/caring-for-a-newborn/ +// This sandbox on localhost +// http://localhost:9000/baby/caring-for-a-newborn/ +// API on Azure API Management +// https://api.nhs.uk/baby/caring-for-a-newborn/ +// Wagtail (Python) Application (no auth key required) +// https://www.nhs.uk/content-api/baby/caring-for-a-newborn/ +// Apigee Sandbox environment (no auth key required) +// https://sandbox.api.service.nhs.uk/nhs-website-content/baby/caring-for-a-newborn/ +// Apigee Integration environment ('apikey' required in Header) +// https://int.api.service.nhs.uk/nhs-website-content/baby/caring-for-a-newborn/ +// Apigee Production environment ('apikey' required in Header) +// https://api.service.nhs.uk/nhs-website-content/baby/caring-for-a-newborn/ +async function babyCaringForANewborn(req, res, next) { + res.status(200).json(babyCaringForANewbornNoParamsResponse) + res.end() + next() +} + +// Live website URL +// https://www.nhs.uk/baby/support-and-service/ +// This sandbox on localhost +// http://localhost:9000/baby/support-and-service/ +// API on Azure API Management +// https://api.nhs.uk/baby/support-and-service/ +// Wagtail (Python) Application (no auth key required) +// https://www.nhs.uk/content-api/baby/support-and-service/ +// Apigee Sandbox environment (no auth key required) +// https://sandbox.api.service.nhs.uk/nhs-website-content/baby/support-and-service/ +// Apigee Integration environment ('apikey' required in Header) +// https://int.api.service.nhs.uk/nhs-website-content/baby/support-and-service/ +// Apigee Production environment ('apikey' required in Header) +// https://api.service.nhs.uk/nhs-website-content/baby/support-and-service/ +async function babySupportAndServices(req, res, next) { + res.status(200).json(babySupportAndServicesNoParamsResponse) + res.end() + next() +} + // ****************************************************************** // ** Status // ****************************************************************** @@ -1233,9 +1382,67 @@ async function status(req, res, next) { next() } +// ****************************************************************** +// ** Social care and support pages +// ****************************************************************** + +// Live website URL +// https://www.nhs.uk/social-care-and-support/ +// This sandbox on localhost +// http://localhost:9000/social-care-and-support/ +// API on Azure API Management +// https://api.nhs.uk/social-care-and-support/ +// Wagtail (Python) Application (no auth key required) +// https://www.nhs.uk/content-api/social-care-and-support/ +// Apigee Sandbox environment (no auth key required) +// https://sandbox.api.service.nhs.uk/nhs-website-content/social-care-and-support/ +// Apigee Integration environment ('apikey' required in Header) +// https://int.api.service.nhs.uk/nhs-website-content/social-care-and-support/ +// Apigee Production environment ('apikey' required in Header) +// https://api.service.nhs.uk/nhs-website-content/social-care-and-support/ +async function socialCareAndSupportRoot(req, res, next) { + res.status(200).json(socialCareAndSupportRootNoParamsResponse) + res.end() + next() +} + +// Live website URL +// https://www.nhs.uk/social-care-and-support/introduction-to-care-and-support/ +// This sandbox on localhost +// http://localhost:9000/social-care-and-support/introduction-to-care-and-support/ +async function socialCareAndSupportIntroductionToCareAndSupport(req, res, next) { + res.status(200).json(socialCareAndSupportIntroductionToCareAndSupportNoParamsResponse) + res.end() + next() +} + +// Live website URL +// https://www.nhs.uk/social-care-and-support/money-work-and-benefits/ +// This sandbox on localhost +// http://localhost:9000/social-care-and-support/money-work-and-benefits/ +async function socialCareAndSupportMoneyWorkAndBenefits(req, res, next) { + res.status(200).json(socialCareAndSupportMoneyWorkAndBenefitsNoParamsResponse) + res.end() + next() +} + +// Live website URL +// https://www.nhs.uk/social-care-and-support/care-after-a-hospital-stay/ +// This sandbox on localhost +// http://localhost:9000/social-care-and-support/care-after-a-hospital-stay/ +async function socialCareAndSupportCareAfterAHospitalStay(req, res, next) { + res.status(200).json(socialCareAndSupportCareAfterAHospitalStayNoParamsResponse) + res.end() + next() +} + module.exports = { root, manifestPagesRoot, + babyCaringForANewborn, + babyFirstAidAndSafety, + babyRoot, + babySupportAndServices, conditionsAcanthosisNigricans, conditionsAchalasia, conditionsAcne, @@ -1248,6 +1455,8 @@ module.exports = { contraceptionMethodsOfContraception, contraceptionRoot, contraceptionWhatIsTheCombinedPill, + healthAToZRoot, + healthAToZConditions, liveWellAlcoholAdviceAlcoholSupport, liveWellExercise, liveWellHealthyWeight, @@ -1277,6 +1486,10 @@ module.exports = { womensHealthAnaemia, womensHealthPeriods, womensHealthRoot, + socialCareAndSupportRoot, + socialCareAndSupportIntroductionToCareAndSupport, + socialCareAndSupportMoneyWorkAndBenefits, + socialCareAndSupportCareAfterAHospitalStay, symptomsRoot, testsAndTreatmentsRoot, } diff --git a/sandbox/responses/_curl-commands.txt b/sandbox/responses/_curl-commands.txt index 8bda324..3388b80 100644 --- a/sandbox/responses/_curl-commands.txt +++ b/sandbox/responses/_curl-commands.txt @@ -24,6 +24,12 @@ curl -X GET 'https://api.service.nhs.uk/nhs-website-content/symptoms/' -H 'apike curl -X GET 'https://api.service.nhs.uk/nhs-website-content/tests-and-treatments/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/tests-and-treatments-root-no-params.json +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/health-a-to-z/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/health-a-to-z-root-no-params.json + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/baby/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/baby-root-no-params.json + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/social-care-and-support/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/social-care-and-support-root-no-params.json + ***************************************************************************************************************** ** Manifest pages ** @@ -36,6 +42,17 @@ curl -X GET 'https://api.service.nhs.uk/nhs-website-content/manifest/pages/?page curl -X GET 'https://api.service.nhs.uk/nhs-website-content/manifest/pages/?page=2' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/manifest-pages-root-page-2.json +***************************************************************************************************************** +** Baby pages ** +***************************************************************************************************************** + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/baby/first-aid-and-safety/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/baby-first-aid-and-safety-no-params.json + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/baby/support-and-services/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/baby-support-and-services-no-params.json + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/baby/caring-for-a-newborn/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/baby-caring-for-a-newborn-no-params.json + + ***************************************************************************************************************** ** Conditions pages ** ***************************************************************************************************************** @@ -191,3 +208,21 @@ curl -X GET 'https://api.service.nhs.uk/nhs-website-content/tests-and-treatments curl -X GET 'https://api.service.nhs.uk/nhs-website-content/tests-and-treatments/?page=1' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/tests-and-treatments-root-page-1.json curl -X GET 'https://api.service.nhs.uk/nhs-website-content/tests-and-treatments/?page=7' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/tests-and-treatments-root-page-7.json + + +***************************************************************************************************************** +** Health A to Z: Common conditions ** +***************************************************************************************************************** + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/health-a-to-z/conditions/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/health-a-to-z-conditions-no-params.json + + +***************************************************************************************************************** +** Social care and support pages ** +***************************************************************************************************************** + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/social-care-and-support/introduction-to-care-and-support/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/social-care-and-support-introduction-to-care-and-support-no-params.json + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/social-care-and-support/money-work-and-benefits/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/social-care-and-support-money-work-and-benefits-no-params.json + +curl -X GET 'https://api.service.nhs.uk/nhs-website-content/social-care-and-support/care-after-a-hospital-stay/' -H 'apikey: Oq5LuCPc5X69KFlIw6P7TVYrrJHSceX8' >> ./responses/social-care-and-support-care-after-a-hospital-stay-no-params.json diff --git a/sandbox/responses/baby-caring-for-a-newborn-no-params.json b/sandbox/responses/baby-caring-for-a-newborn-no-params.json new file mode 100644 index 0000000..3b8a309 --- /dev/null +++ b/sandbox/responses/baby-caring-for-a-newborn-no-params.json @@ -0,0 +1,121 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Caring for a newborn baby", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Caring for a newborn baby", + "alternateName": "" + }, + "description": "How to look after a newborn baby in those first few days (0 to 12 weeks).", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/", + "genre": [], + "keywords": "", + "dateModified": "2021-11-18T16:12:28+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/baby/", + "name": "Baby", + "genre": [] + } + }, + { + "@type": "ListItem", + "position": 1, + "item": { + "@id": "https://api.service.nhs.uk/baby/caring-for-a-newborn/", + "name": "Caring for a newborn baby", + "genre": [] + } + } + ] + }, + "headline": "Caring for a newborn baby", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "25", + "@type": "WebPageElement", + "name": "keylinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Helping your baby to sleep", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/helping-your-baby-to-sleep/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "How to change your baby's nappy", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/how-to-change-your-babys-nappy/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Nappy rash", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/nappy-rash/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Reduce the risk of sudden infant death syndrome (SIDS)", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/reduce-the-risk-of-sudden-infant-death-syndrome/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Soothing a crying baby", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/soothing-a-crying-baby/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Washing and bathing your baby", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/washing-and-bathing-your-baby/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "What you'll need for your baby", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/what-you-will-need-for-your-baby/", + "identifier": "26", + "text": "", + "name": "link" + } + ] + } + ] +} diff --git a/sandbox/responses/baby-first-aid-and-safety-no-params.json b/sandbox/responses/baby-first-aid-and-safety-no-params.json new file mode 100644 index 0000000..b120617 --- /dev/null +++ b/sandbox/responses/baby-first-aid-and-safety-no-params.json @@ -0,0 +1,81 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "First aid and safety", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "First aid and safety", + "alternateName": "" + }, + "description": "What do if your child has an accident and the latest safety advice.", + "url": "https://api.service.nhs.uk/baby/first-aid-and-safety/", + "genre": [], + "keywords": "", + "dateModified": "2021-11-18T16:12:32+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/baby/", + "name": "Baby", + "genre": [] + } + }, + { + "@type": "ListItem", + "position": 1, + "item": { + "@id": "https://api.service.nhs.uk/baby/first-aid-and-safety/", + "name": "First aid and safety", + "genre": [] + } + } + ] + }, + "headline": "First aid and safety", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "24", + "@type": "WebPageElement", + "name": "canonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "First aid", + "url": "https://api.service.nhs.uk/baby/first-aid-and-safety/first-aid/", + "identifier": "26", + "text": "

Learn how to stop a baby choking and what to do if they have an accident

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Safety", + "url": "https://api.service.nhs.uk/baby/first-aid-and-safety/safety/", + "identifier": "26", + "text": "

The latest safety advice including tips on buying car seats and sun safety

", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/sandbox/responses/baby-root-no-params.json b/sandbox/responses/baby-root-no-params.json new file mode 100644 index 0000000..8e3d02e --- /dev/null +++ b/sandbox/responses/baby-root-no-params.json @@ -0,0 +1,128 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Baby", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Baby", + "alternateName": "" + }, + "description": "This guide includes everything you need to know about caring for a baby.", + "url": "https://api.service.nhs.uk/baby/", + "genre": [], + "keywords": "", + "dateModified": "2025-04-16T12:30:54+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/baby/", + "name": "Baby", + "genre": [] + } + } + ] + }, + "headline": "Baby", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "24", + "@type": "WebPageElement", + "name": "canonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Caring for a newborn baby", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/", + "identifier": "26", + "text": "

How to look after a newborn baby in those first few days (0 to 12 weeks)

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Support and services", + "url": "https://api.service.nhs.uk/baby/support-and-services/", + "identifier": "26", + "text": "

How to keep well after having a baby and where to get support

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Breastfeeding and bottle feeding advice", + "url": "https://api.service.nhs.uk/baby/breastfeeding-and-bottle-feeding/", + "identifier": "26", + "text": "

How to breastfeed and bottle feed

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Newborn screening", + "url": "https://api.service.nhs.uk/baby/newborn-screening/", + "identifier": "26", + "text": "

Find out what screening tests your newborn baby will be offered

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Newborn twins and multiples", + "url": "https://api.service.nhs.uk/baby/newborn-twins-and-multiples/", + "identifier": "26", + "text": "

Help with raising newborn twins and multiples including feeding advice

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Health", + "url": "https://api.service.nhs.uk/baby/health/", + "identifier": "26", + "text": "

What to do if your child needs medical help and vaccination guidance

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "First aid and safety", + "url": "https://api.service.nhs.uk/baby/first-aid-and-safety/", + "identifier": "26", + "text": "

What do if your child has an accident and the latest safety advice

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Baby's development", + "url": "https://api.service.nhs.uk/baby/babys-development/", + "identifier": "26", + "text": "

Read about baby reviews, teething, potty training, learning and behaviour

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Weaning and feeding", + "url": "https://api.service.nhs.uk/baby/weaning-and-feeding/", + "identifier": "26", + "text": "

How to move on to solid foods and drinks, meal ideas and food safety

", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/sandbox/responses/baby-support-and-services-no-params.json b/sandbox/responses/baby-support-and-services-no-params.json new file mode 100644 index 0000000..335a0a9 --- /dev/null +++ b/sandbox/responses/baby-support-and-services-no-params.json @@ -0,0 +1,153 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Support and services", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Support and services", + "alternateName": "" + }, + "description": "How to keep well after having a baby and where to get support.", + "url": "https://api.service.nhs.uk/baby/support-and-services/", + "genre": [], + "keywords": "", + "dateModified": "2021-11-18T16:12:29+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/baby/", + "name": "Baby", + "genre": [] + } + }, + { + "@type": "ListItem", + "position": 1, + "item": { + "@id": "https://api.service.nhs.uk/baby/support-and-services/", + "name": "Support and services", + "genre": [] + } + } + ] + }, + "headline": "Support and services", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "25", + "@type": "WebPageElement", + "name": "keylinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Services and support for parents", + "url": "https://api.service.nhs.uk/baby/support-and-services/services-and-support-for-parents/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tips for new parents", + "url": "https://api.service.nhs.uk/baby/support-and-services/tips-for-new-parents/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Your 6-week postnatal check", + "url": "https://api.service.nhs.uk/baby/support-and-services/your-6-week-postnatal-check/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Your post-pregnancy body", + "url": "https://api.service.nhs.uk/baby/support-and-services/your-post-pregnancy-body/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Keeping fit and healthy with a baby", + "url": "https://api.service.nhs.uk/baby/support-and-services/keeping-fit-and-healthy-with-a-baby/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Coping with stress after having a baby", + "url": "https://api.service.nhs.uk/baby/support-and-services/coping-with-stress-after-having-a-baby/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Feeling depressed after childbirth", + "url": "https://api.service.nhs.uk/baby/support-and-services/feeling-depressed-after-childbirth/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Sleep and tiredness after having a baby", + "url": "https://api.service.nhs.uk/baby/support-and-services/sleep-and-tiredness-after-having-a-baby/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Sex and contraception after birth", + "url": "https://api.service.nhs.uk/baby/support-and-services/sex-and-contraception-after-birth/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Advice for single parents", + "url": "https://api.service.nhs.uk/baby/support-and-services/advice-for-single-parents/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Relationships after having a baby", + "url": "https://api.service.nhs.uk/baby/support-and-services/relationships-after-having-a-baby/", + "identifier": "26", + "text": "", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/sandbox/responses/health-a-to-z-conditions-no-params.json b/sandbox/responses/health-a-to-z-conditions-no-params.json new file mode 100644 index 0000000..79ca942 --- /dev/null +++ b/sandbox/responses/health-a-to-z-conditions-no-params.json @@ -0,0 +1,1731 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Conditions A to Z: common topics", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Conditions A to Z: common topics", + "alternateName": "" + }, + "description": "Find a health condition from our A to Z list of common topics.", + "url": "https://api.service.nhs.uk/health-a-to-z/conditions/", + "genre": [], + "keywords": "", + "dateModified": "2025-05-06T16:45:59+00:00", + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/health-a-to-z/", + "name": "Health A to Z", + "genre": [] + } + }, + { + "@type": "ListItem", + "position": 1, + "item": { + "@id": "https://api.service.nhs.uk/health-a-to-z/conditions/", + "name": "Conditions A to Z: common topics", + "genre": [] + } + } + ] + }, + "mainEntityOfPage": [ + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "A", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Acute pancreatitis", + "url": "https://api.service.nhs.uk/conditions/acute-pancreatitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Addison's disease", + "url": "https://api.service.nhs.uk/conditions/addisons-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "ADHD in children and young people", + "url": "https://api.service.nhs.uk/conditions/adhd-children-teenagers/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Anaemia (iron deficiency)", + "url": "https://api.service.nhs.uk/conditions/iron-deficiency-anaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Anaemia (vitamin B12 or folate deficiency)", + "url": "https://api.service.nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Angina", + "url": "https://api.service.nhs.uk/conditions/angina/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Appendicitis", + "url": "https://api.service.nhs.uk/conditions/appendicitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Asthma", + "url": "https://api.service.nhs.uk/conditions/asthma/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Atrial fibrillation", + "url": "https://api.service.nhs.uk/conditions/atrial-fibrillation/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Autism", + "url": "https://api.service.nhs.uk/conditions/autism/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "B", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Bipolar disorder", + "url": "https://api.service.nhs.uk/mental-health/conditions/bipolar-disorder/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Blepharitis", + "url": "https://api.service.nhs.uk/conditions/blepharitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Blood pressure (high)", + "url": "https://api.service.nhs.uk/conditions/high-blood-pressure/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Blood pressure (low)", + "url": "https://api.service.nhs.uk/conditions/low-blood-pressure-hypotension/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Borderline personality disorder", + "url": "https://api.service.nhs.uk/mental-health/conditions/borderline-personality-disorder/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Bowel cancer", + "url": "https://api.service.nhs.uk/conditions/bowel-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Broken or bruised ribs", + "url": "https://api.service.nhs.uk/conditions/broken-or-bruised-ribs/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Bronchiectasis", + "url": "https://api.service.nhs.uk/conditions/bronchiectasis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Burns and scalds", + "url": "https://api.service.nhs.uk/conditions/burns-and-scalds/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Bursitis", + "url": "https://api.service.nhs.uk/conditions/bursitis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "C", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Chest infection", + "url": "https://api.service.nhs.uk/conditions/chest-infection/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Chickenpox", + "url": "https://api.service.nhs.uk/conditions/chickenpox/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Chlamydia", + "url": "https://api.service.nhs.uk/conditions/chlamydia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Cholesterol (high)", + "url": "https://api.service.nhs.uk/conditions/high-cholesterol/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Chronic kidney disease", + "url": "https://api.service.nhs.uk/conditions/kidney-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Chronic obstructive pulmonary disease (COPD)", + "url": "https://api.service.nhs.uk/conditions/chronic-obstructive-pulmonary-disease-copd/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Coeliac disease", + "url": "https://api.service.nhs.uk/conditions/coeliac-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Constipation", + "url": "https://api.service.nhs.uk/conditions/constipation/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "COVID-19", + "url": "https://api.service.nhs.uk/conditions/covid-19/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Crohn's disease", + "url": "https://api.service.nhs.uk/conditions/crohns-disease/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "D", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Dehydration", + "url": "https://api.service.nhs.uk/conditions/dehydration/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Dental abscess", + "url": "https://api.service.nhs.uk/conditions/dental-abscess/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Depression in adults", + "url": "https://api.service.nhs.uk/mental-health/conditions/depression-in-adults/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Developmental co-ordination disorder (dyspraxia) in children", + "url": "https://api.service.nhs.uk/conditions/developmental-coordination-disorder-dyspraxia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Diabetes (type 1)", + "url": "https://api.service.nhs.uk/conditions/type-1-diabetes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Diabetes (type 2)", + "url": "https://api.service.nhs.uk/conditions/type-2-diabetes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Diverticular disease and diverticulitis", + "url": "https://api.service.nhs.uk/conditions/diverticular-disease-and-diverticulitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "DVT (deep vein thrombosis)", + "url": "https://api.service.nhs.uk/conditions/deep-vein-thrombosis-dvt/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Dyslexia", + "url": "https://api.service.nhs.uk/conditions/dyslexia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Dyspraxia (developmental co-ordination disorder) in adults", + "url": "https://api.service.nhs.uk/conditions/developmental-coordination-disorder-dyspraxia-in-adults/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "E", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Ear infections", + "url": "https://api.service.nhs.uk/conditions/ear-infections/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Earwax build-up", + "url": "https://api.service.nhs.uk/conditions/earwax-build-up/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Eating disorders", + "url": "https://api.service.nhs.uk/mental-health/feelings-symptoms-behaviours/behaviours/eating-disorders/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ectopic pregnancy", + "url": "https://api.service.nhs.uk/conditions/ectopic-pregnancy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Eczema (atopic)", + "url": "https://api.service.nhs.uk/conditions/atopic-eczema/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ehlers-Danlos syndromes", + "url": "https://api.service.nhs.uk/conditions/ehlers-danlos-syndromes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Encephalitis", + "url": "https://api.service.nhs.uk/conditions/encephalitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Endometriosis", + "url": "https://api.service.nhs.uk/conditions/endometriosis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Epilepsy", + "url": "https://api.service.nhs.uk/conditions/epilepsy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Excessive sweating (hyperhidrosis)", + "url": "https://api.service.nhs.uk/conditions/excessive-sweating-hyperhidrosis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "F", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Febrile seizures", + "url": "https://api.service.nhs.uk/conditions/febrile-seizures/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Fibroids", + "url": "https://api.service.nhs.uk/conditions/fibroids/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Fibromyalgia", + "url": "https://api.service.nhs.uk/conditions/fibromyalgia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Flu", + "url": "https://api.service.nhs.uk/conditions/flu/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Food allergy", + "url": "https://api.service.nhs.uk/conditions/food-allergy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Food intolerance", + "url": "https://api.service.nhs.uk/conditions/food-intolerance/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Food poisoning", + "url": "https://api.service.nhs.uk/conditions/food-poisoning/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Frontotemporal dementia", + "url": "https://api.service.nhs.uk/conditions/frontotemporal-dementia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Frozen shoulder", + "url": "https://api.service.nhs.uk/conditions/frozen-shoulder/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Fungal nail infection", + "url": "https://api.service.nhs.uk/conditions/fungal-nail-infection/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "G", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Gallstones", + "url": "https://api.service.nhs.uk/conditions/gallstones/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Gastritis", + "url": "https://api.service.nhs.uk/conditions/gastritis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Generalised anxiety disorder (GAD)", + "url": "https://api.service.nhs.uk/mental-health/conditions/generalised-anxiety-disorder-gad/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Genital herpes", + "url": "https://api.service.nhs.uk/conditions/genital-herpes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Gestational diabetes", + "url": "https://api.service.nhs.uk/conditions/gestational-diabetes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Giardiasis", + "url": "https://api.service.nhs.uk/conditions/giardiasis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Glandular fever", + "url": "https://api.service.nhs.uk/conditions/glandular-fever/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Gonorrhoea", + "url": "https://api.service.nhs.uk/conditions/gonorrhoea/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Gout", + "url": "https://api.service.nhs.uk/conditions/gout/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Guillain-Barré syndrome", + "url": "https://api.service.nhs.uk/conditions/guillain-barre-syndrome/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "H", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Haemorrhoids (piles)", + "url": "https://api.service.nhs.uk/conditions/piles-haemorrhoids/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Hand, foot and mouth disease", + "url": "https://api.service.nhs.uk/conditions/hand-foot-mouth-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Hay fever", + "url": "https://api.service.nhs.uk/conditions/hay-fever/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Head injury and concussion", + "url": "https://api.service.nhs.uk/conditions/head-injury-and-concussion/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heart attack", + "url": "https://api.service.nhs.uk/conditions/heart-attack/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heart failure", + "url": "https://api.service.nhs.uk/conditions/heart-failure/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heartburn and acid reflux", + "url": "https://api.service.nhs.uk/conditions/heartburn-and-acid-reflux/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heat exhaustion and heatstroke", + "url": "https://api.service.nhs.uk/conditions/heat-exhaustion-heatstroke/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heat rash (prickly heat)", + "url": "https://api.service.nhs.uk/conditions/heat-rash-prickly-heat/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Hives", + "url": "https://api.service.nhs.uk/conditions/hives/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "I", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Impetigo", + "url": "https://api.service.nhs.uk/conditions/impetigo/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Indigestion", + "url": "https://api.service.nhs.uk/conditions/indigestion/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Infertility", + "url": "https://api.service.nhs.uk/conditions/infertility/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Inflammatory bowel disease", + "url": "https://api.service.nhs.uk/conditions/inflammatory-bowel-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ingrown toenail", + "url": "https://api.service.nhs.uk/conditions/ingrown-toenail/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Insect bites and stings", + "url": "https://api.service.nhs.uk/conditions/insect-bites-and-stings/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Insomnia", + "url": "https://api.service.nhs.uk/conditions/insomnia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Intracranial hypertension", + "url": "https://api.service.nhs.uk/conditions/intracranial-hypertension/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Iron deficiency anaemia", + "url": "https://api.service.nhs.uk/conditions/iron-deficiency-anaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Irritable bowel syndrome (IBS)", + "url": "https://api.service.nhs.uk/conditions/irritable-bowel-syndrome-ibs/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "J", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Japanese encephalitis", + "url": "https://api.service.nhs.uk/conditions/japanese-encephalitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Jaundice (newborn)", + "url": "https://api.service.nhs.uk/conditions/jaundice-newborn/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Jellyfish and other sea creature stings", + "url": "https://api.service.nhs.uk/conditions/jellyfish-and-other-sea-creature-stings/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Jet lag", + "url": "https://api.service.nhs.uk/conditions/jet-lag/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Joint hypermobility syndrome", + "url": "https://api.service.nhs.uk/conditions/joint-hypermobility-syndrome/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "K", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Kawasaki disease", + "url": "https://api.service.nhs.uk/conditions/kawasaki-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Keloid scars", + "url": "https://api.service.nhs.uk/conditions/keloid-scars/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Keratosis pilaris", + "url": "https://api.service.nhs.uk/conditions/keratosis-pilaris/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Kidney cancer", + "url": "https://api.service.nhs.uk/conditions/kidney-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Kidney infection", + "url": "https://api.service.nhs.uk/conditions/kidney-infection/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Kidney stones", + "url": "https://api.service.nhs.uk/conditions/kidney-stones/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Klinefelter syndrome", + "url": "https://api.service.nhs.uk/conditions/klinefelters-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Knock knees", + "url": "https://api.service.nhs.uk/conditions/knock-knees/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Knocked-out tooth", + "url": "https://api.service.nhs.uk/conditions/knocked-out-tooth/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Kyphosis", + "url": "https://api.service.nhs.uk/conditions/kyphosis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "L", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Labyrinthitis and vestibular neuritis", + "url": "https://api.service.nhs.uk/conditions/labyrinthitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Lactose intolerance", + "url": "https://api.service.nhs.uk/conditions/lactose-intolerance/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Laryngitis", + "url": "https://api.service.nhs.uk/conditions/laryngitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Leg cramps", + "url": "https://api.service.nhs.uk/conditions/leg-cramps/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Liver disease", + "url": "https://api.service.nhs.uk/conditions/liver-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Low blood pressure (hypotension)", + "url": "https://api.service.nhs.uk/conditions/low-blood-pressure-hypotension/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Low blood sugar (hypoglycaemia)", + "url": "https://api.service.nhs.uk/conditions/low-blood-sugar-hypoglycaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Lung cancer", + "url": "https://api.service.nhs.uk/conditions/lung-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Lupus", + "url": "https://api.service.nhs.uk/conditions/lupus/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Lyme disease", + "url": "https://api.service.nhs.uk/conditions/lyme-disease/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "M", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Measles", + "url": "https://api.service.nhs.uk/conditions/measles/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Melanoma skin cancer", + "url": "https://api.service.nhs.uk/conditions/melanoma-skin-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Meningitis", + "url": "https://api.service.nhs.uk/conditions/meningitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Menopause", + "url": "https://api.service.nhs.uk/womens-health/menopause/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Migraine", + "url": "https://api.service.nhs.uk/conditions/migraine/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Miscarriage", + "url": "https://api.service.nhs.uk/conditions/miscarriage/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Mouth ulcers", + "url": "https://api.service.nhs.uk/conditions/mouth-ulcers/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Mpox", + "url": "https://api.service.nhs.uk/conditions/mpox/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Multiple sclerosis", + "url": "https://api.service.nhs.uk/conditions/multiple-sclerosis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Myalgic encephalomyelitis or chronic fatigue syndrome (ME/CFS)", + "url": "https://api.service.nhs.uk/conditions/chronic-fatigue-syndrome-cfs/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "N", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Nappy rash", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/nappy-rash/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Narcolepsy", + "url": "https://api.service.nhs.uk/conditions/narcolepsy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Nasal polyps", + "url": "https://api.service.nhs.uk/conditions/nasal-polyps/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Neurofibromatosis type 1 (NF1)", + "url": "https://api.service.nhs.uk/conditions/neurofibromatosis-type-1/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Non-alcoholic fatty liver disease (NAFLD)", + "url": "https://api.service.nhs.uk/conditions/non-alcoholic-fatty-liver-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Non-allergic rhinitis", + "url": "https://api.service.nhs.uk/conditions/non-allergic-rhinitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Non-Hodgkin lymphoma", + "url": "https://api.service.nhs.uk/conditions/non-hodgkin-lymphoma/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Non-melanoma skin cancer", + "url": "https://api.service.nhs.uk/conditions/non-melanoma-skin-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Norovirus (vomiting bug)", + "url": "https://api.service.nhs.uk/conditions/norovirus/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Nosebleed", + "url": "https://api.service.nhs.uk/conditions/nosebleed/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "O", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Obesity", + "url": "https://api.service.nhs.uk/conditions/obesity/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Obsessive compulsive disorder (OCD)", + "url": "https://api.service.nhs.uk/mental-health/conditions/obsessive-compulsive-disorder-ocd/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Oesophageal cancer", + "url": "https://api.service.nhs.uk/conditions/oesophageal-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Oral thrush (mouth thrush)", + "url": "https://api.service.nhs.uk/conditions/oral-thrush-mouth-thrush/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Osteoarthritis", + "url": "https://api.service.nhs.uk/conditions/osteoarthritis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Osteomyelitis", + "url": "https://api.service.nhs.uk/conditions/osteomyelitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Osteoporosis", + "url": "https://api.service.nhs.uk/conditions/osteoporosis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ovarian cancer", + "url": "https://api.service.nhs.uk/conditions/ovarian-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ovarian cyst", + "url": "https://api.service.nhs.uk/conditions/ovarian-cyst/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Overactive thyroid (hyperthyroidism)", + "url": "https://api.service.nhs.uk/conditions/overactive-thyroid-hyperthyroidism/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "P", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Parkinson's disease", + "url": "https://api.service.nhs.uk/conditions/parkinsons-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Peripheral neuropathy", + "url": "https://api.service.nhs.uk/conditions/peripheral-neuropathy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Piles (haemorrhoids)", + "url": "https://api.service.nhs.uk/conditions/piles-haemorrhoids/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Plantar fasciitis", + "url": "https://api.service.nhs.uk/conditions/plantar-fasciitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Pneumonia", + "url": "https://api.service.nhs.uk/conditions/pneumonia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Polycystic ovary syndrome", + "url": "https://api.service.nhs.uk/conditions/polycystic-ovary-syndrome-pcos/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Postural tachycardia syndrome (PoTS)", + "url": "https://api.service.nhs.uk/conditions/postural-tachycardia-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Pre-eclampsia", + "url": "https://api.service.nhs.uk/conditions/pre-eclampsia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Prostate cancer", + "url": "https://api.service.nhs.uk/conditions/prostate-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Psoriasis", + "url": "https://api.service.nhs.uk/conditions/psoriasis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "Q", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Q fever", + "url": "https://api.service.nhs.uk/conditions/q-fever/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "R", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Raynaud's", + "url": "https://api.service.nhs.uk/conditions/raynauds/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Reflux in babies", + "url": "https://api.service.nhs.uk/conditions/reflux-in-babies/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Respiratory syncytial virus (RSV)", + "url": "https://api.service.nhs.uk/conditions/respiratory-syncytial-virus-rsv/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Respiratory tract infections (RTIs)", + "url": "https://api.service.nhs.uk/conditions/respiratory-tract-infection/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Restless legs syndrome", + "url": "https://api.service.nhs.uk/conditions/restless-legs-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Retinal migraine", + "url": "https://api.service.nhs.uk/conditions/retinal-migraine/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Rheumatoid arthritis", + "url": "https://api.service.nhs.uk/conditions/rheumatoid-arthritis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ringworm", + "url": "https://api.service.nhs.uk/conditions/ringworm/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Rosacea", + "url": "https://api.service.nhs.uk/conditions/rosacea/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Roseola", + "url": "https://api.service.nhs.uk/conditions/roseola/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "S", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Scabies", + "url": "https://api.service.nhs.uk/conditions/scabies/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Scarlet fever", + "url": "https://api.service.nhs.uk/conditions/scarlet-fever/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Sciatica", + "url": "https://api.service.nhs.uk/conditions/sciatica/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Sepsis", + "url": "https://api.service.nhs.uk/conditions/sepsis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Shingles", + "url": "https://api.service.nhs.uk/conditions/shingles/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Sinusitis (sinus infection)", + "url": "https://api.service.nhs.uk/conditions/sinusitis-sinus-infection/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Slapped cheek syndrome", + "url": "https://api.service.nhs.uk/conditions/slapped-cheek-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Stomach ulcer", + "url": "https://api.service.nhs.uk/conditions/stomach-ulcer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Stye", + "url": "https://api.service.nhs.uk/conditions/stye/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Swollen ankles, feet and legs (oedema)", + "url": "https://api.service.nhs.uk/conditions/oedema/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "T", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Temporomandibular disorder (TMD)", + "url": "https://api.service.nhs.uk/conditions/temporomandibular-disorder-tmd/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tendonitis", + "url": "https://api.service.nhs.uk/conditions/tendonitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tennis elbow", + "url": "https://api.service.nhs.uk/conditions/tennis-elbow/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Threadworms", + "url": "https://api.service.nhs.uk/conditions/threadworms/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Thrush in men and women", + "url": "https://api.service.nhs.uk/conditions/thrush-in-men-and-women/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tinnitus", + "url": "https://api.service.nhs.uk/conditions/tinnitus/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tonsillitis", + "url": "https://api.service.nhs.uk/conditions/tonsillitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Transient ischaemic attack (TIA)", + "url": "https://api.service.nhs.uk/conditions/transient-ischaemic-attack-tia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Trigeminal neuralgia", + "url": "https://api.service.nhs.uk/conditions/trigeminal-neuralgia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Type 2 diabetes", + "url": "https://api.service.nhs.uk/conditions/type-2-diabetes/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "U", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Ulcerative colitis", + "url": "https://api.service.nhs.uk/conditions/ulcerative-colitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Underactive thyroid (hypothyroidism)", + "url": "https://api.service.nhs.uk/conditions/underactive-thyroid-hypothyroidism/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Undescended testicles", + "url": "https://api.service.nhs.uk/conditions/undescended-testicles/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Urethritis", + "url": "https://api.service.nhs.uk/conditions/urethritis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Urinary incontinence", + "url": "https://api.service.nhs.uk/conditions/urinary-incontinence/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Urinary tract infections (UTIs)", + "url": "https://api.service.nhs.uk/conditions/urinary-tract-infections-utis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Uveitis", + "url": "https://api.service.nhs.uk/conditions/uveitis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "V", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Vaginitis", + "url": "https://api.service.nhs.uk/conditions/vaginitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Varicose eczema", + "url": "https://api.service.nhs.uk/conditions/varicose-eczema/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Varicose veins", + "url": "https://api.service.nhs.uk/conditions/varicose-veins/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vascular dementia", + "url": "https://api.service.nhs.uk/conditions/vascular-dementia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vasculitis", + "url": "https://api.service.nhs.uk/conditions/vasculitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Venous leg ulcer", + "url": "https://api.service.nhs.uk/conditions/leg-ulcer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vitamin B12 or folate deficiency anaemia", + "url": "https://api.service.nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vitiligo", + "url": "https://api.service.nhs.uk/conditions/vitiligo/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vulval cancer", + "url": "https://api.service.nhs.uk/conditions/vulval-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vulvodynia (vulval pain)", + "url": "https://api.service.nhs.uk/conditions/vulvodynia/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "W", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Warts and verrucas", + "url": "https://api.service.nhs.uk/conditions/warts-and-verrucas/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Whiplash", + "url": "https://api.service.nhs.uk/conditions/whiplash/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Whooping cough", + "url": "https://api.service.nhs.uk/conditions/whooping-cough/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Wolff-Parkinson-White syndrome", + "url": "https://api.service.nhs.uk/conditions/wolff-parkinson-white-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Womb (uterus) cancer", + "url": "https://api.service.nhs.uk/conditions/womb-cancer/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "X", + "mainEntityOfPage": [] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "Y", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Yellow fever", + "url": "https://api.service.nhs.uk/conditions/yellow-fever/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "Z", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Zika virus", + "url": "https://api.service.nhs.uk/conditions/zika/", + "identifier": "26", + "name": "link" + } + ] + } + ], + "contentSubTypes": [] + } \ No newline at end of file diff --git a/sandbox/responses/health-a-to-z-root-no-params.json b/sandbox/responses/health-a-to-z-root-no-params.json new file mode 100644 index 0000000..20e393e --- /dev/null +++ b/sandbox/responses/health-a-to-z-root-no-params.json @@ -0,0 +1,137 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Health A to Z", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Health A to Z", + "alternateName": "" + }, + "description": "Find out about conditions, symptoms, medicines, tests and treatments, including what to do and when to get help.", + "url": "https://api.service.nhs.uk/health-a-to-z/", + "genre": [], + "keywords": "", + "dateModified": "2025-04-16T13:51:18+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/health-a-to-z/", + "name": "Health A to Z", + "genre": [] + } + } + ] + }, + "headline": "Health A to Z", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "24", + "@type": "WebPageElement", + "name": "canonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Conditions A to Z", + "url": "https://api.service.nhs.uk/health-a-to-z/conditions/", + "identifier": "26", + "text": "

Find health conditions, including the symptoms and how they're treated

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Symptoms A to Z", + "url": "https://api.service.nhs.uk/symptoms/", + "identifier": "26", + "text": "

Find symptoms such as types of pain, stomach problems or skin symptoms, and what to do

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tests and treatments A to Z", + "url": "https://api.service.nhs.uk/tests-and-treatments/", + "identifier": "26", + "text": "

Find out about surgery and procedures, tests, screening and other treatments

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Medicines A to Z", + "url": "https://api.service.nhs.uk/medicines/", + "identifier": "26", + "text": "

Find out how your medicine works, how to take it and possible side effects

", + "name": "link" + } + ] + }, + { + "identifier": "24", + "@type": "WebPageElement", + "name": "secondarycanonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Baby", + "url": "https://api.service.nhs.uk/baby/", + "identifier": "26", + "text": "

Find out about caring for a baby

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Contraception", + "url": "https://api.service.nhs.uk/contraception/", + "identifier": "26", + "text": "

Find out about types of contraception, and where to get them

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Mental health", + "url": "https://api.service.nhs.uk/mental-health/", + "identifier": "26", + "text": "

Find information and support for your mental health

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Pregnancy", + "url": "https://api.service.nhs.uk/pregnancy/", + "identifier": "26", + "text": "

Find out about trying for a baby, pregnancy, labour and birth

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vaccinations", + "url": "https://api.service.nhs.uk/vaccinations/", + "identifier": "26", + "text": "

Find out about vaccinations for babies, children and adults

", + "name": "link" + } + ] + } + ] +} \ No newline at end of file diff --git a/sandbox/responses/social-care-and-support-care-after-a-hospital-stay-no-params.json b/sandbox/responses/social-care-and-support-care-after-a-hospital-stay-no-params.json new file mode 100644 index 0000000..3a173b6 --- /dev/null +++ b/sandbox/responses/social-care-and-support-care-after-a-hospital-stay-no-params.json @@ -0,0 +1,89 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Care after a hospital stay", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Care after a hospital stay", + "alternateName": "" + }, + "description": "Includes hospital discharge and care and support afterwards.", + "url": "https://api.service.nhs.uk/social-care-and-support/care-after-a-hospital-stay/", + "genre": [], + "keywords": "", + "dateModified": "2023-04-12T07:24:13+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/social-care-and-support/", + "name": "Social care and support guide", + "genre": [] + } + }, + { + "@type": "ListItem", + "position": 1, + "item": { + "@id": "https://api.service.nhs.uk/social-care-and-support/care-after-a-hospital-stay/", + "name": "Care after a hospital stay", + "genre": [] + } + } + ] + }, + "headline": "Care after a hospital stay", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "25", + "@type": "WebPageElement", + "name": "keylinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Planning care before you leave hospital", + "url": "https://api.service.nhs.uk/social-care-and-support/care-after-a-hospital-stay/arranging-care-before-you-leave-hospital/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Care after illness or hospital discharge (reablement)", + "url": "https://api.service.nhs.uk/social-care-and-support/care-after-a-hospital-stay/care-after-illness-or-hospital-discharge-reablement/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Mental health aftercare if you have been sectioned", + "url": "https://api.service.nhs.uk/social-care-and-support/care-after-a-hospital-stay/mental-health-aftercare/", + "identifier": "26", + "text": "", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/sandbox/responses/social-care-and-support-introduction-to-care-and-support-no-params.json b/sandbox/responses/social-care-and-support-introduction-to-care-and-support-no-params.json new file mode 100644 index 0000000..fa6b4e3 --- /dev/null +++ b/sandbox/responses/social-care-and-support-introduction-to-care-and-support-no-params.json @@ -0,0 +1,99 @@ +{ + "@context": "http://schema.org", + "@type": "WebPage", + "name": "Introduction to care and support", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Introduction to care and support", + "alternateName": "" + }, + "description": "A simple guide to adult social care for people with care and support needs, their carers, and anyone planning for their future care needs.", + "url": "https://api.service.nhs.uk/social-care-and-support/introduction-to-care-and-support/", + "genre": [ + "Advice or information" + ], + "keywords": "", + "dateModified": "2024-11-21T11:14:44+00:00", + "lastReviewed": [ + "2024-10-30T15:33:00+00:00", + "2027-10-30T14:41:00+00:00" + ], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/social-care-and-support/", + "name": "Social care and support guide", + "genre": [] + } + }, + { + "@type": "ListItem", + "position": 1, + "item": { + "@id": "https://api.service.nhs.uk/social-care-and-support/introduction-to-care-and-support/", + "name": "Introduction to care and support", + "genre": [ + "Advice or information" + ] + } + } + ] + }, + "hasPart": [], + "relatedLink": [ + { + "@type": "LinkRole", + "url": "https://api.service.nhs.uk/social-care-and-support/", + "name": "Social care and support guide", + "linkRelationship": "Navigation", + "position": 0 + } + ], + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "0", + "name": "section heading", + "position": 0, + "@type": "WebPageElement", + "mainEntityOfPage": [ + { + "position": 0, + "identifier": "1", + "text": "

This guide is for people who have care and support needs, their carers, and people who are planning for their future care needs.

What is social care and support?

They're services to help you if you:

Social care and support is usually paid for by:

Types of social care and support include:

Find out about different care services, equipment and care homes.

Telephone help

If you want advice or help by speaking to someone over the phone, you'll find lots of helpful numbers and links in our section on social care telephone helplines and forums.

Getting access to social care and support

You can arrange care and support privately, without help from your local council.

If you want the council to arrange or pay towards your care, you have to get a care needs assessment first.

The needs assessment tells you what type of care will help you and how it'll be delivered to you.

If you have a carer, they can ask for a carer's assessment.

Paying for social care and support

Paying for care and support can be confusing and a worry.

For clear advice on how much care and support costs, and where you can get help with the costs, read our section on money, work benefits and social care.

As a general rule, if you have less than £23,250 in savings and investments (called capital), your care will be paid for partly or in full by the council. This does not include the value of your home (if you own it), but the value of your home might be included if you're moving into a care home. Read more about when the council might pay for your care.

If you have more than £23,250 in savings, you'll usually be expected to pay for your own care.

Some services are free for everybody. They're not means tested. Read about care and support you can get for free.

Help for carers

If you're a carer, you can find information about support and benefits for carers and caring for children and young people.

You probably are a carer if you're looking after someone regularly (including your spouse or a family member) because they're ill or disabled.

Popular topics include:

NHS care

In some situations, social care and support is provided by the NHS instead of your local council. In these instances it's usually free and not means tested.

It includes:

", + "@type": "WebPageElement", + "name": "markdown", + "headline": "" + } + ], + "description": "", + "hasPart": [ + { + "position": 0, + "identifier": "1", + "text": "

This guide is for people who have care and support needs, their carers, and people who are planning for their future care needs.

What is social care and support?

They're services to help you if you:

Social care and support is usually paid for by:

Types of social care and support include:

Find out about different care services, equipment and care homes.

Telephone help

If you want advice or help by speaking to someone over the phone, you'll find lots of helpful numbers and links in our section on social care telephone helplines and forums.

Getting access to social care and support

You can arrange care and support privately, without help from your local council.

If you want the council to arrange or pay towards your care, you have to get a care needs assessment first.

The needs assessment tells you what type of care will help you and how it'll be delivered to you.

If you have a carer, they can ask for a carer's assessment.

Paying for social care and support

Paying for care and support can be confusing and a worry.

For clear advice on how much care and support costs, and where you can get help with the costs, read our section on money, work benefits and social care.

As a general rule, if you have less than £23,250 in savings and investments (called capital), your care will be paid for partly or in full by the council. This does not include the value of your home (if you own it), but the value of your home might be included if you're moving into a care home. Read more about when the council might pay for your care.

If you have more than £23,250 in savings, you'll usually be expected to pay for your own care.

Some services are free for everybody. They're not means tested. Read about care and support you can get for free.

Help for carers

If you're a carer, you can find information about support and benefits for carers and caring for children and young people.

You probably are a carer if you're looking after someone regularly (including your spouse or a family member) because they're ill or disabled.

Popular topics include:

NHS care

In some situations, social care and support is provided by the NHS instead of your local council. In these instances it's usually free and not means tested.

It includes:

", + "@type": "WebPageElement", + "name": "markdown", + "headline": "" + } + ] + } + ] + } \ No newline at end of file diff --git a/sandbox/responses/social-care-and-support-money-work-and-benefits-no-params.json b/sandbox/responses/social-care-and-support-money-work-and-benefits-no-params.json new file mode 100644 index 0000000..786abde --- /dev/null +++ b/sandbox/responses/social-care-and-support-money-work-and-benefits-no-params.json @@ -0,0 +1,129 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Money, work, benefits and social care", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Money, work, benefits and social care", + "alternateName": "" + }, + "description": "How to pay for care and support, and where you can get help with costs.", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/", + "genre": [], + "keywords": "", + "dateModified": "2023-04-12T07:23:16+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/social-care-and-support/", + "name": "Social care and support guide", + "genre": [] + } + }, + { + "@type": "ListItem", + "position": 1, + "item": { + "@id": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/", + "name": "Money, work, benefits and social care", + "genre": [] + } + } + ] + }, + "headline": "Money, work, benefits and social care", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "25", + "@type": "WebPageElement", + "name": "keylinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Paying for your own care (self-funding)", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/paying-for-your-own-care-self-funding/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "When the council might pay for your care", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/when-the-council-might-pay-for-your-care/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Work and disability", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/work-and-disability/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Personal budgets and direct payments", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/personal-budgets/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "NHS continuing healthcare", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/nhs-continuing-healthcare/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "NHS-funded nursing care", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/nhs-funded-nursing-care/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Benefits if you're under State Pension age", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/benefits-if-you-are-under-state-pension-age/", + "identifier": "26", + "text": "", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Benefits if you're over State Pension age", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/benefits-if-you-are-over-state-pension-age/", + "identifier": "26", + "text": "", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/sandbox/responses/social-care-and-support-root-no-params.json b/sandbox/responses/social-care-and-support-root-no-params.json new file mode 100644 index 0000000..2e5cd26 --- /dev/null +++ b/sandbox/responses/social-care-and-support-root-no-params.json @@ -0,0 +1,128 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Social care and support guide", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Social care and support guide", + "alternateName": "" + }, + "description": "If you or someone you know needs help with day-to-day living because of illness or disability, this website explains your options and where you can get support.", + "url": "https://api.service.nhs.uk/social-care-and-support/", + "genre": [], + "keywords": "", + "dateModified": "2025-04-15T12:09:56+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/social-care-and-support/", + "name": "Social care and support guide", + "genre": [] + } + } + ] + }, + "headline": "Social care and support guide", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "24", + "@type": "WebPageElement", + "name": "canonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Introduction to care and support", + "url": "https://api.service.nhs.uk/social-care-and-support/introduction-to-care-and-support/", + "identifier": "26", + "text": "

A quick guide for people who have care and support needs and their carers

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Help from social services and charities", + "url": "https://api.service.nhs.uk/social-care-and-support/help-from-social-services-and-charities/", + "identifier": "26", + "text": "

Includes helplines, needs assessments, advocacy and reporting abuse

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Care services, equipment and care homes", + "url": "https://api.service.nhs.uk/social-care-and-support/care-services-equipment-and-care-homes/", + "identifier": "26", + "text": "

Includes home adaptations, help at home from a paid carer, staying safe and housing

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Money, work and benefits", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/", + "identifier": "26", + "text": "

How to pay for care and support, and where you can get help with costs

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Care after a hospital stay", + "url": "https://api.service.nhs.uk/social-care-and-support/care-after-a-hospital-stay/", + "identifier": "26", + "text": "

Includes hospital discharge and care and support afterwards

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Support and benefits for carers", + "url": "https://api.service.nhs.uk/social-care-and-support/support-and-benefits-for-carers/", + "identifier": "26", + "text": "

Includes carer's assessments, support from local councils, respite care and help for young carers

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Practical tips if you care for someone", + "url": "https://api.service.nhs.uk/social-care-and-support/practical-tips-if-you-care-for-someone/", + "identifier": "26", + "text": "

Includes advice on challenging behaviour, moving and lifting people and medicines

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Caring for children and young people", + "url": "https://api.service.nhs.uk/social-care-and-support/caring-for-children-and-young-people/", + "identifier": "26", + "text": "

Services, support and tips if you care for someone under 21, and moving to adult social services

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Making decisions for someone else", + "url": "https://api.service.nhs.uk/social-care-and-support/making-decisions-for-someone-else/", + "identifier": "26", + "text": "

Includes powers of attorney and mental capacity

", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/specification/components/examples/BabyHubPage.json b/specification/components/examples/BabyHubPage.json new file mode 100644 index 0000000..8e3d02e --- /dev/null +++ b/specification/components/examples/BabyHubPage.json @@ -0,0 +1,128 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Baby", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Baby", + "alternateName": "" + }, + "description": "This guide includes everything you need to know about caring for a baby.", + "url": "https://api.service.nhs.uk/baby/", + "genre": [], + "keywords": "", + "dateModified": "2025-04-16T12:30:54+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/baby/", + "name": "Baby", + "genre": [] + } + } + ] + }, + "headline": "Baby", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "24", + "@type": "WebPageElement", + "name": "canonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Caring for a newborn baby", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/", + "identifier": "26", + "text": "

How to look after a newborn baby in those first few days (0 to 12 weeks)

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Support and services", + "url": "https://api.service.nhs.uk/baby/support-and-services/", + "identifier": "26", + "text": "

How to keep well after having a baby and where to get support

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Breastfeeding and bottle feeding advice", + "url": "https://api.service.nhs.uk/baby/breastfeeding-and-bottle-feeding/", + "identifier": "26", + "text": "

How to breastfeed and bottle feed

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Newborn screening", + "url": "https://api.service.nhs.uk/baby/newborn-screening/", + "identifier": "26", + "text": "

Find out what screening tests your newborn baby will be offered

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Newborn twins and multiples", + "url": "https://api.service.nhs.uk/baby/newborn-twins-and-multiples/", + "identifier": "26", + "text": "

Help with raising newborn twins and multiples including feeding advice

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Health", + "url": "https://api.service.nhs.uk/baby/health/", + "identifier": "26", + "text": "

What to do if your child needs medical help and vaccination guidance

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "First aid and safety", + "url": "https://api.service.nhs.uk/baby/first-aid-and-safety/", + "identifier": "26", + "text": "

What do if your child has an accident and the latest safety advice

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Baby's development", + "url": "https://api.service.nhs.uk/baby/babys-development/", + "identifier": "26", + "text": "

Read about baby reviews, teething, potty training, learning and behaviour

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Weaning and feeding", + "url": "https://api.service.nhs.uk/baby/weaning-and-feeding/", + "identifier": "26", + "text": "

How to move on to solid foods and drinks, meal ideas and food safety

", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/specification/components/examples/ConditionsCommonTopicsHubPage.json b/specification/components/examples/ConditionsCommonTopicsHubPage.json new file mode 100644 index 0000000..79ca942 --- /dev/null +++ b/specification/components/examples/ConditionsCommonTopicsHubPage.json @@ -0,0 +1,1731 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Conditions A to Z: common topics", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Conditions A to Z: common topics", + "alternateName": "" + }, + "description": "Find a health condition from our A to Z list of common topics.", + "url": "https://api.service.nhs.uk/health-a-to-z/conditions/", + "genre": [], + "keywords": "", + "dateModified": "2025-05-06T16:45:59+00:00", + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/health-a-to-z/", + "name": "Health A to Z", + "genre": [] + } + }, + { + "@type": "ListItem", + "position": 1, + "item": { + "@id": "https://api.service.nhs.uk/health-a-to-z/conditions/", + "name": "Conditions A to Z: common topics", + "genre": [] + } + } + ] + }, + "mainEntityOfPage": [ + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "A", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Acute pancreatitis", + "url": "https://api.service.nhs.uk/conditions/acute-pancreatitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Addison's disease", + "url": "https://api.service.nhs.uk/conditions/addisons-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "ADHD in children and young people", + "url": "https://api.service.nhs.uk/conditions/adhd-children-teenagers/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Anaemia (iron deficiency)", + "url": "https://api.service.nhs.uk/conditions/iron-deficiency-anaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Anaemia (vitamin B12 or folate deficiency)", + "url": "https://api.service.nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Angina", + "url": "https://api.service.nhs.uk/conditions/angina/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Appendicitis", + "url": "https://api.service.nhs.uk/conditions/appendicitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Asthma", + "url": "https://api.service.nhs.uk/conditions/asthma/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Atrial fibrillation", + "url": "https://api.service.nhs.uk/conditions/atrial-fibrillation/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Autism", + "url": "https://api.service.nhs.uk/conditions/autism/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "B", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Bipolar disorder", + "url": "https://api.service.nhs.uk/mental-health/conditions/bipolar-disorder/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Blepharitis", + "url": "https://api.service.nhs.uk/conditions/blepharitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Blood pressure (high)", + "url": "https://api.service.nhs.uk/conditions/high-blood-pressure/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Blood pressure (low)", + "url": "https://api.service.nhs.uk/conditions/low-blood-pressure-hypotension/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Borderline personality disorder", + "url": "https://api.service.nhs.uk/mental-health/conditions/borderline-personality-disorder/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Bowel cancer", + "url": "https://api.service.nhs.uk/conditions/bowel-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Broken or bruised ribs", + "url": "https://api.service.nhs.uk/conditions/broken-or-bruised-ribs/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Bronchiectasis", + "url": "https://api.service.nhs.uk/conditions/bronchiectasis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Burns and scalds", + "url": "https://api.service.nhs.uk/conditions/burns-and-scalds/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Bursitis", + "url": "https://api.service.nhs.uk/conditions/bursitis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "C", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Chest infection", + "url": "https://api.service.nhs.uk/conditions/chest-infection/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Chickenpox", + "url": "https://api.service.nhs.uk/conditions/chickenpox/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Chlamydia", + "url": "https://api.service.nhs.uk/conditions/chlamydia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Cholesterol (high)", + "url": "https://api.service.nhs.uk/conditions/high-cholesterol/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Chronic kidney disease", + "url": "https://api.service.nhs.uk/conditions/kidney-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Chronic obstructive pulmonary disease (COPD)", + "url": "https://api.service.nhs.uk/conditions/chronic-obstructive-pulmonary-disease-copd/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Coeliac disease", + "url": "https://api.service.nhs.uk/conditions/coeliac-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Constipation", + "url": "https://api.service.nhs.uk/conditions/constipation/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "COVID-19", + "url": "https://api.service.nhs.uk/conditions/covid-19/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Crohn's disease", + "url": "https://api.service.nhs.uk/conditions/crohns-disease/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "D", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Dehydration", + "url": "https://api.service.nhs.uk/conditions/dehydration/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Dental abscess", + "url": "https://api.service.nhs.uk/conditions/dental-abscess/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Depression in adults", + "url": "https://api.service.nhs.uk/mental-health/conditions/depression-in-adults/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Developmental co-ordination disorder (dyspraxia) in children", + "url": "https://api.service.nhs.uk/conditions/developmental-coordination-disorder-dyspraxia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Diabetes (type 1)", + "url": "https://api.service.nhs.uk/conditions/type-1-diabetes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Diabetes (type 2)", + "url": "https://api.service.nhs.uk/conditions/type-2-diabetes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Diverticular disease and diverticulitis", + "url": "https://api.service.nhs.uk/conditions/diverticular-disease-and-diverticulitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "DVT (deep vein thrombosis)", + "url": "https://api.service.nhs.uk/conditions/deep-vein-thrombosis-dvt/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Dyslexia", + "url": "https://api.service.nhs.uk/conditions/dyslexia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Dyspraxia (developmental co-ordination disorder) in adults", + "url": "https://api.service.nhs.uk/conditions/developmental-coordination-disorder-dyspraxia-in-adults/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "E", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Ear infections", + "url": "https://api.service.nhs.uk/conditions/ear-infections/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Earwax build-up", + "url": "https://api.service.nhs.uk/conditions/earwax-build-up/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Eating disorders", + "url": "https://api.service.nhs.uk/mental-health/feelings-symptoms-behaviours/behaviours/eating-disorders/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ectopic pregnancy", + "url": "https://api.service.nhs.uk/conditions/ectopic-pregnancy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Eczema (atopic)", + "url": "https://api.service.nhs.uk/conditions/atopic-eczema/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ehlers-Danlos syndromes", + "url": "https://api.service.nhs.uk/conditions/ehlers-danlos-syndromes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Encephalitis", + "url": "https://api.service.nhs.uk/conditions/encephalitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Endometriosis", + "url": "https://api.service.nhs.uk/conditions/endometriosis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Epilepsy", + "url": "https://api.service.nhs.uk/conditions/epilepsy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Excessive sweating (hyperhidrosis)", + "url": "https://api.service.nhs.uk/conditions/excessive-sweating-hyperhidrosis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "F", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Febrile seizures", + "url": "https://api.service.nhs.uk/conditions/febrile-seizures/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Fibroids", + "url": "https://api.service.nhs.uk/conditions/fibroids/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Fibromyalgia", + "url": "https://api.service.nhs.uk/conditions/fibromyalgia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Flu", + "url": "https://api.service.nhs.uk/conditions/flu/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Food allergy", + "url": "https://api.service.nhs.uk/conditions/food-allergy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Food intolerance", + "url": "https://api.service.nhs.uk/conditions/food-intolerance/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Food poisoning", + "url": "https://api.service.nhs.uk/conditions/food-poisoning/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Frontotemporal dementia", + "url": "https://api.service.nhs.uk/conditions/frontotemporal-dementia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Frozen shoulder", + "url": "https://api.service.nhs.uk/conditions/frozen-shoulder/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Fungal nail infection", + "url": "https://api.service.nhs.uk/conditions/fungal-nail-infection/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "G", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Gallstones", + "url": "https://api.service.nhs.uk/conditions/gallstones/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Gastritis", + "url": "https://api.service.nhs.uk/conditions/gastritis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Generalised anxiety disorder (GAD)", + "url": "https://api.service.nhs.uk/mental-health/conditions/generalised-anxiety-disorder-gad/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Genital herpes", + "url": "https://api.service.nhs.uk/conditions/genital-herpes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Gestational diabetes", + "url": "https://api.service.nhs.uk/conditions/gestational-diabetes/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Giardiasis", + "url": "https://api.service.nhs.uk/conditions/giardiasis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Glandular fever", + "url": "https://api.service.nhs.uk/conditions/glandular-fever/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Gonorrhoea", + "url": "https://api.service.nhs.uk/conditions/gonorrhoea/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Gout", + "url": "https://api.service.nhs.uk/conditions/gout/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Guillain-Barré syndrome", + "url": "https://api.service.nhs.uk/conditions/guillain-barre-syndrome/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "H", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Haemorrhoids (piles)", + "url": "https://api.service.nhs.uk/conditions/piles-haemorrhoids/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Hand, foot and mouth disease", + "url": "https://api.service.nhs.uk/conditions/hand-foot-mouth-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Hay fever", + "url": "https://api.service.nhs.uk/conditions/hay-fever/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Head injury and concussion", + "url": "https://api.service.nhs.uk/conditions/head-injury-and-concussion/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heart attack", + "url": "https://api.service.nhs.uk/conditions/heart-attack/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heart failure", + "url": "https://api.service.nhs.uk/conditions/heart-failure/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heartburn and acid reflux", + "url": "https://api.service.nhs.uk/conditions/heartburn-and-acid-reflux/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heat exhaustion and heatstroke", + "url": "https://api.service.nhs.uk/conditions/heat-exhaustion-heatstroke/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Heat rash (prickly heat)", + "url": "https://api.service.nhs.uk/conditions/heat-rash-prickly-heat/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Hives", + "url": "https://api.service.nhs.uk/conditions/hives/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "I", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Impetigo", + "url": "https://api.service.nhs.uk/conditions/impetigo/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Indigestion", + "url": "https://api.service.nhs.uk/conditions/indigestion/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Infertility", + "url": "https://api.service.nhs.uk/conditions/infertility/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Inflammatory bowel disease", + "url": "https://api.service.nhs.uk/conditions/inflammatory-bowel-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ingrown toenail", + "url": "https://api.service.nhs.uk/conditions/ingrown-toenail/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Insect bites and stings", + "url": "https://api.service.nhs.uk/conditions/insect-bites-and-stings/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Insomnia", + "url": "https://api.service.nhs.uk/conditions/insomnia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Intracranial hypertension", + "url": "https://api.service.nhs.uk/conditions/intracranial-hypertension/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Iron deficiency anaemia", + "url": "https://api.service.nhs.uk/conditions/iron-deficiency-anaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Irritable bowel syndrome (IBS)", + "url": "https://api.service.nhs.uk/conditions/irritable-bowel-syndrome-ibs/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "J", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Japanese encephalitis", + "url": "https://api.service.nhs.uk/conditions/japanese-encephalitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Jaundice (newborn)", + "url": "https://api.service.nhs.uk/conditions/jaundice-newborn/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Jellyfish and other sea creature stings", + "url": "https://api.service.nhs.uk/conditions/jellyfish-and-other-sea-creature-stings/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Jet lag", + "url": "https://api.service.nhs.uk/conditions/jet-lag/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Joint hypermobility syndrome", + "url": "https://api.service.nhs.uk/conditions/joint-hypermobility-syndrome/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "K", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Kawasaki disease", + "url": "https://api.service.nhs.uk/conditions/kawasaki-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Keloid scars", + "url": "https://api.service.nhs.uk/conditions/keloid-scars/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Keratosis pilaris", + "url": "https://api.service.nhs.uk/conditions/keratosis-pilaris/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Kidney cancer", + "url": "https://api.service.nhs.uk/conditions/kidney-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Kidney infection", + "url": "https://api.service.nhs.uk/conditions/kidney-infection/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Kidney stones", + "url": "https://api.service.nhs.uk/conditions/kidney-stones/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Klinefelter syndrome", + "url": "https://api.service.nhs.uk/conditions/klinefelters-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Knock knees", + "url": "https://api.service.nhs.uk/conditions/knock-knees/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Knocked-out tooth", + "url": "https://api.service.nhs.uk/conditions/knocked-out-tooth/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Kyphosis", + "url": "https://api.service.nhs.uk/conditions/kyphosis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "L", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Labyrinthitis and vestibular neuritis", + "url": "https://api.service.nhs.uk/conditions/labyrinthitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Lactose intolerance", + "url": "https://api.service.nhs.uk/conditions/lactose-intolerance/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Laryngitis", + "url": "https://api.service.nhs.uk/conditions/laryngitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Leg cramps", + "url": "https://api.service.nhs.uk/conditions/leg-cramps/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Liver disease", + "url": "https://api.service.nhs.uk/conditions/liver-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Low blood pressure (hypotension)", + "url": "https://api.service.nhs.uk/conditions/low-blood-pressure-hypotension/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Low blood sugar (hypoglycaemia)", + "url": "https://api.service.nhs.uk/conditions/low-blood-sugar-hypoglycaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Lung cancer", + "url": "https://api.service.nhs.uk/conditions/lung-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Lupus", + "url": "https://api.service.nhs.uk/conditions/lupus/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Lyme disease", + "url": "https://api.service.nhs.uk/conditions/lyme-disease/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "M", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Measles", + "url": "https://api.service.nhs.uk/conditions/measles/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Melanoma skin cancer", + "url": "https://api.service.nhs.uk/conditions/melanoma-skin-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Meningitis", + "url": "https://api.service.nhs.uk/conditions/meningitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Menopause", + "url": "https://api.service.nhs.uk/womens-health/menopause/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Migraine", + "url": "https://api.service.nhs.uk/conditions/migraine/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Miscarriage", + "url": "https://api.service.nhs.uk/conditions/miscarriage/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Mouth ulcers", + "url": "https://api.service.nhs.uk/conditions/mouth-ulcers/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Mpox", + "url": "https://api.service.nhs.uk/conditions/mpox/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Multiple sclerosis", + "url": "https://api.service.nhs.uk/conditions/multiple-sclerosis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Myalgic encephalomyelitis or chronic fatigue syndrome (ME/CFS)", + "url": "https://api.service.nhs.uk/conditions/chronic-fatigue-syndrome-cfs/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "N", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Nappy rash", + "url": "https://api.service.nhs.uk/baby/caring-for-a-newborn/nappy-rash/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Narcolepsy", + "url": "https://api.service.nhs.uk/conditions/narcolepsy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Nasal polyps", + "url": "https://api.service.nhs.uk/conditions/nasal-polyps/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Neurofibromatosis type 1 (NF1)", + "url": "https://api.service.nhs.uk/conditions/neurofibromatosis-type-1/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Non-alcoholic fatty liver disease (NAFLD)", + "url": "https://api.service.nhs.uk/conditions/non-alcoholic-fatty-liver-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Non-allergic rhinitis", + "url": "https://api.service.nhs.uk/conditions/non-allergic-rhinitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Non-Hodgkin lymphoma", + "url": "https://api.service.nhs.uk/conditions/non-hodgkin-lymphoma/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Non-melanoma skin cancer", + "url": "https://api.service.nhs.uk/conditions/non-melanoma-skin-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Norovirus (vomiting bug)", + "url": "https://api.service.nhs.uk/conditions/norovirus/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Nosebleed", + "url": "https://api.service.nhs.uk/conditions/nosebleed/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "O", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Obesity", + "url": "https://api.service.nhs.uk/conditions/obesity/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Obsessive compulsive disorder (OCD)", + "url": "https://api.service.nhs.uk/mental-health/conditions/obsessive-compulsive-disorder-ocd/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Oesophageal cancer", + "url": "https://api.service.nhs.uk/conditions/oesophageal-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Oral thrush (mouth thrush)", + "url": "https://api.service.nhs.uk/conditions/oral-thrush-mouth-thrush/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Osteoarthritis", + "url": "https://api.service.nhs.uk/conditions/osteoarthritis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Osteomyelitis", + "url": "https://api.service.nhs.uk/conditions/osteomyelitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Osteoporosis", + "url": "https://api.service.nhs.uk/conditions/osteoporosis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ovarian cancer", + "url": "https://api.service.nhs.uk/conditions/ovarian-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ovarian cyst", + "url": "https://api.service.nhs.uk/conditions/ovarian-cyst/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Overactive thyroid (hyperthyroidism)", + "url": "https://api.service.nhs.uk/conditions/overactive-thyroid-hyperthyroidism/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "P", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Parkinson's disease", + "url": "https://api.service.nhs.uk/conditions/parkinsons-disease/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Peripheral neuropathy", + "url": "https://api.service.nhs.uk/conditions/peripheral-neuropathy/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Piles (haemorrhoids)", + "url": "https://api.service.nhs.uk/conditions/piles-haemorrhoids/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Plantar fasciitis", + "url": "https://api.service.nhs.uk/conditions/plantar-fasciitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Pneumonia", + "url": "https://api.service.nhs.uk/conditions/pneumonia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Polycystic ovary syndrome", + "url": "https://api.service.nhs.uk/conditions/polycystic-ovary-syndrome-pcos/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Postural tachycardia syndrome (PoTS)", + "url": "https://api.service.nhs.uk/conditions/postural-tachycardia-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Pre-eclampsia", + "url": "https://api.service.nhs.uk/conditions/pre-eclampsia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Prostate cancer", + "url": "https://api.service.nhs.uk/conditions/prostate-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Psoriasis", + "url": "https://api.service.nhs.uk/conditions/psoriasis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "Q", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Q fever", + "url": "https://api.service.nhs.uk/conditions/q-fever/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "R", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Raynaud's", + "url": "https://api.service.nhs.uk/conditions/raynauds/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Reflux in babies", + "url": "https://api.service.nhs.uk/conditions/reflux-in-babies/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Respiratory syncytial virus (RSV)", + "url": "https://api.service.nhs.uk/conditions/respiratory-syncytial-virus-rsv/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Respiratory tract infections (RTIs)", + "url": "https://api.service.nhs.uk/conditions/respiratory-tract-infection/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Restless legs syndrome", + "url": "https://api.service.nhs.uk/conditions/restless-legs-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Retinal migraine", + "url": "https://api.service.nhs.uk/conditions/retinal-migraine/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Rheumatoid arthritis", + "url": "https://api.service.nhs.uk/conditions/rheumatoid-arthritis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Ringworm", + "url": "https://api.service.nhs.uk/conditions/ringworm/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Rosacea", + "url": "https://api.service.nhs.uk/conditions/rosacea/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Roseola", + "url": "https://api.service.nhs.uk/conditions/roseola/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "S", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Scabies", + "url": "https://api.service.nhs.uk/conditions/scabies/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Scarlet fever", + "url": "https://api.service.nhs.uk/conditions/scarlet-fever/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Sciatica", + "url": "https://api.service.nhs.uk/conditions/sciatica/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Sepsis", + "url": "https://api.service.nhs.uk/conditions/sepsis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Shingles", + "url": "https://api.service.nhs.uk/conditions/shingles/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Sinusitis (sinus infection)", + "url": "https://api.service.nhs.uk/conditions/sinusitis-sinus-infection/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Slapped cheek syndrome", + "url": "https://api.service.nhs.uk/conditions/slapped-cheek-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Stomach ulcer", + "url": "https://api.service.nhs.uk/conditions/stomach-ulcer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Stye", + "url": "https://api.service.nhs.uk/conditions/stye/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Swollen ankles, feet and legs (oedema)", + "url": "https://api.service.nhs.uk/conditions/oedema/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "T", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Temporomandibular disorder (TMD)", + "url": "https://api.service.nhs.uk/conditions/temporomandibular-disorder-tmd/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tendonitis", + "url": "https://api.service.nhs.uk/conditions/tendonitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tennis elbow", + "url": "https://api.service.nhs.uk/conditions/tennis-elbow/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Threadworms", + "url": "https://api.service.nhs.uk/conditions/threadworms/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Thrush in men and women", + "url": "https://api.service.nhs.uk/conditions/thrush-in-men-and-women/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tinnitus", + "url": "https://api.service.nhs.uk/conditions/tinnitus/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tonsillitis", + "url": "https://api.service.nhs.uk/conditions/tonsillitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Transient ischaemic attack (TIA)", + "url": "https://api.service.nhs.uk/conditions/transient-ischaemic-attack-tia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Trigeminal neuralgia", + "url": "https://api.service.nhs.uk/conditions/trigeminal-neuralgia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Type 2 diabetes", + "url": "https://api.service.nhs.uk/conditions/type-2-diabetes/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "U", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Ulcerative colitis", + "url": "https://api.service.nhs.uk/conditions/ulcerative-colitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Underactive thyroid (hypothyroidism)", + "url": "https://api.service.nhs.uk/conditions/underactive-thyroid-hypothyroidism/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Undescended testicles", + "url": "https://api.service.nhs.uk/conditions/undescended-testicles/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Urethritis", + "url": "https://api.service.nhs.uk/conditions/urethritis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Urinary incontinence", + "url": "https://api.service.nhs.uk/conditions/urinary-incontinence/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Urinary tract infections (UTIs)", + "url": "https://api.service.nhs.uk/conditions/urinary-tract-infections-utis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Uveitis", + "url": "https://api.service.nhs.uk/conditions/uveitis/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "V", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Vaginitis", + "url": "https://api.service.nhs.uk/conditions/vaginitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Varicose eczema", + "url": "https://api.service.nhs.uk/conditions/varicose-eczema/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Varicose veins", + "url": "https://api.service.nhs.uk/conditions/varicose-veins/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vascular dementia", + "url": "https://api.service.nhs.uk/conditions/vascular-dementia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vasculitis", + "url": "https://api.service.nhs.uk/conditions/vasculitis/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Venous leg ulcer", + "url": "https://api.service.nhs.uk/conditions/leg-ulcer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vitamin B12 or folate deficiency anaemia", + "url": "https://api.service.nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vitiligo", + "url": "https://api.service.nhs.uk/conditions/vitiligo/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vulval cancer", + "url": "https://api.service.nhs.uk/conditions/vulval-cancer/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vulvodynia (vulval pain)", + "url": "https://api.service.nhs.uk/conditions/vulvodynia/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "W", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Warts and verrucas", + "url": "https://api.service.nhs.uk/conditions/warts-and-verrucas/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Whiplash", + "url": "https://api.service.nhs.uk/conditions/whiplash/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Whooping cough", + "url": "https://api.service.nhs.uk/conditions/whooping-cough/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Wolff-Parkinson-White syndrome", + "url": "https://api.service.nhs.uk/conditions/wolff-parkinson-white-syndrome/", + "identifier": "26", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Womb (uterus) cancer", + "url": "https://api.service.nhs.uk/conditions/womb-cancer/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "X", + "mainEntityOfPage": [] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "Y", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Yellow fever", + "url": "https://api.service.nhs.uk/conditions/yellow-fever/", + "identifier": "26", + "name": "link" + } + ] + }, + { + "identifier": "condition-group", + "@type": "WebPageElement", + "name": "conditiongroup", + "headline": "Z", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Zika virus", + "url": "https://api.service.nhs.uk/conditions/zika/", + "identifier": "26", + "name": "link" + } + ] + } + ], + "contentSubTypes": [] + } \ No newline at end of file diff --git a/specification/components/examples/HealthAToZHubPage.json b/specification/components/examples/HealthAToZHubPage.json new file mode 100644 index 0000000..2f6a7b9 --- /dev/null +++ b/specification/components/examples/HealthAToZHubPage.json @@ -0,0 +1,137 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Health A to Z", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Health A to Z", + "alternateName": "" + }, + "description": "Find out about conditions, symptoms, medicines, tests and treatments, including what to do and when to get help.", + "url": "https://api.service.nhs.uk/health-a-to-z/", + "genre": [], + "keywords": "", + "dateModified": "2025-04-16T13:51:18+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/health-a-to-z/", + "name": "Health A to Z", + "genre": [] + } + } + ] + }, + "headline": "Health A to Z", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "24", + "@type": "WebPageElement", + "name": "canonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Conditions A to Z", + "url": "https://api.service.nhs.uk/health-a-to-z/conditions/", + "identifier": "26", + "text": "

Find health conditions, including the symptoms and how they're treated

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Symptoms A to Z", + "url": "https://api.service.nhs.uk/symptoms/", + "identifier": "26", + "text": "

Find symptoms such as types of pain, stomach problems or skin symptoms, and what to do

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Tests and treatments A to Z", + "url": "https://api.service.nhs.uk/tests-and-treatments/", + "identifier": "26", + "text": "

Find out about surgery and procedures, tests, screening and other treatments

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Medicines A to Z", + "url": "https://api.service.nhs.uk/medicines/", + "identifier": "26", + "text": "

Find out how your medicine works, how to take it and possible side effects

", + "name": "link" + } + ] + }, + { + "identifier": "24", + "@type": "WebPageElement", + "name": "secondarycanonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Baby", + "url": "https://api.service.nhs.uk/baby/", + "identifier": "26", + "text": "

Find out about caring for a baby

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Contraception", + "url": "https://api.service.nhs.uk/contraception/", + "identifier": "26", + "text": "

Find out about types of contraception, and where to get them

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Mental health", + "url": "https://api.service.nhs.uk/mental-health/", + "identifier": "26", + "text": "

Find information and support for your mental health

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Pregnancy", + "url": "https://api.service.nhs.uk/pregnancy/", + "identifier": "26", + "text": "

Find out about trying for a baby, pregnancy, labour and birth

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Vaccinations", + "url": "https://api.service.nhs.uk/vaccinations/", + "identifier": "26", + "text": "

Find out about vaccinations for babies, children and adults

", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/specification/components/examples/SocialCareAndSupportHubPage.json b/specification/components/examples/SocialCareAndSupportHubPage.json new file mode 100644 index 0000000..2e5cd26 --- /dev/null +++ b/specification/components/examples/SocialCareAndSupportHubPage.json @@ -0,0 +1,128 @@ +{ + "@context": "http://schema.org", + "@type": "MedicalWebPage", + "name": "Social care and support guide", + "copyrightHolder": { + "name": "Crown Copyright", + "@type": "Organization" + }, + "license": "https://developer.api.nhs.uk/terms", + "author": { + "url": "https://www.nhs.uk", + "logo": "https://assets.nhs.uk/nhsuk-cms/images/nhs-attribution.width-510.png", + "email": "nhswebsite.servicedesk@nhs.net", + "@type": "Organization", + "name": "NHS website" + }, + "about": { + "@type": "WebPage", + "name": "Social care and support guide", + "alternateName": "" + }, + "description": "If you or someone you know needs help with day-to-day living because of illness or disability, this website explains your options and where you can get support.", + "url": "https://api.service.nhs.uk/social-care-and-support/", + "genre": [], + "keywords": "", + "dateModified": "2025-04-15T12:09:56+00:00", + "hasPart": [], + "breadcrumb": { + "@context": "http://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 0, + "item": { + "@id": "https://api.service.nhs.uk/social-care-and-support/", + "name": "Social care and support guide", + "genre": [] + } + } + ] + }, + "headline": "Social care and support guide", + "contentSubTypes": [], + "mainEntityOfPage": [ + { + "identifier": "24", + "@type": "WebPageElement", + "name": "canonicallinks", + "headline": "", + "text": "", + "mainEntityOfPage": [ + { + "@type": "WebPageElement", + "headline": "Introduction to care and support", + "url": "https://api.service.nhs.uk/social-care-and-support/introduction-to-care-and-support/", + "identifier": "26", + "text": "

A quick guide for people who have care and support needs and their carers

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Help from social services and charities", + "url": "https://api.service.nhs.uk/social-care-and-support/help-from-social-services-and-charities/", + "identifier": "26", + "text": "

Includes helplines, needs assessments, advocacy and reporting abuse

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Care services, equipment and care homes", + "url": "https://api.service.nhs.uk/social-care-and-support/care-services-equipment-and-care-homes/", + "identifier": "26", + "text": "

Includes home adaptations, help at home from a paid carer, staying safe and housing

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Money, work and benefits", + "url": "https://api.service.nhs.uk/social-care-and-support/money-work-and-benefits/", + "identifier": "26", + "text": "

How to pay for care and support, and where you can get help with costs

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Care after a hospital stay", + "url": "https://api.service.nhs.uk/social-care-and-support/care-after-a-hospital-stay/", + "identifier": "26", + "text": "

Includes hospital discharge and care and support afterwards

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Support and benefits for carers", + "url": "https://api.service.nhs.uk/social-care-and-support/support-and-benefits-for-carers/", + "identifier": "26", + "text": "

Includes carer's assessments, support from local councils, respite care and help for young carers

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Practical tips if you care for someone", + "url": "https://api.service.nhs.uk/social-care-and-support/practical-tips-if-you-care-for-someone/", + "identifier": "26", + "text": "

Includes advice on challenging behaviour, moving and lifting people and medicines

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Caring for children and young people", + "url": "https://api.service.nhs.uk/social-care-and-support/caring-for-children-and-young-people/", + "identifier": "26", + "text": "

Services, support and tips if you care for someone under 21, and moving to adult social services

", + "name": "link" + }, + { + "@type": "WebPageElement", + "headline": "Making decisions for someone else", + "url": "https://api.service.nhs.uk/social-care-and-support/making-decisions-for-someone-else/", + "identifier": "26", + "text": "

Includes powers of attorney and mental capacity

", + "name": "link" + } + ] + } + ] + } \ No newline at end of file diff --git a/specification/nhs-website-content-api.yaml b/specification/nhs-website-content-api.yaml index f256606..7a140ff 100644 --- a/specification/nhs-website-content-api.yaml +++ b/specification/nhs-website-content-api.yaml @@ -8,11 +8,13 @@ info: ## Overview This API provides content from the [NHS website](https://www.nhs.uk) as JSON, to be consumed programmatically and used by your application. - Before April 2025, many pages covering symptoms, tests or treatments were inappropriately included in the Conditions A to Z. + Before April 2025, the Conditions A to Z contained a broad mix of content including conditions, symptoms, tests, treatments, and baby-related information. This has been reorganized into a new Health A to Z hub with content logically grouped into dedicated sections. - The April 2025 update introduces two new endpoints for 'symptoms' and 'tests-and-treatments' that reflect the reallocation of these pages to new A to Z pages on the website. + The April 2025 update introduces new endpoints for 'health-a-to-z', 'health-a-to-z/conditions', 'symptoms', 'tests-and-treatments', 'baby' and 'social-care-and-support' that reflect the reallocation of these pages to new A to Z pages on the website. You can reuse the content from the following sections of the NHS website: + * Health A to Z ([Website](https://www.nhs.uk/health-a-to-z/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/health-a-to-z)) + * Health A to Z - Common topics ([Website](https://www.nhs.uk/health-a-to-z/conditions/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/health-a-to-z/conditions)) * Conditions A to Z ([Website](https://www.nhs.uk/conditions/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/conditions)) * Symptoms A to Z ([Website](https://www.nhs.uk/symptoms/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/symptoms)) * Tests and treatments A to Z ([Website](https://www.nhs.uk/tests-and-treatments/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/tests-and-treatments)) @@ -24,6 +26,8 @@ info: * Contraception ([Website](https://www.nhs.uk/contraception/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/contraception)) * Vaccinations ([Website](https://www.nhs.uk/vaccinations/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/vaccinations)) * Women's health ([Website](https://www.nhs.uk/womens-health/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/womens-health)) + * Social care and support ([Website](https://www.nhs.uk/social-care-and-support/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/social-care-and-support)) + * Baby ([Website](https://www.nhs.uk/baby/) | [API](https://digital.nhs.uk/developer/api-catalogue/nhs-website-content/v2#get-/baby)) You cannot use this API to: * [find services near you](https://www.nhs.uk/nhs-services/services-near-you/) @@ -235,7 +239,7 @@ info:
- +
@@ -244,7 +248,7 @@ info: -

The sandbox environment includes the following 67 mocked endpoints

+

The sandbox environment includes the following 77 mocked endpoints

@@ -467,6 +493,65 @@ paths: | 403 | ACCESS_DENIED | User cannot perform this action. | | 404 | RESOURCE_NOT_FOUND | Page not found. | | 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). | + /health-a-to-z: + get: + summary: Get content from the Health A to Z hub. + operationId: get-health-a-to-z + description: | + ## Overview + + The [Health A to Z hub](https://www.nhs.uk/health-a-to-z/) contains a number of navigational and content pages. + + The content of the page can be taken from the `mainEntityOfPage` part of the response. This includes the navigational links to child pages. + + At the top level, modularised content of child pages is highlighted by the `hasPart` field. In child pages, only the individual page is shown. + responses: + "200": + description: | + A valid query for the Live Well pages. + content: + application/json: + schema: + $ref: components/schemas/WebPage.json + example: + $ref: components/examples/HealthAToZHubPage.json + "4XX": + description: | + An error occurred as follows: + + | HTTP status | Error code | Description | + | ----------- | -------------------------- | --------------------------------------------- | + | 401 | ACCESS_DENIED | API key missing, invalid or expired, or calling application not configured for this operation. | + | 403 | ACCESS_DENIED | User cannot perform this action. | + | 404 | RESOURCE_NOT_FOUND | Page not found. | + | 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). | + /health-a-to-z/conditions: + get: + summary: Get the Conditions A to Z - Common topics hub page + operationId: get-conditions-common-topics + description: | + ## Overview + Use this endpoint to get the [Conditions A to Z: common topics](https://www.nhs.uk/health-a-to-z/conditions/) hub page, which contains grouped links to common health conditions. + responses: + "200": + description: | + A valid query for the Conditions A to Z: common topics hub page. + content: + application/json: + schema: + $ref: components/schemas/WebPage.json + example: + $ref: components/examples/ConditionsCommonTopicsHubPage.json + "4XX": + description: | + An error occurred as follows: + + | HTTP status | Error code | Description | + | ----------- | -------------------------- | --------------------------------------------- | + | 401 | ACCESS_DENIED | API key missing, invalid or expired, or calling application not configured for this operation. | + | 403 | ACCESS_DENIED | User cannot perform this action. | + | 404 | RESOURCE_NOT_FOUND | Page not found. | + | 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). | /conditions: parameters: - $ref: "#/components/parameters/page" @@ -477,11 +562,11 @@ paths: - $ref: "#/components/parameters/order" - $ref: "#/components/parameters/synonyms" get: - summary: Get all pages in the Health A to Z + summary: Get all pages in the Conditions A to Z operationId: get-conditions description: | ## Overview - Use this endpoint to get details of pages in the [Health A to Z](https://www.nhs.uk/conditions/). + Use this endpoint to get details of pages in the [Conditions A to Z](https://www.nhs.uk/conditions/). Passing in no parameters returns all pages under 'conditions'. @@ -971,6 +1056,72 @@ paths: | 403 | ACCESS_DENIED | User cannot perform this action. | | 404 | RESOURCE_NOT_FOUND | Page not found. | | 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). | + /baby: + get: + summary: Get content from the baby hub + operationId: get-baby + description: | + ## Overview + + The [baby hub](https://www.nhs.uk/baby/) contains a number of navigational and content pages. + + The content of the page can be taken from `mainEntityOfPage`. This includes the navigational patterns to child pages. + + At the top level, child modularised content is highlighted by the `hasPart` field. In child pages, only the individual page is highlighted. + + responses: + "200": + description: | + A valid query for the baby hub. + content: + application/json: + schema: + $ref: components/schemas/WebPage.json + example: + $ref: components/examples/BabyHubPage.json + "4XX": + description: | + An error occurred as follows: + + | HTTP status | Error code | Description | + | ----------- | -------------------------- | --------------------------------------------- | + | 401 | ACCESS_DENIED | API key missing, invalid or expired, or calling application not configured for this operation. | + | 403 | ACCESS_DENIED | User cannot perform this action. | + | 404 | RESOURCE_NOT_FOUND | Page not found. | + | 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). | + /social-care-and-support: + get: + summary: Get content from the Social care and support guide hub + operationId: get-social-care-and-support + description: | + ## Overview + + The [Social care and support guide hub](https://www.nhs.uk/social-care-and-support/) contains a number of navigational and content pages. + + The content of the page can be taken from `mainEntityOfPage`. This includes the navigational patterns to child pages. + + At the top level, child modularised content is highlighted by the `hasPart` field. In child pages, only the individual page is highlighted. + + responses: + "200": + description: | + A valid query for the social care and support guide hub. + content: + application/json: + schema: + $ref: components/schemas/WebPage.json + example: + $ref: components/examples/SocialCareAndSupportHubPage.json + "4XX": + description: | + An error occurred as follows: + + | HTTP status | Error code | Description | + | ----------- | -------------------------- | --------------------------------------------- | + | 401 | ACCESS_DENIED | API key missing, invalid or expired, or calling application not configured for this operation. | + | 403 | ACCESS_DENIED | User cannot perform this action. | + | 404 | RESOURCE_NOT_FOUND | Page not found. | + | 429 | TOO_MANY_REQUESTS | You have exceeded your application's [rate limit](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#rate-limits). | components: securitySchemes: apikey: