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/d3a569c10a44e4b0b044c5a2d3873225 to your computer and use it in GitHub Desktop.
Save balteravishay/d3a569c10a44e4b0b044c5a2d3873225 to your computer and use it in GitHub Desktop.
Authorized Fhir Service
namespace FhirProxy.API.Core.Services
{
using Hl7.Fhir.Model;
using FhirProxy.API.Model;
using System.Threading.Tasks;
public interface IAuthorizedFhirService: IFhirService
{
Task<TResource> CreateAsync<TResource>(User user, TResource resource)
where TResource : Resource, new();
Task<Bundle> GetAsync(User user, string path);
Task<TResource> UpdateAsync<TResource>(User user, TResource resource)
where TResource : Resource, new();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment