Skip to content

_include search parameter with source type not matching the domain resource type should be ignored #1267

Open
@limorl

Description

Describe the bug
When including a resource type now matching the domain resource type, the include search parameter should be ignored.

To Reproduce
Steps to reproduce the behavior:

  1. run query: [base]/MedicationRequest?_include:MedicationDispense:patient
  2. You will get in return Patient resources which are referenced by MedicationDispense

Expected behavior
Search parameter should be ignored and results should be similar to running [base]/MedicationRequest?

Actual behavior
Patient resources referenced by MedicationDispense resources are returned

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions