FHIR Chat · error when running validator without tx · implementers

Stream: implementers

Topic: error when running validator without tx


view this post on Zulip Robin Bosman (Feb 03 2021 at 15:11):

When I run the validator jar with -tx n/a it does not connect to the terminology server and I have for example SNOMED-CT codes in my instance it gives me a clear warning -> that I can understand and I think is OK.
However: I noticed when I refer to a MIME type in an instance, for example when validating a Claim and I have
[...]
"supportingInfo": [
[...]
"valueAttachment": {
"contentType": "application/pdf",
"data": "QW5uZXhlIGlubGluZSwgYmFzZTY0ZWQ=",
"title": "nom/description de l'annexe"
}
[...]
-> the validator throws an error:
Error @ Bundle.entry[9].resource.ofType(Claim).supportingInfo[0].value.ofType(Attachment).contentType (line 343, col48) : The value provided ('application/pdf') is not in the value set http://hl7.org/fhir/ValueSet/mimetypes|4.0.1 (http://hl7.org/fhir/ValueSet/mimetypes), and a code is required from this value set) (error message = Attempt to use Terminology server when no Terminology server is available)

That really should be also just a warning , no?

view this post on Zulip Lloyd McKenzie (Feb 03 2021 at 17:24):

It should. Are you able to post an issue against the validator on Github? (https://github.com/hapifhir/org.hl7.fhir.core)

view this post on Zulip Robin Bosman (Feb 03 2021 at 21:52):

Lloyd McKenzie said:

It should. Are you able to post an issue against the validator on Github? (https://github.com/hapifhir/org.hl7.fhir.core)

Tx Lloyd! I posted the issue there


Last updated: Apr 12 2022 at 19:14 UTC