Sha256: ad11ea4e6ce1755101eca3460c20c673287c281f97a099d30bd8a1f012f46a22
Contents?: true
Size: 924 Bytes
Versions: 6
Compression:
Stored size: 924 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 FacilityLocationSchema = new mongoose.Schema({ code: Code, locationPeriod: Interval, qdmVersion: { type: String, default: '5.6' }, _type: { type: String, default: 'QDM::FacilityLocation' }, }); module.exports.FacilityLocationSchema = FacilityLocationSchema; class FacilityLocation extends mongoose.Document { constructor(object) { super(object, FacilityLocationSchema); this._type = 'QDM::FacilityLocation'; } } module.exports.FacilityLocation = FacilityLocation;
Version data entries
6 entries across 6 versions & 1 rubygems