From 1de988e3bd596a712451d9af8e2f23d36ce9c344 Mon Sep 17 00:00:00 2001 From: amyheather Date: Thu, 31 Jul 2025 11:56:15 +0100 Subject: [PATCH 1/5] docs(readme): add contributors, license + funding (#12) --- README.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index afed020..58c6330 100644 --- a/README.md +++ b/README.md @@ -130,8 +130,23 @@ For this applied example, please cite either: > > Heather, A. (2025). Stroke capacity planning model: python DES RAP. Zenodo. https://doi.org/10.5281/zenodo.15574906. -This example is built using the [Python DES RAP Template](https://github.com/pythonhealthdatascience/pydesrap_mms). Please also cite the original template: +A `CITATION.cff` file is also provided. -> Heather, A. Monks, T. (2025). Python DES RAP Template. Zenodo. https://doi.org/10.5281/zenodo.14622466. GitHub. https://github.com/pythonhealthdatascience/pydesrap_mms. +**Contributors:** -A `CITATION.cff` file is also provided. +**Amy Heather** - developed the repository. + +* [![ORCID](https://img.shields.io/badge/ORCID-0000--0002--6596--3479-A6CE39?style=for-the-badge&logo=orcid&logoColor=white)](https://orcid.org/0000-0002-6596-3479) +* [![GitHub](https://img.shields.io/badge/GitHub-amyheather-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/amyheather) + +
+ +## Licence + +MIT Licence. See `LICENSE` for details. + +
+ +## Funding + +This project was developed as part of the project STARS: Sharing Tools and Artefacts for Reproducible Simulations. It is supported by the Medical Research Council [grant number [MR/Z503915/1](https://gtr.ukri.org/projects?ref=MR%2FZ503915%2F1)]. From bdc41ab9d46a50f4a9aa00477dcd02c77a68aaf4 Mon Sep 17 00:00:00 2001 From: amyheather Date: Thu, 31 Jul 2025 11:56:39 +0100 Subject: [PATCH 2/5] chore(parameters): correct ESD from support -> supported in docstrings (#12) --- simulation/parameters.py | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/simulation/parameters.py b/simulation/parameters.py index ac6debf..fc56067 100644 --- a/simulation/parameters.py +++ b/simulation/parameters.py @@ -125,9 +125,10 @@ class ASULOS(RestrictAttributes): Attributes ---------- stroke_noesd: dict - Mean and SD of LOS for stroke patients without early support discharge. + Mean and SD of LOS for stroke patients without early supported + discharge (ESD). stroke_esd: dict - Mean and SD of LOS for stroke patients with early support discharge. + Mean and SD of LOS for stroke patients with ESD. tia: dict Mean and SD of LOS for transient ischemic attack (TIA) patients. neuro: dict @@ -148,8 +149,8 @@ def __init__( Parameters ---------- stroke_no_esd_mean: float - Mean LOS for stroke patients without early support discharge (ESD) - services. + Mean LOS for stroke patients without early supported discharge + (ESD) services. stroke_no_esd_sd: float SD of LOS for stroke patients without ESD. stroke_esd_mean: float @@ -207,9 +208,11 @@ class RehabLOS(RestrictAttributes): Attributes ---------- stroke_noesd: dict - Mean and SD of LOS for stroke patients without early support discharge. + Mean and SD of LOS for stroke patients without early supported + discharge. stroke_esd: dict - Mean and SD of LOS for stroke patients with early support discharge. + Mean and SD of LOS for stroke patients with early supported + discharge. tia: dict Mean and SD of LOS for transient ischemic attack (TIA) patients. neuro: dict @@ -229,8 +232,8 @@ def __init__( Parameters ---------- stroke_no_esd_mean: float - Mean LOS for stroke patients without early support discharge (ESD) - services. + Mean LOS for stroke patients without early supported discharge + (ESD) services. stroke_no_esd_sd: float SD of LOS for stroke patients without ESD. stroke_esd_mean: float @@ -305,7 +308,7 @@ def __init__( stroke_rehab: float Stroke patient to rehabilitation unit. stroke_esd: float - Stroke patient to early support discharge (ESD) services. + Stroke patient to early supported discharge (ESD) services. stroke_other: float Stroke patient to other destinations (e.g., own home, care home, mortality). @@ -381,7 +384,7 @@ def __init__( Parameters ---------- stroke_esd: float - Stroke patient to early support discharge (ESD) services. + Stroke patient to early supported discharge (ESD) services. stroke_other: float Stroke patient to other destinations (e.g., own home, care home, mortality). From de8e6bd1a0c0b5afe4b614b9790f1a74789d79f0 Mon Sep 17 00:00:00 2001 From: amyheather Date: Thu, 31 Jul 2025 11:59:17 +0100 Subject: [PATCH 3/5] chore(pyproject): non-dynamic description (#13) --- pyproject.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1eabc25..01c968a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,6 @@ build-backend = "flit_core.buildapi" [project] name = "simulation" -dynamic = ["version", "description"] -authors = [ - { name = "Amy Heather", email = "a.heather2@exeter.ac.uk" } -] \ No newline at end of file +description = "Stroke capacity planning model." +authors = [{name = "Amy Heather", email = "a.heather2@exeter.ac.uk"}] +dynamic = ["version"] \ No newline at end of file From 835c13c223d8b8a8cbbcb96d37ba329adcc66b94 Mon Sep 17 00:00:00 2001 From: amyheather Date: Tue, 5 Aug 2025 09:58:19 +0100 Subject: [PATCH 4/5] fix(bash): fix run_notebooks.sh (used file from pydesrap_mms) --- run_notebooks.sh | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/run_notebooks.sh b/run_notebooks.sh index 8b52aa6..dccdc68 100644 --- a/run_notebooks.sh +++ b/run_notebooks.sh @@ -1,20 +1,28 @@ #!/usr/bin/env bash -# Loop through all notebooks in the specified directory -for nb in notebooks/*.ipynb; do +# Get the conda environment's jupyter path +CONDA_JUPYTER=$(dirname "$(which python)")/jupyter + +run_notebook() { + local nb="$1" echo "🏃 Running notebook: $nb" - - # Execute and update the notebook in-place - # With some processing to remove metadata created by nbconvert - if python -m jupyter nbconvert --to notebook --inplace --execute \ + if "${CONDA_JUPYTER}" nbconvert --to notebook --inplace --execute \ --ClearMetadataPreprocessor.enabled=True \ --ClearMetadataPreprocessor.clear_notebook_metadata=False \ --ClearMetadataPreprocessor.preserve_cell_metadata_mask="kernelspec" \ - "$nb"; then + "$nb" + then echo "✅ Successfully processed: $nb" else echo "❌ Error processing: $nb" fi - echo "-------------------------" -done +} + +if [[ -n "$1" ]]; then + run_notebook "$1" +else + for nb in notebooks/*.ipynb; do + run_notebook "$nb" + done +fi \ No newline at end of file From 139b2048263240329b092333621f5459391feadf Mon Sep 17 00:00:00 2001 From: amyheather Date: Tue, 5 Aug 2025 10:01:03 +0100 Subject: [PATCH 5/5] feat(simtools): (1) upgrade to sim-tools 0.9.1 (2) remove tia_esd from parameters and csv (as simtools no longer allows 0) (3) update Discrete to DiscreteEmpirical (#5) --- environment.yaml | 2 +- inputs/parameters.csv | 1 - notebooks/analysis.ipynb | 154 +-- notebooks/logs.ipynb | 2224 +++++++++++++++++++++++++++----- notebooks/parameters_csv.ipynb | 16 +- outputs/logs/log_example.log | 74 +- requirements.txt | 2 +- simulation/model.py | 4 +- simulation/parameters.py | 5 +- tests/test_unittest.py | 4 +- 10 files changed, 2045 insertions(+), 441 deletions(-) diff --git a/environment.yaml b/environment.yaml index d4c79b8..610ced8 100644 --- a/environment.yaml +++ b/environment.yaml @@ -20,5 +20,5 @@ dependencies: - simpy=4.1.1 - pip: - kaleido==1.0.0 - - sim-tools==0.8.0 + - sim-tools==0.9.1 - -e .[dev] diff --git a/inputs/parameters.csv b/inputs/parameters.csv index 43d1a5c..43f68b0 100644 --- a/inputs/parameters.csv +++ b/inputs/parameters.csv @@ -30,7 +30,6 @@ asu,routing,other_esd,0.1,NA asu,routing,other_other,0.85,NA rehab,routing,stroke_esd,0.4,NA rehab,routing,stroke_other,0.6,NA -rehab,routing,tia_esd,0,NA rehab,routing,tia_other,1,NA rehab,routing,neuro_esd,0.09,NA rehab,routing,neuro_other,0.91,NA diff --git a/notebooks/analysis.ipynb b/notebooks/analysis.ipynb index 4039beb..8c0f49b 100644 --- a/notebooks/analysis.ipynb +++ b/notebooks/analysis.ipynb @@ -286,7 +286,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -322,7 +322,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -346,7 +346,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -382,7 +382,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -409,7 +409,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -445,7 +445,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -460,7 +460,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -496,7 +496,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -652,7 +652,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -688,7 +688,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -779,7 +779,7 @@ ], "sequential": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -815,13 +815,13 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], "sequentialminus": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -857,7 +857,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ] @@ -990,8 +990,8 @@ "xaxis": { "anchor": "y", "domain": [ - 0, - 1 + 0.0, + 1.0 ], "dtick": 1, "linecolor": "black", @@ -1003,8 +1003,8 @@ "yaxis": { "anchor": "x", "domain": [ - 0, - 1 + 0.0, + 1.0 ], "linecolor": "black", "mirror": true, @@ -1137,7 +1137,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -1173,7 +1173,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -1197,7 +1197,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -1233,7 +1233,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -1260,7 +1260,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -1296,7 +1296,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -1311,7 +1311,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -1347,7 +1347,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -1503,7 +1503,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -1539,7 +1539,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], @@ -1630,7 +1630,7 @@ ], "sequential": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -1666,13 +1666,13 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ], "sequentialminus": [ [ - 0, + 0.0, "#0d0887" ], [ @@ -1708,7 +1708,7 @@ "#fdca26" ], [ - 1, + 1.0, "#f0f921" ] ] @@ -1841,8 +1841,8 @@ "xaxis": { "anchor": "y", "domain": [ - 0, - 1 + 0.0, + 1.0 ], "dtick": 1, "linecolor": "black", @@ -1854,8 +1854,8 @@ "yaxis": { "anchor": "x", "domain": [ - 0, - 1 + 0.0, + 1.0 ], "linecolor": "black", "mirror": true, @@ -2108,7 +2108,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -2144,7 +2144,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -2170,7 +2170,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -2206,7 +2206,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -2233,7 +2233,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -2269,7 +2269,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -2285,7 +2285,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -2321,7 +2321,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -2490,7 +2490,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -2526,7 +2526,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -2571,7 +2571,7 @@ "colorscale": { "diverging": [ [ - 0, + 0.0, "rgb(103,0,31)" ], [ @@ -2611,13 +2611,13 @@ "rgb(33,102,172)" ], [ - 1, + 1.0, "rgb(5,48,97)" ] ], "sequential": [ [ - 0, + 0.0, "#440154" ], [ @@ -2653,13 +2653,13 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], "sequentialminus": [ [ - 0, + 0.0, "#440154" ], [ @@ -2695,7 +2695,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ] @@ -2853,8 +2853,8 @@ "xaxis": { "anchor": "y", "domain": [ - 0, - 1 + 0.0, + 1.0 ], "dtick": 1, "title": { @@ -2864,8 +2864,8 @@ "yaxis": { "anchor": "x", "domain": [ - 0, - 1 + 0.0, + 1.0 ], "dtick": 0.1, "range": [ @@ -3003,7 +3003,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -3039,7 +3039,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -3065,7 +3065,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -3101,7 +3101,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -3128,7 +3128,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -3164,7 +3164,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -3180,7 +3180,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -3216,7 +3216,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -3385,7 +3385,7 @@ }, "colorscale": [ [ - 0, + 0.0, "#440154" ], [ @@ -3421,7 +3421,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], @@ -3466,7 +3466,7 @@ "colorscale": { "diverging": [ [ - 0, + 0.0, "rgb(103,0,31)" ], [ @@ -3506,13 +3506,13 @@ "rgb(33,102,172)" ], [ - 1, + 1.0, "rgb(5,48,97)" ] ], "sequential": [ [ - 0, + 0.0, "#440154" ], [ @@ -3548,13 +3548,13 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ], "sequentialminus": [ [ - 0, + 0.0, "#440154" ], [ @@ -3590,7 +3590,7 @@ "#b5de2b" ], [ - 1, + 1.0, "#fde725" ] ] @@ -3748,8 +3748,8 @@ "xaxis": { "anchor": "y", "domain": [ - 0, - 1 + 0.0, + 1.0 ], "dtick": 1, "title": { @@ -3759,8 +3759,8 @@ "yaxis": { "anchor": "x", "domain": [ - 0, - 1 + 0.0, + 1.0 ], "dtick": 0.1, "range": [ @@ -5649,7 +5649,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Notebook run time: 0m 16s\n" + "Notebook run time: 0m 14s\n" ] } ], diff --git a/notebooks/logs.ipynb b/notebooks/logs.ipynb index 730309a..ca3a390 100644 --- a/notebooks/logs.ipynb +++ b/notebooks/logs.ipynb @@ -49,42 +49,48 @@ "output_type": "stream", "text": [ "\u001b[1;36m0.000\u001b[0m: Initialise model: \n", - " \n", - "\u001b[1m{\u001b[0m \u001b[32m'arrival_dist'\u001b[0m: \u001b[1m{\u001b[0m \u001b[32m'asu'\u001b[0m: \u001b[1m{\u001b[0m \u001b[32m'neuro'\u001b[0m: \u001b[1m<\u001b[0m\u001b[1;95msim_tools.distributions.Exponential\u001b[0m\u001b[39m object at \u001b[0m\u001b[1;36m0x7c3320d69160\u001b[0m\u001b[39m>,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m}\u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'asu_occupancy'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;36m0\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'audit_interval'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;36m1\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'audit_list'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'env'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'los_dist'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'asu'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke_esd'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke_mortality'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke_noesd'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke_esd'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke_noesd'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m}\u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'param'\u001b[0m\u001b[39m: ,\u001b[0m \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1m{\u001b[0m \u001b[32m'arrival_dist'\u001b[0m: \u001b[1m{\u001b[0m \u001b[32m'asu'\u001b[0m: \u001b[1m{\u001b[0m \u001b[32m'neuro'\u001b[0m: \u001b[1;35mExponential\u001b[0m\u001b[1m(\u001b[0m\u001b[33mmean\u001b[0m=\u001b[1;36m3\u001b[0m\u001b[1;36m.6\u001b[0m\u001b[1m)\u001b[0m, \n", + " \u001b[32m'other'\u001b[0m: \u001b[1;35mExponential\u001b[0m\u001b[1m(\u001b[0m\u001b[33mmean\u001b[0m=\u001b[1;36m3\u001b[0m\u001b[1;36m.2\u001b[0m\u001b[1m)\u001b[0m, \n", + " \u001b[32m'stroke'\u001b[0m: \u001b[1;35mExponential\u001b[0m\u001b[1m(\u001b[0m\u001b[33mmean\u001b[0m=\u001b[1;36m1\u001b[0m\u001b[1;36m.2\u001b[0m\u001b[1m)\u001b[0m, \n", + " \u001b[32m'tia'\u001b[0m: \u001b[1;35mExponential\u001b[0m\u001b[1m(\u001b[0m\u001b[33mmean\u001b[0m=\u001b[1;36m9\u001b[0m\u001b[1;36m.3\u001b[0m\u001b[1m)\u001b[0m\u001b[1m}\u001b[0m, \n", + " \u001b[32m'rehab'\u001b[0m: \u001b[1m{\u001b[0m \u001b[32m'neuro'\u001b[0m: \u001b[1;35mExponential\u001b[0m\u001b[1m(\u001b[0m\u001b[33mmean\u001b[0m=\u001b[1;36m31\u001b[0m\u001b[1;36m.7\u001b[0m\u001b[1m)\u001b[0m, \n", + " \u001b[32m'other'\u001b[0m: \u001b[1;35mExponential\u001b[0m\u001b[1m(\u001b[0m\u001b[33mmean\u001b[0m=\u001b[1;36m28\u001b[0m\u001b[1;36m.6\u001b[0m\u001b[1m)\u001b[0m, \n", + " \u001b[32m'stroke'\u001b[0m: \u001b[1;35mExponential\u001b[0m\u001b[1m(\u001b[0m\u001b[33mmean\u001b[0m=\u001b[1;36m21\u001b[0m\u001b[1;36m.8\u001b[0m\u001b[1m)\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m, \n", + " \u001b[32m'asu_occupancy'\u001b[0m: \u001b[1;36m0\u001b[0m, \n", + " \u001b[32m'audit_interval'\u001b[0m: \u001b[1;36m1\u001b[0m, \n", + " \u001b[32m'audit_list'\u001b[0m: \u001b[1m[\u001b[0m\u001b[1m]\u001b[0m, \n", + " \u001b[32m'env'\u001b[0m: \u001b[1m<\u001b[0m\u001b[1;95msimpy.core.Environment\u001b[0m\u001b[39m object at \u001b[0m\u001b[1;36m0x7f57edde9e80\u001b[0m\u001b[39m>,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'los_dist'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'asu'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m4\u001b[0m\u001b[1;36m.0\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m5\u001b[0m\u001b[1;36m.0\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m3\u001b[0m\u001b[1;36m.8\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m5\u001b[0m\u001b[1;36m.2\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'stroke_esd'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m4\u001b[0m\u001b[1;36m.6\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m4\u001b[0m\u001b[1;36m.8\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'stroke_mortality'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m7\u001b[0m\u001b[1;36m.0\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m8\u001b[0m\u001b[1;36m.7\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'stroke_noesd'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m7\u001b[0m\u001b[1;36m.4\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m8\u001b[0m\u001b[1;36m.61\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m1\u001b[0m\u001b[1;36m.8\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m2\u001b[0m\u001b[1;36m.3\u001b[0m\u001b[1;39m)\u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m27\u001b[0m\u001b[1;36m.6\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m28\u001b[0m\u001b[1;36m.4\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m16\u001b[0m\u001b[1;36m.1\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m14\u001b[0m\u001b[1;36m.1\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'stroke_esd'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m30\u001b[0m\u001b[1;36m.3\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m23\u001b[0m\u001b[1;36m.1\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'stroke_noesd'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m28\u001b[0m\u001b[1;36m.4\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m27\u001b[0m\u001b[1;36m.2\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mLognormal\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mmean\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m18\u001b[0m\u001b[1;36m.7\u001b[0m\u001b[39m, \u001b[0m\u001b[33mstdev\u001b[0m\u001b[39m=\u001b[0m\u001b[1;36m23\u001b[0m\u001b[1;36m.5\u001b[0m\u001b[1;39m)\u001b[0m\u001b[1;39m}\u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'param'\u001b[0m\u001b[39m: ,\u001b[0m \n", "\u001b[39m \u001b[0m\u001b[32m'patients'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m,\u001b[0m \n", "\u001b[39m \u001b[0m\u001b[32m'rehab_occupancy'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;36m0\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'routing_dist'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'asu'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'stroke'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m}\u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'routing_dist'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'asu'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mDiscrete\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mvalues\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'esd'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'other'\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m, \u001b[0m\u001b[33mfreq\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;36m0.11\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.05\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.84\u001b[0m\u001b[1;39m]\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mDiscrete\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mvalues\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'esd'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'other'\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m, \u001b[0m\u001b[33mfreq\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;36m0.05\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.1\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.85\u001b[0m\u001b[1;39m]\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'stroke'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mDiscrete\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mvalues\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'esd'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'other'\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m, \u001b[0m\u001b[33mfreq\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;36m0.24\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.13\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.63\u001b[0m\u001b[1;39m]\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mDiscrete\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mvalues\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'esd'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'other'\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m, \u001b[0m\u001b[33mfreq\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;36m0.01\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.01\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.98\u001b[0m\u001b[1;39m]\u001b[0m\u001b[1;39m)\u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'rehab'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;39m{\u001b[0m\u001b[39m \u001b[0m\u001b[32m'neuro'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mDiscrete\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mvalues\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[32m'esd'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'other'\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m, \u001b[0m\u001b[33mfreq\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;36m0.09\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.91\u001b[0m\u001b[1;39m]\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'other'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mDiscrete\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mvalues\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[32m'esd'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'other'\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m, \u001b[0m\u001b[33mfreq\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;36m0.13\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.88\u001b[0m\u001b[1;39m]\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'stroke'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mDiscrete\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mvalues\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[32m'esd'\u001b[0m\u001b[39m, \u001b[0m\u001b[32m'other'\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m, \u001b[0m\u001b[33mfreq\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;36m0.4\u001b[0m\u001b[39m, \u001b[0m\u001b[1;36m0.6\u001b[0m\u001b[1;39m]\u001b[0m\u001b[1;39m)\u001b[0m\u001b[39m,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'tia'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;35mDiscrete\u001b[0m\u001b[1;39m(\u001b[0m\u001b[33mvalues\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[32m'other'\u001b[0m\u001b[1;39m]\u001b[0m\u001b[39m, \u001b[0m\u001b[33mfreq\u001b[0m\u001b[39m=\u001b[0m\u001b[1;39m[\u001b[0m\u001b[1;36m1\u001b[0m\u001b[1;39m]\u001b[0m\u001b[1;39m)\u001b[0m\u001b[1;39m}\u001b[0m\u001b[1;39m}\u001b[0m\u001b[39m,\u001b[0m \n", "\u001b[39m \u001b[0m\u001b[32m'run_number'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;36m0\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'seed_generator'\u001b[0m\u001b[39m: \u001b[0m\u001b[1m}\u001b[0m \n" + "\u001b[39m \u001b[0m\u001b[32m'seed_generator'\u001b[0m\u001b[39m: \u001b[0m\u001b[1m}\u001b[0m \n" ] }, { @@ -92,315 +98,1917 @@ "output_type": "stream", "text": [ "Parameters: \n", - " \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "\u001b[1m{\u001b[0m \u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \n", - " \u001b[32m'asu_arrivals'\u001b[0m: \u001b[1m<\u001b[0m\u001b[1;95msimulation.parameters.ASUArrivals\u001b[0m\u001b[39m object at \u001b[0m\u001b[1;36m0x7c33e92ca120\u001b[0m\u001b[39m>,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'asu_los'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'asu_routing'\u001b[0m\u001b[39m: ,\u001b[0m \n", + " \u001b[32m'asu_arrivals'\u001b[0m: \u001b[1m<\u001b[0m\u001b[1;95msimulation.parameters.ASUArrivals\u001b[0m\u001b[39m object at \u001b[0m\u001b[1;36m0x7f58c41f2f90\u001b[0m\u001b[39m>,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'asu_los'\u001b[0m\u001b[39m: ,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'asu_routing'\u001b[0m\u001b[39m: ,\u001b[0m \n", "\u001b[39m \u001b[0m\u001b[32m'audit_interval'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;36m1\u001b[0m\u001b[39m,\u001b[0m \n", "\u001b[39m \u001b[0m\u001b[32m'cores'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;36m1\u001b[0m\u001b[39m,\u001b[0m \n", "\u001b[39m \u001b[0m\u001b[32m'data_collection_period'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;36m40\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'logger'\u001b[0m\u001b[39m: ,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'logger'\u001b[0m\u001b[39m: ,\u001b[0m \n", "\u001b[39m \u001b[0m\u001b[32m'number_of_runs'\u001b[0m\u001b[39m: \u001b[0m\u001b[1;36m150\u001b[0m\u001b[39m,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'rehab_arrivals'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'rehab_los'\u001b[0m\u001b[39m: ,\u001b[0m \n", - "\u001b[39m \u001b[0m\u001b[32m'rehab_routing'\u001b[0m\u001b[39m: \u001b[0m, \n", - " \u001b[32m'warm_up_period'\u001b[0m: \u001b[1;36m15\u001b[0m\u001b[1m}\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'rehab_arrivals'\u001b[0m\u001b[39m: ,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'rehab_los'\u001b[0m\u001b[39m: ,\u001b[0m \n", + "\u001b[39m \u001b[0m\u001b[32m'rehab_routing'\u001b[0m\u001b[39m: \u001b[0m, \n", + " \u001b[32m'warm_up_period'\u001b[0m: \u001b[1;36m15\u001b[0m\u001b[1m}\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "Logger: \n", - " \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "\u001b[1m{\u001b[0m \u001b[32m'file_path'\u001b[0m: \u001b[32m'../outputs/logs/log_example.log'\u001b[0m, \n", " \u001b[32m'log_to_console'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \n", " \u001b[32m'log_to_file'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \n", " \u001b[32m'logger'\u001b[0m: \u001b[1m<\u001b[0m\u001b[1;95mLogger\u001b[0m\u001b[39m simulation.logging \u001b[0m\u001b[1;39m(\u001b[0m\u001b[39mINFO\u001b[0m\u001b[1;39m)\u001b[0m\u001b[1m>\u001b[0m, \n", - " \u001b[32m'sanitise'\u001b[0m: \u001b[3;91mFalse\u001b[0m\u001b[1m}\u001b[0m \n", + " \u001b[32m'sanitise'\u001b[0m: \u001b[3;91mFalse\u001b[0m\u001b[1m}\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "ASU arrivals: \n", - " \n", - "\u001b[1m{\u001b[0m\u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \u001b[32m'neuro'\u001b[0m: \u001b[1;36m3.6\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m3.2\u001b[0m, \u001b[32m'stroke'\u001b[0m: \u001b[1;36m1.2\u001b[0m, \u001b[32m'tia'\u001b[0m: \u001b[1;36m9.3\u001b[0m\u001b[1m}\u001b[0m \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1m{\u001b[0m\u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \u001b[32m'neuro'\u001b[0m: \u001b[1;36m3.6\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m3.2\u001b[0m, \u001b[32m'stroke'\u001b[0m: \u001b[1;36m1.2\u001b[0m, \u001b[32m'tia'\u001b[0m: \u001b[1;36m9.3\u001b[0m\u001b[1m}\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "ASU LOS: \n", - " \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "\u001b[1m{\u001b[0m \u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \n", " \u001b[32m'neuro'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m4.0\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m5.0\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'other'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m3.8\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m5.2\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'stroke_esd'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m4.6\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m4.8\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'stroke_mortality'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m7.0\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m8.7\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'stroke_noesd'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m7.4\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m8.61\u001b[0m\u001b[1m}\u001b[0m, \n", - " \u001b[32m'tia'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m1.8\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m2.3\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m \n", + " \u001b[32m'tia'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m1.8\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m2.3\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "ASU routing: \n", - " \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "\u001b[1m{\u001b[0m \u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \n", " \u001b[32m'neuro'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0.05\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m0.84\u001b[0m, \u001b[32m'rehab'\u001b[0m: \u001b[1;36m0.11\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'other'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0.1\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m0.85\u001b[0m, \u001b[32m'rehab'\u001b[0m: \u001b[1;36m0.05\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'stroke'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0.13\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m0.63\u001b[0m, \u001b[32m'rehab'\u001b[0m: \u001b[1;36m0.24\u001b[0m\u001b[1m}\u001b[0m, \n", - " \u001b[32m'tia'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0.01\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m0.98\u001b[0m, \u001b[32m'rehab'\u001b[0m: \u001b[1;36m0.01\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m \n", + " \u001b[32m'tia'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0.01\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m0.98\u001b[0m, \u001b[32m'rehab'\u001b[0m: \u001b[1;36m0.01\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "Rehab arrivals: \n", - " \n", - "\u001b[1m{\u001b[0m\u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \u001b[32m'neuro'\u001b[0m: \u001b[1;36m31.7\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m28.6\u001b[0m, \u001b[32m'stroke'\u001b[0m: \u001b[1;36m21.8\u001b[0m\u001b[1m}\u001b[0m \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1m{\u001b[0m\u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \u001b[32m'neuro'\u001b[0m: \u001b[1;36m31.7\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m28.6\u001b[0m, \u001b[32m'stroke'\u001b[0m: \u001b[1;36m21.8\u001b[0m\u001b[1m}\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "Rehab LOS: \n", - " \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "\u001b[1m{\u001b[0m \u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \n", " \u001b[32m'neuro'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m27.6\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m28.4\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'other'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m16.1\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m14.1\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'stroke_esd'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m30.3\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m23.1\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'stroke_noesd'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m28.4\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m27.2\u001b[0m\u001b[1m}\u001b[0m, \n", - " \u001b[32m'tia'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m18.7\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m23.5\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m \n", + " \u001b[32m'tia'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'mean'\u001b[0m: \u001b[1;36m18.7\u001b[0m, \u001b[32m'sd'\u001b[0m: \u001b[1;36m23.5\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "Rehab routing: \n", - " \n", + " \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "\u001b[1m{\u001b[0m \u001b[32m'_initialised'\u001b[0m: \u001b[3;92mTrue\u001b[0m, \n", " \u001b[32m'neuro'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0.09\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m0.91\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'other'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0.13\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m0.88\u001b[0m\u001b[1m}\u001b[0m, \n", " \u001b[32m'stroke'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0.4\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m0.6\u001b[0m\u001b[1m}\u001b[0m, \n", - " \u001b[32m'tia'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'esd'\u001b[0m: \u001b[1;36m0\u001b[0m, \u001b[32m'other'\u001b[0m: \u001b[1;36m1\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m \n", - "\u001b[1;36m1.836\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m1.836\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m1.836\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.638\u001b[0m \n", - "\u001b[1;36m1.974\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m1.974\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m1.974\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.950\u001b[0m \n", - "\u001b[1;36m2.570\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m2.570\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m2.570\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.824\u001b[0m \n", - "\u001b[1;36m3.388\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m3.388\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m3.388\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m11.445\u001b[0m \n", - "\u001b[1;36m3.792\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m3.792\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m3.792\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.487\u001b[0m \n", - "\u001b[1;36m4.958\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m4.958\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m4.958\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m7.023\u001b[0m \n", - "\u001b[1;36m5.984\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m5.984\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m5.984\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.847\u001b[0m \n", - "\u001b[1;36m6.445\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m6.445\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m6.445\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.870\u001b[0m \n", - "\u001b[1;36m6.652\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m6.652\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m6.652\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.067\u001b[0m \n", - "\u001b[1;36m7.044\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m7.044\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m7.044\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.566\u001b[0m \n", - "\u001b[1;36m7.452\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m7.452\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m7.452\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.841\u001b[0m \n", - "\u001b[1;36m8.593\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m8.593\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m8.593\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.116\u001b[0m \n", - "\u001b[1;36m8.879\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m8.879\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n", - "\u001b[1;36m8.879\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m18.725\u001b[0m \n", - "\u001b[1;36m9.668\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m9.668\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m9.668\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.535\u001b[0m \n", - "\u001b[1;36m9.802\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m9.802\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m9.802\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m8.810\u001b[0m \n", - "\u001b[1;36m9.961\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m9.961\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m9.961\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.099\u001b[0m \n", - "\u001b[1;36m9.970\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m9.970\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m9.970\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.778\u001b[0m \n", - "\u001b[1;36m10.476\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m10.476\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m10.476\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.558\u001b[0m \n", - "\u001b[1;36m11.511\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m11.511\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: esd \n", - "\u001b[1;36m11.511\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.014\u001b[0m \n", - "\u001b[1;36m11.857\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m11.857\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m11.857\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.487\u001b[0m \n", - "\u001b[1;36m12.144\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m12.144\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m12.144\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m10.917\u001b[0m \n", - "\u001b[1;36m13.471\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m13.471\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m13.471\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.005\u001b[0m \n", - "\u001b[1;36m13.921\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m13.921\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m13.921\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.755\u001b[0m \n", - "\u001b[1;36m14.261\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m14.261\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m14.261\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.977\u001b[0m \n", - "\u001b[1;36m14.374\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m14.374\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m14.374\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.607\u001b[0m \n", - "\u001b[1;36m14.604\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m14.604\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m14.604\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m5.896\u001b[0m \n", - "\u001b[1;36m15.000\u001b[0m: ────────── \n", - "\u001b[1;36m15.000\u001b[0m: Warm up complete. \n", - "\u001b[1;36m15.000\u001b[0m: ────────── \n", - "\u001b[1;36m15.575\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m15.575\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m15.575\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m8.743\u001b[0m \n", - "\u001b[1;36m16.305\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m16.305\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m16.305\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.302\u001b[0m \n", - "\u001b[1;36m17.393\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m17.393\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: esd \n", - "\u001b[1;36m17.393\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m19.917\u001b[0m \n", - "\u001b[1;36m19.112\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m19.112\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m19.112\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.795\u001b[0m \n", - "\u001b[1;36m19.926\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m19.926\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: esd \n", - "\u001b[1;36m19.926\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.736\u001b[0m \n", - "\u001b[1;36m20.500\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m20.500\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m20.500\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m8.766\u001b[0m \n", - "\u001b[1;36m20.721\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m20.721\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m20.721\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.809\u001b[0m \n", - "\u001b[1;36m21.850\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m21.850\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m21.850\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.532\u001b[0m \n", - "\u001b[1;36m22.650\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m22.650\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m22.650\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.105\u001b[0m \n", - "\u001b[1;36m22.881\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m22.881\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m22.881\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.423\u001b[0m \n", - "\u001b[1;36m23.232\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m23.232\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m23.232\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.243\u001b[0m \n", - "\u001b[1;36m23.265\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m23.265\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m23.265\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.883\u001b[0m \n", - "\u001b[1;36m24.034\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m24.034\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m24.034\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.008\u001b[0m \n", - "\u001b[1;36m24.474\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m24.474\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n", - "\u001b[1;36m24.474\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m58.191\u001b[0m \n", - "\u001b[1;36m24.887\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m24.887\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m24.887\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m18.489\u001b[0m \n", - "\u001b[1;36m25.065\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m25.065\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n", - "\u001b[1;36m25.065\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m14.018\u001b[0m \n", - "\u001b[1;36m26.491\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m26.491\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m26.491\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.882\u001b[0m \n", - "\u001b[1;36m27.156\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m27.156\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m27.156\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.888\u001b[0m \n", - "\u001b[1;36m27.165\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m27.165\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: esd \n", - "\u001b[1;36m27.165\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.580\u001b[0m \n", - "\u001b[1;36m27.200\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m27.200\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m27.200\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m7.106\u001b[0m \n", - "\u001b[1;36m27.438\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m27.438\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m27.438\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.375\u001b[0m \n", - "\u001b[1;36m28.041\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m28.041\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m28.041\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m13.955\u001b[0m \n", - "\u001b[1;36m28.573\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m28.573\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m28.573\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.929\u001b[0m \n", - "\u001b[1;36m29.643\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m29.643\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m29.643\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.752\u001b[0m \n", - "\u001b[1;36m29.924\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m29.924\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: esd \n", - "\u001b[1;36m29.924\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m8.186\u001b[0m \n", - "\u001b[1;36m30.341\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m30.341\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m30.341\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.105\u001b[0m \n", - "\u001b[1;36m30.350\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m30.350\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m30.350\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.286\u001b[0m \n", - "\u001b[1;36m30.680\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m30.680\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m30.680\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.188\u001b[0m \n", - "\u001b[1;36m31.616\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m31.616\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m31.616\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m6.933\u001b[0m \n", - "\u001b[1;36m31.743\u001b[0m: Patient \u001b[1;36m27\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m31.743\u001b[0m: Patient \u001b[1;36m27\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m31.743\u001b[0m: Patient \u001b[1;36m27\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.884\u001b[0m \n", - "\u001b[1;36m32.085\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m32.085\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m32.085\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m5.441\u001b[0m \n", - "\u001b[1;36m33.475\u001b[0m: Patient \u001b[1;36m29\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m33.475\u001b[0m: Patient \u001b[1;36m29\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m33.475\u001b[0m: Patient \u001b[1;36m29\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.249\u001b[0m \n", - "\u001b[1;36m33.813\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m33.813\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m33.813\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m12.630\u001b[0m \n", - "\u001b[1;36m34.307\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m34.307\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m34.307\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m20.422\u001b[0m \n", - "\u001b[1;36m35.003\u001b[0m: Patient \u001b[1;36m30\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m35.003\u001b[0m: Patient \u001b[1;36m30\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m35.003\u001b[0m: Patient \u001b[1;36m30\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m14.955\u001b[0m \n", - "\u001b[1;36m35.622\u001b[0m: Patient \u001b[1;36m31\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m35.622\u001b[0m: Patient \u001b[1;36m31\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m35.622\u001b[0m: Patient \u001b[1;36m31\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m44.240\u001b[0m \n", - "\u001b[1;36m37.526\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m37.526\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n", - "\u001b[1;36m37.526\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m24.315\u001b[0m \n", - "\u001b[1;36m38.220\u001b[0m: Patient \u001b[1;36m32\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m38.220\u001b[0m: Patient \u001b[1;36m32\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m38.220\u001b[0m: Patient \u001b[1;36m32\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.859\u001b[0m \n", - "\u001b[1;36m39.150\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m39.150\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m39.150\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.061\u001b[0m \n", - "\u001b[1;36m39.412\u001b[0m: Patient \u001b[1;36m34\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m39.412\u001b[0m: Patient \u001b[1;36m34\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m39.412\u001b[0m: Patient \u001b[1;36m34\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m7.616\u001b[0m \n", - "\u001b[1;36m39.788\u001b[0m: Patient \u001b[1;36m35\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m39.788\u001b[0m: Patient \u001b[1;36m35\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m39.788\u001b[0m: Patient \u001b[1;36m35\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.561\u001b[0m \n", - "\u001b[1;36m40.023\u001b[0m: Patient \u001b[1;36m36\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m40.023\u001b[0m: Patient \u001b[1;36m36\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m40.023\u001b[0m: Patient \u001b[1;36m36\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.367\u001b[0m \n", - "\u001b[1;36m40.100\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m40.100\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m40.100\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.201\u001b[0m \n", - "\u001b[1;36m41.177\u001b[0m: Patient \u001b[1;36m38\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m41.177\u001b[0m: Patient \u001b[1;36m38\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m41.177\u001b[0m: Patient \u001b[1;36m38\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.138\u001b[0m \n", - "\u001b[1;36m41.211\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m41.211\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m41.211\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m21.124\u001b[0m \n", - "\u001b[1;36m41.300\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m41.300\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-rehab: other \n", - "\u001b[1;36m41.300\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m47.171\u001b[0m \n", - "\u001b[1;36m42.937\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m42.937\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m42.937\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.479\u001b[0m \n", - "\u001b[1;36m46.714\u001b[0m: Patient \u001b[1;36m40\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m46.714\u001b[0m: Patient \u001b[1;36m40\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m46.714\u001b[0m: Patient \u001b[1;36m40\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.326\u001b[0m \n", - "\u001b[1;36m46.767\u001b[0m: Patient \u001b[1;36m41\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m46.767\u001b[0m: Patient \u001b[1;36m41\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m46.767\u001b[0m: Patient \u001b[1;36m41\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.209\u001b[0m \n", - "\u001b[1;36m47.236\u001b[0m: Patient \u001b[1;36m42\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m47.236\u001b[0m: Patient \u001b[1;36m42\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m47.236\u001b[0m: Patient \u001b[1;36m42\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m11.142\u001b[0m \n", - "\u001b[1;36m47.902\u001b[0m: Patient \u001b[1;36m43\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m47.902\u001b[0m: Patient \u001b[1;36m43\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m47.902\u001b[0m: Patient \u001b[1;36m43\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m22.523\u001b[0m \n", - "\u001b[1;36m49.022\u001b[0m: Patient \u001b[1;36m44\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m49.022\u001b[0m: Patient \u001b[1;36m44\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m49.022\u001b[0m: Patient \u001b[1;36m44\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m9.388\u001b[0m \n", - "\u001b[1;36m49.181\u001b[0m: Patient \u001b[1;36m45\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m49.181\u001b[0m: Patient \u001b[1;36m45\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n", - "\u001b[1;36m49.181\u001b[0m: Patient \u001b[1;36m45\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m40.311\u001b[0m \n", - "\u001b[1;36m49.415\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m49.415\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n", - "\u001b[1;36m49.415\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m57.821\u001b[0m \n", - "\u001b[1;36m49.838\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n", - "\u001b[1;36m49.838\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n", - "\u001b[1;36m49.838\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.396\u001b[0m \n", - "\u001b[1;36m50.734\u001b[0m: Patient \u001b[1;36m47\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m50.734\u001b[0m: Patient \u001b[1;36m47\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n", - "\u001b[1;36m50.734\u001b[0m: Patient \u001b[1;36m47\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m6.987\u001b[0m \n", - "\u001b[1;36m52.234\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n", - "\u001b[1;36m52.234\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n", + " \u001b[32m'tia'\u001b[0m: \u001b[1m{\u001b[0m\u001b[32m'other'\u001b[0m: \u001b[1;36m1\u001b[0m\u001b[1m}\u001b[0m\u001b[1m}\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m1.836\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m1.836\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m1.836\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.638\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m1.974\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m1.974\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m1.974\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.950\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m2.570\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m2.570\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m2.570\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.824\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m3.388\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m3.388\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m3.388\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m11.445\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m3.792\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m3.792\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m3.792\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.487\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m4.958\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m4.958\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m4.958\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m7.023\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m5.984\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m5.984\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m5.984\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.847\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m6.445\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m6.445\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m6.445\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.870\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m6.652\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m6.652\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m6.652\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.067\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m7.044\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m7.044\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m7.044\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.566\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m7.452\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m7.452\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m7.452\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.841\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m8.593\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m8.593\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m8.593\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.116\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m8.879\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m8.879\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m8.879\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m18.725\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.668\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.668\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.668\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.535\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.802\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.802\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.802\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m8.810\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.961\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.961\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.961\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.099\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.970\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.970\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m9.970\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.778\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m10.476\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m10.476\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m10.476\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.558\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m11.511\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m11.511\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m11.511\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.014\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m11.857\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m11.857\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m11.857\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.487\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m12.144\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m12.144\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m12.144\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m10.917\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m13.471\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m13.471\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m13.471\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.005\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m13.921\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m13.921\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m13.921\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.755\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.261\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.261\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.261\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.977\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.374\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.374\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.374\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.607\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.604\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.604\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m14.604\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m5.896\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m15.000\u001b[0m: ────────── \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m15.000\u001b[0m: Warm up complete. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m15.000\u001b[0m: ────────── \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m15.575\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m15.575\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m15.575\u001b[0m: Patient \u001b[1;36m1\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m8.743\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m16.305\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m16.305\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m16.305\u001b[0m: Patient \u001b[1;36m2\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.302\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m17.393\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m17.393\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m17.393\u001b[0m: Patient \u001b[1;36m3\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m19.917\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m19.112\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m19.112\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m19.112\u001b[0m: Patient \u001b[1;36m4\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.795\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m19.926\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m19.926\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m19.926\u001b[0m: Patient \u001b[1;36m5\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.736\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m20.500\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m20.500\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m20.500\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m8.766\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m20.721\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m20.721\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m20.721\u001b[0m: Patient \u001b[1;36m6\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.809\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m21.850\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m21.850\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m21.850\u001b[0m: Patient \u001b[1;36m7\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.532\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m22.650\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m22.650\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m22.650\u001b[0m: Patient \u001b[1;36m8\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.105\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m22.881\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m22.881\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m22.881\u001b[0m: Patient \u001b[1;36m9\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.423\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m23.232\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m23.232\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m23.232\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.243\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m23.265\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m23.265\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m23.265\u001b[0m: Patient \u001b[1;36m11\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.883\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.034\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.034\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.034\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.008\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.474\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.474\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.474\u001b[0m: Patient \u001b[1;36m10\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m58.191\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.887\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.887\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m24.887\u001b[0m: Patient \u001b[1;36m13\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m18.489\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m25.065\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m25.065\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m25.065\u001b[0m: Patient \u001b[1;36m14\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m14.018\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m26.491\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m26.491\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m26.491\u001b[0m: Patient \u001b[1;36m15\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.882\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.156\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.156\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.156\u001b[0m: Patient \u001b[1;36m16\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.888\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.165\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.165\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.165\u001b[0m: Patient \u001b[1;36m17\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.580\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.200\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.200\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.200\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m7.106\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.438\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.438\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m27.438\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.375\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m28.041\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m28.041\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m28.041\u001b[0m: Patient \u001b[1;36m12\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m13.955\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m28.573\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m28.573\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m28.573\u001b[0m: Patient \u001b[1;36m20\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.929\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m29.643\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m29.643\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m29.643\u001b[0m: Patient \u001b[1;36m21\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.752\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m29.924\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m29.924\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m29.924\u001b[0m: Patient \u001b[1;36m22\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m8.186\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.341\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.341\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.341\u001b[0m: Patient \u001b[1;36m23\u001b[0m \u001b[1m(\u001b[0mtia\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.105\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.350\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.350\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.350\u001b[0m: Patient \u001b[1;36m24\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.286\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.680\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.680\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m30.680\u001b[0m: Patient \u001b[1;36m25\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.188\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m31.616\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m31.616\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m31.616\u001b[0m: Patient \u001b[1;36m26\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m6.933\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m31.743\u001b[0m: Patient \u001b[1;36m27\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m31.743\u001b[0m: Patient \u001b[1;36m27\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m31.743\u001b[0m: Patient \u001b[1;36m27\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.884\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m32.085\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m32.085\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m32.085\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m5.441\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m33.475\u001b[0m: Patient \u001b[1;36m29\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m33.475\u001b[0m: Patient \u001b[1;36m29\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m33.475\u001b[0m: Patient \u001b[1;36m29\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.249\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m33.813\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m33.813\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m33.813\u001b[0m: Patient \u001b[1;36m19\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m12.630\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m34.307\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m34.307\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m34.307\u001b[0m: Patient \u001b[1;36m18\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m20.422\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m35.003\u001b[0m: Patient \u001b[1;36m30\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m35.003\u001b[0m: Patient \u001b[1;36m30\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m35.003\u001b[0m: Patient \u001b[1;36m30\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m14.955\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m35.622\u001b[0m: Patient \u001b[1;36m31\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m35.622\u001b[0m: Patient \u001b[1;36m31\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m35.622\u001b[0m: Patient \u001b[1;36m31\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m44.240\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m37.526\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m37.526\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m37.526\u001b[0m: Patient \u001b[1;36m28\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m24.315\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m38.220\u001b[0m: Patient \u001b[1;36m32\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m38.220\u001b[0m: Patient \u001b[1;36m32\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m38.220\u001b[0m: Patient \u001b[1;36m32\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m0.859\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.150\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.150\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.150\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.061\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.412\u001b[0m: Patient \u001b[1;36m34\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.412\u001b[0m: Patient \u001b[1;36m34\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.412\u001b[0m: Patient \u001b[1;36m34\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m7.616\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.788\u001b[0m: Patient \u001b[1;36m35\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.788\u001b[0m: Patient \u001b[1;36m35\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m39.788\u001b[0m: Patient \u001b[1;36m35\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.561\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m40.023\u001b[0m: Patient \u001b[1;36m36\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m40.023\u001b[0m: Patient \u001b[1;36m36\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m40.023\u001b[0m: Patient \u001b[1;36m36\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.367\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m40.100\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m40.100\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m40.100\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.201\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.177\u001b[0m: Patient \u001b[1;36m38\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.177\u001b[0m: Patient \u001b[1;36m38\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.177\u001b[0m: Patient \u001b[1;36m38\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m4.138\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.211\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.211\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.211\u001b[0m: Patient \u001b[1;36m33\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m21.124\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.300\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.300\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m41.300\u001b[0m: Patient \u001b[1;36m37\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m47.171\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m42.937\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m42.937\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m42.937\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m6.479\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m46.714\u001b[0m: Patient \u001b[1;36m40\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m46.714\u001b[0m: Patient \u001b[1;36m40\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m46.714\u001b[0m: Patient \u001b[1;36m40\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m1.326\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m46.767\u001b[0m: Patient \u001b[1;36m41\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m46.767\u001b[0m: Patient \u001b[1;36m41\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m46.767\u001b[0m: Patient \u001b[1;36m41\u001b[0m \u001b[1m(\u001b[0mneuro\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m3.209\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m47.236\u001b[0m: Patient \u001b[1;36m42\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m47.236\u001b[0m: Patient \u001b[1;36m42\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m47.236\u001b[0m: Patient \u001b[1;36m42\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m11.142\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m47.902\u001b[0m: Patient \u001b[1;36m43\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m47.902\u001b[0m: Patient \u001b[1;36m43\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m47.902\u001b[0m: Patient \u001b[1;36m43\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m22.523\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.022\u001b[0m: Patient \u001b[1;36m44\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.022\u001b[0m: Patient \u001b[1;36m44\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.022\u001b[0m: Patient \u001b[1;36m44\u001b[0m \u001b[1m(\u001b[0mother\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m9.388\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.181\u001b[0m: Patient \u001b[1;36m45\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.181\u001b[0m: Patient \u001b[1;36m45\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.181\u001b[0m: Patient \u001b[1;36m45\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m40.311\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.415\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.415\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.415\u001b[0m: Patient \u001b[1;36m39\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m57.821\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.838\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at ASU. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.838\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-ASU: rehab \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m49.838\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on ASU: \u001b[1;36m2.396\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m50.734\u001b[0m: Patient \u001b[1;36m47\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m50.734\u001b[0m: Patient \u001b[1;36m47\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: esd \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m50.734\u001b[0m: Patient \u001b[1;36m47\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m6.987\u001b[0m \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m52.234\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m arrive at rehab. \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[1;36m52.234\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m post-rehab: other \n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ "\u001b[1;36m52.234\u001b[0m: Patient \u001b[1;36m46\u001b[0m \u001b[1m(\u001b[0mstroke\u001b[1m)\u001b[0m LOS on rehab unit: \u001b[1;36m39.358\u001b[0m \n" ] } @@ -444,7 +2052,7 @@ ], "metadata": { "kernelspec": { - "display_name": "stroke-rap-python", + "display_name": "pydesrapstroke", "language": "python", "name": "python3" }, diff --git a/notebooks/parameters_csv.ipynb b/notebooks/parameters_csv.ipynb index 51cfe42..64498f4 100644 --- a/notebooks/parameters_csv.ipynb +++ b/notebooks/parameters_csv.ipynb @@ -140,18 +140,18 @@ { "data": { "text/plain": [ - "{'asu_arrivals': ,\n", - " 'rehab_arrivals': ,\n", - " 'asu_los': ,\n", - " 'rehab_los': ,\n", - " 'asu_routing': ,\n", - " 'rehab_routing': ,\n", + "{'asu_arrivals': ,\n", + " 'rehab_arrivals': ,\n", + " 'asu_los': ,\n", + " 'rehab_los': ,\n", + " 'asu_routing': ,\n", + " 'rehab_routing': ,\n", " 'warm_up_period': 1095,\n", " 'data_collection_period': 1825,\n", " 'number_of_runs': 150,\n", " 'audit_interval': 1,\n", " 'cores': 1,\n", - " 'logger': ,\n", + " 'logger': ,\n", " '_initialised': True}" ] }, @@ -195,7 +195,7 @@ ], "metadata": { "kernelspec": { - "display_name": "stroke-rap-python", + "display_name": "pydesrapstroke", "language": "python", "name": "python3" }, diff --git a/outputs/logs/log_example.log b/outputs/logs/log_example.log index 1262f53..568a7e5 100644 --- a/outputs/logs/log_example.log +++ b/outputs/logs/log_example.log @@ -1,54 +1,54 @@ 0.000: Initialise model: -{ 'arrival_dist': { 'asu': { 'neuro': , - 'other': , - 'stroke': , - 'tia': }, - 'rehab': { 'neuro': , - 'other': , - 'stroke': }}, +{ 'arrival_dist': { 'asu': { 'neuro': Exponential(mean=3.6), + 'other': Exponential(mean=3.2), + 'stroke': Exponential(mean=1.2), + 'tia': Exponential(mean=9.3)}, + 'rehab': { 'neuro': Exponential(mean=31.7), + 'other': Exponential(mean=28.6), + 'stroke': Exponential(mean=21.8)}}, 'asu_occupancy': 0, 'audit_interval': 1, 'audit_list': [], - 'env': , - 'los_dist': { 'asu': { 'neuro': , - 'other': , - 'stroke_esd': , - 'stroke_mortality': , - 'stroke_noesd': , - 'tia': }, - 'rehab': { 'neuro': , - 'other': , - 'stroke_esd': , - 'stroke_noesd': , - 'tia': }}, - 'param': , + 'env': , + 'los_dist': { 'asu': { 'neuro': Lognormal(mean=4.0, stdev=5.0), + 'other': Lognormal(mean=3.8, stdev=5.2), + 'stroke_esd': Lognormal(mean=4.6, stdev=4.8), + 'stroke_mortality': Lognormal(mean=7.0, stdev=8.7), + 'stroke_noesd': Lognormal(mean=7.4, stdev=8.61), + 'tia': Lognormal(mean=1.8, stdev=2.3)}, + 'rehab': { 'neuro': Lognormal(mean=27.6, stdev=28.4), + 'other': Lognormal(mean=16.1, stdev=14.1), + 'stroke_esd': Lognormal(mean=30.3, stdev=23.1), + 'stroke_noesd': Lognormal(mean=28.4, stdev=27.2), + 'tia': Lognormal(mean=18.7, stdev=23.5)}}, + 'param': , 'patients': [], 'rehab_occupancy': 0, - 'routing_dist': { 'asu': { 'neuro': , - 'other': , - 'stroke': , - 'tia': }, - 'rehab': { 'neuro': , - 'other': , - 'stroke': , - 'tia': }}, + 'routing_dist': { 'asu': { 'neuro': Discrete(values=['rehab', 'esd', 'other'], freq=[0.11, 0.05, 0.84]), + 'other': Discrete(values=['rehab', 'esd', 'other'], freq=[0.05, 0.1, 0.85]), + 'stroke': Discrete(values=['rehab', 'esd', 'other'], freq=[0.24, 0.13, 0.63]), + 'tia': Discrete(values=['rehab', 'esd', 'other'], freq=[0.01, 0.01, 0.98])}, + 'rehab': { 'neuro': Discrete(values=['esd', 'other'], freq=[0.09, 0.91]), + 'other': Discrete(values=['esd', 'other'], freq=[0.13, 0.88]), + 'stroke': Discrete(values=['esd', 'other'], freq=[0.4, 0.6]), + 'tia': Discrete(values=['other'], freq=[1])}}, 'run_number': 0, - 'seed_generator': } + 'seed_generator': } Parameters: { '_initialised': True, - 'asu_arrivals': , - 'asu_los': , - 'asu_routing': , + 'asu_arrivals': , + 'asu_los': , + 'asu_routing': , 'audit_interval': 1, 'cores': 1, 'data_collection_period': 40, - 'logger': , + 'logger': , 'number_of_runs': 150, - 'rehab_arrivals': , - 'rehab_los': , - 'rehab_routing': , + 'rehab_arrivals': , + 'rehab_los': , + 'rehab_routing': , 'warm_up_period': 15} Logger: @@ -93,7 +93,7 @@ Rehab routing: 'neuro': {'esd': 0.09, 'other': 0.91}, 'other': {'esd': 0.13, 'other': 0.88}, 'stroke': {'esd': 0.4, 'other': 0.6}, - 'tia': {'esd': 0, 'other': 1}} + 'tia': {'other': 1}} 1.836: Patient 1 (stroke) arrive at ASU. 1.836: Patient 1 (stroke) post-ASU: other 1.836: Patient 1 (stroke) LOS on ASU: 2.638 diff --git a/requirements.txt b/requirements.txt index 7db4e67..7d3dc9f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,5 +14,5 @@ pytest==8.3.4 pytest-xdist==3.6.1 rich==13.9.4 simpy==4.1.1 -sim-tools==0.8.0 +sim-tools==0.9.1 -e .[dev] \ No newline at end of file diff --git a/simulation/model.py b/simulation/model.py index 0ada015..809bd1b 100644 --- a/simulation/model.py +++ b/simulation/model.py @@ -4,7 +4,7 @@ import numpy as np import simpy -from sim_tools.distributions import Exponential, Discrete, Lognormal +from sim_tools.distributions import Exponential, DiscreteEmpirical, Lognormal class Patient: @@ -180,7 +180,7 @@ def create_distributions(self, asu_param, rehab_param, distribution_type): random_seed=next(self.seed_generator) ) elif distribution_type == "discrete": - distributions[unit][patient_type] = Discrete( + distributions[unit][patient_type] = DiscreteEmpirical( values=list(patient_param.keys()), freq=list(patient_param.values()), random_seed=next(self.seed_generator) diff --git a/simulation/parameters.py b/simulation/parameters.py index fc56067..01ec686 100644 --- a/simulation/parameters.py +++ b/simulation/parameters.py @@ -374,7 +374,7 @@ def __init__( # Stroke patients stroke_esd=0.40, stroke_other=0.60, # TIA patients - tia_esd=0, tia_other=1, + tia_other=1, # Complex neurological patients neuro_esd=0.09, neuro_other=0.91, # Other patients @@ -388,8 +388,6 @@ def __init__( stroke_other: float Stroke patient to other destinations (e.g., own home, care home, mortality). - tia_esd: float - TIA patient to ESD. tia_other: float TIA patient to other destinations. neuro_esd: float @@ -406,7 +404,6 @@ def __init__( "other": stroke_other } self.tia = { - "esd": tia_esd, "other": tia_other } self.neuro = { diff --git a/tests/test_unittest.py b/tests/test_unittest.py index e9647e9..90dd85e 100644 --- a/tests/test_unittest.py +++ b/tests/test_unittest.py @@ -13,7 +13,7 @@ import numpy as np import pytest -from sim_tools.distributions import Exponential, Lognormal, Discrete +from sim_tools.distributions import Exponential, Lognormal, DiscreteEmpirical from simulation.parameters import ( ASUArrivals, RehabArrivals, ASULOS, RehabLOS, @@ -151,7 +151,7 @@ def test_create_distributions(): # Check that all routing distributions are Discrete for _, unit_dict in model.routing_dist.items(): for patient_type in unit_dict: - assert isinstance(unit_dict[patient_type], Discrete) + assert isinstance(unit_dict[patient_type], DiscreteEmpirical) def test_sampling_seed_reproducibility():