Sha256: 5630d569cffd1cb5a631a76c7071455f187cb0644f1bc2c92003113bdca4da4e

Contents?: true

Size: 803 Bytes

Versions: 4

Compression:

Stored size: 803 Bytes

Contents

module QDM
  # app/models/qdm/laboratory_test_performed.rb
  class LaboratoryTestPerformed < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :relevantPeriod, type: QDM::Interval
    field :status, type: QDM::Code
    field :method, type: QDM::Code
    field :result
    field :resultDatetime, type: DateTime
    field :reason, type: QDM::Code
    field :referenceRange, type: QDM::Interval
    field :negationRationale, type: QDM::Code
    field :components, type: Array
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.42'
    field :qdmCategory, type: String, default: 'laboratory_test'
    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/laboratory_test_performed.rb
cqm-models-1.0.2 app/models/qdm/laboratory_test_performed.rb
cqm-models-1.0.1 app/models/qdm/laboratory_test_performed.rb
cqm-models-1.0.0 app/models/qdm/laboratory_test_performed.rb