Details
-
Change Request
-
Resolution: Not Persuasive
-
Medium
-
FHIR Core (FHIR)
-
R4
-
FHIR Infrastructure
-
References
-
-
Grahame Grieve / Rick Geimer: 12-0-0
Description
The `ref-1` constraint looks like this:
```
reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
```
This constraint contains the `trace()` function, which has no real use in production systems and will likely trigger log or console output in the FhirPath evaluator. Since ref-1 is a very common constraint, this might affect validation performance, for no added benefit.
I propose removing the call to `trace()` in this constraint.