Skip to content

Commit

Permalink
change header version for latest CMS QRDA III IG
Browse files Browse the repository at this point in the history
  • Loading branch information
dczulada committed Jul 17, 2024
1 parent 510282a commit 5b9fdfd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/qrda-export/catIII/_header.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
<!-- US Realm Header Template Id -->
<templateId root="2.16.840.1.113883.10.20.27.1.1" extension="2020-12-01"/>
{{#ry2025_submission?}}
<!-- QRDA Category III Report - CMS (V9) -->
<templateId root="2.16.840.1.113883.10.20.27.1.2" extension="2024-07-01"/>
{{/ry2025_submission?}}
{{^ry2025_submission?}}
<!-- QRDA Category III Report - CMS (V7) -->
<templateId root="2.16.840.1.113883.10.20.27.1.2" extension="2022-12-01"/>
{{/ry2025_submission?}}
<!-- This is the globally unique identifier for this QRDA document -->
<id root="{{random_id}}"/>
<!-- QRDA III document type code -->
Expand Down
5 changes: 5 additions & 0 deletions lib/qrda-export/catIII/qrda3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def initialize(aggregate_results, measures, options = {})
@performance_period_end = options[:end_time]
@submission_program = options[:submission_program]
@ry2022_submission = options[:ry2022_submission]
@ry2025_submission = options[:ry2025_submission]
end

def agg_results(measure_id, cache_entries, population_sets)
Expand Down Expand Up @@ -92,6 +93,10 @@ def ry2022_submission?
@ry2022_submission
end

def ry2025_submission?
@ry2025_submission
end

def payer_code?
self['type'] == 'PAYER'
end
Expand Down

0 comments on commit 5b9fdfd

Please sign in to comment.