feature: RBAC + Clinical Audit Logging
This commit is contained in:
@@ -1,15 +1,25 @@
|
||||
using Hl7.Fhir.Model;
|
||||
using Hl7.Fhir.Serialization;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using static Hl7.Fhir.Model.CapabilityStatement;
|
||||
|
||||
/// <summary>
|
||||
/// FHIR R4 CapabilityStatement metadata for the inbound facade.
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[Route("fhir/R4")]
|
||||
[ServiceFilter(typeof(FhirExceptionFilter))]
|
||||
public class FhirMetadataController : ControllerBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns the FHIR R4 CapabilityStatement describing supported interactions.
|
||||
/// </summary>
|
||||
/// <returns>CapabilityStatement in application/fhir+json.</returns>
|
||||
[HttpGet("metadata")]
|
||||
[AllowAnonymous]
|
||||
[Produces("application/fhir+json")]
|
||||
[ProducesResponseType(typeof(CapabilityStatement), StatusCodes.Status200OK)]
|
||||
public IActionResult Metadata()
|
||||
{
|
||||
var capability = new CapabilityStatement
|
||||
|
||||
Reference in New Issue
Block a user