diff --git a/modules/my_health/app/serializers/my_health/v1/prescription_details_serializer.rb b/modules/my_health/app/serializers/my_health/v1/prescription_details_serializer.rb index 85d0704ba24..abb7cda8948 100644 --- a/modules/my_health/app/serializers/my_health/v1/prescription_details_serializer.rb +++ b/modules/my_health/app/serializers/my_health/v1/prescription_details_serializer.rb @@ -44,15 +44,6 @@ def tracking_list tracking_list = object&.tracking_list tracking_list&.dig(0, 1) || [] end - - def sorted_dispensed_date - zero_date = Date.new(0, 1, 1) - if object&.sorted_dispensed_date.present? && object&.sorted_dispensed_date == zero_date - nil - else - object&.sorted_dispensed_date - end - end end end end