TempoLife

TempoLife › Возможности › Pharmacies and out-of-hours cover › registers-and-data

The registers, and how to check a list yourself

Why this surface has no addresses, which register is authoritative for what, how amenity=pharmacy and opening_hours work in OpenStreetMap, and the licence terms that come with the data.

Краткая версия
Короче говоряЧто это значит
Authoritative for existenceThe national medicines agency register
Authoritative for hoursThe pharmacy itself, and nothing else
Community dataOpenStreetMap, under the Open Database License
Chain rotasLink and attribute; do not scrape without checking the terms

Здесь описывается, как работают аптечные системы; это не медицинский совет, не диагноз и не справочник. Он не содержит названий аптек, адресов, номеров телефонов, времени работы или цен, поскольку они устаревают быстрее, чем страница может быть переиздана — все, что касается времени, уточняйте в самой аптеке. Ничто здесь не является поводом начинать, прекращать или менять лекарство: это принадлежит вашему лечащему врачу, а фармацевт за прилавком - самый быстрый профессионал, который может задать вопрос в это время.

Why there are no addresses on this surface

A pharmacy directory is a data-freshness problem wearing a content problem's clothes. Locations are stable, names change slowly, and hours change several times a year — seasonally, at Christmas, when staffing changes, when the building around the pharmacy changes its own hours. A published list of hours is therefore wrong somewhere on the day it is published and wronger every week afterwards, and the specific harm is not abstract: it is a person driving across a city at eleven at night to a dark window. What is stable enough to write down is the system — the regulator, the register, the prescription mechanism, the reimbursement rule and the local vocabulary. That is what this surface contains.

Which register answers which question

Every country here has a medicines agency that licenses pharmacies and publishes a register of them: Ravimiamet in Estonia, Fimea in Finland, the State Agency of Medicines in Latvia, the State Medicines Control Agency in Lithuania, Läkemedelsverket in Sweden, the Norwegian medical products authority, and Lægemiddelstyrelsen in Denmark. That register answers one question authoritatively — is this a licensed pharmacy — and no others. It is not a source of opening hours anywhere in this region. Separately, most of the same agencies publish a register of authorised medicines, which answers a different question and carries the official package leaflet; people looking for one routinely land in the other. The Estonian page spells out that distinction, and it holds everywhere.

OpenStreetMap: what it is good for

In OpenStreetMap a pharmacy is tagged amenity=pharmacy, usually with dispensing=yes where it fills prescriptions, a name, and often opening_hours. Coverage of locations in the Nordic and Baltic cities is genuinely good, and for "where are the pharmacies near this point" it is the best free dataset there is. Coverage of hours is a different matter: an opening_hours value is only as fresh as the last mapper who checked it, it carries no timestamp a user sees, and it is silently absent far more often than it is wrong. Use OSM to enumerate candidates and the pharmacy's own channel to confirm one — that division of labour is the whole method.

Querying it, and the licence you are agreeing to

The practical tool for extracting a set of pharmacies is Overpass, which queries the OSM database directly; a query for amenity=pharmacy inside a bounding box or an administrative area returns the nodes and ways with their tags in a few seconds. What comes back is licensed under the Open Database License. That licence has two obligations people forget: attribution — you must credit OpenStreetMap contributors — and share-alike, which applies when you publish a derived database. Using the data to answer a question is unproblematic; republishing an enriched copy of it is a licensing decision, not a technical one. The licence text is short and worth reading once.

Reading and writing opening_hours

The syntax is compact and covers far more than any pharmacy needs. The subset that covers nearly everything real: weekday selectors (Mo-Fr, Sa,Su), time ranges (09:00-19:00), several ranges separated by commas, off for closed, 24/7 for round the clock, and PH for public holidays. Rules are separated by semicolons and a later rule overrides an earlier one for the days it names. A range whose end is earlier than its start crosses midnight. Beyond that the grammar has month and week selectors, ordinal weekdays, sunrise and sunset and fallback rules, and any parser should say clearly when it has met something it cannot read rather than guessing. The checker on the open-now page does exactly that.

Chains, rotas and terms of use

The most current duty information in most of these countries sits on a pharmacy chain's own site or a pharmacy association's search. Those are the right things to link to and the wrong things to copy: whether you may extract and republish them is a question about their terms of use and about database rights, not about whether a scraper works. The defensible pattern is the one this surface uses — describe the system, name the publisher, link to the source, and let the visitor land on the page that is maintained by the people who know. If you are building something for a municipality or a health service, ask the publisher; in this field they are usually glad to be asked.

Читатель часов открытия

Читать строку «время открытия»

Вставьте значение opening_hours из записи карты, канала данных сети или дверного объявления, и вы увидите, что там написано. Благодаря JavaScript он отвечает на тот момент, когда вы его читаете; без него, таблица ниже соответствует фиксированному опорному моменту.

Чтение длясуббота 21:40: см. таблицу ниже.

Общие шаблоны правил — формы значения «часы открытия», а не реальный бизнес — читайте насуббота 21:40
opening_hoursФорма правилаНа английском языкеAt суббота 21:40Следующее изменение
24/7A genuine round-the-clock pharmacyОткрыто круглосуточно, каждый деньОткрытьникаких изменений всю неделю
Mo-Fr 09:00-19:00; Sa 10:00-15:00; Su offA typical town pharmacyMon–Fri 09:00–19:00; Sat 10:00–15:00; Sun closedЗакрытоopens понедельник 09:00
Mo-Fr 08:00-20:00; Sa-Su 10:00-18:00A pharmacy inside a shopping centreMon–Fri 08:00–20:00; Sat–Sun 10:00–18:00Закрытоopens воскресенье 10:00
Mo-Sa 09:00-21:00; Su 10:00-18:00; PH offRetail hours with a public holiday ruleMon–Sat 09:00–21:00; Sun 10:00–18:00; государственные праздникиclosedЗакрытоopens воскресенье 10:00
Mo-Su 22:00-08:00A night counter, crossing midnightMon–Sun 22:00–08:00next dayЗакрытоopens суббота 22:00
Mo-Fr 09:00-13:00,14:00-17:00; Sa,Su offA village pharmacy with a lunch breakMon–Fri 09:00–13:00, 14:00–17:00; Sat–Sun closedЗакрытоopens понедельник 09:00
Mo-Fr 08:30-16:30; PH offA pharmacy on a hospital siteMon–Fri 08:30–16:30; Sat–Sun closed; государственные праздникиclosedЗакрытоopens понедельник 08:30
Jan-Mar Mo-Fr 09:00-17:00A seasonal rule this reader does not implementздесь не читается: селекторы месяца——

Последняя строка — это точка таблицы. Читатель, который не может проанализировать конструкцию, должен назвать это по имени, а не догадываться, потому что анализатор, который молча отбрасывает сезонное правило, сообщает, что аптека открыта в один день года, для описания которого существует правило.

Источники:OpenStreetMap · OpenStreetMap wiki — amenity=pharmacy · OpenStreetMap wiki — the opening_hours syntax · Open Database License 1.0 · Overpass Turbo — querying OpenStreetMap· проверено2026-09-08

Частые вопросы

Почему на этом сайте нет адресов и часов работы аптек?

Потому что часы меняются несколько раз в год, и опубликованный список в день появления уже где-то неверен. Вред конкретен — поездка через город ночью к тёмному окну. Достаточно стабильно для публикации — система: регулятор, реестр, правила рецептов и местная лексика.

Какой реестр говорит, что аптека законна?

Реестр национального агентства лекарств каждой страны. Он авторитетен в том, лицензирована ли аптека, и ни в чём больше — в частности не в часах работы, которые везде в регионе публикует сама аптека.

Можно ли использовать данные OpenStreetMap для поиска аптек?

Да, по Open Database License, которая требует указания авторов OpenStreetMap и условий share-alike при публикации производной базы. Покрытие локаций хорошее; часов работы — дырявое и без даты, поэтому часы — лишь подсказка для проверки.

Как запросить все аптеки в городе?

Через Overpass, запрос amenity=pharmacy в ограничивающем прямоугольнике или административном районе. Узлы и пути с тегами за секунды. Всё срочное подтверждайте по каналу самой аптеки.

Другие правила

Находим тот, который открыт прямо сейчас

Порядок поиска, который работает, почему карта ошибается чаще, чем регистр, как прочитать строку opens_hours и что делать, когда ничего не открыто.

Ночью, в выходные и праздничные дни

Кто решает, что аптека остается открытой, как публикуется график дежурств, в какие праздники все закрывается и как планировать повторный рецепт на длинные выходные.

Что может сделать фармацевт без врача

Три правовые полки: что на самом деле обучен ловить фармацевт, вопросы, которые они будут задавать и почему, и момент, когда ответом будет врач, а не продукт.

У вас закончилось лекарство

Какие ситуации являются срочными, а не неудобными, как продлевается повтор в каждой стране, что аптека может сделать по своему усмотрению и как предотвратить повторение этого.

Цифровые рецепты на стойке

Что такое национальный магазин рецептов, как вы идентифицируете себя, как получить лекарства для кого-то другого, что вы можете увидеть сами и где система останавливается на границе.

Использование рецепта в другой стране

Правила ЕС, которые делают рецепт портативным, элементы, которые он должен содержать, лекарства, для которых требуется туристический сертификат, а также то, что дает и не оплачивает европейская карта медицинского страхования.

Все22страницы аптекВзаимодействие с лекарствами

Ответ на вопрос «что вы принимаете?»

TempoLife — это бесплатный трекер привычек к здоровью с заметками и журналом приема лекарств, поэтому детали, которые запрашивает фармацевт или врач в нерабочее время, уже записаны, а не запоминаются.

Create a free accountСкачать приложение