cqm-models 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5719a43a0d7e79b0d881d2df7d0e55603ddd5ecc
4
- data.tar.gz: d62e876c02b6b0a99d50d13022487212a67e414c
3
+ metadata.gz: 9ed7947882634a78fa7ab8d84693d49b73f00553
4
+ data.tar.gz: bfaac070cd031d3cb5e1ad431c7718ceec80ae24
5
5
  SHA512:
6
- metadata.gz: 8bf239fcba90769d346d67834f7242ff85ba2e62ea4f0def666aa5f6a1c9bbdb03550fbba2542628a8532f351367a8edca884b562d66ee61e982ab0e492badc6
7
- data.tar.gz: 958e5fe5c4e250e501bbf459158c2bb20cd92be577f8c4cacb14274db4971ab80a39b46dd0c031b64a29081a41dea143b2bfe27a7e6ed5ea9897ecde3e8f5f0d
6
+ metadata.gz: 37c4e67ed09e024af36f767242370acd207d21e3432e04720f9de5ec870d1df27f5ccfd5c366034e1f1cc29d974d77b598f297c4050c90e8e0cce1555f66d538
7
+ data.tar.gz: 8e635c6f718e8a42def5bfb34983cf4184a4f3ebca748ca25d1f82027aa46280739101d3654f1f7df2c4f1111e4bce28ffdb34c46f9af0a1092ba251a7d77e2a
data/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ [![Build Status](https://travis-ci.org/projecttacoma/cqm-models.svg?branch=master)](https://travis-ci.org/projecttacoma/cqm-models)
2
+ [![Gem Version](https://badge.fury.io/rb/cqm-models.svg)](https://badge.fury.io/rb/cqm-models)
3
+
1
4
  # cqm-models
2
5
 
3
6
  ## QDM Models
@@ -13,6 +13,8 @@ const [Number, String] = [
13
13
 
14
14
  const ParticipationSchema = DataElementSchema({
15
15
  participationPeriod: Interval,
16
+ hqmfOid: { type: String, default: '2.16.840.1.113883.10.20.28.4.130' },
17
+ category: { type: String, default: 'participation' },
16
18
  qdmVersion: { type: String, default: '5.3' },
17
19
  _type: { type: String, default: 'Participation' },
18
20
 
@@ -4,6 +4,8 @@ module QDM
4
4
  include Mongoid::Document
5
5
  embedded_in :patient
6
6
  field :participationPeriod, type: QDM::Interval
7
+ field :hqmfOid, type: String, default: '2.16.840.1.113883.10.20.28.4.130'
8
+ field :category, type: String, default: 'participation'
7
9
  field :qdmVersion, type: String, default: '5.3'
8
10
  end
9
11
  end
data/cqm-models.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'cqm-models'
7
- spec.version = '0.7.6'
7
+ spec.version = '0.7.7'
8
8
  spec.authors = ['aholmes@mitre.org', 'mokeefe@mitre.org', 'lades@mitre.org']
9
9
 
10
10
  spec.summary = 'Mongo models that correspond to the QDM specification.'
data/data/oids.json CHANGED
@@ -413,6 +413,12 @@
413
413
  "category": "patient_characteristic",
414
414
  "status": "race"
415
415
  },
416
+ "participation": {
417
+ "hqmf_oid": "2.16.840.1.113883.10.20.28.4.130",
418
+ "qrda_oid": "",
419
+ "category": "participation",
420
+ "status": ""
421
+ },
416
422
  "physical_exam": {
417
423
  "hqmf_oid": "2.16.840.1.113883.10.20.28.3.60",
418
424
  "qrda_oid": "",
data/dist/index.js CHANGED
@@ -1331,6 +1331,8 @@ const [Number, String] = [
1331
1331
 
1332
1332
  const ParticipationSchema = DataElementSchema({
1333
1333
  participationPeriod: Interval,
1334
+ hqmfOid: { type: String, default: '2.16.840.1.113883.10.20.28.4.130' },
1335
+ category: { type: String, default: 'participation' },
1334
1336
  qdmVersion: { type: String, default: '5.3' },
1335
1337
  _type: { type: String, default: 'Participation' },
1336
1338
 
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cqm-models",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
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": {
@@ -28,7 +28,7 @@
28
28
  "scripts": {
29
29
  "test": "jasmine",
30
30
  "lint": "eslint 'app/assets/javascripts/**/*.js'",
31
- "dist": "browserify app/assets/javascripts/index.js > dist/index.js",
31
+ "dist": "yarn && browserify app/assets/javascripts/index.js > dist/index.js",
32
32
  "dist_test": "browserify app/assets/javascripts/index.js > tmp/dist/index.js"
33
33
  }
34
34
  }
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: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - aholmes@mitre.org