{"openapi":"3.0.0","x-nhs-api-spec-guid":"fac3b3c9-638c-4a00-aa4b-3c7172abe80b","info":{"version":"v1.0.64-alpha","title":"ETP Web Service","license":{"name":"MIT"},"contact":{"url":"https://digital.nhs.uk/developer/help-and-support","email":"api.management@nhs.net"},"description":"<div class=\"nhsd-m-emphasis-box nhsd-m-emphasis-box--emphasis nhsd-!t-margin-bottom-6\" aria-label=\"Highlighted Information\">\n  <div class=\"nhsd-a-box nhsd-a-box--border-blue\">\n      <div class=\"nhsd-m-emphasis-box__image-box\">\n          <figure class=\"nhsd-a-image\">\n              <picture class=\"nhsd-a-image__picture\">\n                  <img src=\"//nhs-prod.global.ssl.fastly.net/svg-magic/binaries/content/gallery/icons/info.svg?colour=231f20\" alt=\"\" style=\"object-fit:fill\">\n              </picture>\n          </figure>\n      </div>\n      <div class=\"nhsd-m-emphasis-box__content-box\">\n          <div data-uipath=\"website.contentblock.emphasis.content\" class=\"nhsd-t-word-break\"><p class=\"nhsd-t-body\">This API is <a href=\"https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#statuses\">retired</a> and not available for use. For alternative APIs, <a href=\"https://digital.nhs.uk/developer/help-and-support\">contact us</a>.</p></div>            \n      </div>\n  </div>\n</div>\n\n## Overview    \nUse this API to get Electronic Prescription Service (EPS) dispenser (and dispensing appliance contractor) information for a patient via NHS UK Web Services.\n\nYou can search for dispenser information using:\n* a valid ODS code (previously known as NACS code)\n* their name and service type (community pharmacy or appliance contractor), and whether they are EPS-enabled or not\n* their name, location and the service type, and whether they are EPS-enabled or not\n* their postcode and service type, and whether they are EPS-enabled or not\n\nUse this API if you are building GP software - it provides additional information about dispensing appliance contractors that is not available through [Electronic Prescription Service Directory of Services API](https://digital.nhs.uk/developer/api-catalogue/electronic-prescription-service-directory-of-services).\n\n## Who can use this API\nThis API can only be used to support the delivery of health and social care.\n\n## Related APIs\nThe following APIs are related to this one:\n* [Electronic Prescription Service - FHIR API](https://digital.nhs.uk/developer/api-catalogue/electronic-prescription-service-fhir)  - access the Electronic Prescription Service (EPS) - currently you can only use this new API to prescribe, not dispense\n* [Electronic Prescription Service - HL7 V3 API](https://digital.nhs.uk/developer/api-catalogue/electronic-prescription-service-hl7-v3) - access the Electronic Prescription Service (EPS) to send prescriptions from prescribers such as GPs to dispensers such as pharmacies using our HL7 V3 API\n* [Electronic Prescription Tracker - REST API](https://digital.nhs.uk/developer/api-catalogue/spine-electronic-prescription-service-tracker-rest) - use this if you want a read-only interface to obtain information about a patient’s prescriptions\n* NHS BSA Prescription Services [Open Data Portal](https://opendata.nhsbsa.net/) - download public datasets including Secondary care medicines data (SCMD),  prescriptions issued in England, and Prescription Cost Analysis (PCA) in England\n* [Directory of Services - REST API](https://digital.nhs.uk/developer/api-catalogue/directory-of-services-urgent-and-emergency-care-rest) - retrieve information about a wide range of health and care services in England with our Directory of Services - REST API\n* [Directory of Services - SOAP API](https://digital.nhs.uk/developer/api-catalogue/directory-of-services-soap) - retrieve information about a wide range of health and care services in England with our Directory of Services - SOAP API\n* [Electronic Prescription Service Directory of Services API](https://digital.nhs.uk/developer/api-catalogue/electronic-prescription-service-directory-of-services) - use this API to access limited information about dispensing services\n* [Electronic Transmission of Prescriptions Web Services - SOAP API](https://digital.nhs.uk/developer/api-catalogue/electronic-transmission-of-prescriptions-web-services-soap) - use this to get prescription dispenser information for a patient, using NHS UK Web Services\n\n## API status and roadmap\nThis API is [retired](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#statuses) and no longer available for use.\n\nFor alternative APIs, [contact us](https://digital.nhs.uk/developer/help-and-support).\n\n## Service level\nThis API is a bronze service, meaning it is operational and supported only during business hours (8am to 6pm), Monday to Friday excluding bank holidays.\n\nFor more details, see [service levels](https://digital.nhs.uk/developer/guides-and-documentation/reference-guide#service-levels).\n\n## Technology\nThis API is a REST API. It is accessed through HTTP and returns data in a JSON format.\n\nFor more details, see [Basic REST](http://digital.nhs.uk/developer/guides-and-documentation/api-technologies-at-nhs-digital#basic-rest).\n\n## Network access    \nThis API is available on the internet and, indirectly, on the [Health and Social Care Network (HSCN)](https://digital.nhs.uk/services/health-and-social-care-network). \n\nFor more details see [Network access for APIs](https://digital.nhs.uk/developer/guides-and-documentation/network-access-for-apis).\n\n## Security and authorisation    \nYour API call must include a subscription-key header with a valid subscription key.\n\n[Login](https://developer.api.nhs.uk/login) or [register](https://developer.api.nhs.uk/register) to get an API key to use this API.\n\n## Environments and testing    \nThere are no testing environments. \n\nThe base URL for all production API calls is `https://api.nhs.uk/etp`.\n\n## Onboarding\nThere is no onboarding process or assurance required, other than [registering](https://developer.api.nhs.uk/register) to get an API key to use this API.\n"},"servers":[{"url":"http://etpwebservice.swagger.io"}],"paths":{"/SearchByName":{"get":{"summary":"Search dispensers by name","description":"## Overview\nThis method retrieves the first 25 pharmacies or appliance contractors (in alphabetical order) with a name like the one entered and the service type or EPS status chosen. \n\nIt is a non-geographical search, that is, for name only for virtual pharmacies or appliance contractors. \n\nThe match is based on the first part of the stored name. For example, a search for 'Coens' returns 'Coens Plc' but not 'The Coens Chemist'. \n\nThis is not a geographical search and returns any dispensaries within England that meet the name criteria.\n","operationId":"SearchByName","parameters":[{"name":"organisationName","in":"query","description":"The name of the pharmacy to search on","required":true,"example":"Boots","schema":{"type":"string"}},{"name":"serviceType","in":"query","description":"The service type to search for - Community Pharmacy (inc. Internet) (1) or Appliance (2)","required":true,"example":"Community Pharmacy (inc. Internet)","schema":{"type":"string"}},{"name":"eps","in":"query","description":"Retrieve EPS-enabled or disabled dispensers (YES/ NO) – The default value is YES.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The following is a digest of the returned data:\n* Dispensing site ODS code\n* Site name\n* Site contact details (telephone & fax)\n* Site address and postcode\n* URL\n* EPS status\n* Service type\n* Services it provides\n* Opening times\n\nResults are ordered alphabetically by dispensary name.\n","content":{"application/json":{"schema":{"type":"object","properties":{"organisationCode":{"type":"string","description":"Valid ODS Code","example":"FA818"},"name":{"type":"string","description":"The name of the pharmacy to search on","example":"Boots"},"phone":{"type":"string","description":"Phone number of dispenser","example":1234567890},"fax":{"type":"string","description":"FAX number of dispanser","example":1234567890},"street":{"type":"string","description":"Street name of dispenser","example":"44 High Street"},"locality":{"type":"string","description":"Locality of dispenser","example":"Meadowhall Centre"},"town":{"type":"string","description":"Town name of dispenser","example":"Sheffield"},"administrative":{"type":"string","description":"Administrative area of dispenser","example":"South Yorkshire"},"postcode":{"type":"string","description":"Postcode of dispenser","example":"S9 1EN"},"url":{"type":"string","description":"URL of dispenser"},"eps":{"type":"boolean","description":"Is dispenser EPS-enabled or not"},"serviceType":{"type":"string","description":"The service type to search for - Community Pharmacy, including Internet (1) or Appliance (2)","example":"Community"},"distance":{"type":"number","format":"double","description":"Distance of dispenser from supplied postcode","example":0},"services":{"type":"array","items":{"type":"object","properties":{"serviceName":{"type":"string","example":"Pharmacy Service: Prescription collection from local General Practices"},"serviceCode":{"type":"string","example":"SRV0519"},"serviceProvider":{"type":"string"}}}},"openingTimes":{"type":"array","items":{"type":"object","properties":{"weekDay":{"type":"string","description":"Day of week","example":"Sunday"},"times":{"type":"string","description":"Times","example":"08:00-16:30"},"offsetOpeningTime":{"type":"string","description":"Opening time offset","example":480},"offsetClosingTime":{"type":"string","description":"Closing time offset","example":990},"openingTimeType":{"type":"string","example":"General"},"additionalOpeningDate":{"type":"string","description":"Additional opening date","example":"Dec 24 2022"},"isOpen":{"type":"boolean"}}}}}},"example":{"organisationCode":"FA818","name":"Boots","phone":"01142568011","fax":"01142568028","street":"44A High Street","locality":"Meadowhall Centre","town":null,"administrative":"South Yorkshire","postcode":"S9 1EN","eps":true,"serviceType":"Community","distance":0,"services":[{"serviceName":"Pharmacy Service: Prescription collection from local General Practices","serviceCode":"SRV0519","serviceProvider":"{}"}],"openingTimes":[{"weekDay":"","times":"08:00-16:30","offsetOpeningTime":"480","offsetClosingTime":"990","openingTimeType":"General","additionalOpeningDate":"Dec 24 2021","isOpen":true}]}}}},"400":{"description":"If any of required parameters are not provided"}}}},"/SearchByNameAndLocation":{"get":{"summary":"Search dispensers by name and location","description":"## Overview\nThis method retrieves pharmacies or appliance contractors with the address or post code specified that have a name like the one entered, and the service type or EPS status chosen. \n \nThis search matches on either part postcode or town name. If you supply both, the postcode is used. \n \nFor example, if you supply a part postcode of LS1, the search only returns dispensaries within LS1. No dispensaries in surrounding postcodes are returned even if there are less than 25 in the supplied part postcode results. \n \nFor a match against the name, the first part of the stored name is used. For example, a search for 'Coens' should return 'Coens Plc' but not 'The Coens Chemist'.\n","operationId":"/SearchByNameAndLocation","parameters":[{"name":"organisationName","in":"query","description":"The name of the pharmacy to search on","required":true,"example":"Boots","schema":{"type":"string"}},{"name":"partPostcode","in":"query","description":"First part of a valid postcode to search on","required":false,"example":"LS2","schema":{"type":"string"}},{"name":"location","in":"query","description":"Street name or town name to search","example":"Leeds","schema":{"type":"string"}},{"name":"serviceType","in":"query","description":"The service type to search for - Community Pharmacy (inc. Internet) (1) or Appliance (2)","required":true,"example":"Community Pharmacy (inc. Internet)","schema":{"type":"string"}},{"name":"eps","in":"query","description":"Retrieve EPS-enabled or disabled dispensers (YES/ NO) – The default value is YES.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The following is a digest of the returned data:\n* Dispensing site ODS code\n* Site name\n* Site contact details (telephone & fax)\n* Site address and postcode\n* URL\n* EPS status\n* Service type\n* Distance from supplied postcode\n* Services it provides\n* Opening times\n\nResults are ordered by distance from the supplied postcode with the nearest first.\n","content":{"application/json":{"schema":{"type":"object","properties":{"organisationCode":{"type":"string","description":"Valid ODS Code","example":"FA818"},"name":{"type":"string","description":"The name of the pharmacy to search on","example":"Boots"},"phone":{"type":"string","description":"Phone number of dispenser","example":1234567890},"fax":{"type":"string","description":"FAX number of dispanser","example":1234567890},"street":{"type":"string","description":"Street name of dispenser","example":"44 High Street"},"locality":{"type":"string","description":"Locality of dispenser","example":"Meadowhall Centre"},"town":{"type":"string","description":"Town name of dispenser","example":"Sheffield"},"administrative":{"type":"string","description":"Administrative area of dispenser","example":"South Yorkshire"},"postcode":{"type":"string","description":"Postcode of dispenser","example":"S9 1EN"},"url":{"type":"string","description":"URL of dispenser"},"eps":{"type":"boolean","description":"Is dispenser EPS-enabled or not"},"serviceType":{"type":"string","description":"The service type to search for - Community Pharmacy, including Internet (1) or Appliance (2)","example":"Community"},"distance":{"type":"number","format":"double","description":"Distance of dispenser from supplied postcode","example":0},"services":{"type":"array","items":{"type":"object","properties":{"serviceName":{"type":"string","example":"Pharmacy Service: Prescription collection from local General Practices"},"serviceCode":{"type":"string","example":"SRV0519"},"serviceProvider":{"type":"string"}}}},"openingTimes":{"type":"array","items":{"type":"object","properties":{"weekDay":{"type":"string","description":"Day of week","example":"Sunday"},"times":{"type":"string","description":"Times","example":"08:00-16:30"},"offsetOpeningTime":{"type":"string","description":"Opening time offset","example":480},"offsetClosingTime":{"type":"string","description":"Closing time offset","example":990},"openingTimeType":{"type":"string","example":"General"},"additionalOpeningDate":{"type":"string","description":"Additional opening date","example":"Dec 24 2022"},"isOpen":{"type":"boolean"}}}}}},"example":{"organisationCode":"FG044","name":"Boots","phone":"01484519734","fax":"01484518616","street":"Great Northern Retail Pk","locality":"Leeds Rd","town":null,"administrative":"West Yorkshire","postcode":"HD1 6ND","eps":true,"serviceType":"Community","distance":0,"services":[{"serviceName":"Pharmacy Service: New medicine service","serviceCode":"SRV0257","serviceProvider":"{}"}],"openingTimes":[{"weekDay":"Saturday","times":"08:00-22:00","offsetOpeningTime":"480","offsetClosingTime":"1320","openingTimeType":"General","additionalOpeningDate":"","isOpen":true}]}}}},"400":{"description":"If any of required parameters are not provided"}}}},"/SearchByODSCode":{"get":{"summary":"Search dispensers by ODS code","description":"## Overview\nIf you know the Organisation Data Service (ODS) code of a local pharmacy, you might not wish to search for a dispenser by name or location. Use this endpoint to validate that the ODS code is a valid dispenser. \n \nIt returns pertinent information about the dispenser to allow the end user to validate that the ODS code is the dispenser they intended. \n \nThe information returned includes whether the dispenser is EPS-enabled. \n \nThis endpoint only returns organisations registered as dispensers. If you supply a valid ODS code but it is not registered as a dispenser, then it returns no data.\n","operationId":"SearchByODSCode","parameters":[{"name":"odscode","in":"query","description":"Valid ODS code such as FLH84, FHH81 or FW866","required":true,"example":"FLH84","schema":{"type":"string"}}],"responses":{"200":{"description":"The following is a digest of the returned data:\n* Dispensing site ODS code\n* Site name\n* Site contact details (telephone & fax)\n* Site address and postcode\n* URL\n* EPS status\n* Service type\n* Services it provides\n* Opening times\n","content":{"application/json":{"schema":{"type":"object","properties":{"organisationCode":{"type":"string","description":"Valid ODS Code","example":"FA818"},"name":{"type":"string","description":"The name of the pharmacy to search on","example":"Boots"},"phone":{"type":"string","description":"Phone number of dispenser","example":1234567890},"fax":{"type":"string","description":"FAX number of dispanser","example":1234567890},"street":{"type":"string","description":"Street name of dispenser","example":"44 High Street"},"locality":{"type":"string","description":"Locality of dispenser","example":"Meadowhall Centre"},"town":{"type":"string","description":"Town name of dispenser","example":"Sheffield"},"administrative":{"type":"string","description":"Administrative area of dispenser","example":"South Yorkshire"},"postcode":{"type":"string","description":"Postcode of dispenser","example":"S9 1EN"},"url":{"type":"string","description":"URL of dispenser"},"eps":{"type":"boolean","description":"Is dispenser EPS-enabled or not"},"serviceType":{"type":"string","description":"The service type to search for - Community Pharmacy, including Internet (1) or Appliance (2)","example":"Community"},"distance":{"type":"number","format":"double","description":"Distance of dispenser from supplied postcode","example":0},"services":{"type":"array","items":{"type":"object","properties":{"serviceName":{"type":"string","example":"Pharmacy Service: Prescription collection from local General Practices"},"serviceCode":{"type":"string","example":"SRV0519"},"serviceProvider":{"type":"string"}}}},"openingTimes":{"type":"array","items":{"type":"object","properties":{"weekDay":{"type":"string","description":"Day of week","example":"Sunday"},"times":{"type":"string","description":"Times","example":"08:00-16:30"},"offsetOpeningTime":{"type":"string","description":"Opening time offset","example":480},"offsetClosingTime":{"type":"string","description":"Closing time offset","example":990},"openingTimeType":{"type":"string","example":"General"},"additionalOpeningDate":{"type":"string","description":"Additional opening date","example":"Dec 24 2022"},"isOpen":{"type":"boolean"}}}}}},"example":{"organisationCode":"FG044","name":"Boots","phone":"01484519734","fax":"01484518616","street":"Great Northern Retail Pk","locality":"Leeds Rd","town":null,"administrative":"West Yorkshire","postcode":"HD1 6ND","eps":true,"serviceType":"Community","distance":0,"services":[{"serviceName":"Pharmacy Service: Electronic Prescription Service","serviceCode":"EPS0001","serviceProvider":"{}"}],"openingTimes":[{"weekDay":"Monday","times":"08:00-23:59","offsetOpeningTime":"480","offsetClosingTime":"1439","openingTimeType":"General","additionalOpeningDate":"","isOpen":true}]}}}},"204":{"description":"OdsCode not found"},"400":{"description":"If the OdsCode is null or empty"}}}},"/SearchByPostcode":{"get":{"summary":"Search dispensers by postcode","description":"## Overview\nThis endpoint retrieves the 25 nearest pharmacies or appliance contractors to the supplied postcode and the service type or EPS status chosen.\n","operationId":"SearchByPostcode","parameters":[{"name":"fullpostcode","in":"query","description":"Full postcode to search on","required":true,"example":"LS2 8PJ","schema":{"type":"string"}},{"name":"serviceType","in":"query","description":"The service type to search for - Community Pharmacy (inc. Internet) (1) or Appliance (2)","required":true,"example":"Community Pharmacy (inc. Internet)","schema":{"type":"string"}},{"name":"eps","in":"query","description":"Retrieve EPS-enabled or disabled dispensers (YES/ NO) – The default value is YES.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The following is a digest of the returned data:\n* Dispensing site ODS code\n* Site name\n* Site contact details (telephone & fax)\n* Site address and postcode\n* URL\n* EPS status\n* Service type\n* Services it provides\n* Opening times\n\nResults are ordered by distance from the supplied postcode with the nearest first.\n","content":{"application/json":{"schema":{"type":"object","properties":{"organisationCode":{"type":"string","description":"Valid ODS Code","example":"FA818"},"name":{"type":"string","description":"The name of the pharmacy to search on","example":"Boots"},"phone":{"type":"string","description":"Phone number of dispenser","example":1234567890},"fax":{"type":"string","description":"FAX number of dispanser","example":1234567890},"street":{"type":"string","description":"Street name of dispenser","example":"44 High Street"},"locality":{"type":"string","description":"Locality of dispenser","example":"Meadowhall Centre"},"town":{"type":"string","description":"Town name of dispenser","example":"Sheffield"},"administrative":{"type":"string","description":"Administrative area of dispenser","example":"South Yorkshire"},"postcode":{"type":"string","description":"Postcode of dispenser","example":"S9 1EN"},"url":{"type":"string","description":"URL of dispenser"},"eps":{"type":"boolean","description":"Is dispenser EPS-enabled or not"},"serviceType":{"type":"string","description":"The service type to search for - Community Pharmacy, including Internet (1) or Appliance (2)","example":"Community"},"distance":{"type":"number","format":"double","description":"Distance of dispenser from supplied postcode","example":0},"services":{"type":"array","items":{"type":"object","properties":{"serviceName":{"type":"string","example":"Pharmacy Service: Prescription collection from local General Practices"},"serviceCode":{"type":"string","example":"SRV0519"},"serviceProvider":{"type":"string"}}}},"openingTimes":{"type":"array","items":{"type":"object","properties":{"weekDay":{"type":"string","description":"Day of week","example":"Sunday"},"times":{"type":"string","description":"Times","example":"08:00-16:30"},"offsetOpeningTime":{"type":"string","description":"Opening time offset","example":480},"offsetClosingTime":{"type":"string","description":"Closing time offset","example":990},"openingTimeType":{"type":"string","example":"General"},"additionalOpeningDate":{"type":"string","description":"Additional opening date","example":"Dec 24 2022"},"isOpen":{"type":"boolean"}}}}}},"example":{"organisationCode":"FG044","name":"Boots","phone":"01484519734","fax":"01484518616","street":"Great Northern Retail Pk","locality":"Leeds Rd","town":null,"administrative":"West Yorkshire","postcode":"HD1 6ND","url":null,"eps":true,"serviceType":"Community","distance":6.55125106677916E-4,"services":[{"serviceName":"Pharmacy Service (NHS): Supervised consumption of medicines","serviceCode":"SRV0258","serviceProvider":"{}"}],"openingTimes":[{"weekDay":"Friday","times":"08:00-23:59","offsetOpeningTime":"480","offsetClosingTime":"1439","openingTimeType":"General","additionalOpeningDate":"","isOpen":true}]}}}},"400":{"description":"If any of required parameters are not provided"}}}},"/SearchInternetPharmacy":{"get":{"summary":"Search all internet pharmacies","description":"## Overview\nGet all internet pharmacies.\n","operationId":"SearchInternetPharmacy","responses":{"200":{"description":"The following is a digest of the returned data:\n* Dispensing site ODS code\n* Site name\n* Site contact details (telephone & fax)\n* Site address and postcode\n* URL\n* EPS status\n* Service type\n* Services it provides\n* Opening times\n\nResults are ordered alphabetically by dispensary name.\n","content":{"application/json":{"schema":{"type":"object","properties":{"organisationCode":{"type":"string","description":"Valid ODS Code","example":"FA818"},"name":{"type":"string","description":"The name of the pharmacy to search on","example":"Boots"},"phone":{"type":"string","description":"Phone number of dispenser","example":1234567890},"fax":{"type":"string","description":"FAX number of dispanser","example":1234567890},"street":{"type":"string","description":"Street name of dispenser","example":"44 High Street"},"locality":{"type":"string","description":"Locality of dispenser","example":"Meadowhall Centre"},"town":{"type":"string","description":"Town name of dispenser","example":"Sheffield"},"administrative":{"type":"string","description":"Administrative area of dispenser","example":"South Yorkshire"},"postcode":{"type":"string","description":"Postcode of dispenser","example":"S9 1EN"},"url":{"type":"string","description":"URL of dispenser"},"eps":{"type":"boolean","description":"Is dispenser EPS-enabled or not"},"serviceType":{"type":"string","description":"The service type to search for - Community Pharmacy, including Internet (1) or Appliance (2)","example":"Community"},"distance":{"type":"number","format":"double","description":"Distance of dispenser from supplied postcode","example":0},"services":{"type":"array","items":{"type":"object","properties":{"serviceName":{"type":"string","example":"Pharmacy Service: Prescription collection from local General Practices"},"serviceCode":{"type":"string","example":"SRV0519"},"serviceProvider":{"type":"string"}}}},"openingTimes":{"type":"array","items":{"type":"object","properties":{"weekDay":{"type":"string","description":"Day of week","example":"Sunday"},"times":{"type":"string","description":"Times","example":"08:00-16:30"},"offsetOpeningTime":{"type":"string","description":"Opening time offset","example":480},"offsetClosingTime":{"type":"string","description":"Closing time offset","example":990},"openingTimeType":{"type":"string","example":"General"},"additionalOpeningDate":{"type":"string","description":"Additional opening date","example":"Dec 24 2022"},"isOpen":{"type":"boolean"}}}}}}}}}}}}},"components":{"schemas":{"openingTimesModel":{"type":"object","properties":{"weekDay":{"type":"string","description":"Day of week","example":"Sunday"},"times":{"type":"string","description":"Times","example":"08:00-16:30"},"offsetOpeningTime":{"type":"string","description":"Opening time offset","example":480},"offsetClosingTime":{"type":"string","description":"Closing time offset","example":990},"openingTimeType":{"type":"string","example":"General"},"additionalOpeningDate":{"type":"string","description":"Additional opening date","example":"Dec 24 2022"},"isOpen":{"type":"boolean"}}},"serviceModel":{"type":"object","properties":{"serviceName":{"type":"string","example":"Pharmacy Service: Prescription collection from local General Practices"},"serviceCode":{"type":"string","example":"SRV0519"},"serviceProvider":{"type":"string"}}},"pharmacyModel":{"type":"object","properties":{"organisationCode":{"type":"string","description":"Valid ODS Code","example":"FA818"},"name":{"type":"string","description":"The name of the pharmacy to search on","example":"Boots"},"phone":{"type":"string","description":"Phone number of dispenser","example":1234567890},"fax":{"type":"string","description":"FAX number of dispanser","example":1234567890},"street":{"type":"string","description":"Street name of dispenser","example":"44 High Street"},"locality":{"type":"string","description":"Locality of dispenser","example":"Meadowhall Centre"},"town":{"type":"string","description":"Town name of dispenser","example":"Sheffield"},"administrative":{"type":"string","description":"Administrative area of dispenser","example":"South Yorkshire"},"postcode":{"type":"string","description":"Postcode of dispenser","example":"S9 1EN"},"url":{"type":"string","description":"URL of dispenser"},"eps":{"type":"boolean","description":"Is dispenser EPS-enabled or not"},"serviceType":{"type":"string","description":"The service type to search for - Community Pharmacy, including Internet (1) or Appliance (2)","example":"Community"},"distance":{"type":"number","format":"double","description":"Distance of dispenser from supplied postcode","example":0},"services":{"type":"array","items":{"type":"object","properties":{"serviceName":{"type":"string","example":"Pharmacy Service: Prescription collection from local General Practices"},"serviceCode":{"type":"string","example":"SRV0519"},"serviceProvider":{"type":"string"}}}},"openingTimes":{"type":"array","items":{"type":"object","properties":{"weekDay":{"type":"string","description":"Day of week","example":"Sunday"},"times":{"type":"string","description":"Times","example":"08:00-16:30"},"offsetOpeningTime":{"type":"string","description":"Opening time offset","example":480},"offsetClosingTime":{"type":"string","description":"Closing time offset","example":990},"openingTimeType":{"type":"string","example":"General"},"additionalOpeningDate":{"type":"string","description":"Additional opening date","example":"Dec 24 2022"},"isOpen":{"type":"boolean"}}}}}}}}}