Hello I’m trying to pass the inferno test for patient resource but 4.2.07 Server returns Provenance resources from Patient search by _id + revInclude:Provenance:target test is getting skipped.
Here is the Query:- {{fhirServerUrl}}/Patient?_id=7f1afe3a-2ad0-48cd-bbe6-6d9edf8fb483&_revinclude=Provenance:target
and diagnostic in the response is this:-
{
“fullUrl”: “https://sfp-proxy10391.azurewebsites.net/fhir/Provenance/958d28eb-7ad4-4198-975a-2189b8c11334”,
“resource”: {
“resourceType”: “OperationOutcome”,
“id”: “9ec45a15-8210-4810-b1ce-1d8cc595b181”,
“issue”: [
{
“severity”: “warning”,
“code”: “forbidden”,
“diagnostics”: “Could not find Patient Reference Patient/7f1afe3a-2ad0-48cd-bbe6-6d9edf8fb483 in reference fields patient of resource Provenance/958d28eb-7ad4-4198-975a-2189b8c11334”
}
]
},
“search”: {
“mode”: “outcome”
}
}
My fhir server metadata is https://sfp-proxy10391.azurewebsites.net/fhir/metadata
Any idea what I’m doing wrong here and how to fix it?
I’m using azure api for fhir.