cqm-models 2.0.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.eslintrc.json +1 -1
- data/README.md +9 -6
- data/app/assets/javascripts/AdverseEvent.js +9 -3
- data/app/assets/javascripts/AllDataElements.js +18 -6
- data/app/assets/javascripts/AllergyIntolerance.js +8 -2
- data/app/assets/javascripts/AssessmentOrder.js +8 -2
- data/app/assets/javascripts/AssessmentPerformed.js +11 -3
- data/app/assets/javascripts/AssessmentRecommended.js +8 -2
- data/app/assets/javascripts/CareGoal.js +10 -3
- data/app/assets/javascripts/CommunicationPerformed.js +12 -6
- data/app/assets/javascripts/DeviceApplied.js +9 -2
- data/app/assets/javascripts/DeviceOrder.js +8 -2
- data/app/assets/javascripts/DeviceRecommended.js +8 -2
- data/app/assets/javascripts/Diagnosis.js +8 -2
- data/app/assets/javascripts/DiagnosticStudyOrder.js +8 -2
- data/app/assets/javascripts/DiagnosticStudyPerformed.js +9 -2
- data/app/assets/javascripts/DiagnosticStudyRecommended.js +8 -2
- data/app/assets/javascripts/EncounterOrder.js +9 -2
- data/app/assets/javascripts/EncounterPerformed.js +11 -5
- data/app/assets/javascripts/EncounterRecommended.js +8 -2
- data/app/assets/javascripts/FamilyHistory.js +8 -2
- data/app/assets/javascripts/ImmunizationAdministered.js +9 -2
- data/app/assets/javascripts/ImmunizationOrder.js +8 -2
- data/app/assets/javascripts/InterventionOrder.js +8 -2
- data/app/assets/javascripts/InterventionPerformed.js +9 -2
- data/app/assets/javascripts/InterventionRecommended.js +8 -2
- data/app/assets/javascripts/LaboratoryTestOrder.js +8 -2
- data/app/assets/javascripts/LaboratoryTestPerformed.js +9 -2
- data/app/assets/javascripts/LaboratoryTestRecommended.js +8 -2
- data/app/assets/javascripts/MedicationActive.js +9 -2
- data/app/assets/javascripts/MedicationAdministered.js +9 -2
- data/app/assets/javascripts/MedicationDischarge.js +9 -2
- data/app/assets/javascripts/MedicationDispensed.js +10 -4
- data/app/assets/javascripts/MedicationOrder.js +9 -4
- data/app/assets/javascripts/Participation.js +8 -2
- data/app/assets/javascripts/PatientCareExperience.js +8 -2
- data/app/assets/javascripts/PatientCharacteristic.js +7 -2
- data/app/assets/javascripts/PatientCharacteristicBirthdate.js +7 -2
- data/app/assets/javascripts/PatientCharacteristicClinicalTrialParticipant.js +7 -2
- data/app/assets/javascripts/PatientCharacteristicEthnicity.js +7 -2
- data/app/assets/javascripts/PatientCharacteristicExpired.js +7 -2
- data/app/assets/javascripts/PatientCharacteristicPayer.js +7 -2
- data/app/assets/javascripts/PatientCharacteristicRace.js +7 -2
- data/app/assets/javascripts/PatientCharacteristicSex.js +7 -2
- data/app/assets/javascripts/PhysicalExamOrder.js +8 -2
- data/app/assets/javascripts/PhysicalExamPerformed.js +9 -2
- data/app/assets/javascripts/PhysicalExamRecommended.js +8 -2
- data/app/assets/javascripts/ProcedureOrder.js +10 -3
- data/app/assets/javascripts/ProcedurePerformed.js +11 -3
- data/app/assets/javascripts/ProcedureRecommended.js +9 -3
- data/app/assets/javascripts/ProviderCareExperience.js +8 -2
- data/app/assets/javascripts/QDMPatient.js +25 -9
- data/app/assets/javascripts/RelatedPerson.js +42 -0
- data/app/assets/javascripts/SubstanceAdministered.js +9 -2
- data/app/assets/javascripts/SubstanceOrder.js +9 -2
- data/app/assets/javascripts/SubstanceRecommended.js +8 -2
- data/app/assets/javascripts/Symptom.js +8 -2
- data/app/assets/javascripts/attributes/CarePartner.js +31 -0
- data/app/assets/javascripts/attributes/Component.js +22 -1
- data/app/assets/javascripts/attributes/DiagnosisComponent.js +34 -0
- data/app/assets/javascripts/attributes/Entity.js +58 -0
- data/app/assets/javascripts/attributes/FacilityLocation.js +4 -1
- data/app/assets/javascripts/attributes/Identifier.js +23 -0
- data/app/assets/javascripts/attributes/Organization.js +31 -0
- data/app/assets/javascripts/attributes/PatientEntity.js +30 -0
- data/app/assets/javascripts/attributes/Practitioner.js +33 -0
- data/app/assets/javascripts/attributes/ResultComponent.js +31 -0
- data/app/assets/javascripts/basetypes/Any.js +24 -14
- data/app/assets/javascripts/basetypes/AnyEntity.js +44 -0
- data/app/assets/javascripts/basetypes/Code.js +8 -11
- data/app/assets/javascripts/basetypes/DataElement.js +14 -6
- data/app/assets/javascripts/basetypes/Interval.js +2 -2
- data/app/assets/javascripts/basetypes/QDMDate.js +36 -0
- data/app/assets/javascripts/basetypes/Quantity.js +1 -1
- data/app/assets/javascripts/basetypes/Ratio.js +1 -1
- data/app/assets/javascripts/cqm/Provider.js +0 -2
- data/app/models/cqm/provider.rb +4 -4
- data/app/models/hqmfOid_to_datatype_map.json +1 -1
- data/app/models/models.rb +12 -5
- data/app/models/qdm/adverse_event.rb +3 -2
- data/app/models/qdm/allergy_intolerance.rb +2 -1
- data/app/models/qdm/assessment_order.rb +2 -1
- data/app/models/qdm/assessment_performed.rb +5 -2
- data/app/models/qdm/assessment_recommended.rb +2 -1
- data/app/models/qdm/attributes/care_partner.rb +8 -0
- data/app/models/qdm/attributes/component.rb +1 -1
- data/app/models/qdm/attributes/diagnosis_component.rb +10 -0
- data/app/models/qdm/attributes/entity.rb +15 -0
- data/app/models/qdm/attributes/facility_location.rb +1 -1
- data/app/models/qdm/{id.rb → attributes/identifier.rb} +3 -4
- data/app/models/qdm/attributes/organization.rb +8 -0
- data/app/models/qdm/attributes/patient_entity.rb +7 -0
- data/app/models/qdm/attributes/practitioner.rb +10 -0
- data/app/models/qdm/{result_component.rb → attributes/result_component.rb} +1 -3
- data/app/models/qdm/basetypes/code.rb +8 -10
- data/app/models/qdm/basetypes/data_element.rb +19 -6
- data/app/models/qdm/basetypes/date.rb +38 -0
- data/app/models/qdm/basetypes/interval.rb +2 -2
- data/app/models/qdm/care_goal.rb +4 -2
- data/app/models/qdm/communication_performed.rb +6 -5
- data/app/models/qdm/device_applied.rb +3 -1
- data/app/models/qdm/device_order.rb +2 -1
- data/app/models/qdm/device_recommended.rb +2 -1
- data/app/models/qdm/diagnosis.rb +2 -1
- data/app/models/qdm/diagnostic_study_order.rb +2 -1
- data/app/models/qdm/diagnostic_study_performed.rb +3 -1
- data/app/models/qdm/diagnostic_study_recommended.rb +2 -1
- data/app/models/qdm/encounter_order.rb +3 -1
- data/app/models/qdm/encounter_performed.rb +3 -2
- data/app/models/qdm/encounter_recommended.rb +2 -1
- data/app/models/qdm/family_history.rb +2 -1
- data/app/models/qdm/immunization_administered.rb +3 -1
- data/app/models/qdm/immunization_order.rb +2 -1
- data/app/models/qdm/intervention_order.rb +2 -1
- data/app/models/qdm/intervention_performed.rb +3 -1
- data/app/models/qdm/intervention_recommended.rb +2 -1
- data/app/models/qdm/laboratory_test_order.rb +2 -1
- data/app/models/qdm/laboratory_test_performed.rb +3 -1
- data/app/models/qdm/laboratory_test_recommended.rb +2 -1
- data/app/models/qdm/medication_active.rb +3 -1
- data/app/models/qdm/medication_administered.rb +3 -1
- data/app/models/qdm/medication_discharge.rb +3 -1
- data/app/models/qdm/medication_dispensed.rb +4 -3
- data/app/models/qdm/medication_order.rb +3 -3
- data/app/models/qdm/participation.rb +2 -1
- data/app/models/qdm/patient.rb +1 -1
- data/app/models/qdm/patient_care_experience.rb +2 -1
- data/app/models/qdm/patient_characteristic.rb +1 -1
- data/app/models/qdm/patient_characteristic_birthdate.rb +1 -1
- data/app/models/qdm/patient_characteristic_clinical_trial_participant.rb +1 -1
- data/app/models/qdm/patient_characteristic_ethnicity.rb +1 -1
- data/app/models/qdm/patient_characteristic_expired.rb +1 -1
- data/app/models/qdm/patient_characteristic_payer.rb +1 -1
- data/app/models/qdm/patient_characteristic_race.rb +1 -1
- data/app/models/qdm/patient_characteristic_sex.rb +1 -1
- data/app/models/qdm/physical_exam_order.rb +2 -1
- data/app/models/qdm/physical_exam_performed.rb +3 -1
- data/app/models/qdm/physical_exam_recommended.rb +2 -1
- data/app/models/qdm/procedure_order.rb +4 -2
- data/app/models/qdm/procedure_performed.rb +5 -2
- data/app/models/qdm/procedure_recommended.rb +3 -2
- data/app/models/qdm/provider_care_experience.rb +2 -1
- data/app/models/qdm/related_person.rb +13 -0
- data/app/models/qdm/substance_administered.rb +3 -1
- data/app/models/qdm/substance_order.rb +3 -1
- data/app/models/qdm/substance_recommended.rb +2 -1
- data/app/models/qdm/symptom.rb +2 -1
- data/bin/validate_generator.sh +1 -1
- data/cqm-models.gemspec +2 -2
- data/data/oids_qdm_5.5.json +321 -0
- data/dist/browser.js +3434 -3356
- data/dist/index.js +3433 -3355
- data/lib/generate_models.rb +78 -39
- data/lib/generate_patients.rb +3 -3
- data/lib/generate_types.rb +1 -1
- data/lib/generator_helpers.rb +14 -0
- data/modelinfo/qdm-modelinfo-5.5.xml +982 -0
- data/package.json +2 -2
- data/templates/entity_extension.rb.erb +6 -0
- data/templates/identifier_extension.rb.erb +58 -0
- data/templates/{id_template.js.erb → identifier_template.js.erb} +6 -5
- data/templates/models_template.rb.erb +19 -4
- data/templates/mongoose_template.js.erb +86 -12
- data/templates/patient_template.js.erb +0 -4
- data/yarn.lock +245 -201
- metadata +31 -11
- data/app/assets/javascripts/Id.js +0 -21
- data/app/assets/javascripts/ProviderCharacteristic.js +0 -36
- data/app/assets/javascripts/ResultComponent.js +0 -33
- data/app/models/qdm/provider_characteristic.rb +0 -12
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cqm-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- aholmes@mitre.org
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundle-audit
|
@@ -46,14 +46,14 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: 11.0.1
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
56
|
+
version: 11.0.1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: codecov
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,7 +189,6 @@ files:
|
|
189
189
|
- app/assets/javascripts/EncounterPerformed.js
|
190
190
|
- app/assets/javascripts/EncounterRecommended.js
|
191
191
|
- app/assets/javascripts/FamilyHistory.js
|
192
|
-
- app/assets/javascripts/Id.js
|
193
192
|
- app/assets/javascripts/ImmunizationAdministered.js
|
194
193
|
- app/assets/javascripts/ImmunizationOrder.js
|
195
194
|
- app/assets/javascripts/InterventionOrder.js
|
@@ -220,21 +219,30 @@ files:
|
|
220
219
|
- app/assets/javascripts/ProcedurePerformed.js
|
221
220
|
- app/assets/javascripts/ProcedureRecommended.js
|
222
221
|
- app/assets/javascripts/ProviderCareExperience.js
|
223
|
-
- app/assets/javascripts/ProviderCharacteristic.js
|
224
222
|
- app/assets/javascripts/QDMPatient.js
|
223
|
+
- app/assets/javascripts/RelatedPerson.js
|
225
224
|
- app/assets/javascripts/Result.js
|
226
|
-
- app/assets/javascripts/ResultComponent.js
|
227
225
|
- app/assets/javascripts/SubstanceAdministered.js
|
228
226
|
- app/assets/javascripts/SubstanceOrder.js
|
229
227
|
- app/assets/javascripts/SubstanceRecommended.js
|
230
228
|
- app/assets/javascripts/Symptom.js
|
229
|
+
- app/assets/javascripts/attributes/CarePartner.js
|
231
230
|
- app/assets/javascripts/attributes/Component.js
|
231
|
+
- app/assets/javascripts/attributes/DiagnosisComponent.js
|
232
|
+
- app/assets/javascripts/attributes/Entity.js
|
232
233
|
- app/assets/javascripts/attributes/FacilityLocation.js
|
234
|
+
- app/assets/javascripts/attributes/Identifier.js
|
235
|
+
- app/assets/javascripts/attributes/Organization.js
|
236
|
+
- app/assets/javascripts/attributes/PatientEntity.js
|
237
|
+
- app/assets/javascripts/attributes/Practitioner.js
|
238
|
+
- app/assets/javascripts/attributes/ResultComponent.js
|
233
239
|
- app/assets/javascripts/basetypes/Any.js
|
240
|
+
- app/assets/javascripts/basetypes/AnyEntity.js
|
234
241
|
- app/assets/javascripts/basetypes/Code.js
|
235
242
|
- app/assets/javascripts/basetypes/DataElement.js
|
236
243
|
- app/assets/javascripts/basetypes/DateTime.js
|
237
244
|
- app/assets/javascripts/basetypes/Interval.js
|
245
|
+
- app/assets/javascripts/basetypes/QDMDate.js
|
238
246
|
- app/assets/javascripts/basetypes/Quantity.js
|
239
247
|
- app/assets/javascripts/basetypes/Ratio.js
|
240
248
|
- app/assets/javascripts/browser.js
|
@@ -273,10 +281,19 @@ files:
|
|
273
281
|
- app/models/qdm/assessment_performed.rb
|
274
282
|
- app/models/qdm/assessment_recommended.rb
|
275
283
|
- app/models/qdm/attributes/attribute.rb
|
284
|
+
- app/models/qdm/attributes/care_partner.rb
|
276
285
|
- app/models/qdm/attributes/component.rb
|
286
|
+
- app/models/qdm/attributes/diagnosis_component.rb
|
287
|
+
- app/models/qdm/attributes/entity.rb
|
277
288
|
- app/models/qdm/attributes/facility_location.rb
|
289
|
+
- app/models/qdm/attributes/identifier.rb
|
290
|
+
- app/models/qdm/attributes/organization.rb
|
291
|
+
- app/models/qdm/attributes/patient_entity.rb
|
292
|
+
- app/models/qdm/attributes/practitioner.rb
|
293
|
+
- app/models/qdm/attributes/result_component.rb
|
278
294
|
- app/models/qdm/basetypes/code.rb
|
279
295
|
- app/models/qdm/basetypes/data_element.rb
|
296
|
+
- app/models/qdm/basetypes/date.rb
|
280
297
|
- app/models/qdm/basetypes/interval.rb
|
281
298
|
- app/models/qdm/basetypes/quantity.rb
|
282
299
|
- app/models/qdm/basetypes/ratio.rb
|
@@ -293,7 +310,6 @@ files:
|
|
293
310
|
- app/models/qdm/encounter_performed.rb
|
294
311
|
- app/models/qdm/encounter_recommended.rb
|
295
312
|
- app/models/qdm/family_history.rb
|
296
|
-
- app/models/qdm/id.rb
|
297
313
|
- app/models/qdm/immunization_administered.rb
|
298
314
|
- app/models/qdm/immunization_order.rb
|
299
315
|
- app/models/qdm/intervention_order.rb
|
@@ -325,8 +341,7 @@ files:
|
|
325
341
|
- app/models/qdm/procedure_performed.rb
|
326
342
|
- app/models/qdm/procedure_recommended.rb
|
327
343
|
- app/models/qdm/provider_care_experience.rb
|
328
|
-
- app/models/qdm/
|
329
|
-
- app/models/qdm/result_component.rb
|
344
|
+
- app/models/qdm/related_person.rb
|
330
345
|
- app/models/qdm/substance_administered.rb
|
331
346
|
- app/models/qdm/substance_order.rb
|
332
347
|
- app/models/qdm/substance_recommended.rb
|
@@ -340,6 +355,7 @@ files:
|
|
340
355
|
- config/mongoid.yml
|
341
356
|
- cqm-models.gemspec
|
342
357
|
- data/oids_qdm_5.4.json
|
358
|
+
- data/oids_qdm_5.5.json
|
343
359
|
- data/oids_unversioned.json
|
344
360
|
- dist/browser.js
|
345
361
|
- dist/index.js
|
@@ -347,6 +363,7 @@ files:
|
|
347
363
|
- lib/generate_models.rb
|
348
364
|
- lib/generate_patients.rb
|
349
365
|
- lib/generate_types.rb
|
366
|
+
- lib/generator_helpers.rb
|
350
367
|
- lib/generators/custom_mongo/model.rb.tt
|
351
368
|
- lib/generators/custom_mongo/model_generator.rb
|
352
369
|
- modelinfo/qdm-modelinfo-4.2.xml
|
@@ -356,10 +373,13 @@ files:
|
|
356
373
|
- modelinfo/qdm-modelinfo-5.0.xml
|
357
374
|
- modelinfo/qdm-modelinfo-5.3.xml
|
358
375
|
- modelinfo/qdm-modelinfo-5.4.xml
|
376
|
+
- modelinfo/qdm-modelinfo-5.5.xml
|
359
377
|
- notice.md
|
360
378
|
- package.json
|
361
379
|
- templates/all_data_elements_template.js.erb
|
362
|
-
- templates/
|
380
|
+
- templates/entity_extension.rb.erb
|
381
|
+
- templates/identifier_extension.rb.erb
|
382
|
+
- templates/identifier_template.js.erb
|
363
383
|
- templates/index_template.js.erb
|
364
384
|
- templates/models_template.rb.erb
|
365
385
|
- templates/mongoose_template.js.erb
|
@@ -1,21 +0,0 @@
|
|
1
|
-
const mongoose = require('mongoose/browser');
|
2
|
-
|
3
|
-
const [Number, String] = [
|
4
|
-
mongoose.Schema.Types.Number,
|
5
|
-
mongoose.Schema.Types.String,
|
6
|
-
];
|
7
|
-
|
8
|
-
const IdSchema = mongoose.Schema({
|
9
|
-
namingSystem: String,
|
10
|
-
value: String,
|
11
|
-
qdmVersion: { type: String, default: '5.4' },
|
12
|
-
|
13
|
-
}, { _id: false, id: false });
|
14
|
-
|
15
|
-
module.exports.IdSchema = IdSchema;
|
16
|
-
class Id extends mongoose.Document {
|
17
|
-
constructor(object) {
|
18
|
-
super(object, IdSchema);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
module.exports.Id = Id;
|
@@ -1,36 +0,0 @@
|
|
1
|
-
const mongoose = require('mongoose/browser');
|
2
|
-
|
3
|
-
const { IdSchema } = require('./Id');
|
4
|
-
const { DataElementSchema } = require('./basetypes/DataElement');
|
5
|
-
const Code = require('./basetypes/Code');
|
6
|
-
const Interval = require('./basetypes/Interval');
|
7
|
-
const Quantity = require('./basetypes/Quantity');
|
8
|
-
const DateTime = require('./basetypes/DateTime');
|
9
|
-
const Any = require('./basetypes/Any');
|
10
|
-
const { ComponentSchema } = require('./attributes/Component');
|
11
|
-
const { FacilityLocationSchema } = require('./attributes/FacilityLocation');
|
12
|
-
|
13
|
-
|
14
|
-
const [Number, String] = [
|
15
|
-
mongoose.Schema.Types.Number,
|
16
|
-
mongoose.Schema.Types.String,
|
17
|
-
];
|
18
|
-
|
19
|
-
const ProviderCharacteristicSchema = DataElementSchema({
|
20
|
-
authorDatetime: DateTime,
|
21
|
-
qdmTitle: { type: String, default: 'Provider Characteristic' },
|
22
|
-
hqmfOid: { type: String, default: '2.16.840.1.113883.10.20.28.4.71' },
|
23
|
-
qdmCategory: { type: String, default: 'provider_characteristic' },
|
24
|
-
qdmVersion: { type: String, default: '5.4' },
|
25
|
-
_type: { type: String, default: 'QDM::ProviderCharacteristic' },
|
26
|
-
|
27
|
-
});
|
28
|
-
|
29
|
-
module.exports.ProviderCharacteristicSchema = ProviderCharacteristicSchema;
|
30
|
-
class ProviderCharacteristic extends mongoose.Document {
|
31
|
-
constructor(object) {
|
32
|
-
super(object, ProviderCharacteristicSchema);
|
33
|
-
this._type = 'QDM::ProviderCharacteristic';
|
34
|
-
}
|
35
|
-
}
|
36
|
-
module.exports.ProviderCharacteristic = ProviderCharacteristic;
|
@@ -1,33 +0,0 @@
|
|
1
|
-
const mongoose = require('mongoose/browser');
|
2
|
-
|
3
|
-
const { IdSchema } = require('./Id');
|
4
|
-
const { DataElementSchema } = require('./basetypes/DataElement');
|
5
|
-
const Code = require('./basetypes/Code');
|
6
|
-
const Interval = require('./basetypes/Interval');
|
7
|
-
const Quantity = require('./basetypes/Quantity');
|
8
|
-
const DateTime = require('./basetypes/DateTime');
|
9
|
-
const Any = require('./basetypes/Any');
|
10
|
-
const { ComponentSchema } = require('./attributes/Component');
|
11
|
-
const { FacilityLocationSchema } = require('./attributes/FacilityLocation');
|
12
|
-
|
13
|
-
|
14
|
-
const [Number, String] = [
|
15
|
-
mongoose.Schema.Types.Number,
|
16
|
-
mongoose.Schema.Types.String,
|
17
|
-
];
|
18
|
-
|
19
|
-
const ResultComponentSchema = DataElementSchema({
|
20
|
-
referenceRange: Interval,
|
21
|
-
qdmVersion: { type: String, default: '5.4' },
|
22
|
-
_type: { type: String, default: 'QDM::ResultComponent' },
|
23
|
-
|
24
|
-
});
|
25
|
-
|
26
|
-
module.exports.ResultComponentSchema = ResultComponentSchema;
|
27
|
-
class ResultComponent extends mongoose.Document {
|
28
|
-
constructor(object) {
|
29
|
-
super(object, ResultComponentSchema);
|
30
|
-
this._type = 'QDM::ResultComponent';
|
31
|
-
}
|
32
|
-
}
|
33
|
-
module.exports.ResultComponent = ResultComponent;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
module QDM
|
2
|
-
# app/models/qdm/provider_characteristic.rb
|
3
|
-
class ProviderCharacteristic < DataElement
|
4
|
-
include Mongoid::Document
|
5
|
-
embedded_in :patient
|
6
|
-
field :authorDatetime, type: DateTime
|
7
|
-
field :qdmTitle, type: String, default: 'Provider Characteristic'
|
8
|
-
field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.71'
|
9
|
-
field :qdmCategory, type: String, default: 'provider_characteristic'
|
10
|
-
field :qdmVersion, type: String, default: '5.4'
|
11
|
-
end
|
12
|
-
end
|