An open API service indexing awesome lists of open source software.

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".

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.