Skip to content

Commit

Permalink
add patient name
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedHamed12 committed May 21, 2024
1 parent 9129307 commit db19ccd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/visit/serializers/visit.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class VisitSerializer(serializers.ModelSerializer):
attachment = AttachmentSerializer( read_only=True, many=True,source='visit_attachments', required=False)
class Meta:
model = Visit
fields = '__all__'
fields = '__all__'
extra_fields = ['patient_name']


class RestoreVisitSerializer(serializers.Serializer):
Expand Down

0 comments on commit db19ccd

Please # to comment.