Class HospitalAllocationPatientReference
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
originalHospitalAllocationPatientReference
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
OperationId
public required Guid OperationId { get; init; }
Property Value
PatientId
public required Guid PatientId { get; init; }
Property Value
UnitId
public long? UnitId { get; init; }
Property Value
- long?
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(HospitalAllocationPatientReference?)
public virtual bool Equals(HospitalAllocationPatientReference? other)
Parameters
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(HospitalAllocationPatientReference?, HospitalAllocationPatientReference?)
public static bool operator ==(HospitalAllocationPatientReference? left, HospitalAllocationPatientReference? right)
Parameters
Returns
operator !=(HospitalAllocationPatientReference?, HospitalAllocationPatientReference?)
public static bool operator !=(HospitalAllocationPatientReference? left, HospitalAllocationPatientReference? right)