cqm-reports 4.1.1 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/lib/html-export/qdm-patient/qdm_patient.mustache +3 -3
- data/lib/qrda-export/catI-r5/qrda1_r5.rb +5 -0
- data/lib/qrda-export/catI-r5/qrda_header/_author.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_header/_custodian.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_header/_legal_authenticator.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis_qdm.mustache +0 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_facility_location.mustache +1 -1
- data/lib/qrda-export/catIII/_header.mustache +6 -0
- data/lib/qrda-export/catIII/qrda3.rb +10 -0
- data/lib/qrda-export/catIII/qrda_header/_author.mustache +3 -3
- data/lib/qrda-export/catIII/qrda_header/_custodian.mustache +1 -1
- data/lib/qrda-export/catIII/qrda_header/_legal_authenticator.mustache +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d5f83d79b0b7295876fb917ec83383842ce49e204d01c6005922ff91768b541
|
|
4
|
+
data.tar.gz: fc5bf5bf6ba3865c0eff6c25aa04dd23f5d9929502e3f989edba6e9602c177a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0200cc9134c712897840cf3a580dbd00f33fc2d89f97a75750b6a96db9851104f67e7fe42cd83547de97e5bae0354ab2398340f50a78b8f214a6d6b6c57c25a
|
|
7
|
+
data.tar.gz: d8959ab387cc0d6fdef054ccebe1d185d287f28fd9f562cef5da888f7394beffad526aaf01a9b2da7fad64833d995a891bae2be74b665b1d1e103554756e0a47
|
data/Gemfile
CHANGED
|
@@ -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>
|
|
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">
|
|
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}}}
|
|
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>
|
|
23
|
-
<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>
|
|
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>
|
|
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>
|
|
@@ -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-12-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="
|
|
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>
|
|
17
|
-
<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>
|
|
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>
|
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.
|
|
4
|
+
version: 4.1.3
|
|
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:
|
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cqm-models
|