Skip to content

General parameter _elements not supported through read interaction #1336

Description

@kennethmyhra

Describe the bug
General parameter _elements is not supported through read interactions. It is only supported through search interactions.

To Reproduce
Steps to reproduce the behavior:

  1. Execute read interaction: https://spark.incendi.no/fhir/Patient/example?_format=json&_elements=name,birthDate

Expected behavior
When applied to read interactions should return a resource with only the requested _elements included.

Spark version

  • Version: 2.5, 3.0.1

Failed tests
ElementsSearchParameterTest (I_ELEMENTS_002)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions