Giter Site home page Giter Site logo

richardgetz / chargemaster_data_aggregator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chargemaster/chargemaster_data_aggregator

0.0 0.0 0.0 28.31 MB

Home Page: https://cse583-chargemaster.herokuapp.com/

License: GNU General Public License v3.0

Shell 0.04% Python 9.52% Jupyter Notebook 90.43%

chargemaster_data_aggregator's Introduction

Chargemaster Data Aggregator & Analysis

chargemaster logo

Hospitals must have transparency in releasing hospital charges for services that they provide. A "Charge Master Description" (CDM) is a file, usually in CSV or Excel format, that lists prices for each service. Since there is no regulation on how hospitals need to format this data, each hospital's CDM varies greatly from another which makes cost breakdown and analysis very difficult for anyone who is trying to compare costs between hospitals for specific services, procedures, and labor.

Purpose

This project is part of a school project with the University of Washington's CSE 583 course. We are aiming to compile the CDMs of hospitals listed by the Washington State Hospital Association which can be found here.

Additionally, we are aiming to do cost analysis on groups of services and/or goods and see what we may find. This project will be a work in progress during and most likely past the course itself.

Requirements

Chargemaster has the following dependencies:

  1. Python = 3.9

Usage

Chargemaster can be used to scrape CDM files from Washington State Hospital webpages. The downloaded data files are then organized, cleaned, and reformated for analysis and visualization in a dashboard.

Modules Overview

  • scraper.py : Webscraper to gather CDM files from Washington Hospitals.
  • file_delete.py : Sorts scraped files, and retains .csv and .xlsx data files.
  • file_rename.py : Renames and numbers scraped data files by hospital.
  • file_formatting.py : Not yet developed - pulls relevant columns from individual datasets and merges into master dataset for analysis.
  • app.py : Dashboard to visualize hospital prices by Diagnosis-related Group (DRG) code.

Use Case

A prospective patient needing non-immediate medical attention may be more focused on balancing care with financial burden.

This could be calculating the cost of a one-time procedure along with consistent medical attention needed like refilling prescriptions, check-ups every X months, along with hospital size and location (E.g. They probably don't want to drive hours to a hospital they have to go to somewhat regualrly). The user can look at the dashboard, filter by type of service, hospital size, and county in Washington state. They can then see the hospitals fitting the criteria, their locations, price distribution, and compare their costs side to side for the specific services and/or medical goods/attention they may need.

Workflow

chargemaster logo

Dashboard Design

Dashboard link: https://cse583-chargemaster.herokuapp.com/

dashboard

We decided to include four visualizations and 3 filters in our dashboard for users to view hospitals and procedure prices based on their needs.

Filters

  • DRG Code : Diagnosis-related group (DRG) is a system which classifies hospital cases according to certain groups, also referred to as DRGs, which are expected to have similar hospital resource use (cost). They have been used in the United States since 1983. Users can select DRG codes from this filter to narrow down the data and focus on specific diagnosis, treatment and length of hospital stay they are looking for.
  • County : Users can select from counties in the Washington state that are closer to where they live.
  • Hospital Size : Users can select whether they want to search for small, medium, or large hospitals that provide they procedure they are looking for.

Visualizations

Geo Map

The geo map uses latitude and longitude to plot the location of hospitals in WA. We put this on the top left because users can have an overview of the locations and see whether there are hospitals that provide procedures in the county they selected. Users can also view basic information such as address and hospital size by hovering their curser on the dot.

Price Distribution

After selecting the DRG code(s), the second chart will show the price distribution of the procedures and the average price. Users can get a better understanding of the price of the selected code to make estimation.

Price Comparison

The third chart allows users to make comparison of the prices among hospitals in different counties and size. They can compare the prices of the same procedure from small, medium, and large hospitals in the same county, or compare the prices of the same procedures among same-size hospitals in different counties. This chart helps patients find the hospital with the lowest price under the selected filters.

Detailed Information

After having a better understanding of from a bigger scope, some patients might still want to look at detailed information of the hospital, procedure, and the price, so we put a table that shows text of the search result.

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.