Sha256: d660bd2534bf81ee14725d5210f3233dc1c108c18e7c3e8da12f26411b702aa0
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
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 { ComponentSchema } = require('./Component'); const { FacilityLocationSchema } = require('./FacilityLocation'); const Any = require('./basetypes/Any'); const [Number, String] = [ mongoose.Schema.Types.Number, mongoose.Schema.Types.String, ]; const PhysicalExamRecommendedSchema = DataElementSchema({ authorDatetime: DateTime, reason: Code, method: Code, anatomicalLocationSite: Code, negationRationale: Code, hqmfOid: { type: String, default: '22.16.840.1.113883.10.20.28.3.63' }, category: { type: String, default: 'physical_exam' }, qdmStatus: { type: String, default: 'recommended' }, qdmVersion: { type: String, default: '5.3' }, _type: { type: String, default: 'PhysicalExamRecommended' }, }); module.exports.PhysicalExamRecommendedSchema = PhysicalExamRecommendedSchema; module.exports.PhysicalExamRecommended = mongoose.model('PhysicalExamRecommended', PhysicalExamRecommendedSchema);
Version data entries
3 entries across 3 versions & 1 rubygems