CMSgov / price-transparency-guide-validator

Validation tool to check output files required by the price-transparency-guide
Apache License 2.0
29 stars 13 forks source link

Validator reporting error on "service_code": [CSTM-00] #68

Closed tjtulsa closed 1 year ago

tjtulsa commented 2 years ago

Per the guide "service_code": [CSTM-00] is valid however the validator is reporting the the JSON is invalid.

For service_code, if a negotiated rate for either "professional" or "institutional" billing_class is the same for all service_codes, the custom value of CSTM-00 can be used to avoid listing all possible service codes.

Input JSON is invalid. Error Name: enum Message: Property has a value that is not one of its allowed enumerated values. Instance: #/in_network/0/negotiated_rates/0/negotiated_prices/0/service_code/0 Schema: #/definitions/negotiated_price/properties/service_code/items

OHCDiana commented 2 years ago

Is there any update on this issue? Switching to CSTM-00 will drastically reduce my file sizes, but I don't want to do that until it passes validation.

mint-thompson commented 2 years ago

Thank you for reporting this issue. The CSTM-00 service code was added recently to the schemas, so you will need to use schema version 1.3.1 in order to correctly validate your file. First, make sure that you have all the latest schemas available by running the update subcommand:

cms-mrf-validator update

Then, you should be able to validate the file successfully by specifying v1.3.1 as the schema version:

cms-mrf-validator validate my-file.json v1.3.1
shaselton-usds commented 1 year ago

Tagging: @OHCDiana @tjtulsa -- just following up on this front. Are you still running into any issues with the validator on CSTM-00 after updating the validator? We'll probably close this out in a few days if there are no responses.

OHCDiana commented 1 year ago

I’m good now. Thanks for the followup!


Diana Jacobs Senior Programmer / Analyst Ohio Health Choice 330-996-8205 / 800-554-0027 @.**@.>


From: scott haselton @.> Sent: Wednesday, October 12, 2022 3:21 PM To: CMSgov/price-transparency-guide-validator @.> Cc: Jacobs, Diana @.>; Mention @.> Subject: Re: [CMSgov/price-transparency-guide-validator] Validator reporting error on "service_code": [CSTM-00] (Issue #68)


Caution: This email originated outside of Summa Health. Don’t Click that Link or download any attachment unless you recognize the sender and know the content is safe.


Tagging: @OHCDianahttps://urldefense.com/v3/__https:/github.com/OHCDiana__;!!IvuGXOn7!h00gnwmucsOx2lhPak6rhN5Xku78-Gf6dZ620LXiYOd3HM9pNxZ4Gb4ClBQsc9fKx4bHjeFrwur34qQ4ot1C_3I_YM4$ @tjtulsahttps://urldefense.com/v3/__https:/github.com/tjtulsa__;!!IvuGXOn7!h00gnwmucsOx2lhPak6rhN5Xku78-Gf6dZ620LXiYOd3HM9pNxZ4Gb4ClBQsc9fKx4bHjeFrwur34qQ4ot1CCt8Ymeg$ -- just following up on this front. Are you still running into any issues with the validator on CSTM-00 after updating the validator? We'll probably close this out in a few days if there are no responses.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/CMSgov/price-transparency-guide-validator/issues/68*issuecomment-1276634162__;Iw!!IvuGXOn7!h00gnwmucsOx2lhPak6rhN5Xku78-Gf6dZ620LXiYOd3HM9pNxZ4Gb4ClBQsc9fKx4bHjeFrwur34qQ4ot1CT9qWNn4$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AXIY2QW7MPSNKLN5PPTEM6TWC4FSXANCNFSM6AAAAAAQCYXBTM__;!!IvuGXOn7!h00gnwmucsOx2lhPak6rhN5Xku78-Gf6dZ620LXiYOd3HM9pNxZ4Gb4ClBQsc9fKx4bHjeFrwur34qQ4ot1CgW_OyRA$. You are receiving this because you were mentioned.Message ID: @.**@.>>

Note: The enclosed information is STRICTLY CONFIDENTIAL and is intended for the use of the intended recipient only. Federal and Ohio laws protect patient medical information that may be disclosed in this e-mail. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, distribution, disclosure, or copying of the contents is prohibited. If you have received this email in error, please notify the sender immediately.