using Microsoft.AspNetCore.Mvc;
///
/// Sepsis bundle compliance tracking: current bundle by encounter and bundle detail by id.
///
[ApiController]
[Produces("application/json")]
public class SepsisBundlesController : ControllerBase
{
private readonly ISepsisBundleService _bundles;
public SepsisBundlesController(ISepsisBundleService bundles) => _bundles = bundles;
///
/// Returns the current (most recent) sepsis bundle for an encounter with elements and linked orders.
///
/// Encounter id.
[HttpGet("api/v1/encounters/{encounterId:guid}/sepsis-bundle/current")]
[ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ApiResponse