Amy Heather
  • Projects
  • Contributions
  • Publications
  • Packages
  • Community
  • GitHub

IPACS

Code refactoring, package development, and documentation for a patient flow simulation model.

In Spring 2023 I worked alongside Alison Harper to contribute to the discrete-time model on the project IPACS: Improving Patient flow between Acute, Community and Social care,

Model code: I worked through the code for the model, rewriting and simplifying to improve clarity, adding comments and docstrings, and identifying and fixing bugs (as detailed here). This contributed to the final repository hosted with NHS BNSSG Analytics.

Package and website: I also created an example of converting part of the model (the visit-based simulation) into an R package, as in this repository. This is supported by a website that provides an overview of how to run the model, and information about the model functions.