Sha256: 167ff98936b1077761b48d29a847caadd2e9254f0a99bb68dd7710c5d7a1fb04
Contents?: true
Size: 732 Bytes
Versions: 1
Compression:
Stored size: 732 Bytes
Contents
const mongoose = require('mongoose'); const { DataElementSchema } = require('./basetypes/DataElement'); const Code = require('./basetypes/Code'); const Interval = require('./basetypes/Interval'); const Quantity = require('./basetypes/Quantity'); const DateTime = require('./basetypes/DateTime'); const [Number, String] = [ mongoose.Schema.Types.Number, mongoose.Schema.Types.String, ]; const ResultComponentSchema = DataElementSchema({ referenceRange: Interval, qdmVersion: { type: String, default: '5.3' }, _type: { type: String, default: 'ResultComponent' }, }); module.exports.ResultComponentSchema = ResultComponentSchema; module.exports.ResultComponent = mongoose.model('ResultComponent', ResultComponentSchema);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cqm-models-0.7.2 | app/assets/javascripts/ResultComponent.js |