hapifhir / org.hl7.fhir.validator-wrapper

CLI, Desktop GUI, and Standalone Server for the FHIR Validator
Apache License 2.0
29 stars 15 forks source link

Issue with Expanding Language Value Set on tx.fhir.org #189

Open kolarovkr opened 1 month ago

kolarovkr commented 1 month ago

Dear HL7 Team,

I am encountering an issue with the tx.fhir.org FHIR terminology server while trying to validate a C-CDA document. I am using the latest validator_cli.jar file, which I downloaded from https://validator.fhir.org/, and I am performing validations locally because the online validator at https://validator.fhir.org/ has been non-operational for several days.

The specific error I receive is as follows:

“The value provided ('en') was not found in the value set 'Language codes with language and optionally a region modifier' (http://hl7.org/fhir/us/core/ValueSet/simple-language|7.0.0). Error from http://tx.fhir.org/r4: Exception expanding value set in order to infer system: Language valuesets cannot be expanded as they are based on a grammar.”

According to the US Core Simple Language ValueSet, the “en” code is valid for two-character English codes. However, the terminology server seems to be struggling with the expansion of grammar-based value sets, leading to this validation error.

Could you please look into this issue or guide me on how to fix it?

Thank you for your time and assistance.

Best regards,

Krasimir Kolarov QA Object Systems International

grahamegrieve commented 1 month ago

Are you still getting this error? I'm pretty sure it's something that I actually fixed a few days before you posted this issue

kolarovkr commented 1 month ago

Hi Grahame,

Thank you for your response!

When I validate the CCDA document online at https://validator.fhir.org/, the language error does not appear. Thank you for addressing that!

However, after downloading the latest CLI file from (Validator GUI (fhir.org) https://validator.fhir.org/) and running the validation locally, I still encounter the language error:

"The value provided ('en') was not found in the value set 'Language codes with language and optionally a region modifier' ( http://hl7.org/fhir/us/core/ValueSet/simple-language|7.0.0), and a code is required from this value set (error message = Error from http://tx.fhir.org/r4: Exception expanding value set in order to infer system: Language valuesets cannot be expanded as they are based on a grammar)"

Could you please address this issue in the latest CLI file as well?

Kind regards,

Krasi QA Object Systems International

On Thu, Oct 17, 2024 at 2:13 AM Grahame Grieve @.***> wrote:

Are you still getting this error? I'm pretty sure it's something that I actually fixed a few days before you posted this issue

— Reply to this email directly, view it on GitHub https://github.com/hapifhir/org.hl7.fhir.validator-wrapper/issues/189#issuecomment-2418121757, or unsubscribe https://github.com/notifications/unsubscribe-auth/A25V3VBYK3PKPSIFQG3RP53Z33XJPAVCNFSM6AAAAABPY3TC5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGEZDCNZVG4 . You are receiving this because you authored the thread.Message ID: @.***>

grahamegrieve commented 1 month ago

it's the same code. Probably you have a caching issue - run it again with -clear-tx-cache

kolarovkr commented 1 month ago

Thank you for the suggestion! I will work with a developer on this.

Could you please also look into the following issues:

FHIR Validation tool Version 6.3.27 (Git# 102e7552832d). Built 2024-09-22T17:53:20.171Z (24 days old)

Error fetching https://packages.fhir.org/hl7.cda.us.ccda: Not Found

On Thu, Oct 17, 2024 at 7:03 AM Grahame Grieve @.***> wrote:

it's the same code. Probably you have a caching issue - run it again with -clear-tx-cache

— Reply to this email directly, view it on GitHub https://github.com/hapifhir/org.hl7.fhir.validator-wrapper/issues/189#issuecomment-2418451623, or unsubscribe https://github.com/notifications/unsubscribe-auth/A25V3VGG2V6SJ2JKZVHJKPLZ34ZJ5AVCNFSM6AAAAABPY3TC5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGQ2TCNRSGM . You are receiving this because you authored the thread.Message ID: @.***>

grahamegrieve commented 1 month ago

That one won't be easily resolved, and I can't resolve it, but nor does it matter - it's a todo for me to resolve that depends on someone else

kolarovkr commented 1 month ago

No problem, I understand.

Thank you for your responses! Wish you all the best!

On Thu, Oct 17, 2024 at 10:56 AM Grahame Grieve @.***> wrote:

That one won't be easily resolved, and I can't resolve it, but nor does it matter - it's a todo for me to resolve that depends on someone else

— Reply to this email directly, view it on GitHub https://github.com/hapifhir/org.hl7.fhir.validator-wrapper/issues/189#issuecomment-2418826611, or unsubscribe https://github.com/notifications/unsubscribe-auth/A25V3VBFBI5DAK6GAOWSLV3Z35URNAVCNFSM6AAAAABPY3TC5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYHAZDMNRRGE . You are receiving this because you authored the thread.Message ID: @.***>