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.84 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.83 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.82 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.81 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.80 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.79 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.78 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.77 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.76 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.75 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.74 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.73 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.72 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.71 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.70 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.69 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.68 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.67 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.64 app/documents/renalware/accesses/assessment_document.rb
renalware-core-2.0.63 app/documents/renalware/accesses/assessment_document.rb