Ejemplo n.º 1
0
        public static async Task <IList <Library> > GetLibraryFromListAsync()
        {
            var bundle = await FhirClientHandler.GetBundleAsync();

            var listOfLibrary = GetAllLibrariesFromBundle(bundle);

            return(listOfLibrary);
        }
Ejemplo n.º 2
0
 public static async System.Threading.Tasks.Task CreateLibraryAndPostAsync(Library library)
 {
     await FhirClientHandler.PostLibraryAsync(library);
 }
Ejemplo n.º 3
0
 public static async System.Threading.Tasks.Task EditLibraryAsync(Library library, string id)
 {
     await FhirClientHandler.PutLibraryAsync(library, id);
 }
Ejemplo n.º 4
0
 //public Term Term { get; set; }
 public static async System.Threading.Tasks.Task DeleteTermAsync(string id)
 {
     var endpointUrl = "https://fhirbackendservices.azurewebsites.net/fhir/Library/";
     var fullUrl     = $"{endpointUrl}{id}";
     await FhirClientHandler.DeleteLibraryAsync(fullUrl);
 }