https://github.com/the-strategy-unit/752_classify_op_activity
This repository contains the code and the reference tables used in the project, "Classifying Outpatient Activity by Function".
https://github.com/the-strategy-unit/752_classify_op_activity
Last synced: about 2 months ago
JSON representation
This repository contains the code and the reference tables used in the project, "Classifying Outpatient Activity by Function".
- Host: GitHub
- URL: https://github.com/the-strategy-unit/752_classify_op_activity
- Owner: The-Strategy-Unit
- License: gpl-3.0
- Created: 2021-10-14T07:13:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-08T12:05:16.000Z (over 4 years ago)
- Last Synced: 2025-01-19T08:19:11.775Z (over 1 year ago)
- Language: R
- Size: 63.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Classifying Outpatient Activity by Function
This repository contains the SQL code, R code, and reference tables used in the Midlands Decision Support Network (MDSN) project, "Classifying Outpatient Activity by Function".
## New - To use on SUS tables with SQL
1. Extract these files to folder on local machine.
2. Modify (as necessary) and run: sql_option_op.sql and sql_option_ip.sql.
3. Run 752_master_sql_option.R script.
Outputs a demo csv file (when this parameter set is set as TRUE in 752_master_sql_option.R).
## For NCDR
"Master.R" contains instructions and executes other necessary scripts.
##
Given the relative simplicity of the algorithm, we suggest it could - with moderate effort - be re-written in SQL or in Python. See for methods.