lib/hqmf-parser.rb in cqm-parsers-0.2.4 vs lib/hqmf-parser.rb in cqm-parsers-2.0.0
- old
+ new
@@ -5,10 +5,12 @@
# require_relative
require_relative 'util/counter.rb'
require_relative 'util/code_system_helper'
require_relative 'util/hqmf_template_helper'
+require_relative 'util/vsac_api'
+require_relative 'util/util'
require_relative 'hqmf-model/utilities.rb'
require_relative 'hqmf-parser/1.0/utilities'
require_relative 'hqmf-parser/1.0/range'
@@ -66,51 +68,17 @@
require_relative 'hqmf-parser/converter/pass2/comparison_converter'
require_relative 'hqmf-parser/converter/pass2/operator_converter'
require_relative 'hqmf-parser/parser'
-require_relative 'qrda-export/helper/code_system_helper.rb'
-require_relative 'qrda-export/helper/date_helper.rb'
-require_relative 'qrda-export/helper/cat_1_view_helper.rb'
-
-require_relative 'qrda-export/catI-r5/qrda1_r5.rb'
-
-require_relative 'qrda-import/entry_package.rb'
-require_relative 'qrda-import/cda_identifier.rb'
-require_relative 'qrda-import/narrative_reference_handler.rb'
-require_relative 'qrda-import/entry_finder.rb'
-
-require_relative 'qrda-import/base-importers/section_importer.rb'
-require_relative 'qrda-import/base-importers/demographics_importer.rb'
-require_relative 'qrda-import/base-importers/medication_importer.rb'
-
-require_relative 'qrda-import/data-element-importers/allergy_intolerance_importer.rb'
-require_relative 'qrda-import/data-element-importers/diagnostic_study_order_importer.rb'
-require_relative 'qrda-import/data-element-importers/intervention_order_importer.rb'
-require_relative 'qrda-import/data-element-importers/encounter_performed_importer.rb'
-require_relative 'qrda-import/data-element-importers/diagnosis_importer.rb'
-require_relative 'qrda-import/data-element-importers/medication_active_importer.rb'
-require_relative 'qrda-import/data-element-importers/medication_order_importer.rb'
-require_relative 'qrda-import/data-element-importers/procedure_performed_importer.rb'
-require_relative 'qrda-import/data-element-importers/physical_exam_performed_importer.rb'
-require_relative 'qrda-import/data-element-importers/laboratory_test_performed_importer.rb'
-require_relative 'qrda-import/data-element-importers/adverse_event_importer.rb'
-require_relative 'qrda-import/data-element-importers/assessment_performed_importer.rb'
-require_relative 'qrda-import/data-element-importers/communication_from_patient_to_provider_importer.rb'
-require_relative 'qrda-import/data-element-importers/communication_from_provider_to_patient_importer.rb'
-require_relative 'qrda-import/data-element-importers/communication_from_provider_to_provider_importer.rb'
-require_relative 'qrda-import/data-element-importers/device_applied_importer.rb'
-require_relative 'qrda-import/data-element-importers/device_order_importer.rb'
-require_relative 'qrda-import/data-element-importers/diagnostic_study_performed_importer.rb'
-require_relative 'qrda-import/data-element-importers/encounter_order_importer.rb'
-require_relative 'qrda-import/data-element-importers/immunization_administered_importer.rb'
-require_relative 'qrda-import/data-element-importers/intervention_performed_importer.rb'
-require_relative 'qrda-import/data-element-importers/laboratory_test_order_importer.rb'
-require_relative 'qrda-import/data-element-importers/medication_administered_importer.rb'
-require_relative 'qrda-import/data-element-importers/medication_discharge_importer.rb'
-require_relative 'qrda-import/data-element-importers/medication_dispensed_importer.rb'
-require_relative 'qrda-import/data-element-importers/patient_characteristic_expired.rb'
-require_relative 'qrda-import/data-element-importers/procedure_order_importer.rb'
-require_relative 'qrda-import/data-element-importers/substance_administered_importer.rb'
-require_relative 'qrda-import/patient_importer.rb'
require_relative 'ext/data_element.rb'
-require_relative 'ext/code.rb'
+
+require_relative 'measure-loader/helpers'
+require_relative 'measure-loader/cql_loader'
+require_relative 'measure-loader/elm_dependency_finder'
+require_relative 'measure-loader/elm_parser'
+require_relative 'measure-loader/exceptions'
+require_relative 'measure-loader/hqmf_measure_loader'
+require_relative 'measure-loader/mat_measure_files'
+require_relative 'measure-loader/source_data_criteria_loader'
+require_relative 'measure-loader/value_set_helpers'
+require_relative 'measure-loader/vsac_value_set_loader'