Skip to content

Implement the FHIRPath repeat function #3646

Description

@lmsurpre

Is your feature request related to a problem? Please describe.
While adding support for US Core 5.0, I found that their QuestionnaireResponse profile inherits some complex FHIRPath constraints from http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html

One of those constraints, sdcqr-2, uses the FHIRPath 'repeat' function which is not supported in our FHIRPath evaluator.

Describe the solution you'd like
Add support for repeat as defined in the FHIRPath specification: https://hl7.org/fhirpath/#repeatprojection-expression-collection

Describe alternatives you've considered
disable or override this constraint with a custom java implementation

Acceptance Criteria

  1. GIVEN a QuestionnaireResponse that conforms to http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse
    WHEN validated against http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse
    THEN validation should complete with no exceptions

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions