cqm-reports 3.1.9 → 3.1.10
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 189b0fb1eea44b69983a9e7254bcb3fc328bc1b98d3b22f020bd984d6118d415
|
4
|
+
data.tar.gz: 10f89503bdf5af98f065ce348c0e32220dffd5db99e06d7f8eed88c73f593f1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1dba82c4a1b8689bd57a3d714242b8a9eac60ffe95b427e949e361529a03858465adf62196ff4b6886ea6bb0f06312278bd4e12ce1552305846f5d36dc33e0f
|
7
|
+
data.tar.gz: e315238f7f2b9aa85b0d84d9a4e1a6e8190bebc6e1a5b847ba1b40d767ea29eb8f2d87d6ce911b9ae22ae8523e6d43c213d91e5fc7c51fdad14b5474d6337b0d
|
@@ -83,7 +83,7 @@ class QdmPatient < Mustache
|
|
83
83
|
end
|
84
84
|
|
85
85
|
def identifier_for_element(identifier)
|
86
|
-
"#{identifier['value']} (#{identifier['namingSystem']})"
|
86
|
+
identifier ? "#{identifier['value']} (#{identifier['namingSystem']})" : ''
|
87
87
|
end
|
88
88
|
|
89
89
|
def code_code_system_string
|
@@ -91,7 +91,7 @@ class QdmPatient < Mustache
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def code_for_element(element)
|
94
|
-
"#{element['code']} (#{HQMF::Util::CodeSystemHelper.code_system_for(element['system'])})#{code_description(element)}"
|
94
|
+
element ? "#{element['code']} (#{HQMF::Util::CodeSystemHelper.code_system_for(element['system'])})#{code_description(element)}" : ''
|
95
95
|
end
|
96
96
|
|
97
97
|
def code_system_name
|
@@ -75,7 +75,12 @@ module QRDA
|
|
75
75
|
code_list << code_if_present(code_element)
|
76
76
|
translations = code_element.xpath('cda:translation')
|
77
77
|
translations.each do |translation|
|
78
|
-
|
78
|
+
translation_code = code_if_present(translation)
|
79
|
+
next unless translation_code
|
80
|
+
|
81
|
+
code_list << translation_code
|
82
|
+
@warnings << ValidationError.new(message: "Translation code #{translation_code.system}:#{translation_code.code} may not be used for eCQM calculation by a receiving system. Ensure that the root code includes a code from the eCQM valueset.",
|
83
|
+
location: coded_element.path)
|
79
84
|
end
|
80
85
|
end
|
81
86
|
code_list.compact
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cqm-reports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The MITRE Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cqm-models
|