TempoLife

TempoLife › Funkcijas › 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.

Īsā versija
ĪsumāKo tas nozīmē
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

Šeit ir aprakstīts, kā darbojas aptieku sistēmas; tas nav medicīnisks padoms, nav diagnoze un nav katalogs. Šeit nav aptieku nosaukumu, adrešu, telefona numuru, darba laiku vai cenu, jo tie noveco ātrāk, nekā lapu var publicēt no jauna — visu, kas ir laikjutīgs, apstipriniet pašā aptiekā. Nekas no šeit minētā nav iemesls sākt, pārtraukt vai mainīt medikamentu: tas ir jūsu ārsta ziņā, un farmaceits pie letes ir ātrāk sasniedzamais speciālists, kam pa vidu pajautāt.

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 nolasītājs

Nolasiet opening_hours virkni

Ielīmējiet opening_hours vērtību no kartes ieraksta, ķēdes datu plūsmas vai paziņojuma uz durvīm, un šis rīks pateiks, ko tā nozīmē. Ar ieslēgtu JavaScript tas atbild uz to brīdi, kad jūs to lasāt; bez tā zemāk esošā tabula atbild uz fiksētu atskaites brīdi.

Rādījums produktamsestdiena 21:40: skatiet tabulu zemāk.

Vispārīgi noteikumu paraugi — opening_hours vērtības formas, nevis reāli uzņēmumi — nolasītisestdiena 21:40
opening_hoursNoteikuma formaAngļu valodāAt sestdiena 21:40Nākamā maiņa
24/7A genuine round-the-clock pharmacyAtvērts visu diennakti, katru dienuAtvērtnekādu izmaiņu visu nedēļu
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 closedSlēgtsopens pirmdiena 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:00Slēgtsopens svētdiena 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; svētku dienasclosedSlēgtsopens svētdiena 10:00
Mo-Su 22:00-08:00A night counter, crossing midnightMon–Sun 22:00–08:00nākamajā dienāSlēgtsopens sestdiena 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 closedSlēgtsopens pirmdiena 09:00
Mo-Fr 08:30-16:30; PH offA pharmacy on a hospital siteMon–Fri 08:30–16:30; Sat–Sun closed; svētku dienasclosedSlēgtsopens pirmdiena 08:30
Jan-Mar Mo-Fr 09:00-17:00A seasonal rule this reader does not implementšeit netiek nolasīts: mēnešu atlasītāji——

Pēdējā rinda ir visas tabulas būtība. Lasītājam, kas nespēj apstrādāt kādu konstrukciju, tas būtu jāpasaka, nosaucot to vārdā, nevis jāmin, jo analizators, kas klusējot izlaiž sezonālu noteikumu, ziņo, ka aptieka ir atvērta tajā vienā gada dienā, kuru šis noteikums ir radīts aprakstīt.

Avoti:OpenStreetMap · OpenStreetMap wiki — amenity=pharmacy · OpenStreetMap wiki — the opening_hours syntax · Open Database License 1.0 · Overpass Turbo — querying OpenStreetMap· pārbaudīts2026-09-08

Bieži uzdotie jautājumi

Kāpēc šajā vietnē nav uzskaitītas aptieku adreses un darba laiki?

Tāpēc ka darba laiki mainās vairākas reizes gadā un publicēts saraksts jau tajā dienā, kad tas parādās, kaut kur ir nepareizs. Kaitējums ir konkrēts — brauciens naktī caur pilsētu līdz tumšam logam. Pietiekami stabila, lai to publicētu, ir sistēma: regulators, reģistrs, recepšu noteikumi un vietējā vārdnīca.

Kurā reģistrā var uzzināt, vai aptieka ir likumīga?

Katras valsts nacionālās zāļu aģentūras reģistrs. Tas ir autoritatīvs attiecībā uz to, vai aptiekai ir licence, un ne attiecībā uz ko citu — jo īpaši ne uz darba laikiem, kas visā šajā reģionā ir pašas aptiekas publicēta informācija.

Vai OpenStreetMap datus var izmantot aptieku meklētājam?

Jā, saskaņā ar Open Database License, kas prasa atsauci uz OpenStreetMap līdzautoriem un piemēro share-alike nosacījumus, publicējot atvasinātu datubāzi. Atrašanās vietu pārklājums ir labs; darba laiku pārklājums ir nepilnīgs un bez datumiem, tāpēc uzskatiet laikus par norādi, kas jāpārbauda.

Kā vaicāt visas kādas pilsētas aptiekas?

Ar Overpass, vaicājot amenity=pharmacy ierobežojošajā taisnstūrī vai administratīvajā teritorijā. Tas sekundēs atgriež mezglus un līnijas ar to tagiem. Visu, kas ir laika ziņā mainīgs, pirms rīkošanās pārbaudiet pašas aptiekas kanālā.

Pārējie noteikumi

Kā atrast tādu, kas šobrīd ir atvērta

Meklēšanas secība, kas strādā, kāpēc karte kļūdās biežāk nekā reģistrs, kā nolasīt opening_hours virkni un ko darīt, kad nekas nav atvērts.

Naktis, nedēļas nogales un svētku dienas

Kas izlemj, ka aptieka paliek atvērta, kā tiek publicēts dežūru grafiks, kuras svētku dienas visu slēdz un kā plānot atkārtoto recepti ap garo nedēļas nogali.

Ko farmaceits var izdarīt bez ārsta

Trīs juridiskie plaukti, ko farmaceits patiesībā ir apmācīts pamanīt, kādus jautājumus viņš uzdos un kāpēc, un brīdis, kad atbilde ir ārsts, nevis produkts.

Jums ir beidzies medikaments

Kuras situācijas ir steidzamas, nevis tikai neērtas, kā katrā valstī tiek atjaunota atkārtotā recepte, ko aptieka var izdarīt pēc saviem ieskatiem un kā panākt, lai tas vairs neatkārtotos.

Digitālās receptes pie aptiekas letes

Kas ir nacionālais recepšu reģistrs, kā jūs sevi identificējat, kā izņemt zāles citam cilvēkam, ko jūs varat redzēt pats un kur sistēma apstājas pie robežas.

Receptes izmantošana citā valstī

ES noteikumi, kas padara recepti pārnesamu, elementi, kuriem tajā jābūt, medikamenti, kuriem nepieciešama ceļošanas izziņa, un tas, ko Eiropas veselības apdrošināšanas karte apmaksā un ko neapmaksā.

Visi22aptieku lapasMedikamentu mijiedarbība

Atbilde uz jautājumu "ko jūs lietojat?"

TempoLife ir bezmaksas veselības paradumu izsekotājs ar piezīmju un medikamentu žurnālu, tāpēc informācija, ko prasa farmaceits vai ārpusstundu ārsts, jau ir pierakstīta, nevis jāatceras.

Create a free accountIegūt lietotni