import { COLORS } from './colors.js';
export const IMAGING_REQUEST_STATUS_TYPES = {
    PENDING: 'pending',
    IN_PROGRESS: 'in_progress',
    COMPLETED: 'completed',
    CANCELLED: 'cancelled',
    DELETED: 'deleted',
    ENTERED_IN_ERROR: 'entered_in_error',
};
export const IMAGING_REQUEST_STATUS_LABELS = {
    [IMAGING_REQUEST_STATUS_TYPES.PENDING]: 'Pending',
    [IMAGING_REQUEST_STATUS_TYPES.IN_PROGRESS]: 'In progress',
    [IMAGING_REQUEST_STATUS_TYPES.COMPLETED]: 'Completed',
    [IMAGING_REQUEST_STATUS_TYPES.CANCELLED]: 'Cancelled',
    [IMAGING_REQUEST_STATUS_TYPES.DELETED]: 'Deleted',
    [IMAGING_REQUEST_STATUS_TYPES.ENTERED_IN_ERROR]: 'Entered in error',
};
export const IMAGING_REQUEST_STATUS_CONFIG = {
    [IMAGING_REQUEST_STATUS_TYPES.PENDING]: {
        label: IMAGING_REQUEST_STATUS_LABELS[IMAGING_REQUEST_STATUS_TYPES.PENDING],
        color: COLORS.darkOrange,
        background: '#FAF0E6',
    },
    [IMAGING_REQUEST_STATUS_TYPES.COMPLETED]: {
        label: IMAGING_REQUEST_STATUS_LABELS[IMAGING_REQUEST_STATUS_TYPES.COMPLETED],
        color: COLORS.green,
        background: '#DEF0EE',
    },
    [IMAGING_REQUEST_STATUS_TYPES.IN_PROGRESS]: {
        label: IMAGING_REQUEST_STATUS_LABELS[IMAGING_REQUEST_STATUS_TYPES.IN_PROGRESS],
        color: COLORS.purple,
        background: '#ECE6FA',
    },
    [IMAGING_REQUEST_STATUS_TYPES.CANCELLED]: {
        label: IMAGING_REQUEST_STATUS_LABELS[IMAGING_REQUEST_STATUS_TYPES.CANCELLED],
        color: COLORS.grey,
        background: '#EDEDED',
    },
    [IMAGING_REQUEST_STATUS_TYPES.DELETED]: {
        label: IMAGING_REQUEST_STATUS_LABELS[IMAGING_REQUEST_STATUS_TYPES.DELETED],
        color: COLORS.grey,
        background: '#EDEDED',
    },
    [IMAGING_REQUEST_STATUS_TYPES.ENTERED_IN_ERROR]: {
        label: IMAGING_REQUEST_STATUS_LABELS[IMAGING_REQUEST_STATUS_TYPES.ENTERED_IN_ERROR],
        color: COLORS.grey,
        background: '#EDEDED',
    },
};
export const APPOINTMENT_STATUSES = {
    CONFIRMED: 'Confirmed',
    ARRIVED: 'Arrived',
    ASSESSED: 'Assessed',
    SEEN: 'Seen',
    NO_SHOW: 'No-show',
    CANCELLED: 'Cancelled',
};
export const APPOINTMENT_STATUS_VALUES = Object.values(APPOINTMENT_STATUSES);
export const REFERRAL_STATUSES = {
    PENDING: 'pending',
    CANCELLED: 'cancelled',
    COMPLETED: 'completed',
};
export const REFERRAL_STATUS_LABELS = {
    [REFERRAL_STATUSES.PENDING]: 'Pending',
    [REFERRAL_STATUSES.CANCELLED]: 'Cancelled',
    [REFERRAL_STATUSES.COMPLETED]: 'Completed',
};
export const COMMUNICATION_STATUSES = {
    QUEUED: 'Queued',
    PROCESSED: 'Processed',
    SENT: 'Sent',
    ERROR: 'Error',
    DELIVERED: 'Delivered',
    BAD_FORMAT: 'Bad Format',
};
export const JOB_QUEUE_STATUSES = {
    QUEUED: 'Queued',
    STARTED: 'Started',
    COMPLETED: 'Completed',
    ERRORED: 'Errored',
};
export const COMMUNICATION_STATUSES_VALUES = Object.values(COMMUNICATION_STATUSES);
export const PORTAL_USER_STATUSES = {
    PENDING: 'pending',
    REGISTERED: 'registered',
};
export const PORTAL_USER_STATUS_LABELS = {
    [PORTAL_USER_STATUSES.PENDING]: 'Pending',
    [PORTAL_USER_STATUSES.REGISTERED]: 'Registered',
};
export const PORTAL_USER_STATUS_VALUES = Object.values(PORTAL_USER_STATUSES);
