Coder Social home page Coder Social logo

despatientpathway's Introduction

DES Patient Pathway

Lifecycle: experimental

This patient pathway model is designed to simulate a typical acute hospital outpatient, admission, treatment, and followup pathways. It uses Discrete Event Simulation (DES) methodology, and is implemented using the open-source {simmer} R package.

It is designed to be used by hospital management and clinicians to investigate service configuration options. It models a single pathway, and is configurable so that users can experiment with “what if” questions.

It presents results graphically wherever possible (some of this is still in development).

Model configuration options

The model uses a blend of hard-coded assumtions, and a set of configurable options. Over time (or by request), options that are currently hard-coded may be made user-configurable.

Examples of configurable items (some are under development):

  • Number of weeks to forecast ahead (default is 2 years)
  • Patient referral (arrival) rate
  • Conversion rate (from OP appointment to admission / treatment waiting list)
  • Outpatient appointment followup rate (what proportion of OP appts are new vs. followups)
  • Existing service waiting list (backlog size)
  • Outpatient clinics:
    • Number of clinics (schedule)
    • OP clinic appointment length
  • Pre-operative ward:
    • Number of beds
    • Patient average length-of-stay
  • Post-operative ward:
    • Number of beds
    • Patient average length-of-stay
  • Operating theatre
    • Operating hours (schedule)
    • Average procedure length

Examples of currently hard-coded items:

  • Distributions (variation) of length-of-stay, and theatre procedure length
  • OP clinics and Operating theatres are currently assumed to be the same every day (ie. 7 day service). The ability to define weekly capacities is planned in due course.
  • Appointment non-attendance (DNA - did not attend) is not currently modelled. Attendance is assumed to be 100%

Installation

You can install DESPatientPathway like so:

# install.packages("remotes")
remotes::install_github("ThomUK/DESPatientPathway", build_vignettes = TRUE)

Run the app locally

To run the app on your local machine, use the below:

library("DESPatientPathway")
run_app()

or simply:

DESPatientPathway::run_app()

despatientpathway's People

Contributors

thomuk avatar richardpilbery avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.