Sha256: 123a068dde60b6532126ced26a35c87b0f18d222604f2b8af42aa8d3f0c08c51

Contents?: true

Size: 1013 Bytes

Versions: 15

Compression:

Stored size: 1013 Bytes

Contents

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

const { EntitySchemaFunction } = require('./Entity');
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 CarePartnerSchema = EntitySchemaFunction({
  relationship: Code,
  hqmfOid: { type: String, default: '2.16.840.1.113883.10.20.28.4.134' },
  qrdaOid: { type: String, default: '2.16.840.1.113883.10.20.24.3.160' },
  _type: { type: String, default: 'QDM::CarePartner' },

});

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

module.exports.CarePartner = CarePartner;

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cqm-models-4.2.0 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.1.2 app/assets/javascripts/attributes/CarePartner.js
cqm-models-4.1.1 app/assets/javascripts/attributes/CarePartner.js
cqm-models-4.1.0 app/assets/javascripts/attributes/CarePartner.js
cqm-models-4.0.2 app/assets/javascripts/attributes/CarePartner.js
cqm-models-4.0.1 app/assets/javascripts/attributes/CarePartner.js
cqm-models-4.0.0 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.1.1 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.1.0 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.0.6 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.0.5 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.0.4 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.0.3 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.0.2 app/assets/javascripts/attributes/CarePartner.js
cqm-models-3.0.1 app/assets/javascripts/attributes/CarePartner.js