https://github.com/edithatogo/gtpcnz
Primary care funding architecture model, Quarto site, and Streamlit dashboard for Aotearoa New Zealand and Australia
https://github.com/edithatogo/gtpcnz
aotearoa github-pages health-policy new-zealand policy-model primary-care quarto streamlit
Last synced: about 1 month ago
JSON representation
Primary care funding architecture model, Quarto site, and Streamlit dashboard for Aotearoa New Zealand and Australia
- Host: GitHub
- URL: https://github.com/edithatogo/gtpcnz
- Owner: edithatogo
- License: other
- Created: 2026-05-11T21:04:22.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-05-12T03:58:24.000Z (about 1 month ago)
- Last Synced: 2026-05-12T05:29:50.092Z (about 1 month ago)
- Topics: aotearoa, github-pages, health-policy, new-zealand, policy-model, primary-care, quarto, streamlit
- Language: Python
- Homepage: https://edithatogo.github.io/gtpcnz/
- Size: 457 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Security: SECURITY.md
Awesome Lists containing this project
README
# GTPCNZ
[](https://github.com/edithatogo/gtpcnz/actions/workflows/ci.yml)
[](https://github.com/edithatogo/gtpcnz/actions/workflows/pages.yml)
GTPCNZ is a public policy-research package about primary care funding in Aotearoa New Zealand, with comparative material for Australia.
Website: https://edithatogo.github.io/gtpcnz/
## What this is
- A source-informed model scaffold for exploring primary care funding architecture.
- A Quarto website and reproducible report.
- A Streamlit dashboard for interactive explanation of scenario logic.
- A public audit trail of assumptions, caveats, and launch materials.
## What this is not
- It is not an endorsed policy position.
- It is not a real-data calibrated forecasting model.
- It should not be used to claim precise fiscal savings, hospital-demand reductions, workforce effects, or implementation impacts.
## Current thesis
The thesis is specific: keep capitation for continuity, enrolment, baseline viability, and population responsibility. Add an uncapped, scheduled, rules-based fee-for-service stream for eligible primary medical activity, controlled through item rules, provider scope, clinical governance, documentation, audit, co-payment protections, and place-based accountability.
Short version:
> Uncapped does not mean uncontrolled.
## Public pages
- Quarto website: https://edithatogo.github.io/gtpcnz/
- Interactive explainer (Streamlit): https://gtpcnz.streamlit.app/
- Quarto source report: `reports/primary_care_architecture.qmd`
- Streamlit dashboard entrypoint: `streamlit_app.py`
- Dashboard implementation: `models/primarycare_model/app.py`
- Model card: `docs/calibration/model-card-v1.7.2.md`
- Claim boundaries: `docs/launch/claim-boundaries-v1.7.2.md`
- Evidence tracker: `docs/public-site/evidence-tracker-public-v1.8.1.md`
- Calibration readiness: `docs/public-site/calibration-readiness-page-v1.8.1.md`
## Run locally
Install dependencies:
```bash
pip install -r requirements.txt
```
Run tests:
```bash
pytest -q
```
Render the Quarto website:
```bash
quarto render --to html
```
Run the Streamlit dashboard:
```bash
streamlit run streamlit_app.py
```
## Deploy
GitHub Pages is deployed from `.github/workflows/pages.yml`.
Streamlit Community Cloud can deploy this app with:
- Repository: `edithatogo/gtpcnz`
- Branch: `main`
- Entrypoint: `streamlit_app.py`
## License and citation
See `LICENSE` for the mixed code/content licensing terms and `CITATION.cff` for citation metadata.