I'm submitting a simple Patient resource to validator.fhir.org and getting inconsistent results.
The resource is found below. When I first paste this into the Code field, and click on Validate I get this error message:
Error Line: 8
The extension http://hl7.org/fhir/us/core/StructureDefinition/us-core-race is unknown, and not allowed here.
Maybe I'm missing something, it seems like the extension should work okay.
When I click on Validate again, there are no errors, warnings, etc.
If I try to validate using the command line validator, I get the same error, although running it twice doesn't change the result.
If I have a Patient resource that just has the us-core-ethnicity extension, I get a similar error on the first try, but no errors when I click on Validate again.
Originally posted in Zulip:
I'm submitting a simple Patient resource to validator.fhir.org and getting inconsistent results. The resource is found below. When I first paste this into the Code field, and click on Validate I get this error message:
When I click on Validate again, there are no errors, warnings, etc.
If I try to validate using the command line validator, I get the same error, although running it twice doesn't change the result.
Patient Resource
Output from CLI run:
I'm also getting the same result with an even simpler Patient resource that only has race extension:
If I have a Patient resource that just has the us-core-ethnicity extension, I get a similar error on the first try, but no errors when I click on Validate again.