@@ -81,6 +81,11 @@ const vaccinationsNhsVaccinationsAndWhenToHaveThemResponse = require('./response
8181const vaccinations6in1VaccineResponse = require ( './responses/vaccinations-6-in-1-vaccine-no-params.json' )
8282const vaccinationsAvailableTravelVaccinesResponse = require ( './responses/vaccinations-available-travel-vaccines-no-params.json' )
8383
84+ // Women's health - Responses
85+ const womensHealthRootResponse = require ( './responses/womens-health-root-no-params.json' )
86+ const womensHealthPeriodsResponse = require ( './responses/womens-health-periods-no-params.json' )
87+ const womensHealthAnaemiaResponse = require ( './responses/womens-health-anaemia-no-params.json' )
88+
8489// ******************************************************************
8590// ** Root page
8691// ******************************************************************
@@ -1039,6 +1044,70 @@ async function vaccinationsAvailableTravelVaccines(req, res, next) {
10391044 next ( )
10401045}
10411046
1047+ // ******************************************************************
1048+ // ** Women's health pages
1049+ // ******************************************************************
1050+
1051+ // Live website URL
1052+ // https://www.nhs.uk/womens-health/
1053+ // This sandbox on localhost
1054+ // http://localhost:9000/womens-health/
1055+ // API on Azure API Management
1056+ // https://api.nhs.uk/womens-health/
1057+ // Wagtail (Python) Application (no auth key required)
1058+ // https://www.nhs.uk/content-api/womens-health/
1059+ // Apigee Sandbox environment (no auth key required)
1060+ // https://sandbox.api.service.nhs.uk/nhs-website-content/womens-health/
1061+ // Apigee Integration environment ('apikey' required in Header)
1062+ // https://int.api.service.nhs.uk/nhs-website-content/womens-health/
1063+ // Apigee Production environment ('apikey' required in Header)
1064+ // https://api.service.nhs.uk/nhs-website-content/womens-health/
1065+ async function womensHealthRoot ( req , res , next ) {
1066+ res . status ( 200 ) . json ( womensHealthRootResponse )
1067+ res . end ( )
1068+ next ( )
1069+ }
1070+
1071+ // Live website URL
1072+ // https://www.nhs.uk/womens-health/periods/
1073+ // This sandbox on localhost
1074+ // http://localhost:9000/womens-health/periods/
1075+ // API on Azure API Management
1076+ // https://api.nhs.uk/womens-health/periods/
1077+ // Wagtail (Python) Application (no auth key required)
1078+ // https://www.nhs.uk/content-api/womens-health/periods/
1079+ // Apigee Sandbox environment (no auth key required)
1080+ // https://sandbox.api.service.nhs.uk/nhs-website-content/womens-health/periods/
1081+ // Apigee Integration environment ('apikey' required in Header)
1082+ // https://int.api.service.nhs.uk/nhs-website-content/womens-health/periods/
1083+ // Apigee Production environment ('apikey' required in Header)
1084+ // https://api.service.nhs.uk/nhs-website-content/womens-health/periods/
1085+ async function womensHealthPeriods ( req , res , next ) {
1086+ res . status ( 200 ) . json ( womensHealthPeriodsResponse )
1087+ res . end ( )
1088+ next ( )
1089+ }
1090+
1091+ // Live website URL
1092+ // https://www.nhs.uk/womens-health/anaemia/
1093+ // This sandbox on localhost
1094+ // http://localhost:9000/womens-health/anaemia/
1095+ // API on Azure API Management
1096+ // https://api.nhs.uk/womens-health/anaemia/
1097+ // Wagtail (Python) Application (no auth key required)
1098+ // https://www.nhs.uk/content-api/womens-health/anaemia/
1099+ // Apigee Sandbox environment (no auth key required)
1100+ // https://sandbox.api.service.nhs.uk/nhs-website-content/womens-health/anaemia/
1101+ // Apigee Integration environment ('apikey' required in Header)
1102+ // https://int.api.service.nhs.uk/nhs-website-content/womens-health/anaemia/
1103+ // Apigee Production environment ('apikey' required in Header)
1104+ // https://api.service.nhs.uk/nhs-website-content/womens-health/anaemia/
1105+ async function womensHealthAnaemia ( req , res , next ) {
1106+ res . status ( 200 ) . json ( womensHealthAnaemiaResponse )
1107+ res . end ( )
1108+ next ( )
1109+ }
1110+
10421111// ******************************************************************
10431112// ** Status
10441113// ******************************************************************
@@ -1095,4 +1164,7 @@ module.exports = {
10951164 vaccinationsAvailableTravelVaccines,
10961165 vaccinationsNhsVaccinationsAndWhenToHaveThem,
10971166 vaccinationsRoot,
1167+ womensHealthAnaemia,
1168+ womensHealthPeriods,
1169+ womensHealthRoot,
10981170}
0 commit comments