Skip to content

poetic/assembly-roi-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROI Calculator

Calculator applet created to generate leads for Assembly health on both QHCR site and Polaris group site.

Usage

script and relevent css files should be included on the document with either a <script> or <link> tag. target is defined by id on a <div> element of #roi-calc.

roiCalculator class takes below arguments in order.

Arguments

Argument Description
elementSelector String selector for target element to inject form into
billingProvider String of name of billing provider
billingProviderAbr String of abbreviated name of billing provider
contactLink String of link to contact us page of billing provider
options (Optional) Object to define default values

Options

Property default description
revPerBedPerDay 270 Integer amount of revenue generated per bed per day
insourcedBillRate 0.0065 Float cost of insourced billing as a percentage
billingRate 0.03 Float cost of provider billing as a percentage
collectionRate 0.98 Float amount billing provider can collect as a percentage

Scripts

Scripts may be called with either yarn or npm.

Build

Transpiles .js files for cross browser compatibility and outputs the result to ./build directory. Prebuild copies css files into ./build as well.

Watch

Runs build when changes are made to the ./src directory.

Environment Setup

Steps to setup and start dev environment. Any simple html server can be used to serve ./src/index.html. For VScode I suggest Live Server.

  • git clone git@git.poetic.io:assembly-health/roi-calculator.git
  • git checkout development
  • git pull
  • yarn install

After these steps run Live Server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •