Sha256: c9268a668628a5d2137a413eeb5e5a4607873a5ca86b97cb71a7618fc67552a9

Contents?: true

Size: 747 Bytes

Versions: 4

Compression:

Stored size: 747 Bytes

Contents

module QDM
  # app/models/qdm/communication_performed.rb
  class CommunicationPerformed < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :category, type: QDM::Code
    field :medium, type: QDM::Code
    field :sender, type: QDM::Code
    field :recipient, type: QDM::Code
    embeds_many :relatedTo, class_name: 'QDM::Id'
    field :relevantPeriod, type: QDM::Interval
    field :negationRationale, type: QDM::Code
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.132'
    field :qdmCategory, type: String, default: 'communication'
    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/communication_performed.rb
cqm-models-1.0.2 app/models/qdm/communication_performed.rb
cqm-models-1.0.1 app/models/qdm/communication_performed.rb
cqm-models-1.0.0 app/models/qdm/communication_performed.rb