import PropTypes from "prop-types";

export const PatientPropType = PropTypes.shape({
    id: PropTypes.number,
    first_name: PropTypes.string.isRequired,
    last_name: PropTypes.string.isRequired,
    patronymic: PropTypes.string,
    birthday: PropTypes.string.isRequired,
    address: PropTypes.string,
    email: PropTypes.string,
    phone: PropTypes.string,
    diagnosis: PropTypes.string,
    correction: PropTypes.string,
});