MyNixOS website logo
Description

Calculate Medicare Reimbursement.

Uses the 'CMS' application programming interface <https://dnav.cms.gov/api/healthdata> to provide users databases containing yearly Medicare reimbursement rates in the United States. Data can be acquired for the entire United States or only for specific localities. Currently, support is only provided for the Medicare Physician Fee Schedule, but support will be expanded for other 'CMS' databases in future versions.

cms R Package: Tools for Calculating CMS Medicare Reimbursement

Travis build status AppVeyor build status

License: GPL v3 CRAN version CRAN Downloads

Overview

The cms R package uses the CMS (Center for Medicare & Medicaid Services) API to provide useRs access to databases containing annually-updated Medicare reimbursement rates. Data is available for all localities in the United States. Currently, support is only provided for the Medicare Physician Fee Schedule (MPFS), but support will be expanded for other CMS databases in future versions. In summary, cms implements programmatic access to healthcare reimbursement data via the CMS API and the R programming language.

Installation

To install cms, run the following R code:

# install from CRAN
install.packages("cms")

# install development version from GitHub
devtools::install_github("subramv/cms")

# install development version with vignettes
devtools::install_github("subramv/cms", build_vignettes = TRUE)

Sample code

The following code pulls the 2019 MPFS national payment file for all localities:

# load cms
library(cms)

#pull MPFS national payment file
mpfs19 <- get_mpfs(19)

More details can be found in the package vignettes.

Functionality

cms is designed to automate import and cleaning of CMS publically-available databases for useRs to use. Databases are downloaded to a user-specified directory and by default are stored as compressed source files for re-use. At present, this functionality has been implemented for the MPFS.

Contributions

Please report any bugs, suggestions, etc. on the issues page of the cms GitHub repository. Contributions (bug fixes, new features, etc.) are welcome via pull requests (generally from forked repositories).

Metadata

Version

0.1.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows