@@ -21,6 +21,7 @@ enum VaccineType {
2121 HIB_MENC = "HIB_MENC" ,
2222 FLU_IN_PREGNANCY = "FLU_IN_PREGNANCY" ,
2323 COVID_19 = "COVID_19" ,
24+ FLU_FOR_ADULTS = "FLU_FOR_ADULTS" ,
2425}
2526
2627export type VaccineDetails = {
@@ -319,6 +320,22 @@ const VaccineInfo: Record<VaccineType, VaccineDetails> = {
319320 cacheFilename : "covid-19-vaccine.json" as Filename ,
320321 nbsPath : "covid-19-vaccine" as UrlPathFragment , // TODO VIA-603: Is this correct?
321322 } ,
323+ [ VaccineType . FLU_FOR_ADULTS ] : {
324+ urlPath : "flu-vaccine" as UrlPathFragment ,
325+ displayName : {
326+ titleCase : "Flu" ,
327+ midSentenceCase : "flu" ,
328+ indefiniteArticle : "a" ,
329+ } ,
330+ heading : "Flu vaccine" ,
331+ cardLinkTitle : "Flu" ,
332+ nhsWebpageLink : new URL ( "https://www.nhs.uk/vaccinations/flu-vaccine/" ) ,
333+ nhsHowToGetWebpageLink : new URL ( "https://www.nhs.uk/vaccinations/flu-vaccine/#how-to-get-it" ) ,
334+ personalisedEligibilityStatusRequired : false ,
335+ contentPath : "vaccinations/flu-vaccine" as UrlPathFragment ,
336+ cacheFilename : "flu-vaccine.json" as Filename ,
337+ nbsPath : "path-to-be-removed" as UrlPathFragment ,
338+ } ,
322339} ;
323340
324341const vaccineUrlPathToVaccineType = new Map < UrlPathFragment , VaccineType > ( ) ;
@@ -327,10 +344,11 @@ Object.entries(VaccineInfo).forEach(([vaccineType, vaccineDetails]) => {
327344} ) ;
328345
329346const adultVaccines : VaccineType [ ] = [
347+ VaccineType . COVID_19 ,
348+ VaccineType . FLU_FOR_ADULTS ,
330349 VaccineType . RSV ,
331350 VaccineType . SHINGLES ,
332351 VaccineType . PNEUMOCOCCAL ,
333- VaccineType . COVID_19 ,
334352] ;
335353
336354const pregnancyVaccines : VaccineType [ ] = [
0 commit comments