Details
-
Change Request
-
Resolution: Persuasive with Modification
-
Medium
-
FHIR Core (FHIR)
-
R4
-
Terminology Infrastructure
-
CodeSystem
-
(profiles)
FHIRPath (fluentpath) -
-
Carmela Couderc/Reuben Daniels: 9-0-0
-
Correction
-
Compatible, substantive
-
R5
Description
Once of the constraints of the `CodeSystem` resource is the following expression:
concept.code.combine($this.descendants().concept.code).isDistinct()
The use of the `$this` invocation is incorrect. The input collection that `$this.descendants()` will operate under will only return the extensions or `id` of `concept.code`. Please see discussion at: http://community.fhir.org/t/codesystem-constraint-fhir-path-expression-seems-to-always-be-false/1999
Recommend the following changes:
concept.code.combine(%resource.concept.descendants().select(concept).code).isDistinct()
or
concept.code.combine(%resource.concept.descendants().concept.code).isDistinct()
Attachments
Issue Links
- mentioned in
-
Page Loading...