Skip to contents

Return the static CMS Hospital Price Transparency (HPT) JSON reference used to develop cmsmrf. This function works locally and does not retrieve the latest CMS specification or assess whether an individual MRF conforms to it.

Usage

mrf_specification()

Value

A named list of character values:

  • family: CMS specification family.

  • format: physical input format targeted by this reference.

  • schema_version and dictionary_version: CMS artifact labels.

  • reference_date: package development reference date (YYYY-MM-DD).

  • source_organization: organization publishing the artifacts.

  • repository_url and repository_commit: source repository and snapshot.

  • schema_url and dictionary_url: commit-pinned artifact links.

Details

The current reference is JSON schema V3.0.0 and data dictionary v3.0 at CMS repository commit 6855f04377ec6e87f88798cd618a27a826eebd2a. The schema and dictionary have distinct version labels. reference_date records when this package's development reference was established; it is neither a CMS publication date nor a regulatory applicability date. repository_commit identifies the examined CMS repository snapshot. The schema and dictionary URLs point to artifacts at that commit.

See also

mrf_example() for fictional sources that use the supported format.

Examples

reference <- mrf_specification()
reference$schema_version
#> [1] "3.0.0"
reference$schema_url
#> [1] "https://raw.githubusercontent.com/CMSgov/hospital-price-transparency/6855f04377ec6e87f88798cd618a27a826eebd2a/Machine-readable%20file/documentation/JSON/schemas/V3.0.0_Hospital_price_transparency_schema.json"