app/assets/javascripts/Component.js in cqm-models-0.7.2 vs app/assets/javascripts/Component.js in cqm-models-0.7.3
- old
+ new
@@ -2,18 +2,19 @@
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 Any = require('./basetypes/Any');
const [Number, String] = [
mongoose.Schema.Types.Number,
mongoose.Schema.Types.String,
];
const ComponentSchema = DataElementSchema({
code: Code,
- result: {},
+ result: Any,
qdmVersion: { type: String, default: '5.3' },
_type: { type: String, default: 'Component' },
});