Interface IPatient
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Represents a patient person involved in an operation, including details such as ID, operation ID, insurance number, and destination location.
public interface IPatient : IPerson
- Inherited Members
Properties
Destination
Gets or sets the destination location for the patient.
IGeoReferenced? Destination { get; set; }
Property Value
Id
Guid Id { get; init; }
Property Value
InsuranceNumber
Gets or sets the insurance number of the patient, if available.
string? InsuranceNumber { get; set; }
Property Value
PickupDeadline
Gets or sets the pickup deadline if the transport is time-bound. Null if not applicable.
DateTimeOffset? PickupDeadline { get; set; }
Property Value
Methods
GetAge(DateTimeOffset?)
Returns the age in full years as of asOf. Uses DateTime.Now if null.
int? GetAge(DateTimeOffset? asOf = null)
Parameters
asOfDateTimeOffset?
Returns
- int?