Browse data › PHARMAC › PHARMAC Hospital Medicines List (Historical)

PHARMAC Hospital Medicines List (Historical)

pharmac_hml_history

Monthly snapshots of the PHARMAC hospital medicines list from January 2011 to present (~323k rows).

Each row is tagged with time_frame (YYYY-MM). Useful for tracking the hospital formulary over time — additions, removals, and supply-status changes. Composite PK: (pharmacode, time_frame). New months appended monthly. Files 2011-2013 used the 'SectionH' naming convention but contain equivalent content. Source: PHARMAC HMLReporting / SectionHReporting XLSX archive. Licence: CC-BY 3.0 NZ.

Cite as: Source: PHARMAC (schedule.pharmac.govt.nz), CC-BY 4.0.

Source: PHARMAC ↗ ·Last updated: 2026-11-01 ·Updated monthly ·1,665,738 rows

install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
library(eolas)
eolas_key("your_key")
df <- eolas_get("pharmac_hml_history", start = "2020-01-01")
Start 14-day trial Log in

No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.

Log in to download Start 14-day trial
Dataset ID
pharmac_hml_history
Data source
PHARMAC
Pipeline last ran
2026-11-01
Refresh cadence
monthly
API endpoint
https://api.eolas.nz/v1/datasets/pharmac_hml_history/data

Columns (18)

schema glossary · auto-generated
Column Type Description
chemical string Chemical
presentation string Presentation
brand string Brand
pharmacode string Pharmacode
price double Price
per string Per
dv_limit double Dv limit
hss string Hss
tg1_category string Tg1 category
tg2_category string Tg2 category
tg3_category string Tg3 category
time_frame string Time frame
nzmt_ctpp_id string Nzmt ctpp ID
rules_apply boolean Rules apply
hss_pss string Hss pss
tg1 string Tg1
tg2 string Tg2
tg3 string Tg3

How to query this dataset

Install the client library
install.packages("eolas", repos = c("https://phildonovan.r-universe.dev", "https://cloud.r-project.org"))
Fetch all data
library(eolas)
eolas_key("your_key_here")
df <- eolas_get("pharmac_hml_history")
head(df)
Filter by date range
df <- eolas_get("pharmac_hml_history", start = "2020-01-01", end = "2024-12-31")
head(df)
Download as CSV
df <- eolas_get("pharmac_hml_history")
write.csv(df, "pharmac_hml_history.csv", row.names = FALSE)

Data preview

Time FrameChemicalPresentationBrandPharmacodePricePerDv LimitHssTg1 CategoryTg2 CategoryTg3 CategoryNzmt Ctpp IdRules ApplyHss PssTg1Tg2Tg3
2026-11Abacavir sulphateOral liq 20 mg per mlAny brand9583260010740391000116107InfectionsAntiretroviralsNucleoside Reverse Transcriptase Inhibitors
2026-11Abacavir sulphateTab 300 mgZiagen378038180.0060 tab50079501000117100InfectionsAntiretroviralsNucleoside Reverse Transcriptase Inhibitors
2026-11Abacavir sulphate with lamivudineTab 600 mg with lamivudine 300 mgAbacavir/lamivudine Viatris263236535.0030 tab0.0550301251000117109PSSInfectionsAntiretroviralsNucleoside Reverse Transcriptase Inhibitors
2026-11AbciximabInj 2 mg per ml, 5 ml vialAny brand9299250010587581000116106TrueOncology Agents and ImmunosuppressantsImmunosuppressantsMonoclonal Antibodies
2026-11Abiraterone acetateTab 250 mgZytiga24535174276.19120 tab50143741000117101TrueOncology Agents and ImmunosuppressantsEndocrine TherapyEndocrine Therapy

Showing 5 sample rows. Get an API key to access the full dataset.

Related datasets

Questions about this dataset

How often is PHARMAC Hospital Medicines List (Historical) updated?
PHARMAC publishes it monthly. eolas last refreshed it on 2026-11-01.
Can I download the whole table?
Yes, on Pro and above as Parquet or CSV. During the trial you can query it through the API, up to 50,000 rows per request.
Where does the data come from?
PHARMAC. eolas loads it into typed, consistently named columns. See the original at https://schedule.pharmac.govt.nz/.

Ready to use this data?

No card needed. The trial covers this dataset through the API. Bulk Parquet/CSV downloads need Pro.

Start 14-day trial