Details
-
Type:
Change Request
-
Status: Waiting for Input (View Workflow)
-
Priority:
Medium
-
Resolution: Unresolved
-
Specification:FHIR Core (FHIR)
-
Raised in Version:R4
-
Work Group:Vocabulary
-
Related URL:
-
Related Artifact(s):CodeSystem
-
Related Page(s):(profiles)
FHIRPath (fluentpath)
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...