app/assets/javascripts/CommunicationFromProviderToPatient.js in cqm-models-0.8.3 vs app/assets/javascripts/CommunicationFromProviderToPatient.js in cqm-models-0.8.4

- old
+ new

@@ -4,19 +4,20 @@ const Interval = require('./basetypes/Interval'); const Quantity = require('./basetypes/Quantity'); const DateTime = require('./basetypes/DateTime'); const { ComponentSchema } = require('./Component'); const { FacilityLocationSchema } = require('./FacilityLocation'); +const { IdSchema } = require('./Id'); const Any = require('./basetypes/Any'); const [Number, String] = [ mongoose.Schema.Types.Number, mongoose.Schema.Types.String, ]; const CommunicationFromProviderToPatientSchema = DataElementSchema({ authorDatetime: DateTime, - relatedTo: [String], + relatedTo: [IdSchema], negationRationale: Code, hqmfOid: { type: String, default: '2.16.840.1.113883.10.20.28.3.9' }, category: { type: String, default: 'communication' }, qdmStatus: { type: String, default: 'from_provider_to_patient' }, qdmVersion: { type: String, default: '5.3' },