Table of Contents

Class HospitalAllocationForm

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

The form the dispatcher sends to the hospital to allocate a patient (the information exchange with the hospital, separate from the patient of the operation desk). The triage category is always emergency care and the diagnosis is the PZC. Required: arrival time, shock room and cardiac catheter alarm, occasion, sex, age, resuscitation, ventilated, infectious, accompanied by a doctor, phone, allocation by and means of transport; null for the others means not answered.

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

Constructors

HospitalAllocationForm()

public HospitalAllocationForm()

HospitalAllocationForm(HospitalAllocationForm)

protected HospitalAllocationForm(HospitalAllocationForm original)

Parameters

original HospitalAllocationForm

Fields

ArrivalMinutesOptions

The arrival times to choose from, in minutes.

public static readonly IReadOnlyList<int> ArrivalMinutesOptions

Field Value

IReadOnlyList<int>

CallsignMaxLength

public const int CallsignMaxLength = 50

Field Value

int

MaxAge

public const int MaxAge = 120

Field Value

int

OperationNumberMaxLength

public const int OperationNumberMaxLength = 50

Field Value

int

PhoneMaxLength

public const int PhoneMaxLength = 100

Field Value

int

RemarkMaxLength

The longest remark: no patient names.

public const int RemarkMaxLength = 175

Field Value

int

Properties

Age

The patient's age in years.

public int? Age { get; set; }

Property Value

int?

Airway

public HospitalAllocationAirway? Airway { get; set; }

Property Value

HospitalAllocationAirway?

ArrivalMinutes

Minutes until the patient arrives ("Eintreffzeit"); null if unknown (arrives now).

public int? ArrivalMinutes { get; set; }

Property Value

int?

Breathing

public HospitalAllocationBreathing? Breathing { get; set; }

Property Value

HospitalAllocationBreathing?

Callsign

public string? Callsign { get; set; }

Property Value

string

CardiacCatheterAlarm

public bool? CardiacCatheterAlarm { get; set; }

Property Value

bool?

Circulation

public HospitalAllocationCirculation? Circulation { get; set; }

Property Value

HospitalAllocationCirculation?

Disability

public HospitalAllocationDisability? Disability { get; set; }

Property Value

HospitalAllocationDisability?

DoctorAccompanied

public bool? DoctorAccompanied { get; set; }

Property Value

bool?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Gender

public Gender? Gender { get; set; }

Property Value

Gender?

Infection

public HospitalAllocationInfection? Infection { get; set; }

Property Value

HospitalAllocationInfection?

Occasion

public HospitalAllocationOccasion Occasion { get; set; }

Property Value

HospitalAllocationOccasion

OperationNumber

public string? OperationNumber { get; set; }

Property Value

string

Phone

The phone number the hospital calls back.

public string? Phone { get; set; }

Property Value

string

Pregnant

public bool? Pregnant { get; set; }

Property Value

bool?

Pzc

The PZC as its 6-digit value (incident code, age, urgency level), e.g. 232183.

public int Pzc { get; set; }

Property Value

int

Reason

public HospitalAllocationReason? Reason { get; set; }

Property Value

HospitalAllocationReason?

Remark

Free text for the hospital, at most RemarkMaxLength characters.

public string? Remark { get; set; }

Property Value

string

Resuscitation

public bool? Resuscitation { get; set; }

Property Value

bool?

ShockRoomAlarm

public bool? ShockRoomAlarm { get; set; }

Property Value

bool?

Transport

public HospitalAllocationTransport? Transport { get; set; }

Property Value

HospitalAllocationTransport?

Ventilated

public bool? Ventilated { get; set; }

Property Value

bool?

WorkAccident

Work, commuting or school accident ("Arbeits-/Wege-/Schulunfall").

public bool? WorkAccident { get; set; }

Property Value

bool?

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(HospitalAllocationForm?)

public virtual bool Equals(HospitalAllocationForm? other)

Parameters

other HospitalAllocationForm

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

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

Parameters

left HospitalAllocationForm
right HospitalAllocationForm

Returns

bool

operator !=(HospitalAllocationForm?, HospitalAllocationForm?)

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

Parameters

left HospitalAllocationForm
right HospitalAllocationForm

Returns

bool