app/models/models.rb in cqm-models-2.0.1 vs app/models/models.rb in cqm-models-3.0.0

- old
+ new

@@ -1,25 +1,33 @@ -# Base QDM module (generated from lib/generate_models.rb) for QDM 5.3 +# Base QDM module (generated from lib/generate_models.rb) for QDM 5.5 module QDM end require 'mongoid' # ModelFinder require_relative 'model_finder' # Generated models that are dependencies for base types -require_relative 'qdm/id' +require_relative 'qdm/attributes/attribute' +require_relative 'qdm/attributes/identifier' # base types require_relative 'qdm/basetypes/code' require_relative 'qdm/basetypes/data_element' +require_relative 'qdm/basetypes/date' require_relative 'qdm/basetypes/interval' require_relative 'qdm/basetypes/quantity' require_relative 'qdm/basetypes/ratio' -require_relative 'qdm/attributes/attribute' require_relative 'qdm/attributes/facility_location' require_relative 'qdm/attributes/component' +require_relative 'qdm/attributes/entity' +require_relative 'qdm/attributes/care_partner' +require_relative 'qdm/attributes/diagnosis_component' +require_relative 'qdm/attributes/organization' +require_relative 'qdm/attributes/patient_entity' +require_relative 'qdm/attributes/practitioner' +require_relative 'qdm/attributes/result_component' # Tacoma-specific models require_relative 'cqm/measure' require_relative 'cqm/measure_package' require_relative 'cqm/valueset' @@ -36,10 +44,11 @@ # Make Patient Generation Available require_relative '../../lib/generate_patients' # Generated models require_relative 'qdm/patient' +require_relative 'qdm/related_person' require_relative 'qdm/physical_exam_order' require_relative 'qdm/participation' require_relative 'qdm/patient_characteristic_sex' require_relative 'qdm/care_goal' require_relative 'qdm/patient_characteristic' @@ -56,11 +65,10 @@ require_relative 'qdm/patient_characteristic_clinical_trial_participant' require_relative 'qdm/device_order' require_relative 'qdm/diagnostic_study_performed' require_relative 'qdm/intervention_order' require_relative 'qdm/family_history' -require_relative 'qdm/result_component' require_relative 'qdm/medication_active' require_relative 'qdm/laboratory_test_order' require_relative 'qdm/diagnostic_study_order' require_relative 'qdm/substance_order' require_relative 'qdm/patient_characteristic_payer' @@ -71,10 +79,9 @@ require_relative 'qdm/substance_administered' require_relative 'qdm/encounter_order' require_relative 'qdm/encounter_recommended' require_relative 'qdm/procedure_performed' require_relative 'qdm/allergy_intolerance' -require_relative 'qdm/provider_characteristic' require_relative 'qdm/physical_exam_recommended' require_relative 'qdm/patient_characteristic_birthdate' require_relative 'qdm/adverse_event' require_relative 'qdm/device_recommended' require_relative 'qdm/device_applied'