Search for the DocumentReference that belong to a Patient, by Category
Steps
Outcome
When Get FHIR resource at "http://fhirserver/DocumentReference/?category=${data.documentreference-search-class-code}&patient=Patient/${data.documentreference-read-patient-id}" with content type "xml"
curl -v -H "accept: application/fhir+xml" -X GET "http://fhirserver/DocumentReference/?category=DOK&patient=Patient/Patient-Read-Example"
SUCCESS
455ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS
213ms
And FHIR current response body evaluates the FHIRPath "entry.resource.all(category.coding.where(code = 'DOK').exists())" with error message 'There are search results, but they do not fully match the search criteria.'