health-data-standards 3.2.8 → 3.2.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZGM5OTQwZTgxMjkxY2FhNTYyZGE2YTBiNWI1NWVkZTQ5ZjM5NzQ1NQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTc2MTA2NGE4ODFhY2ZjY2QzZjIxYjk2NTk5ZGExYjA0ZDQ5Nzc2Mw==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YjhjZTJmM2EwOGU4YzQ5ZWViMmFhZWJkYTNiMzJiYTQzOTgwNTRlM2E3MmI4
|
10
|
+
MTQ2ZTgzYmY3NDhiMzViNjlkOTk3NmNiZTczOTYwNjA2ZWFiMDJmZmUyMzJm
|
11
|
+
ZTE3ZDE3M2Q4ZGUyNzE1ZGRjZTUwYTM5ZDcyMGMyNmE0Yjk3ZTA=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTUzYTZmMTAxYzI1YmYwMGQ2NTFlODEwNGUxZGU1Y2Q4NzM5ZjliOGI0Njlk
|
14
|
+
NzU1MThmNTAzNGUzZTUzM2Q2NWM2ODA0ZWIzNzBiNDRjZmJmZTJhYzMxMWU1
|
15
|
+
MzA4NzY5Yzc2YWYwNDc1NGEyOWRkZGM4Y2Q4ZWMxZTEyYjJkZGE=
|
@@ -21,6 +21,7 @@ module HealthDataStandards
|
|
21
21
|
def render_patient_data(patient, measures)
|
22
22
|
HealthDataStandards.logger.warn("Generating CAT I for #{patient.first} #{patient.last}")
|
23
23
|
udcs = unique_data_criteria(measures)
|
24
|
+
|
24
25
|
data_criteria_html = udcs.map do |udc|
|
25
26
|
entries = entries_for_data_criteria(udc['data_criteria'], patient)
|
26
27
|
render_data_criteria(udc, entries)
|
@@ -37,6 +38,7 @@ module HealthDataStandards
|
|
37
38
|
end
|
38
39
|
|
39
40
|
def oid_for_code(codedValue, valueset_oids, bundle_id = nil)
|
41
|
+
return nil if codedValue.nil?
|
40
42
|
valueset_oids ||=[]
|
41
43
|
code = codedValue["code"]
|
42
44
|
code_system = codedValue["code_set"]
|
@@ -98,7 +98,7 @@ module HealthDataStandards
|
|
98
98
|
if codes.empty?
|
99
99
|
HealthDataStandards.logger.warn("No codes for #{data_criteria.code_list_id}")
|
100
100
|
end
|
101
|
-
entries.uniq!
|
101
|
+
entries.uniq! {|e| e["_id"]}
|
102
102
|
filtered_entries = entries.find_all do |entry|
|
103
103
|
# This special case is for when the code list is a reason
|
104
104
|
if data_criteria.code_list_id =~ /2\.16\.840\.1\.113883\.3\.526\.3\.100[7-9]/
|
@@ -1,3 +1,6 @@
|
|
1
|
+
|
2
|
+
<% vals = entry.values || [nil]
|
3
|
+
vals.each do |value| %>
|
1
4
|
<entry>
|
2
5
|
<procedure classCode="PROC" moodCode="EVN">
|
3
6
|
<!-- Consolidated Procedure Activity Procedure TemplateId
|
@@ -27,8 +30,9 @@
|
|
27
30
|
<%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'CPT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
|
28
31
|
<statusCode code="completed"/>
|
29
32
|
<effectiveTime <%= value_or_null_flavor(entry.start_time) %>/>
|
30
|
-
<%== render(:partial => 'result_value', :locals => {:values =>
|
33
|
+
<%== render(:partial => 'result_value', :locals => {:values => [value], :result_oids=>result_oids} ) %>
|
31
34
|
</observation>
|
32
35
|
</entryRelationship>
|
33
36
|
</procedure>
|
34
|
-
</entry>
|
37
|
+
</entry>
|
38
|
+
<% end %>
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: health-data-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
5
|
-
prerelease:
|
4
|
+
version: 3.2.10
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Andy Gregorowicz
|
@@ -13,12 +12,11 @@ authors:
|
|
13
12
|
autorequire:
|
14
13
|
bindir: bin
|
15
14
|
cert_chain: []
|
16
|
-
date: 2013-08-
|
15
|
+
date: 2013-08-28 00:00:00.000000000 Z
|
17
16
|
dependencies:
|
18
17
|
- !ruby/object:Gem::Dependency
|
19
18
|
name: rest-client
|
20
19
|
requirement: !ruby/object:Gem::Requirement
|
21
|
-
none: false
|
22
20
|
requirements:
|
23
21
|
- - ~>
|
24
22
|
- !ruby/object:Gem::Version
|
@@ -26,7 +24,6 @@ dependencies:
|
|
26
24
|
type: :runtime
|
27
25
|
prerelease: false
|
28
26
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
27
|
requirements:
|
31
28
|
- - ~>
|
32
29
|
- !ruby/object:Gem::Version
|
@@ -34,7 +31,6 @@ dependencies:
|
|
34
31
|
- !ruby/object:Gem::Dependency
|
35
32
|
name: erubis
|
36
33
|
requirement: !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
34
|
requirements:
|
39
35
|
- - ~>
|
40
36
|
- !ruby/object:Gem::Version
|
@@ -42,7 +38,6 @@ dependencies:
|
|
42
38
|
type: :runtime
|
43
39
|
prerelease: false
|
44
40
|
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
41
|
requirements:
|
47
42
|
- - ~>
|
48
43
|
- !ruby/object:Gem::Version
|
@@ -50,7 +45,6 @@ dependencies:
|
|
50
45
|
- !ruby/object:Gem::Dependency
|
51
46
|
name: mongoid
|
52
47
|
requirement: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
48
|
requirements:
|
55
49
|
- - ~>
|
56
50
|
- !ruby/object:Gem::Version
|
@@ -58,7 +52,6 @@ dependencies:
|
|
58
52
|
type: :runtime
|
59
53
|
prerelease: false
|
60
54
|
version_requirements: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
55
|
requirements:
|
63
56
|
- - ~>
|
64
57
|
- !ruby/object:Gem::Version
|
@@ -66,7 +59,6 @@ dependencies:
|
|
66
59
|
- !ruby/object:Gem::Dependency
|
67
60
|
name: activesupport
|
68
61
|
requirement: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
62
|
requirements:
|
71
63
|
- - ~>
|
72
64
|
- !ruby/object:Gem::Version
|
@@ -74,7 +66,6 @@ dependencies:
|
|
74
66
|
type: :runtime
|
75
67
|
prerelease: false
|
76
68
|
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
69
|
requirements:
|
79
70
|
- - ~>
|
80
71
|
- !ruby/object:Gem::Version
|
@@ -82,7 +73,6 @@ dependencies:
|
|
82
73
|
- !ruby/object:Gem::Dependency
|
83
74
|
name: uuid
|
84
75
|
requirement: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
76
|
requirements:
|
87
77
|
- - ~>
|
88
78
|
- !ruby/object:Gem::Version
|
@@ -90,7 +80,6 @@ dependencies:
|
|
90
80
|
type: :runtime
|
91
81
|
prerelease: false
|
92
82
|
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
83
|
requirements:
|
95
84
|
- - ~>
|
96
85
|
- !ruby/object:Gem::Version
|
@@ -98,7 +87,6 @@ dependencies:
|
|
98
87
|
- !ruby/object:Gem::Dependency
|
99
88
|
name: builder
|
100
89
|
requirement: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
90
|
requirements:
|
103
91
|
- - ~>
|
104
92
|
- !ruby/object:Gem::Version
|
@@ -106,7 +94,6 @@ dependencies:
|
|
106
94
|
type: :runtime
|
107
95
|
prerelease: false
|
108
96
|
version_requirements: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
97
|
requirements:
|
111
98
|
- - ~>
|
112
99
|
- !ruby/object:Gem::Version
|
@@ -114,7 +101,6 @@ dependencies:
|
|
114
101
|
- !ruby/object:Gem::Dependency
|
115
102
|
name: nokogiri
|
116
103
|
requirement: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
104
|
requirements:
|
119
105
|
- - ~>
|
120
106
|
- !ruby/object:Gem::Version
|
@@ -122,7 +108,6 @@ dependencies:
|
|
122
108
|
type: :runtime
|
123
109
|
prerelease: false
|
124
110
|
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
111
|
requirements:
|
127
112
|
- - ~>
|
128
113
|
- !ruby/object:Gem::Version
|
@@ -130,7 +115,6 @@ dependencies:
|
|
130
115
|
- !ruby/object:Gem::Dependency
|
131
116
|
name: rubyzip
|
132
117
|
requirement: !ruby/object:Gem::Requirement
|
133
|
-
none: false
|
134
118
|
requirements:
|
135
119
|
- - ! '>='
|
136
120
|
- !ruby/object:Gem::Version
|
@@ -138,7 +122,6 @@ dependencies:
|
|
138
122
|
type: :runtime
|
139
123
|
prerelease: false
|
140
124
|
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
125
|
requirements:
|
143
126
|
- - ! '>='
|
144
127
|
- !ruby/object:Gem::Version
|
@@ -146,7 +129,6 @@ dependencies:
|
|
146
129
|
- !ruby/object:Gem::Dependency
|
147
130
|
name: log4r
|
148
131
|
requirement: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
132
|
requirements:
|
151
133
|
- - ~>
|
152
134
|
- !ruby/object:Gem::Version
|
@@ -154,7 +136,6 @@ dependencies:
|
|
154
136
|
type: :runtime
|
155
137
|
prerelease: false
|
156
138
|
version_requirements: !ruby/object:Gem::Requirement
|
157
|
-
none: false
|
158
139
|
requirements:
|
159
140
|
- - ~>
|
160
141
|
- !ruby/object:Gem::Version
|
@@ -162,7 +143,6 @@ dependencies:
|
|
162
143
|
- !ruby/object:Gem::Dependency
|
163
144
|
name: memoist
|
164
145
|
requirement: !ruby/object:Gem::Requirement
|
165
|
-
none: false
|
166
146
|
requirements:
|
167
147
|
- - ~>
|
168
148
|
- !ruby/object:Gem::Version
|
@@ -170,7 +150,6 @@ dependencies:
|
|
170
150
|
type: :runtime
|
171
151
|
prerelease: false
|
172
152
|
version_requirements: !ruby/object:Gem::Requirement
|
173
|
-
none: false
|
174
153
|
requirements:
|
175
154
|
- - ~>
|
176
155
|
- !ruby/object:Gem::Version
|
@@ -527,26 +506,25 @@ files:
|
|
527
506
|
- VERSION
|
528
507
|
homepage: https://github.com/projectcypress/health-data-standards
|
529
508
|
licenses: []
|
509
|
+
metadata: {}
|
530
510
|
post_install_message:
|
531
511
|
rdoc_options: []
|
532
512
|
require_paths:
|
533
513
|
- lib
|
534
514
|
required_ruby_version: !ruby/object:Gem::Requirement
|
535
|
-
none: false
|
536
515
|
requirements:
|
537
516
|
- - ! '>='
|
538
517
|
- !ruby/object:Gem::Version
|
539
518
|
version: '0'
|
540
519
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
541
|
-
none: false
|
542
520
|
requirements:
|
543
521
|
- - ! '>='
|
544
522
|
- !ruby/object:Gem::Version
|
545
523
|
version: '0'
|
546
524
|
requirements: []
|
547
525
|
rubyforge_project:
|
548
|
-
rubygems_version:
|
526
|
+
rubygems_version: 2.0.7
|
549
527
|
signing_key:
|
550
|
-
specification_version:
|
528
|
+
specification_version: 4
|
551
529
|
summary: A library for generating and consuming various healthcare related formats.
|
552
530
|
test_files: []
|