Table of Contents

Class HospitalAllocationPatientReference

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll

The patient of the operation desk the allocation is made for (from a PZC a unit transmitted); the allocation sets the patient's destination. Without it the allocation only occupies the hospital.

public record HospitalAllocationPatientReference : IEquatable<HospitalAllocationPatientReference>
Inheritance
HospitalAllocationPatientReference
Implements
Inherited Members
Extension Methods

Constructors

HospitalAllocationPatientReference()

public HospitalAllocationPatientReference()

HospitalAllocationPatientReference(HospitalAllocationPatientReference)

[SetsRequiredMembers]
protected HospitalAllocationPatientReference(HospitalAllocationPatientReference original)

Parameters

original HospitalAllocationPatientReference

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

OperationId

public required Guid OperationId { get; init; }

Property Value

Guid

PatientId

public required Guid PatientId { get; init; }

Property Value

Guid

UnitId

public long? UnitId { get; init; }

Property Value

long?

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(HospitalAllocationPatientReference?)

public virtual bool Equals(HospitalAllocationPatientReference? other)

Parameters

other HospitalAllocationPatientReference

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(HospitalAllocationPatientReference?, HospitalAllocationPatientReference?)

public static bool operator ==(HospitalAllocationPatientReference? left, HospitalAllocationPatientReference? right)

Parameters

left HospitalAllocationPatientReference
right HospitalAllocationPatientReference

Returns

bool

operator !=(HospitalAllocationPatientReference?, HospitalAllocationPatientReference?)

public static bool operator !=(HospitalAllocationPatientReference? left, HospitalAllocationPatientReference? right)

Parameters

left HospitalAllocationPatientReference
right HospitalAllocationPatientReference

Returns

bool