Sha256: 8943c549138e3926d331827df8f19cd2c248d01b4d6fb7fe7529ccd24227671c

Contents?: true

Size: 967 Bytes

Versions: 10

Compression:

Stored size: 967 Bytes

Contents

const mongoose = require('mongoose/browser');

const Code = require('../basetypes/Code');
const Interval = require('../basetypes/Interval');
const Quantity = require('../basetypes/Quantity');
const DateTime = require('../basetypes/DateTime');
const QDMDate = require('../basetypes/QDMDate');
const Any = require('../basetypes/Any');


const [Number, String] = [
  mongoose.Schema.Types.Number,
  mongoose.Schema.Types.String,
];

const DiagnosisComponentSchema = new mongoose.Schema({
  code: Code,
  presentOnAdmissionIndicator: Code,
  rank: Number,
  qdmVersion: { type: String, default: '5.5' },
  _type: { type: String, default: 'QDM::DiagnosisComponent' },

});

module.exports.DiagnosisComponentSchema = DiagnosisComponentSchema;
class DiagnosisComponent extends mongoose.Document {
  constructor(object) {
    super(object, DiagnosisComponentSchema);
    this._type = 'QDM::DiagnosisComponent';
  }
}

module.exports.DiagnosisComponent = DiagnosisComponent;

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cqm-models-3.1.2 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.1.1 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.1.0 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.0.6 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.0.5 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.0.4 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.0.3 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.0.2 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.0.1 app/assets/javascripts/attributes/DiagnosisComponent.js
cqm-models-3.0.0 app/assets/javascripts/attributes/DiagnosisComponent.js