Is 'emptyReason' missing from the response schema in the documentation for A008?

As per the title, I’m receiving an object from A008 that contains an ‘emptyReason’ key. If this is legitimate, I’ll add it to my type definitions, otherwise I’ll calculate whether the list is empty myself.

Thanks.
Sam

Hi @sam.carter,

Yes this is legitimate / as expected. But you are correct in that it is missing from the documented schema - I will raise an issue to get this fixed and potentially an example added.

Although not the same API Patient service search (A010, FHIR STU3) also uses the List resource for its response. This does include the emptyReason in the schema and also includes an example (“Empty result list”).

Regards,

Adam.

1 Like

Great, thanks for confirming!