import { IAjaxResponse } from "@shesha/reactjs"; export interface GuidNullableEntityWithDisplayNameDto { id?: string | null; displayText?: string | null; } export interface ValidationErrorInfo { message?: string | null; members?: string[] | null; } export interface ErrorInfo { code?: number; message?: string | null; details?: string | null; validationErrors?: ValidationErrorInfo[] | null; } export interface ReferenceListItemValueDto { item?: string | null; itemValue?: number | null; } export interface CdmAddressInput { id?: string | null; ownerId?: string | null; ownerType?: string | null; use?: ReferenceListItemValueDto; type?: ReferenceListItemValueDto; fullAddress?: string | null; district?: string | null; state?: string | null; country?: string | null; startDateTime?: string | null; endDateTime?: string | null; latitude?: number | null; longitude?: number | null; fullAddress1?: string | null; } export interface HospitalInput { id?: string; name?: string | null; shortAlias?: string | null; description?: string | null; freeTextAddress?: string | null; organisationType?: ReferenceListItemValueDto; tenantId?: number | null; companyRegistrationNo?: string | null; vatRegistrationNo?: string | null; parent?: GuidNullableEntityWithDisplayNameDto; primaryAddress?: CdmAddressInput; primaryContact?: GuidNullableEntityWithDisplayNameDto; type?: ReferenceListItemValueDto; primaryContactEmail?: string | null; primaryContactTelephone?: string | null; district?: ReferenceListItemValueDto; facilityType?: ReferenceListItemValueDto; latitude?: number | null; longitude?: number | null; altitude?: number | null; speciality?: ReferenceListItemValueDto; } export interface CdmAddressResponse { id?: string; ownerId?: string | null; ownerType?: string | null; use?: ReferenceListItemValueDto; type?: ReferenceListItemValueDto; fullAddress?: string | null; district?: string | null; state?: string | null; country?: string | null; startDateTime?: string | null; endDateTime?: string | null; latitude?: number | null; longitude?: number | null; fullAddress1?: string | null; } export interface HospitalResponse { id?: string; name?: string | null; shortAlias?: string | null; description?: string | null; freeTextAddress?: string | null; organisationType?: ReferenceListItemValueDto; tenantId?: number | null; companyRegistrationNo?: string | null; vatRegistrationNo?: string | null; parent?: GuidNullableEntityWithDisplayNameDto; primaryAddress?: CdmAddressResponse; primaryContact?: GuidNullableEntityWithDisplayNameDto; type?: ReferenceListItemValueDto; primaryContactEmail?: string | null; primaryContactTelephone?: string | null; district?: ReferenceListItemValueDto; facilityType?: ReferenceListItemValueDto; latitude?: number | null; longitude?: number | null; altitude?: number | null; speciality?: ReferenceListItemValueDto; } export type HospitalResponseAjaxResponse = IAjaxResponse;