cqm-models 1.1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ module QDM
20
20
 
21
21
  def self.generate_code_field
22
22
  # TODO: use code with all parameters, possibly randomize parameter values and optional information
23
- QDM::Code.new('1234', 'SNOMEDCT')
23
+ QDM::Code.new('1234', '2.16.840.1.113883.6.96')
24
24
  end
25
25
 
26
26
  def self.generate_datetime
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cqm-models",
3
- "version": "1.1.1.0",
3
+ "version": "2.0.0",
4
4
  "description": "This library contains auto generated Mongo (Mongoose.js) models that correspond to the QDM (Quality Data Model) specification.",
5
5
  "main": "app/assets/javascripts/index.js",
6
6
  "browser": {
@@ -16,7 +16,7 @@
16
16
  ],
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "cql-execution": "https://github.com/cqframework/cql-execution.git",
19
+ "cql-execution": "^1.3.3",
20
20
  "mongoose": "^5.4.14"
21
21
  },
22
22
  "devDependencies": {
@@ -20,5 +20,9 @@ module.exports.ValueSet = require('./cqm/ValueSet.js').ValueSet;
20
20
  module.exports.ValueSetSchema = require('./cqm/ValueSet.js').ValueSetSchema;
21
21
  module.exports.Concept = require('./cqm/Concept.js').Concept;
22
22
  module.exports.ConceptSchema = require('./cqm/Concept.js').ConceptSchema;
23
- module.exports.IndividualResult = require('./IndividualResult').IndividualResult;
24
- module.exports.IndividualResultSchema = require('./IndividualResult').IndividualResultSchema;
23
+ module.exports.IndividualResult = require('./cqm/IndividualResult.js').IndividualResult;
24
+ module.exports.IndividualResultSchema = require('./cqm/IndividualResult.js').IndividualResultSchema;
25
+ module.exports.ClauseResult = require('./cqm/ClauseResult.js').ClauseResult;
26
+ module.exports.ClauseResultSchema = require('./cqm/ClauseResult.js').ClauseResultSchema;
27
+ module.exports.StatementResult = require('./cqm/StatementResult.js').StatementResult;
28
+ module.exports.StatementResultSchema = require('./cqm/StatementResult.js').StatementResultchema;
@@ -29,7 +29,9 @@ require_relative 'cqm/cql_library'
29
29
  require_relative 'cqm/population_set'
30
30
  require_relative 'cqm/patient'
31
31
  require_relative 'cqm/provider'
32
- require_relative 'qdm/tacoma/individual_result'
32
+ require_relative 'cqm/individual_result'
33
+ require_relative 'cqm/statement_result'
34
+ require_relative 'cqm/clause_result'
33
35
 
34
36
  # Make Patient Generation Available
35
37
  require_relative '../../lib/generate_patients'
@@ -1,4 +1,4 @@
1
- embedded_in :tacomaPatient, class_name: 'CQM::Patient'
1
+ embedded_in :cqmPatient, class_name: 'CQM::Patient'
2
2
 
3
3
  # These are the "data criteria", or QDM datatype elements that exist on a
4
4
  # patient.
data/yarn.lock CHANGED
@@ -502,9 +502,10 @@ core-util-is@~1.0.0:
502
502
  resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
503
503
  integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
504
504
 
505
- "cql-execution@https://github.com/cqframework/cql-execution.git":
506
- version "1.3.2"
507
- resolved "https://github.com/cqframework/cql-execution.git#17fb61f4be9b917d5e8ba5cde131d2845bc45d8a"
505
+ cql-execution@^1.3.3:
506
+ version "1.3.3"
507
+ resolved "https://registry.yarnpkg.com/cql-execution/-/cql-execution-1.3.3.tgz#fae49e0dba8e32e10e259257e7377dd7944f06fc"
508
+ integrity sha512-FihPewB7HeHWZLs/r2qzu60l+bn+CjAaifN34MQHZH9+Xko7sRExp9e48f1qvboWZdKC98N3QV1WUx1NFpt2vA==
508
509
  dependencies:
509
510
  moment "^2.20.1"
510
511
  ucum "0.0.7"
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: 1.1.1.0
4
+ version: 2.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-05-22 00:00:00.000000000 Z
13
+ date: 2019-06-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundle-audit
@@ -192,7 +192,6 @@ files:
192
192
  - app/assets/javascripts/Id.js
193
193
  - app/assets/javascripts/ImmunizationAdministered.js
194
194
  - app/assets/javascripts/ImmunizationOrder.js
195
- - app/assets/javascripts/IndividualResult.js
196
195
  - app/assets/javascripts/InterventionOrder.js
197
196
  - app/assets/javascripts/InterventionPerformed.js
198
197
  - app/assets/javascripts/InterventionRecommended.js
@@ -242,22 +241,28 @@ files:
242
241
  - app/assets/javascripts/cqm/AllCQMModels.js
243
242
  - app/assets/javascripts/cqm/CQLLibrary.js
244
243
  - app/assets/javascripts/cqm/CQLStatementDependency.js
244
+ - app/assets/javascripts/cqm/ClauseResult.js
245
245
  - app/assets/javascripts/cqm/Concept.js
246
+ - app/assets/javascripts/cqm/IndividualResult.js
246
247
  - app/assets/javascripts/cqm/Measure.js
247
248
  - app/assets/javascripts/cqm/MeasurePackage.js
248
249
  - app/assets/javascripts/cqm/Patient.js
249
250
  - app/assets/javascripts/cqm/PopulationSet.js
250
251
  - app/assets/javascripts/cqm/Provider.js
252
+ - app/assets/javascripts/cqm/StatementResult.js
251
253
  - app/assets/javascripts/cqm/ValueSet.js
252
254
  - app/assets/javascripts/index.js
255
+ - app/models/cqm/clause_result.rb
253
256
  - app/models/cqm/concept.rb
254
257
  - app/models/cqm/cql_library.rb
255
258
  - app/models/cqm/cql_statement_dependency.rb
259
+ - app/models/cqm/individual_result.rb
256
260
  - app/models/cqm/measure.rb
257
261
  - app/models/cqm/measure_package.rb
258
262
  - app/models/cqm/patient.rb
259
263
  - app/models/cqm/population_set.rb
260
264
  - app/models/cqm/provider.rb
265
+ - app/models/cqm/statement_result.rb
261
266
  - app/models/cqm/valueset.rb
262
267
  - app/models/hqmfOid_to_datatype_map.json
263
268
  - app/models/model_finder.rb
@@ -326,7 +331,6 @@ files:
326
331
  - app/models/qdm/substance_order.rb
327
332
  - app/models/qdm/substance_recommended.rb
328
333
  - app/models/qdm/symptom.rb
329
- - app/models/qdm/tacoma/individual_result.rb
330
334
  - bin/build_cql_execution.sh
331
335
  - bin/console
332
336
  - bin/setup
@@ -382,8 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
382
386
  - !ruby/object:Gem::Version
383
387
  version: '0'
384
388
  requirements: []
385
- rubyforge_project:
386
- rubygems_version: 2.7.7
389
+ rubygems_version: 3.0.3
387
390
  signing_key:
388
391
  specification_version: 4
389
392
  summary: Mongo models that correspond to the QDM specification.