Skip to content

"type" Search Parameter never makes a successful match #2409

Open
@mosiermt

Description

@mosiermt

Describe the bug
The "type" search parameter never successfully matches for the given value. This search parameter is not to be confused with "_type"

FHIR Version?
R4

Data provider?
CosmosDB

API Version?
Azure API for FHIR (version 2021-06-01-preview)

To Reproduce
Steps to reproduce the behavior:

  1. Populate a server with an Organization resource that includes:
    "type": [ { "coding": [ { "system": "http://hl7.org/fhir/us/davinci-pdex-plan-net/CodeSystem/OrgTypeCS", "code": "ntwk", "display": "Network" } ], "text": "A healthcare provider insurance network" } ],

  2. Ensure that the server is reindexed

  3. Perform a search for /Organization?type=ntwk

Expected behavior
The newly added organization resource should be returned in the search, because the "code" in the type value matches the provided search parameter "ntwk"

Actual behavior
Query returns an empty bundle, as if none of the resources in the server have the code "ntwk" as the type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions