cqm-models 4.0.2 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.gitignore +1 -0
- data/app/assets/javascripts/basetypes/Any.js +1 -1
- data/app/models/qdm/basetypes/data_element.rb +1 -0
- data/cqm-models.gemspec +1 -1
- data/dist/browser.js +10639 -15168
- data/dist/index.js +10639 -15168
- data/package-lock.json +4083 -0
- data/package.json +6 -5
- data/yarn.lock +951 -402
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 930fdd6c260f1cf2e8b97f3abb93fe74fafe8c5caf418c4fb41f7975a733d555
|
4
|
+
data.tar.gz: 896a73479c131df363f00dcd8627b83a6fd39e5b3ced36c3b8983e9d96a549c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b91579699b17533ace81ac84e05997fd903b3d6ca415f912dbcf03bd93a0dfdacd1889f27cbd1e25ef5db23bb9090dc5a377a66084f0fe532dd22600d46042e
|
7
|
+
data.tar.gz: 6ef858a99cbec230afc9661690318838a72882837dac94440fab97327da096164aba4947083d06caac036bd7d9531ac31b2ae55ae6bb1be9ac4e80b9af9ecfab
|
data/.github/workflows/ci.yml
CHANGED
data/.gitignore
CHANGED
@@ -7,7 +7,7 @@ function Any(key, options) {
|
|
7
7
|
Any.prototype = Object.create(mongoose.SchemaType.prototype);
|
8
8
|
|
9
9
|
function RecursiveCast(any) {
|
10
|
-
if (any && any.value && any.unit) {
|
10
|
+
if (any && any.value !== undefined && any.unit) {
|
11
11
|
return new cql.Quantity(any.value, any.unit);
|
12
12
|
}
|
13
13
|
|
@@ -65,6 +65,7 @@ module QDM
|
|
65
65
|
def shift_dates(seconds)
|
66
66
|
fields.keys.each do |field|
|
67
67
|
send(field + '=', (send(field).to_time + seconds.seconds).to_datetime) if send(field).is_a? DateTime
|
68
|
+
send(field + '=', (send(field).to_time + seconds.seconds).to_datetime) if send(field).is_a? Time
|
68
69
|
send(field + '=', send(field).shift_dates(seconds)) if (send(field).is_a? Interval) || (send(field).is_a? DataElement)
|
69
70
|
|
70
71
|
# Special case for facility locations
|
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 = '4.
|
7
|
+
spec.version = '4.1.1'
|
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.'
|