Sha256: 080ecbea8683318e9fadc9cb27a7f6912850ff492f504c627b9ebd03690ed834
Contents?: true
Size: 861 Bytes
Versions: 1
Compression:
Stored size: 861 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 PatientEntitySchema = EntitySchemaFunction({ _type: { type: String, default: 'QDM::PatientEntity' }, }); module.exports.PatientEntitySchema = PatientEntitySchema; class PatientEntity extends mongoose.Document { constructor(object) { super(object, PatientEntitySchema); this._type = 'QDM::PatientEntity'; } } module.exports.PatientEntity = PatientEntity;
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cqm-models-3.0.0 | app/assets/javascripts/attributes/PatientEntity.js |