FHIR Chat · Resource creation with custom logical id · dotnet

Stream: dotnet

Topic: Resource creation with custom logical id


view this post on Zulip Muhammad Fahad Nadeem (Oct 20 2020 at 03:40):

I am using Azure API for FHIR (R4). I want to create Endpoint FHIR resources with custom logical id (e.g "my-endpoint" etc), and not the auto-generated one. How can I do that?

view this post on Zulip Brian Postlethwaite (Oct 20 2020 at 08:18):

Try using PUT not post.
Have the ID 9n the Url and 8n the content.

view this post on Zulip Muhammad Fahad Nadeem (Oct 27 2020 at 12:47):

I used PUT instead of POST while creating Endpoint FHIR resources with custom logical ids, as per your suggestion. And it worked.
Thank you so much @Brian Postlethwaite .

view this post on Zulip Brian Postlethwaite (Oct 27 2020 at 20:10):

Not all servers will support that though.

view this post on Zulip Brian Postlethwaite (Oct 27 2020 at 20:11):

The conformance statement should have that information in there

view this post on Zulip Muhammad Fahad Nadeem (Oct 28 2020 at 08:34):

Right. I am using Microsoft's FHIR Server.


Last updated: Apr 12 2022 at 19:14 UTC