CMSgov / hpt-validator-cli

CLI for validating CMS Hospital Price Transparency machine-readable files
Other
5 stars 4 forks source link

gross_charge | must be a number #8

Closed dataMuley closed 2 months ago

dataMuley commented 7 months ago

Issue Report

According to this discussion/answered content, if no charge is present [specifically for DRGs], it is to be left blank. However, a 'blank/empty' string will generate errors. This extents then to discounted_cash

Expected behavior

The tool should evaluate the condition in which the code is rendered vs expectation of values https://github.com/CMSgov/hospital-price-transparency/discussions/52

Actual behavior

generates an error

Steps to reproduce the behavior