https://github.com/nhs-transformation-unit/hs_ds_ibs_des
Repository for the example codebase for constructing a DES pathway model
https://github.com/nhs-transformation-unit/hs_ds_ibs_des
discrete-event-simulation pathway-models r rmarkdown
Last synced: 7 months ago
JSON representation
Repository for the example codebase for constructing a DES pathway model
- Host: GitHub
- URL: https://github.com/nhs-transformation-unit/hs_ds_ibs_des
- Owner: NHS-Transformation-Unit
- License: gpl-3.0
- Created: 2024-03-18T16:37:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T17:09:27.000Z (about 2 years ago)
- Last Synced: 2024-12-28T00:46:34.198Z (over 1 year ago)
- Topics: discrete-event-simulation, pathway-models, r, rmarkdown
- Language: HTML
- Size: 920 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


# Clinical Pathway Mapping - Simulating Patient Pathway Example Through DES
This repository contains the codebase for the modelling of an example proposed re-designed Hysteroscopy pathway. This model has been developed in R, details on the structure of the repository and how to amend and run the model are detailed below.
## Using the Repository
The repository can be cloned to run the pathway model. Changing the inputs in the `config` folder will enable alternate scenarios of the pathway to be run.
## Repository Structure
The structure of this repository is detailed below:
``` plaintext
├───data
├───documentation
├───guidance
└───project_documentation
├───images
├───logos
└───pathway
└───src
├───config
├───model_inputs
└───outputs
├───load
├───model
├───outputs
├───processing
└───requirements
```
### `data`
To contain any datasets received from the client to support the model build or underpinning assumptions.
### `documentation`
Contains the project documentation such as specification of the model within the `project_documentation` folder. The `guidance` folder contains information on model structure and how to run.
### `images`
Images such as TU logos and branding to add to outputs are contained in the `logos` folder. The `pathway` folder hosts the **draw.io** outputs of the proposed pathway that has been modelled.
### `src`
All code is stored in src. This is subdivided into six modules:
1. `config`: Files for configuring the output such as the `theme.css` are stored in the `outputs` folder. The `model_inputs` folder contains the code for setting inputs for the model which can be changed here by the user.
2. `load`: Files for loading any datasets from the `data` folder are stored here.
3. `model`: Files for building and running the pathway model are stored here.
4. `outputs`: Files for creating the outputs of the model are stored here.
5. `processing`: Processing steps such as cleaning or feature creation on any data loaded into the model are stored here.
6. `requirements`: The requirements folder stores the `packages.R` file containing the list of packages required to run the model.
## Proposed Pathway to Model
The pathway below represents the _to-be_ pathway that is being modelled:

## Contributors
This repository has been created and developed by:
- [Andy Wilson](https://github.com/ASW-Analyst)