import type { Config } from '~/components/pub/my-ui/data-table'

export interface SepVisitData {
  letterNumber: string
  letterDate: string
  sepNumber: string
  patientName: string
  bpjsNumber: string
  poly: string
  diagnosis: string
  serviceType: string
  careClass: string
}

export const config: Config = {
  cols: [
    { width: 100 },
    { width: 100 },
    { width: 100 },
    { width: 100 },
    { width: 100 },
    { width: 100 },
    { width: 100 },
    { width: 100 },
    { width: 100 },
  ],

  headers: [
    [
      { label: 'NO. SURAT KONTROL' },
      { label: 'TGL RENCANA KONTROL' },
      { label: 'NO. SEP' },
      { label: 'NAMA PASIEN' },
      { label: 'NO. KARTU BPJS' },
      { label: 'DIAGNOSIS AWAL' },
      { label: 'JENIS PELAYANAN' },
      { label: 'KELAS RAWAT' },
    ],
  ],

  keys: ['letterNumber', 'letterDate', 'sepNumber', 'patientName', 'bpjsNumber', 'diagnosis', 'serviceType', 'careClass'],

  delKeyNames: [{ key: 'code', label: 'Kode' }],

  parses: {},

  components: {},

  htmls: {},
}
