Table of Contents

Class HospitalAllocationPrefill

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

The allocation form filled with what the dispatch center knows, for one hospital.

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

Constructors

HospitalAllocationPrefill()

public HospitalAllocationPrefill()

HospitalAllocationPrefill(HospitalAllocationPrefill)

[SetsRequiredMembers]
protected HospitalAllocationPrefill(HospitalAllocationPrefill original)

Parameters

original HospitalAllocationPrefill

Properties

Department

The department of the hospital that takes the PZC; null if the hospital doesn't accept it.

public PoiHospitalDepartment? Department { get; init; }

Property Value

PoiHospitalDepartment?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Form

public required HospitalAllocationForm Form { get; init; }

Property Value

HospitalAllocationForm

PhoneOptions

The phone numbers the hospital can call back (the office number of the dispatch center).

public IReadOnlyList<string> PhoneOptions { get; init; }

Property Value

IReadOnlyList<string>

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(HospitalAllocationPrefill?)

public virtual bool Equals(HospitalAllocationPrefill? other)

Parameters

other HospitalAllocationPrefill

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 ==(HospitalAllocationPrefill?, HospitalAllocationPrefill?)

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

Parameters

left HospitalAllocationPrefill
right HospitalAllocationPrefill

Returns

bool

operator !=(HospitalAllocationPrefill?, HospitalAllocationPrefill?)

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

Parameters

left HospitalAllocationPrefill
right HospitalAllocationPrefill

Returns

bool