Skip to content
@hsma-programme

HSMA

GitHub Organisation for the NIHR PenARC Health Service Modelling Associates (HSMA) Programme

Welcome to the home of the Health Service Modelling Associates (HSMA) programme on GitHub!

Our GitHub is where you can find all of our slides, code examples, and coding exercises. There are also standalone teaching resources like our Discrete Event Simulation Playground.

HSMA is a 15-month programme of training and mentoring for people working in health, social care and policing in England, covering a range of data science and operational research techniques. We take participants all the way from the basics up to Python through to using discrete event simulation, geographic optimization, machine learning, agent-based simulation, and much more. You can find out more about the programme on our website.

But don't fret if you're not able to apply formally to the course - you can follow along with everything here, and our Youtube Channel houses the the lectures that go with each of these repositories.

All of our training materials are made available Free and Open Source, with most of the content provided under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International [cc-by-nc-sa] License, meaning you are welcome to copy, share and adapt most of our materials - though it's worth checking the individual licence on the repositories.

HSMA has now run for several rounds - archived repositories relate to an earlier run of the programme, but are perfectly fine to refer to if there isn't an active repository covering the same topic!

HSMA Books

We are also producing ebooks of some of our course content.

Check out our Python book, which is designed for absolute beginners to programming in the Python programming language. It will take you from your first code, through data structures, conditional logic, loops, tabular data manipulation and making graphs. It can also be a useful resource for intermediate programmers who haven't previously done object-oriented programming - making it a good primer before going onto our DES book, where we will be writing object-oriented code.

You can check out the Discrete event simulation book to find out all about what discrete event simulation is and how to use the simpy package to create your first simulation model in Python. The book then covers a range of advanced concepts that you may need for real-world models.

Our geographic visualisation and optimization book is in its early stages of development as well - it covers plotting in QGIS and Python, as well as facility location problems, but check back in late 2024 for chapters on multiobjective optimization algorithms and geospatial statistics and outlier detection.

HSMA Projects

HSMA is all about upskilling people to be able to undertake their own applied data science and operational modelling projects - below are just a handful of the projects our fabulous HSMAs have produced over the years!

Project Code Link Video Link App Link Tags
A Web App for Reducing Travel Times to Treatment for Cardiac Patients in South East England Repository Video App Streamlit; Travel Times
A Discrete Event Simulation tool to model the bottlenecks in an acute medical unit pathway Repository Video Streamlit; Discrete Event Simulation
A tool to automatically generate health equity audits for Community Diagnostic Centres Repository Video Automation
A Service Planning Decision Support Tool to Tackle Inequalities & Minimise Carbon Output Repository Video Automation; Machine Learning
Using Discrete Event Simulation to explore the role of Patient Initiated Follow-Up and 'Digital Outpatients' in supporting the elective recovery Repository Video Discrete Event Simulation
Investigating factors impacting NHS workforce retention Repository Video Automation; Data Cleaning; Regression; Plotly Dash
An open source tool to model waiting lists for elective surgery Repository Video App Streamlit; Discrete Event Simulation
An open source tool to help ICBs allocate additional discretionary funding to GP surgeries consistently and equitably Repository App Streamlit; Automation; Health Equity

You can find out more about our projects on Youtube for HSMA 3, HSMA 4 or HSMA 5, or read about them on our projects page.

Acknowledgements

HSMA is a programme that is conceived, developed, and is supported by the NIHR Applied Research Collaboration South West Peninsula (PenARC) and supported by funding from the NHS Digital Academy.

Pinned Loading

  1. Teaching_DES_Concepts_Streamlit Teaching_DES_Concepts_Streamlit Public

    A streamlit app (running from github pages using the stlite package) for teaching concepts of discrete event simulation, including animated entity flow plots created in Plotly. IMPORTANT NOTE: Work…

    Python 7 2

  2. hsma6_des_book hsma6_des_book Public

    A book summarising the content of the DES module in the HSMA programme and covering additional concepts that wouldn't fit in the course **Work In Progress**

    TeX 1

  3. hsma6_intro_to_python_book hsma6_intro_to_python_book Public

    An ebook covering programming in Python - can be used as a standalone course or as a reference guide for those who are learning python

    HTML

  4. dan_invaders dan_invaders Public

    Destroy the ultimate menace - Dan - in this reimagining of the 1978 Taito arcade classic...

    Python

  5. simpy_visualisation simpy_visualisation Public

    Code for visualising discrete event simulations in python, along with several healthcare-focussed example DES models in simpy

    Python 1

  6. hsma6_geographic_optimisation_and_visualisation_book hsma6_geographic_optimisation_and_visualisation_book Public

    A book summarising the content of the geographic optimization and visualision module in the HSMA programme **Work In Progress**

    Jupyter Notebook 1

Repositories

Showing 10 of 74 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…