Sha256: 1f5b0fa91f9e95a4035a337ea255cf7137f7feb50f560a41532881c9f2ea0247

Contents?: true

Size: 848 Bytes

Versions: 142

Compression:

Stored size: 848 Bytes

Contents

# frozen_string_literal: true

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

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.0.40 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.39 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.38 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.37 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.36 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.35 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.34 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.33 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.32 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.31 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.30 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.28 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.27 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.26 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.25 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.24 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.23 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.22 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.21 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.20 app/documents/renalware/accesses/assessment_document.rb