Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Hospital Price Transparency

The Hospital Price Transparency module is intended to make it easier for site builders to meet the requirements outlined by cms.gov for providing a comprehensive machine-readable file of all items and services.

However, the maintainers of this module do not claim implicitly or explicitly that using this module fulfills any legal obligations of any hospital.

Upgrading from v1 to v2

It's easy and involves no risk, but you should pay attention

How To: Create an HPT entity

Hospital Price Transparency (hpt) entities are content entities like nodes or taxonomy terms.

How To: Link to an HPT entity

Drupal offers many ways to link to a content entity

How To: Manage your cms-hpt.txt file

Beginning in v2 a cms-hpt.txt file is autogenerated

How To: Show a list of HPT entities

In Drupal a "list" usually means a View

How To: Add HPT entities to your sitemap

HPT integrate well with contributed sitemap modules

How To: Configure permissions for HPT entities

The permissions are simple perhaps to a fault

Inside Info: Canonical Link, Alias, Redirect, and Pathauto

Linking to an hpt entity provides a direct link to the file

Inside Info: Huge Files and Zip Uploads

Certain zip uploads are supported, allowing huge files to be served.

Inside Info: Module Configuration

The Hospital Price Transparency module provides a few global configuration options

Inside Info: File alias token and extra field

These are helpful for advanced use cases

Inside Info: Why not Media?

Musings on why a new content entity type is helpful

Guide maintainers

danflanagan8's picture