Stream: dotnet
Topic: Resource creation with custom logical id
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?
Brian Postlethwaite (Oct 20 2020 at 08:18):
Try using PUT not post.
Have the ID 9n the Url and 8n the content.
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 .
Brian Postlethwaite (Oct 27 2020 at 20:10):
Not all servers will support that though.
Brian Postlethwaite (Oct 27 2020 at 20:11):
The conformance statement should have that information in there
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