Code Monkey home page Code Monkey logo

hsrdefbuilder's Introduction

Health Services Research Definition Builder

Overview

This package is created for analysts starting a claims-based research project, requiring a cohort definition using ICD diagnosis codes.

Diagram of workflow Figure: the proposed hsrdefbuilder workflow. Analysts run the hsrdefbuilder code on claims, and create a summary of the codes associated with that service. Collaborators and analysts can view this and use the hsrdefbuilder Shiny application to make decisions about which codes to include in their final cohort definition.

Users can select and investigate the diagnosis codes most associated with the service claims, and share this output with their collaborators outside of a SAS environment.

The hsrdefbuilder package allows users to run our Shiny R application in their own R session.

We built this application with a SAS to R workflow in mind, meaning the initial claims selection and processing is done using a SAS program, while its output is processed and displayed using R.

Installation

To install the hsrdefbuilder R package from github, run:

devtools::install_github("kelsey209/hsrdefbuilder")

The hsrdefbuilder shiny application can be run using the R function:

hsrdefbuilder::runDefBuilder()

Minimum dataset related to publication

The folder minimum_dataset_paper contains the output data from the SAS program for the services discussed in our submitted paper (medRxiv link).

  • Table 2 was compiled from results that were output from running hsrdef_run.SAS.
  • Table 3 was based on the saved output data set from carrier claims with CPT code 29877: results_table3_carrier29877.csv.
  • Table 4 results were compiled using the SAS code hsrdef_run_urinalysis_check.R. The datasets containing the important diagnosis codes listed in the table are: results_table4_carrier81001.csv, results_table4_carrier81003.csv, results_table4_outpatient81001.csv, results_table4_outpatient81003.csv).
  • Table 5 was created using the data set output from the SAS application with inpatient claims for procedure codes 0SG0x: results_table5_inpatient0SG0.csv.

hsrdefbuilder's People

Contributors

kelsey209 avatar

Watchers

 avatar

hsrdefbuilder's Issues

Testing github install package

Hi Val,

No rush on this.

Can you test if this package installs on your RStudio?

You should be able to use devtools::install_github("kelsey209/hsrdefbuilder", auth_token = XXX)
There auth is your Github access token.

It might have an error if your installed packages are older versions, but it should work after you update them.

If it manages to run okay, you can test it by uploading this csv file here where the SAS upload option is:
outpatient_29877.csv

Thanks!

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.