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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e94e2b5dab040572191a72c72044f39cb485ca85
|
4
|
+
data.tar.gz: e143f86481ee61d60a3445e554ec078cd09470da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
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.
|
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
|
+
date: 2017-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|