cql_qdm_patientapi 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 659f615743826808dbce1d1ec7dd5e1385426919
4
- data.tar.gz: 5625c679daf1daee95e4342a0de2fb6eda0a93ea
3
+ metadata.gz: 90dd947bbcc35e52cd872156110582674021c47e
4
+ data.tar.gz: 1459f79347adb75bd22385cbe0cdd1e04f13c9bd
5
5
  SHA512:
6
- metadata.gz: 4e9f06d1e02c62785c618bc02664dc3c09afd52d885b6bda4ef3b8d88c0fde2bef1411801d225d85d46cf7ed9e332ea3dcba4dae91ed5af5e298e3e5157315c4
7
- data.tar.gz: c60010d6a24ffd6a08f84913692c50ddcb5f3422a7540792c7189573ff5d5b757cbfbc966e10d149099ee35c3a300c41fe586cfb858d170f4b83c43e8b457965
6
+ metadata.gz: '029890ec9d29f76de20513a6748f1350c982e70df4826d735a8337134d40047c4ea7ae44efacd08b16745dce625e53786e285016b618c59098dd91dc2e1478ee'
7
+ data.tar.gz: 5425b8705137d6d19aa3b4e7ecd19cdc7261ab154a4ff528257ff3b1c11e1a76ecfcacadabfc965c9d5027f21753763a4c738f4ab436d8e36c20b98a7eab41c5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cql_qdm_patientapi (1.1.2)
4
+ cql_qdm_patientapi (1.1.3)
5
5
  coffee-rails (~> 4.1)
6
6
  rails (~> 4.2)
7
7
  sprockets-rails (~> 2.3)
@@ -1,3 +1,3 @@
1
1
  module CqlQdmPatientapi
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
@@ -5658,7 +5658,12 @@
5658
5658
  function Quantity(json) {
5659
5659
  Quantity.__super__.constructor.apply(this, arguments);
5660
5660
  this.unit = json.unit;
5661
- this.value = parseFloat(json.value);
5661
+ if (json.value == null) {
5662
+ this.value = null;
5663
+ } else {
5664
+ this.value = parseFloat(json.value);
5665
+ isValidDecimal(this.value);
5666
+ }
5662
5667
  if ((this.unit != null) && !is_valid_ucum_unit(this.unit)) {
5663
5668
  throw new Error("\'" + this.unit + "\' is not a valid UCUM unit.");
5664
5669
  }
@@ -44173,7 +44178,7 @@
44173
44178
  },{"../datatypes/datetime":7,"../datatypes/uncertainty":11}],134:[function(require,module,exports){
44174
44179
  // Generated by CoffeeScript 1.12.7
44175
44180
  (function() {
44176
- var DateTime, Exception, MAX_DATE_VALUE, MAX_FLOAT_VALUE, MAX_INT_VALUE, MAX_TIME_VALUE, MIN_DATE_VALUE, MIN_FLOAT_PRECISION_VALUE, MIN_FLOAT_VALUE, MIN_INT_VALUE, OverFlowException, Uncertainty, isValidDecimal, isValidInteger, predecessor, successor,
44181
+ var DateTime, Exception, MAX_DATE_VALUE, MAX_FLOAT_VALUE, MAX_INT_VALUE, MAX_TIME_VALUE, MIN_DATE_VALUE, MIN_FLOAT_PRECISION_VALUE, MIN_FLOAT_VALUE, MIN_INT_VALUE, MIN_TIME_VALUE, OverFlowException, Uncertainty, isValidDecimal, isValidInteger, predecessor, successor,
44177
44182
  extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
44178
44183
  hasProp = {}.hasOwnProperty;
44179
44184
 
@@ -44197,7 +44202,7 @@
44197
44202
 
44198
44203
  module.exports.MAX_DATE_VALUE = MAX_DATE_VALUE = DateTime.parse("9999-12-31T23:59:59.999");
44199
44204
 
44200
- module.exports.MIN_TIME_VALUE = MAX_TIME_VALUE = DateTime.parse("0000-01-01T00:00:00.000");
44205
+ module.exports.MIN_TIME_VALUE = MIN_TIME_VALUE = DateTime.parse("0000-01-01T00:00:00.000");
44201
44206
 
44202
44207
  module.exports.MAX_TIME_VALUE = MAX_TIME_VALUE = DateTime.parse("0000-01-01T23:59:59.999");
44203
44208
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cql_qdm_patientapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - The MITRE Corporation
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-29 00:00:00.000000000 Z
11
+ date: 2018-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails