Closed JohnMoehrke closed 10 months ago
This is vague, but this is how the base operation provides documentation on the parameter which is implying the direct call without parameters:
Use this to provide an entire set of patient details for the MPI to match against (e.g. POST a patient record to Patient/$match).
In FHIR R5, the language is strengthened:
"If an operation has exactly one input parameter whose type is a FHIR Resource and all other parameters a client intends to submit are simple parameters, then the client MAY invoke the operation via POST with the input resource as the request body and additional parameters as query parameters. Servers SHALL support this means of invocation of the operation."
From http://hl7.org/fhir/R5/operations.html#request
So, I am inclined to keep it as is. Clients may choose how to invoke the operation, servers SHALL support both methods.
Is it really important that we endorse, and thus require servers support, the additional method of invoking $match?