Table of Contents

Class HospitalDepartmentExtensions

Namespace
XENBIT.ResQueServe.Core.Extensions
Assembly
RQS.Core.dll
public static class HospitalDepartmentExtensions
Inheritance
HospitalDepartmentExtensions
Inherited Members

Methods

GetAvailableDepartments(IPoi)

The departments the hospital has: all for a maximum care hospital, otherwise the configured ones.

public static IReadOnlyList<PoiHospitalDepartment> GetAvailableDepartments(this IPoi hospital)

Parameters

hospital IPoi

Returns

IReadOnlyList<PoiHospitalDepartment>

GetDepartment(IPoi, PoiHospitalDepartment)

The department with its settings; one without settings if a maximum care hospital has not configured it; null if the hospital does not have it.

public static HospitalDepartment? GetDepartment(this IPoi hospital, PoiHospitalDepartment department)

Parameters

hospital IPoi
department PoiHospitalDepartment

Returns

HospitalDepartment

HasDepartment(IPoi, PoiHospitalDepartment)

Whether the hospital has the department (a maximum care hospital has all).

public static bool HasDepartment(this IPoi hospital, PoiHospitalDepartment department)

Parameters

hospital IPoi
department PoiHospitalDepartment

Returns

bool