=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -9,6 +9,7 @@ namespace adas_core.Domain.Models;
|
||||
/// <remarks>
|
||||
/// This type encapsulates an operation or behavior associated with managing or interacting with a patient's location information.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=0e2406f -->
|
||||
public class PatientLocationAction
|
||||
{
|
||||
public ActionsEnum.ResourceAction? Action { get; set; }
|
||||
@@ -21,6 +22,7 @@ public class PatientLocationAction
|
||||
/// </summary>
|
||||
/// <param name="actions">The list of patient location actions to apply. May be <c>null</c>.</param>
|
||||
/// <returns>The resulting <see cref="List{PatientLocation}"/> produced by applying the actions, or <c>null</c> if no locations are produced.</returns>
|
||||
/// <!-- aidoc:v1 sig=29e7624 body=22d71fc -->
|
||||
public static List<PatientLocation>? Apply(List<PatientLocationAction>? actions)
|
||||
{
|
||||
return Apply(null, actions);
|
||||
@@ -32,6 +34,7 @@ public class PatientLocationAction
|
||||
/// <param name="source">The list of patient locations to mutate. If null, an empty list is used.</param>
|
||||
/// <param name="actions">The actions to apply to the source list. If null, no actions are applied; actions with a null <c>Location</c> are skipped.</param>
|
||||
/// <returns>The resulting list of <see cref="PatientLocation"/> after applying the actions, or null if the list is empty.</returns>
|
||||
/// <!-- aidoc:v1 sig=0e591a8 body=af27646 -->
|
||||
public static List<PatientLocation>? Apply(List<PatientLocation>? source, List<PatientLocationAction>? actions)
|
||||
{
|
||||
source ??= [];
|
||||
|
||||
Reference in New Issue
Block a user