Skip to content

Prefer: return=representation not respected #2431

Open
@dustinmoris

Description

@dustinmoris

When I send a HTTP POST request to /Patient with a If-None-Exist and Prefer: return=representation headers then the current server implementation doesn't return me an existing patient in the response. The server only responds with a 200 OK and an empty HTTP body, but my understanding is that I should get back the entire Patient resource as well.

I am using the official .NET FHIR client which has support for a conditional create which is supposed to do exactly that according to the FHIR spec. It seems the microsoft fhir server doesn't implement this correctly at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementEnhancement on existing functionality.SpecificationAn issue referring or related to the FHIR SpecificationUp for grabsThe issue require minimal context and is well-suited for new contributors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions