Sha256: 51ecc36c803cc0b7d883af9382f4143c430ae0c6d0e1265cf3744b3c7dbf3cce

Contents?: true

Size: 796 Bytes

Versions: 8

Compression:

Stored size: 796 Bytes

Contents

module QDM
  # app/models/qdm/encounter_performed.rb
  class EncounterPerformed < DataElement
    include Mongoid::Document
    embedded_in :patient
    field :authorDatetime, type: DateTime
    field :admissionSource, type: QDM::Code
    field :relevantPeriod, type: QDM::Interval
    field :dischargeDisposition, type: QDM::Code
    field :facilityLocations, type: Array
    field :diagnoses, type: Array
    field :principalDiagnosis, type: QDM::Code
    field :negationRationale, type: QDM::Code
    field :lengthOfStay, type: QDM::Quantity
    field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.3.5'
    field :category, type: String, default: 'encounter'
    field :qdmStatus, type: String, default: 'performed'
    field :qdmVersion, type: String, default: '5.3'
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cqm-models-0.8.1 app/models/qdm/encounter_performed.rb
cqm-models-0.8.0 app/models/qdm/encounter_performed.rb
cqm-models-0.7.7 app/models/qdm/encounter_performed.rb
cqm-models-0.7.6 app/models/qdm/encounter_performed.rb
cqm-models-0.7.5 app/models/qdm/encounter_performed.rb
cqm-models-0.7.4 app/models/qdm/encounter_performed.rb
cqm-models-0.7.3 app/models/qdm/encounter_performed.rb
cqm-models-0.7.2 app/models/qdm/encounter_performed.rb