-
Couldn't load subscription status.
- Fork 354
Description
Describe the bug
We have identified some cases in which the validator is not calling the IResourceResolver to resolve certain relative references.
To Reproduce
Steps to reproduce the behavior:
Both this resources have a reference to Patient/UKCore-Patient-RichardSmith-Example:
https://simplifier.net/ukcore/ukcore-careteam-weightmanagementteam-example
https://simplifier.net/ukcore/ukcore-medicationstatement-amoxicillin-example
However, validating them the outcome is different:
- Gives warnings: https://simplifier.net/ukcore/ukcore-careteam-weightmanagementteam-example/$validate
- Doesn't give warnings: https://simplifier.net/ukcore/ukcore-medicationstatement-amoxicillin-example/$validate
Our investigation concluded that in the case of the resource that doesn't give warnings the validator is not calling the IResourceResolver to resolve the reference.
Expected behavior
Both validations should attempt to resolve the reference to Patient/UKCore-Patient-RichardSmith-Example.
Screenshots
If applicable, add screenshots to help explain your problem.
Version used:
- FHIR Version: R4 (haven't tried with STU3)
- Version: Tried with both 1.9.0 and 2.0.2.
Additional context
Add any other context about the problem here.