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