Sha256: 71fec3ad393451ca9aed0d6a42227b1db044b93da4fa69a5ff0983eb161d1965

Contents?: true

Size: 812 Bytes

Versions: 4

Compression:

Stored size: 812 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, default: []
    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 :qdmCategory, type: String, default: 'encounter'
    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/encounter_performed.rb
cqm-models-1.0.2 app/models/qdm/encounter_performed.rb
cqm-models-1.0.1 app/models/qdm/encounter_performed.rb
cqm-models-1.0.0 app/models/qdm/encounter_performed.rb