cqm-reports 4.1.1 → 4.1.2

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: 253b7e13bd3b5c1755304e4ea37ddb94bbe59a4a94692c59c4bf9332ec56a6ee
4
- data.tar.gz: 22e3f623d94257e68e0902ab7787e2d97305412d85619010b0ee5b52ac66d792
3
+ metadata.gz: c84889c53f81e1413f131f6a7ef1828151342b1375fbafe5c7aabf0c0954e001
4
+ data.tar.gz: 17fdb0f2fe5037320b8861b80038127dbd3899bd55300a088a3de2b7b9573a5d
5
5
  SHA512:
6
- metadata.gz: fad5c31a8d282ed50d4d628bb0ceb3bef287a00a1acf26232766e12db2a080585825cbb65293bea9b5f8818c0fc9b72fb2205f5af34a37a42f8b05bc658a525e
7
- data.tar.gz: 725ddfa8f662591803a2a578637ebff876597f62c67156b6fad8064fa7b5c7b10a9e82383cbbedfbc96e34b7b77afb7d06705065b5c509a10c071c12f0831fa2
6
+ metadata.gz: 9d672b492f6f4c9d7bd3f2db62f126df717632b81d15c15f29b4c875151eb0f95c2a5df0b9156e099ba49b6ed44e8f0282bf0696800b5bec37a12682efb2db30
7
+ data.tar.gz: c6deea05526b3ce0ede6c02f2203fbabc7f42c46685563e0f8d8f895f3ccb191304aed021abb3b8b0157d7bb6ea6d991ff7705a12d70ae0060fbb85b4038b44e
data/Gemfile CHANGED
@@ -20,6 +20,7 @@ group :test do
20
20
  gem 'cane', '~> 2.3.0'
21
21
  gem 'codecov'
22
22
  gem 'simplecov', :require => false
23
+ gem 'simplecov-cobertura'
23
24
  gem 'webmock'
24
25
  gem 'minitest', '~> 5.3'
25
26
  gem 'minitest-reporters'
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
5
  {{#patient}}
6
- <title>Cypress Certification Patient Test Record: {{given_name}} {{familyName}}</title>
6
+ <title>Patient Test Record: {{given_name}} {{familyName}}</title>
7
7
  {{/patient}}
8
8
  {{#include_style?}}
9
9
  {{> _header_css}}
@@ -11,7 +11,7 @@
11
11
  </head>
12
12
  <body>
13
13
  {{#patient}}
14
- <h1 class="h1center">Cypress Certification Patient Test Record: {{given_name}} {{familyName}}</h1>
14
+ <h1 class="h1center">Patient Test Record: {{given_name}} {{familyName}}</h1>
15
15
  <div class="div-table">
16
16
  <div class="div-table-body">
17
17
  <div class="div-head-row patient_narr_tr panel panel-default patient-details">
@@ -36,7 +36,7 @@
36
36
  <div class="div-table-head patient_narr_th panel-heading"><span class="td_label">Insurance Providers</span></div>
37
37
  <div class="div-table-head">{{{payer}}}{{#demographic_code_description}}payer{{/demographic_code_description}}</div>
38
38
  <div class="div-table-head patient_narr_th panel-heading"><span class="td_label">Patient IDs</span></div>
39
- <div class="div-table-head">{{{mrn}}} Cypress</div>
39
+ <div class="div-table-head">{{{mrn}}}</div>
40
40
  </div>
41
41
  <div class="div-head-row patient_narr_tr panel panel-default patient-details">
42
42
  <div class="div-table-head patient_narr_th panel-heading"><span class="td_label">Address</span></div>
@@ -22,6 +22,11 @@ class Qrda1R5 < Mustache
22
22
  @submission_program = options[:submission_program]
23
23
  @medicare_beneficiary_identifier = options[:medicare_beneficiary_identifier]
24
24
  @hicn = options[:hicn]
25
+ @authoring_system = options[:authoring_system]
26
+ end
27
+
28
+ def authoring_system
29
+ @authoring_system || 'TestSystem'
25
30
  end
26
31
 
27
32
  def patient_addresses
@@ -19,8 +19,8 @@
19
19
  </addr>
20
20
  <telecom use="WP" value="tel:(781)271-3000"/>
21
21
  <assignedAuthoringDevice>
22
- <manufacturerModelName>Cypress</manufacturerModelName>
23
- <softwareName>Cypress</softwareName>
22
+ <manufacturerModelName>{{authoring_system}}</manufacturerModelName>
23
+ <softwareName>{{authoring_system}}</softwareName>
24
24
  </assignedAuthoringDevice>
25
25
  </assignedAuthor>
26
26
  </author>
@@ -8,7 +8,7 @@
8
8
  {{^provider_ccn}}
9
9
  <id extension="800890" root="2.16.840.1.113883.4.336"/>
10
10
  {{/provider_ccn}}
11
- <name>Cypress Test Deck</name>
11
+ <name>{{authoring_system}} Test Deck</name>
12
12
  <telecom use="WP" value="tel:(781)271-3000"/>
13
13
  {{#addresses}}
14
14
  <addr use="HP">
@@ -28,7 +28,7 @@
28
28
  <assignedCustodian>
29
29
  <representedCustodianOrganization>
30
30
  <id extension="800890" root="2.16.840.1.113883.4.336"/>
31
- <name>Cypress Test Deck</name>
31
+ <name>{{authoring_system}} Test Deck</name>
32
32
  <telecom use="WP" value="tel:(781)271-3000"/>
33
33
  <addr>
34
34
  <streetAddressLine>202 Burlington Rd.</streetAddressLine>
@@ -19,7 +19,7 @@
19
19
  </assignedPerson>
20
20
  <representedOrganization>
21
21
  <id root="2.16.840.1.113883.19.5"/>
22
- <name>Cypress</name>
22
+ <name>{{authoring_system}}</name>
23
23
  </representedOrganization>
24
24
  </assignedEntity>
25
25
  </legalAuthenticator>
@@ -3,7 +3,6 @@
3
3
  <!-- Encounter Diagnosis QDM -->
4
4
  <templateId extension="2021-08-01" root="2.16.840.1.113883.10.20.24.3.168"/>
5
5
  <code code="29308-4" codeSystem="2.16.840.1.113883.6.1"/>
6
- <statusCode code="completed"/>
7
6
  {{#code}}
8
7
  <value {{> _code}} xsi:type="CD"/>
9
8
  {{/code}}
@@ -18,7 +18,7 @@
18
18
  </addr>
19
19
  <telecom use="WP" value="tel:(781)271-3000"/>
20
20
  <playingEntity classCode="PLC">
21
- <name>Cypress Test Deck</name>
21
+ <name>{{authoring_system}} Test Deck</name>
22
22
  </playingEntity>
23
23
  </participantRole>
24
24
  </participant>
@@ -3,8 +3,14 @@
3
3
  <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
4
4
  <!-- US Realm Header Template Id -->
5
5
  <templateId root="2.16.840.1.113883.10.20.27.1.1" extension="2020-12-01"/>
6
+ {{#ry2025_submission?}}
7
+ <!-- QRDA Category III Report - CMS (V9) -->
8
+ <templateId root="2.16.840.1.113883.10.20.27.1.2" extension="2024-07-01"/>
9
+ {{/ry2025_submission?}}
10
+ {{^ry2025_submission?}}
6
11
  <!-- QRDA Category III Report - CMS (V7) -->
7
12
  <templateId root="2.16.840.1.113883.10.20.27.1.2" extension="2022-12-01"/>
13
+ {{/ry2025_submission?}}
8
14
  <!-- This is the globally unique identifier for this QRDA document -->
9
15
  <id root="{{random_id}}"/>
10
16
  <!-- QRDA III document type code -->
@@ -28,6 +28,8 @@ class Qrda3 < Mustache
28
28
  @performance_period_end = options[:end_time]
29
29
  @submission_program = options[:submission_program]
30
30
  @ry2022_submission = options[:ry2022_submission]
31
+ @ry2025_submission = options[:ry2025_submission]
32
+ @authoring_system = options[:authoring_system]
31
33
  end
32
34
 
33
35
  def agg_results(measure_id, cache_entries, population_sets)
@@ -92,6 +94,14 @@ class Qrda3 < Mustache
92
94
  @ry2022_submission
93
95
  end
94
96
 
97
+ def ry2025_submission?
98
+ @ry2025_submission
99
+ end
100
+
101
+ def authoring_system
102
+ @authoring_system || 'TestSystem'
103
+ end
104
+
95
105
  def payer_code?
96
106
  self['type'] == 'PAYER'
97
107
  end
@@ -1,7 +1,7 @@
1
1
  <author>
2
2
  <time value="{{current_time}}"/>
3
3
  <assignedAuthor>
4
- <!-- id extension="Cypress" root="2.16.840.1.113883.19.5"/ -->
4
+ <!-- id extension="{{authoring_system}}" root="2.16.840.1.113883.19.5"/ -->
5
5
  <!-- NPI -->
6
6
  <id extension="1982671962" root="2.16.840.1.113883.4.6"/>
7
7
  <addr>
@@ -13,8 +13,8 @@
13
13
  </addr>
14
14
  <telecom use="WP" value="tel:(781)271-3000"/>
15
15
  <assignedAuthoringDevice>
16
- <manufacturerModelName>Cypress</manufacturerModelName>
17
- <softwareName>Cypress</softwareName>
16
+ <manufacturerModelName>{{authoring_system}}</manufacturerModelName>
17
+ <softwareName>{{authoring_system}}</softwareName>
18
18
  </assignedAuthoringDevice>
19
19
  <representedOrganization>
20
20
  <!-- The organization id is optional, but the name is required -->
@@ -3,7 +3,7 @@
3
3
  <representedCustodianOrganization>
4
4
  <!-- HQR Only -->
5
5
  <id extension="800890" root="2.16.840.1.113883.4.336"/>
6
- <name>Cypress Test Deck</name>
6
+ <name>{{authoring_system}} Test Deck</name>
7
7
  <telecom use="WP" value="tel:(781)271-3000"/>
8
8
  <addr>
9
9
  <streetAddressLine>202 Burlington Rd.</streetAddressLine>
@@ -19,7 +19,7 @@
19
19
  </assignedPerson>
20
20
  <representedOrganization>
21
21
  <id root="2.16.840.1.113883.19.5"/>
22
- <name>Cypress</name>
22
+ <name>{{authoring_system}}</name>
23
23
  </representedOrganization>
24
24
  </assignedEntity>
25
25
  </legalAuthenticator>
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: 4.1.1
4
+ version: 4.1.2
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: 2024-05-03 00:00:00.000000000 Z
11
+ date: 2024-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cqm-models