All files / src/containers/PatientDetails/components/QuestionnarieList/baseline QuestionnarieColumn.js

0% Statements 0/4
100% Branches 0/0
100% Functions 0/0
0% Lines 0/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95                                                                                                                                                                                             
// import i18next from 'i18next';
import i18next from '../../../../../common/i18next';
import QuestionnarieActionButtons from './QuestionnaireActionButtons';
import QuestionnarieStatusChip from './QuestionnarieStatusChip';
 
export const ColumnObj = [
    {
        visitDate: {
            type: 'string',
            header: i18next.t('patientProfile.questionnarieHeader.visitDate'),
            cssClasses: ['measure-performance'],
            style: {}
        }
    },
    {
        surgeryDate: {
            type: 'string',
            header: i18next.t('patientProfile.questionnarieHeader.surgeryDate'),
            cssClasses: ['measure-performance'],
            style: {}
        }
    },
    {
        clinicianName: {
            type: 'string',
            header: i18next.t('patientProfile.questionnarieHeader.physicianName'),
            cssClasses: ['measure-performance'],
            style: {}
        }
    },
    {
        questionnaireType: {
            type: 'string',
            header: i18next.t('patientProfile.questionnarieHeader.status'),
            cssClasses: ['measure-performance'],
            style: {},
            component: {
                name: 'status',
                component: QuestionnarieStatusChip
            }
        }
    },
    {
        expiryIn: {
            type: 'string',
            header: i18next.t('patientProfile.questionnarieHeader.expires'),
            cssClasses: ['measure-performance'],
            style: {}
        }
    },
    // {
    //     diagnosis: {
    //         type: 'string',
    //         header: i18next.t('patientProfile.questionnarieHeader.diagnosis'),
    //         cssClasses: ['measure-performance'],
    //         style: {}
    //     }
    // },
    {
        eye: {
            type: 'string',
            header: i18next.t('patientProfile.questionnarieHeader.eye'),
            cssClasses: ['measure-performance'],
            style: {}
        },
    },
    // {
    //     procedure: {
    //         type: 'string',
    //         header: i18next.t('patientProfile.questionnarieHeader.procedure'),
    //         cssClasses: ['measure-performance'],
    //         style: {}
    //     }
    // },
    // {
    //     reminderSentOn: {
    //         type: 'string',
    //         header: i18next.t('patientProfile.questionnarieHeader.reminder'),
    //         cssClasses: ['measure-performance'],
    //         style: {}
    //     }
    // },
    {
        actions: {
            type: 'string',
            header: i18next.t('patientProfile.questionnarieHeader.actions'),
            cssClasses: ['measure-performance'],
            style: {},
            component: {
                name: 'action',
                component: QuestionnarieActionButtons
            }
        }
    },
];