```ruby
module Healthy
  module A19
    class CorrectPatientCheck
      attr_reader :patient_id, :record

      def initialize(patient_id, record)
        @patient_id = patient_id
        @record     = record
      end

      def check
        record[:identities].any? { |i| i[:ident] == patient_id }

        # return unless body["identities"].present?
        # if not body["identities"].find{|i| i["ident"] == patient_id }
        #   raise ::PattyPatient::PatientIdNotInRemote, "Patient ID not in remote details"
        # end
        # body
      end
    end
  end
end```

Remove commented out old example code from RoQua
user
```ruby
module Healthy
  module A19
    class CorrectPatientCheck
      attr_reader :patient_id, :record

      def initialize(patient_id, record)
        @patient_id = patient_id
        @record     = record
      end

      def check
        record[:identities].any? { |i| i[:ident] == patient_id }
      end
    end
  end
end```
assistant