fhir-schemas
Version:
Schemas for Fast Healthcare Interoperability Resources.
31 lines (29 loc) • 730 B
JavaScript
var CodingSchema = require('../datatypes/Coding');
exports.MetaSchema = new SimpleSchema({
"versionId" : {
type: String,
optional: true,
defaultValue: "1"
},
"lastUpdated" : {
type: Date,
defaultValue: new Date()
},
"profile" : {
type: String,
optional: true
},
"security" : {
type: [CodingSchema],
optional: true
},
"tag" : {
type: [CodingSchema],
optional: true
},
"fhirVersion" : {
type: String,
optional: true,
allowedValues: ['fhir-0.0.1', 'fhir-0.0.5', 'fhir-0.0.6', 'fhir-0.0.11', 'fhir-0.0.82', 'fhir-0.4.0', 'fhir-0.5.0', 'fhir-1.0.0', 'fhir-1.0.2', 'fhir-1.1.0', 'fhir-1.4.0', 'fhir-1.6.0', 'fhir-1.8.0', 'fhir-3.0.0', 'fhir-3.1.0']
}
});