<filename>emr/forms.py<gh_stars>0
from django.forms import ModelForm

from .models import MedicalRecord


class MedicalRecordForm(ModelForm):

    class Meta:
        model = MedicalRecord
        exclude = ['patient']

<filename>emr/forms.py<gh_stars>0
from django.forms import ModelForm

from .models import MedicalRecord


class MedicalRecordForm(ModelForm):

    class Meta:
        model = MedicalRecord
        exclude = ['patient']
