from django.contrib import admin

# Register your models here.
from api.models import Profile, PatientInfo, GrossDiagnosisModel, MedicalFile, GrossReport, Materials, Biopsy, \
    DiagnosisReport


class UserProfileAdmin(admin.ModelAdmin):
    list_display = ['name', 'sex', 'phoneNumber', 'title', 'office', ]


admin.site.register(Profile, UserProfileAdmin)


class PatientInfoAdmin(admin.ModelAdmin):
    list_display = ['name', 'sex', 'phoneNumber', 'address', ]


admin.site.register(PatientInfo, PatientInfoAdmin)


class GrossDiagnosisModelAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'name', 'detail', ]


admin.site.register(GrossDiagnosisModel, GrossDiagnosisModelAdmin)


class MedicalFileAdmin(admin.ModelAdmin):
    list_display = ['patient', ]


admin.site.register(MedicalFile, MedicalFileAdmin)


class GrossReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'medicalFile', 'detail', ]


admin.site.register(GrossReport, GrossReportAdmin)


class MaterialsAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'request', 'grossReport', 'detail', ]


admin.site.register(Materials, MaterialsAdmin)


class BiopsyAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'dyeingMethod', 'materials', 'detail', ]


admin.site.register(Biopsy, BiopsyAdmin)


class DiagnosisReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'medicalFile', 'detail', ]


admin.site.register(DiagnosisReport, DiagnosisReportAdmin)

67615aa079030be3cc04b7a0e2352da9c6760097
<mask token>


class MaterialsAdmin(admin.ModelAdmin):
    <mask token>


<mask token>


class BiopsyAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'dyeingMethod', 'materials', 'detail']


<mask token>


class DiagnosisReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'medicalFile', 'detail']


<mask token>

<mask token>


class GrossDiagnosisModelAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'name', 'detail']


<mask token>


class MedicalFileAdmin(admin.ModelAdmin):
    list_display = ['patient']


<mask token>


class GrossReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'medicalFile', 'detail']


<mask token>


class MaterialsAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'request', 'grossReport', 'detail']


<mask token>


class BiopsyAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'dyeingMethod', 'materials', 'detail']


<mask token>


class DiagnosisReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'medicalFile', 'detail']


<mask token>

<mask token>


class PatientInfoAdmin(admin.ModelAdmin):
    <mask token>


<mask token>


class GrossDiagnosisModelAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'name', 'detail']


<mask token>


class MedicalFileAdmin(admin.ModelAdmin):
    list_display = ['patient']


<mask token>


class GrossReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'medicalFile', 'detail']


<mask token>


class MaterialsAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'request', 'grossReport', 'detail']


<mask token>


class BiopsyAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'dyeingMethod', 'materials', 'detail']


<mask token>


class DiagnosisReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'medicalFile', 'detail']


<mask token>

<mask token>


class PatientInfoAdmin(admin.ModelAdmin):
    list_display = ['name', 'sex', 'phoneNumber', 'address']


<mask token>


class GrossDiagnosisModelAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'name', 'detail']


<mask token>


class MedicalFileAdmin(admin.ModelAdmin):
    list_display = ['patient']


<mask token>


class GrossReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'medicalFile', 'detail']


<mask token>


class MaterialsAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'request', 'grossReport', 'detail']


<mask token>


class BiopsyAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'dyeingMethod', 'materials', 'detail']


<mask token>


class DiagnosisReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'medicalFile', 'detail']


<mask token>

from django.contrib import admin

# Register your models here.
from api.models import Profile, PatientInfo, GrossDiagnosisModel, MedicalFile, GrossReport, Materials, Biopsy, \
    DiagnosisReport


class UserProfileAdmin(admin.ModelAdmin):
    list_display = ['name', 'sex', 'phoneNumber', 'title', 'office', ]


admin.site.register(Profile, UserProfileAdmin)


class PatientInfoAdmin(admin.ModelAdmin):
    list_display = ['name', 'sex', 'phoneNumber', 'address', ]


admin.site.register(PatientInfo, PatientInfoAdmin)


class GrossDiagnosisModelAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'name', 'detail', ]


admin.site.register(GrossDiagnosisModel, GrossDiagnosisModelAdmin)


class MedicalFileAdmin(admin.ModelAdmin):
    list_display = ['patient', ]


admin.site.register(MedicalFile, MedicalFileAdmin)


class GrossReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'medicalFile', 'detail', ]


admin.site.register(GrossReport, GrossReportAdmin)


class MaterialsAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'request', 'grossReport', 'detail', ]


admin.site.register(Materials, MaterialsAdmin)


class BiopsyAdmin(admin.ModelAdmin):
    list_display = ['operator', 'area', 'dyeingMethod', 'materials', 'detail', ]


admin.site.register(Biopsy, BiopsyAdmin)


class DiagnosisReportAdmin(admin.ModelAdmin):
    list_display = ['doctor', 'category', 'medicalFile', 'detail', ]


admin.site.register(DiagnosisReport, DiagnosisReportAdmin)
