TempoLife › Funciones › 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.
| En resumen | lo que significa |
|---|---|
| Authoritative for existence | The national medicines agency register |
| Authoritative for hours | The pharmacy itself, and nothing else |
| Community data | OpenStreetMap, under the Open Database License |
| Chain rotas | Link and attribute; do not scrape without checking the terms |
Esto describe cómo funcionan los sistemas de farmacia; No es un consejo médico, ni un diagnóstico, ni un directorio. No incluye nombres de farmacias, direcciones, números de teléfono, horarios de apertura o precios, porque quedan obsoletos más rápido de lo que se puede volver a publicar una página; confirme cualquier cosa urgente con la propia farmacia. Nada aquí es motivo para empezar, suspender o cambiar un medicamento: eso pertenece a quien lo receta, y el farmacéutico en el mostrador es el profesional más rápido para preguntar mientras tanto.
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.
El lector de horas de apertura
Leer una cadena de horas de apertura
Pegue el valor opening_hours de un registro de mapa, un feed de datos de una cadena o un aviso de puerta y esto le dirá lo que dice. Con JavaScript responde en el momento en que lo estás leyendo; sin él, la siguiente tabla responde a un momento de referencia fijo.
Leyendo parasábado 21:40: consulte la tabla a continuación.
| opening_hours | La forma de la regla | En ingles | At sábado 21:40 | Próximo cambio |
|---|---|---|---|---|
24/7 | A genuine round-the-clock pharmacy | Abierto las 24 horas, todos los días | Abierto | sin cambios toda la semana |
Mo-Fr 09:00-19:00; Sa 10:00-15:00; Su off | A typical town pharmacy | Mon–Fri 09:00–19:00; Sat 10:00–15:00; Sun closed | Cerrado | opens lunes 09:00 |
Mo-Fr 08:00-20:00; Sa-Su 10:00-18:00 | A pharmacy inside a shopping centre | Mon–Fri 08:00–20:00; Sat–Sun 10:00–18:00 | Cerrado | opens domingo 10:00 |
Mo-Sa 09:00-21:00; Su 10:00-18:00; PH off | Retail hours with a public holiday rule | Mon–Sat 09:00–21:00; Sun 10:00–18:00; días festivosclosed | Cerrado | opens domingo 10:00 |
Mo-Su 22:00-08:00 | A night counter, crossing midnight | Mon–Sun 22:00–08:00next day | Cerrado | opens sábado 22:00 |
Mo-Fr 09:00-13:00,14:00-17:00; Sa,Su off | A village pharmacy with a lunch break | Mon–Fri 09:00–13:00, 14:00–17:00; Sat–Sun closed | Cerrado | opens lunes 09:00 |
Mo-Fr 08:30-16:30; PH off | A pharmacy on a hospital site | Mon–Fri 08:30–16:30; Sat–Sun closed; días festivosclosed | Cerrado | opens lunes 08:30 |
Jan-Mar Mo-Fr 09:00-17:00 | A seasonal rule this reader does not implement | no se lee aquí: selectores de mes | — | — |
La última fila es el punto de la tabla. Un lector que no puede analizar una construcción debería decirlo por su nombre en lugar de adivinar, porque un analizador que elimina silenciosamente una regla estacional informa que una farmacia está abierta el único día del año que la regla existe para describir.
Fuentes:OpenStreetMap · OpenStreetMap wiki — amenity=pharmacy · OpenStreetMap wiki — the opening_hours syntax · Open Database License 1.0 · Overpass Turbo — querying OpenStreetMap· comprobado2026-09-08
Preguntas frecuentes
¿Por qué este sitio no lista direcciones y horarios de farmacias?
Porque los horarios cambian varias veces al año y una lista publicada está mal en algún sitio el día que aparece. El daño es concreto: un viaje por la ciudad de noche a un escaparate a oscuras. Lo bastante estable para publicar es el sistema: el regulador, el registro, las normas de receta y el vocabulario local.
¿Qué registro me dice si una farmacia es legítima?
El registro de la agencia nacional de medicamentos de cada país. Es autoritativo sobre si una farmacia está licenciada y sobre nada más: en particular no sobre horarios, que en toda esta región publica la propia farmacia.
¿Puedo usar datos de OpenStreetMap para un buscador de farmacias?
Sí, bajo la Open Database License, que exige atribución a los colaboradores de OpenStreetMap y share-alike si publica una base derivada. La cobertura de ubicación es buena; la de horarios es irregular y sin fecha, así que trate las horas como una pista a confirmar.
¿Cómo consulto todas las farmacias de una ciudad?
Con Overpass, consultando amenity=pharmacy en una caja delimitadora o un área administrativa. Devuelve nodos y vías con etiquetas en segundos. Confirme lo sensible al tiempo en el canal de la farmacia antes de actuar.
Las otras reglas
Encontrar uno que esté abierto ahora mismo
El orden de búsqueda que funciona, por qué el mapa falla con más frecuencia que el registro, cómo leer una cadena de horas de apertura y qué hacer cuando no hay nada abierto.
Noches, fines de semana y festivos
Quién decide que una farmacia permanezca abierta, cómo se publica la lista de turnos, qué días festivos se cierra todo y cómo planificar una repetición de prescripción en un fin de semana largo.
Qué puede hacer un farmacéutico sin un médico
Los tres estantes legales, lo que realmente está capacitado para captar un farmacéutico, las preguntas que harán y por qué, y el punto en el que la respuesta es un médico en lugar de un producto.
Te has quedado sin medicamento
Qué situaciones son más urgentes que inconvenientes, cómo se renueva una repetición en cada país, qué puede hacer una farmacia según su criterio y cómo evitar que vuelva a ocurrir.
Recetas digitales en ventanilla
Qué es una tienda nacional de recetas, cómo se identifica, cómo cobrar para otra persona, qué puede ver usted mismo y dónde se detiene el sistema en la frontera.
Usar una receta en otro país
Las normas de la UE que hacen que una receta sea portátil, los elementos que debe llevar consigo, los medicamentos que necesitan un certificado de viaje y lo que paga y lo que no paga una Tarjeta Sanitaria Europea.
Todos22paginas de farmaciaInteracciones entre medicamentos
La respuesta a "¿qué tomas?"
TempoLife es un rastreador gratuito de hábitos de salud con notas y un registro de medicamentos, por lo que los detalles que solicita un farmacéutico o un médico fuera de horario ya están escritos en lugar de recordarse.