Last active
November 7, 2021 11:36
-
-
Save balteravishay/ff93a071ec869fa1f901b560ed98da60 to your computer and use it in GitHub Desktop.
firely base fhir client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Hl7.Fhir.Model; | |
... | |
namespace Hl7.Fhir.Rest | |
{ | |
public abstract partial class BaseFhirClient : IDisposable | |
{ | |
... | |
public Task<Resource> GetAsync(string url) | |
{ ... } | |
public Task<TResource> CreateAsync<TResource>(TResource resource) | |
where TResource : Resource | |
{ ... } | |
public Task<TResource> UpdateAsync<TResource>(TResource resource, bool versionAware = false) | |
where TResource : Resource | |
{ ... } | |
...} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment