require 'hashie'

module HealthRecords
  class Record
    extend Forwardable

    def initialize(data = {})
      data = Hashie::Mash.new(data)
      @fulldata = data
      @patient = data.patient
      @type = data.type
    end

    protected
      attr_reader :fulldata
  end
end