CMSgov / hpt-validator

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

Allow warnings in header and columns #17

Closed mint-thompson closed 8 months ago

mint-thompson commented 8 months ago

If errors occur during validation of the header and columns, parsing stops. Parsing continues as long as no errors occur, even if warnings occur.

Note that the current implementation does not have any associated tests. The currently implemented CSV validators do not have any way of creating a warning when validating the header and columns. Testing this will require finding and using a function mock package, which will require additional research.