Describe the bug
Searching for a patient by Identifier, using the of-type modifier presents the error: Only one token separator can be specified. This is necessary for Brazilian Documents, as the current profile does not specify a System for Brazilian Documents (RG and CPF)
:of-type | The search parameter has the format system|code|value, where the system and code refer to a Identifier.type.coding.system and .code, and match if any of the type codes match. All 3 parts must be present
If this is a new feature instead of a Bug, the error should state that the of-type modifier is not supported in order to provide better guidance to the users.
Describe the bug Searching for a patient by Identifier, using the of-type modifier presents the error: Only one token separator can be specified. This is necessary for Brazilian Documents, as the current profile does not specify a System for Brazilian Documents (RG and CPF)
Per the specification (https://www.hl7.org/fhir/search.html):
FHIR Version? R4
Data provider? CosmosDB
To Reproduce Steps to reproduce the behavior:
Insert a patient with value:
Search using the URL:
https://xxxx.azurehealthcareapis.com/Patient?identifier:ofType=http://terminology.hl7.org/CodeSystem/v2-0203|RRI|1234
Expected behavior Patient should be returned.
Actual behavior Error returned: