Skip to content

Instantly share code, notes, and snippets.

@balteravishay
Last active November 7, 2021 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save balteravishay/ff93a071ec869fa1f901b560ed98da60 to your computer and use it in GitHub Desktop.
Save balteravishay/ff93a071ec869fa1f901b560ed98da60 to your computer and use it in GitHub Desktop.
firely base fhir client
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