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 +4 -4
- data/README.md +3 -0
- data/app/assets/javascripts/Participation.js +2 -0
- data/app/models/qdm/participation.rb +2 -0
- data/cqm-models.gemspec +1 -1
- data/data/oids.json +6 -0
- data/dist/index.js +2 -0
- data/package.json +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed7947882634a78fa7ab8d84693d49b73f00553
|
4
|
+
data.tar.gz: bfaac070cd031d3cb5e1ad431c7718ceec80ae24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37c4e67ed09e024af36f767242370acd207d21e3432e04720f9de5ec870d1df27f5ccfd5c366034e1f1cc29d974d77b598f297c4050c90e8e0cce1555f66d538
|
7
|
+
data.tar.gz: 8e635c6f718e8a42def5bfb34983cf4184a4f3ebca748ca25d1f82027aa46280739101d3654f1f7df2c4f1111e4bce28ffdb34c46f9af0a1092ba251a7d77e2a
|
data/README.md
CHANGED
@@ -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.
|
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.
|
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
|
}
|