Description
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:
-
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" } ],
-
Ensure that the server is reindexed
-
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.