// Types for Pendaftaran (Registration) related functionality

export interface PatientData {
    id: string;
    nomr: string;
    nik: string;
    nama: string;
    tgllahir: string;
    jeniskelamin: string;
    umur: string;
    dataumur: {
        label: string;
        tahun: number;
        bulan: number;
        hari: number;
    };
    alamat: string;
    alamatktp: string;
    select: string;
}

export interface DiagnosisItem {
    kodeDiagnosa: string;
    diagnosa: string;
    jenisDiagnosa: string;
}

export interface TindakanItem {
    kodeTindakan: string;
    tindakan: string;
    tindakanTambahan?: string;
}

export interface DiagnosisApiData {
    kodeicd: string;
    keterangan: string;
    select: string;
}

export interface TindakanApiData {
    kode: string;
    keterangan: string;
    select: string;
}

export interface Dokter {
    id: string;
    nip: string;
    nama_lengkap: string;
    hfis_code: string | null;
    nama_ksm: string;
}
