So this is the same problem we found with SimpleQuantity. The validator will try to find the pinned profile but it will fail because HAPI only knows the unpinned R4 canonical and fails to find the resource definition. This is easy to work around as we did already for the quantity.
However, I tried having a look if HAPI FHIR 8.10.0 (which is the version set by IPF 5.2 as well) would properly deal with this issue. What I found is that validation is completely broken due to incompatible implementations of WorkerContextValidationSupportAdapter. I'll have to have a closer look at this and see if this is something we have to address at all or we'll have to wait for a new version of HAPI FHIR.
So this is the same problem we found with
SimpleQuantity. The validator will try to find the pinned profile but it will fail because HAPI only knows the unpinned R4 canonical and fails to find the resource definition. This is easy to work around as we did already for the quantity.However, I tried having a look if HAPI FHIR 8.10.0 (which is the version set by IPF 5.2 as well) would properly deal with this issue. What I found is that validation is completely broken due to incompatible implementations of
WorkerContextValidationSupportAdapter. I'll have to have a closer look at this and see if this is something we have to address at all or we'll have to wait for a new version of HAPI FHIR.