cql_qdm_patientapi 1.0.0 → 1.0.1

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: dbe2473809e9572c5e6475b384dea20cf906dce2
4
- data.tar.gz: 98d854563f744b9e67de2662c694fd5a21164a8d
3
+ metadata.gz: e94e2b5dab040572191a72c72044f39cb485ca85
4
+ data.tar.gz: e143f86481ee61d60a3445e554ec078cd09470da
5
5
  SHA512:
6
- metadata.gz: eee837c9e03f8e4c79def4ca77ad250b478c37d01b10ece314fed301d74454ed1a0ba9c641f9cb033675590df656604aadecc9bb86c45ea5daca2887c955e866
7
- data.tar.gz: ebbf0c18cd98de09872b99251d5fa138528c1bfdd49dec6b4a59d3a978ca4285f8fe763560d16571632d5b0df2f1bd033c63c43030d21f79fd6def478b982bbd
6
+ metadata.gz: f6577347611dd3f4d714a572eedf5d96cff637461a4b9362d4d041e2e1ca0dde43e12a6f436dcd60cfae8947e8ad733d3a8469a679d2c595bf2147eb2bb30d98
7
+ data.tar.gz: b715387386f01056f66dc244a207d1a8740b66c06b7f9aad9978e8bf941c59ab5815c5eb409c65248b42c098a71bebf171099552d91676ee3c2e9c1588da85fb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cql_qdm_patientapi (1.0.0)
4
+ cql_qdm_patientapi (1.0.1)
5
5
  coffee-rails (~> 4.1)
6
6
  rails (~> 4.2)
7
7
  sprockets-rails (~> 2.3)
@@ -124,4 +124,4 @@ DEPENDENCIES
124
124
  teaspoon-jasmine (= 2.3.4)
125
125
 
126
126
  BUNDLED WITH
127
- 1.15.4
127
+ 1.16.0
@@ -29,7 +29,7 @@ class CQL_QDM.QDMDatatype
29
29
  allCodes = []
30
30
  for system, codes of @_codes
31
31
  for code in codes
32
- allCodes.push code: code
32
+ allCodes.push system: system, code: code
33
33
  allCodes
34
34
 
35
35
  ###
@@ -42,3 +42,16 @@ class CQL_QDM.QDMDatatype
42
42
  return new CQL_QDM.Id(@entry._id)
43
43
  else
44
44
  null
45
+
46
+ ###
47
+ @returns {Code}
48
+ ###
49
+ code: ->
50
+ for system, codes of @_codes
51
+ for code in codes
52
+ # return the first code of the first system in @_codes
53
+ return new cql.Code(code, system)
54
+ break
55
+ break
56
+ null
57
+
@@ -9,15 +9,3 @@ Represents the QDM.Id used in the execution engine.
9
9
  ###
10
10
  class CQL_QDM.Id
11
11
  constructor: (@value, @namingSystem) ->
12
-
13
- ###
14
- @returns {String}
15
- ###
16
- namingSystem: ->
17
- @namingSystem
18
-
19
- ###
20
- @returns {String}
21
- ###
22
- value: ->
23
- @namingSystem
@@ -1,3 +1,3 @@
1
1
  module CqlQdmPatientapi
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.0.0
4
+ version: 1.0.1
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: 2017-11-13 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails