(1) I noticed that sometimes the search response returns a bundle with the total property in it but sometimes not.
Here is the query that returns a bundle which does not have the total property.https://fhir-ehr.sandboxcerner.com/r4/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Patient?family=s
I do see patients are returned in this scenario.
Can you clarify when the total property is expected to not included? We are reading this property in our application to indicating if patient found or not. Based on my testing, if I only provide Let me know if this is not a good property to look at.
(2) Is it possible that the result returned from the API will contain both bundle resource and operation outcome resource ? For example, the API does found patients and returns 200 response, but in the response it include the patients found and also include an operation outcome resource to indicate additional information. Just wanted to understand if this is ever going to happen so I can handle it correctly.