Sha256: fe15346ed3c91b41dae629c45be9bcc03436464047d71f97e36f331b830f358f

Contents?: true

Size: 804 Bytes

Versions: 4

Compression:

Stored size: 804 Bytes

Contents

module QDM
  # app/models/qdm/diagnostic_study_performed.rb
  class DiagnosticStudyPerformed < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :relevantPeriod, type: QDM::Interval
    field :reason, type: QDM::Code
    field :result
    field :resultDatetime, type: DateTime
    field :status, type: QDM::Code
    field :method, type: QDM::Code
    field :facilityLocation, type: QDM::Code
    field :negationRationale, type: QDM::Code
    field :components, type: Array
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.23'
    field :qdmCategory, type: String, default: 'diagnostic_study'
    field :qdmStatus, type: String, default: 'performed'
    field :qdmVersion, type: String, default: '5.4'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cqm-models-1.0.3 app/models/qdm/diagnostic_study_performed.rb
cqm-models-1.0.2 app/models/qdm/diagnostic_study_performed.rb
cqm-models-1.0.1 app/models/qdm/diagnostic_study_performed.rb
cqm-models-1.0.0 app/models/qdm/diagnostic_study_performed.rb