Sha256: 11ebc62a4d3db34a7ffa0fa265007895a0141e80ed2992d777ab6cee33e4c6f5

Contents?: true

Size: 817 Bytes

Versions: 35

Compression:

Stored size: 817 Bytes

Contents

require "document/embedded"
require "document/enum"

module Renalware
  module Accesses
    class AssessmentDocument < Document::Embedded
      class Results < Document::Embedded
        attribute :method, Document::Enum
        attribute :flow_feed_artery
        attribute :has_art_stenosis, Document::Enum, enums: %i(yes no)
        attribute :art_stenosis_notes
        attribute :has_ven_stenosis, Document::Enum, enums: %i(yes no)
        attribute :ven_stenosis_notes
        attribute :has_residual_stenosis, Document::Enum, enums: %i(yes no)
        attribute :outcome, Document::Enum
      end
      attribute :results, Results

      class Admin < Document::Embedded
        attribute :next_surveillance, Document::Enum
        attribute :decision
      end
      attribute :admin, Admin
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.0.16 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.15 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.14 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.13 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.12 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.11 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.9 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.8 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.7 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.5 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.4 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.3 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.2 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.1 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.0 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.0.pre.rc13 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.0.pre.rc11 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.0.pre.rc10 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.0.pre.rc9 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.0.pre.rc8 app/documents/renalware/accesses/assessment_document.rb