Sha256: d4feb2fc41d1f20876858e590e672ba95c111ae2edec273565ae46601ccb27e0

Contents?: true

Size: 800 Bytes

Versions: 19

Compression:

Stored size: 800 Bytes

Contents

module CQM
  # Statement is a given CQL Statement within a CQL Library, which has many dependencies
  class StatementDependency
    include Mongoid::Document
    embedded_in :cql_library

    field :statement_name, type: String
    embeds_many :statement_references
  end

  # StatementReference notes a CQL Library/Statement which a given Statement (in which it is embedded) relies upon. This
  # is also used for populations/stratifications/SDEs to reference their defining statement.
  class StatementReference
    include Mongoid::Document
    embedded_in :statement_dependency
    embedded_in :population_set
    embedded_in :population_map
    embedded_in :stratification

    field :library_name, type: String
    field :statement_name, type: String
    field :hqmf_id, type: String
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cqm-models-4.2.0 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.1.2 app/models/cqm/cql_statement_dependency.rb
cqm-models-4.1.1 app/models/cqm/cql_statement_dependency.rb
cqm-models-4.1.0 app/models/cqm/cql_statement_dependency.rb
cqm-models-4.0.2 app/models/cqm/cql_statement_dependency.rb
cqm-models-4.0.1 app/models/cqm/cql_statement_dependency.rb
cqm-models-4.0.0 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.1.1 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.1.0 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.0.6 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.0.5 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.0.4 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.0.3 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.0.2 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.0.1 app/models/cqm/cql_statement_dependency.rb
cqm-models-2.0.1 app/models/cqm/cql_statement_dependency.rb
cqm-models-3.0.0 app/models/cqm/cql_statement_dependency.rb
cqm-models-2.0.0 app/models/cqm/cql_statement_dependency.rb
cqm-models-1.1.1.0 app/models/cqm/cql_statement_dependency.rb