From 4046f3d507007a0693b59d50ff268fbe966eeabd Mon Sep 17 00:00:00 2001 From: dczulada Date: Tue, 30 Jul 2024 10:03:37 -0400 Subject: [PATCH] Cms cat 3 (#1883) * Use updated IG for CMS Cat III * point to git branch * update rexml for bundle audit * Cypress Certification is no longer shown in the HTML patient view * update schematron to the one published on 7/25 * point to gem, not branch of cqm-reports --- Gemfile | 2 +- Gemfile.lock | 4 +- app/models/c2_task.rb | 3 +- app/models/cat3_filter_task.rb | 2 +- app/models/multi_measure_cat3_task.rb | 2 +- config/cypress.yml | 1 - features/step_definitions/record.rb | 4 +- lib/cypress/api_measure_evaluator.rb | 2 +- .../schematron/2024.0.0/EP/EP_CAT_III.sch | 1329 +++++++++++++++++ resources/schematron/2024.0.0/EP/voc.xml | 728 +++++++++ .../integration/api_measure_evaluator_test.rb | 2 +- 11 files changed, 2067 insertions(+), 12 deletions(-) create mode 100644 resources/schematron/2024.0.0/EP/EP_CAT_III.sch create mode 100644 resources/schematron/2024.0.0/EP/voc.xml diff --git a/Gemfile b/Gemfile index 1c6efda0d..3e0d484f7 100644 --- a/Gemfile +++ b/Gemfile @@ -18,7 +18,7 @@ gem 'os' gem 'cqm-models', '~> 4.2.0' gem 'cqm-parsers', '~> 4.1.1.0' -gem 'cqm-reports', '~> 4.1.0' +gem 'cqm-reports', '~> 4.1.2' gem 'cqm-validators', '~> 4.0.5' # # Use faker to generate addresses diff --git a/Gemfile.lock b/Gemfile.lock index 68ddaaccc..e1d0c0d5b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -176,7 +176,7 @@ GEM typhoeus uuid (~> 2.3.7) zip-zip (~> 0.3) - cqm-reports (4.1.1) + cqm-reports (4.1.2) cqm-models (~> 4.0) cqm-validators (~> 4.0) erubis (~> 2.7) @@ -608,7 +608,7 @@ DEPENDENCIES codecov cqm-models (~> 4.2.0) cqm-parsers (~> 4.1.1.0) - cqm-reports (~> 4.1.0) + cqm-reports (~> 4.1.2) cqm-validators (~> 4.0.5) cucumber-rails daemons diff --git a/app/models/c2_task.rb b/app/models/c2_task.rb index 847ed2672..ec0aaa9db 100644 --- a/app/models/c2_task.rb +++ b/app/models/c2_task.rb @@ -42,8 +42,7 @@ def good_results false end options = { provider: product_test.patients.first.providers.first, submission_program: cat3_submission_program, - start_time: start_date, end_time: end_date, ry2022_submission: product_test.bundle.major_version == '2021', - ry2025_submission: product_test.bundle.major_version == '2024' } + start_time: start_date, end_time: end_date, ry2025_submission: product_test.bundle.major_version == '2024' } Qrda3.new(product_test.expected_results_with_all_supplemental_codes, product_test.measures, options).render end diff --git a/app/models/cat3_filter_task.rb b/app/models/cat3_filter_task.rb index 54f4e4267..841b995e5 100644 --- a/app/models/cat3_filter_task.rb +++ b/app/models/cat3_filter_task.rb @@ -26,7 +26,7 @@ def good_results false end options = { provider: product_test.patients.first.providers.first, submission_program: cat3_submission_program, - start_time: start_date, end_time: end_date, ry2022_submission: product_test.bundle.major_version == '2021' } + start_time: start_date, end_time: end_date, ry2025_submission: product_test.bundle.major_version == '2024' } Qrda3.new(product_test.expected_results_with_all_supplemental_codes, product_test.measures, options).render end end diff --git a/app/models/multi_measure_cat3_task.rb b/app/models/multi_measure_cat3_task.rb index ce57b94b1..0d28f0d74 100644 --- a/app/models/multi_measure_cat3_task.rb +++ b/app/models/multi_measure_cat3_task.rb @@ -20,7 +20,7 @@ def execute(file, user) def good_results # Set the Submission Program to MIPS_INDIV options = { provider: product_test.patients.first.providers.first, submission_program: 'MIPS_INDIV', - start_time: start_date, end_time: end_date, ry2022_submission: product_test.bundle.major_version == '2021' } + start_time: start_date, end_time: end_date, ry2025_submission: product_test.bundle.major_version == '2024' } Qrda3.new(product_test.expected_results_with_all_supplemental_codes, product_test.measures, options).render end end diff --git a/config/cypress.yml b/config/cypress.yml index c77ece721..06d972c2c 100644 --- a/config/cypress.yml +++ b/config/cypress.yml @@ -77,7 +77,6 @@ version_config: code: "854901" codeSystem: "2.16.840.1.113883.6.88" CMSQRDA3SchematronValidator_warnings: - - '2025 CMS QRDA III Implementation Guide for Eligible Clinicians is not available' CMSQRDA1HQRSchematronValidator_warnings: # Configuration for values to use when randomizing patients in test decks diff --git a/features/step_definitions/record.rb b/features/step_definitions/record.rb index d5afb9151..7eb866fe0 100644 --- a/features/step_definitions/record.rb +++ b/features/step_definitions/record.rb @@ -132,7 +132,7 @@ end Then(/^the user sees details$/) do - page.assert_text "Cypress Certification Patient Test Record: #{@patient.first_names} #{@patient.familyName}" + page.assert_text "Patient Test Record: #{@patient.first_names} #{@patient.familyName}" page.assert_text @patient.gender @measures = @bundle.measures.where(:_id.in => @patient.calculation_results.map(&:measure_id)) sf_patient = @patient.clone @@ -185,7 +185,7 @@ end Then(/^the user should see vendor patient details$/) do - page.assert_text "Cypress Certification Patient Test Record: #{@patient.first_names} #{@patient.familyName}" + page.assert_text "Patient Test Record: #{@patient.first_names} #{@patient.familyName}" page.assert_text @patient.gender page.assert_text 'View Logic Highlighting' page.first('button', text: 'View Logic Highlighting').click diff --git a/lib/cypress/api_measure_evaluator.rb b/lib/cypress/api_measure_evaluator.rb index 70d1dd5f5..f937b007e 100644 --- a/lib/cypress/api_measure_evaluator.rb +++ b/lib/cypress/api_measure_evaluator.rb @@ -488,7 +488,7 @@ def calcuate_cat3(product_test_id, bundle_id) false end options = { provider: pt.patients.first.providers.first, submission_program: cat3_submission_program, - start_time: pt.start_date, end_time: pt.end_date, ry2022_submission: pt.bundle.major_version == '2021' } + start_time: pt.start_date, end_time: pt.end_date, ry2025_submission: pt.bundle.major_version == '2024' } xml = Qrda3.new(results, pt.measures, options).render Patient.find(patient_ids).each(&:destroy) diff --git a/resources/schematron/2024.0.0/EP/EP_CAT_III.sch b/resources/schematron/2024.0.0/EP/EP_CAT_III.sch new file mode 100644 index 000000000..0c4033da7 --- /dev/null +++ b/resources/schematron/2024.0.0/EP/EP_CAT_III.sch @@ -0,0 +1,1329 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Data types of CD or CE SHALL have either @code or @nullFlavor but SHALL NOT have both @code and @nullFlavor (CONF:CMS_0107). + + + + + Data types of BL SHALL have either @value or @nullFlavor but SHALL NOT have both @value and @nullFlavor (CONF: CMS_0105) + + + + + Data types of CS SHALL have either @code or @nullFlavor but SHALL NOT have both @code and @nullFlavor (CONF: CMS_0106) + + + + + Data types of II SHALL have either @root or @nullFlavor or (@root and @nullFlavor) or (@root and @extension) but SHALL NOT have all three of (@root and @extension and @nullFlavor) (CONF: CMS_0108) + + + + + Data types of PQ SHALL have either @value or @nullFlavor but SHALL NOT have both @value and @nullFlavor. If @value is present then @unit SHALL be present but @unit SHALL NOT be present if @value is not present. (CONF: CMS_0110) + + + + + Data types of ST SHALL either not be empty or have @nullFlavor. (CONF: CMS_0112) + + + + + Data types of URL SHALL have either @value or @nullFlavor but SHALL NOT have both @value and @nullFlavor (CONF:CMS_0114). + + + + + Data types of REAL SHALL NOT have both @value and @nullFlavor. (CONF: CMS_0111) + + + + + Data types of INT SHALL NOT have both @value and @nullFlavor. (CONF: CMS_0109) + + + + + + + + The NPI should have 10 digits. (CONF: CMS_0115) + The NPI should be composed of all digits. (CONF: CMS_0116) + The NPI should have a correct checksum, using the Luhn algorithm. (CONF: CMS_0117) + The NPI should have @extension or @nullFlavor, but not both. (CONF: CMS_0118) + + + + + When a Tax Identification Number is used, the provided TIN must be in valid format (9 decimal digits). (CONF: CMS_0119) + The TIN SHALL have either @extension or @nullFlavor, but not both. (CONF: CMS_0120) + + + + + Data types of TS SHALL have either @value or @nullFlavor but SHALL NOT have @value and @nullFlavor. (CONF: CMS_0113) + + + + + + + A Coordinated Universal Time (UTC time) offset should not be used anywhere in a QRDA Category III file or, if a UTC time offset is needed anywhere, then it *must* be specified *everywhere* a time field is provided. (CONF: CMS_0122) + + + + + This document SHALL contain exactly one QRDA-Category-III-Report templateId (@root='2.16.840.1.113883.10.20.27.1.1') with appropriate @extension (version) of the form 'yyyy-mm-dd'.) + This document SHALL contain exactly one QRDA Category IIII Report - CMS templateId (@root='2.16.840.1.113883.10.20.27.1.2') with appropriate @extension (version) of the form 'yyyy-mm-dd'. + + + + + SHALL contain exactly one [1..1] templateId (CONF:CMS_41) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.16" (CONF:CMS_42). SHALL contain exactly one [1..1] @extension="2019-05-01" (CONF:CMS_43). + + + + + SHALL contain at least one [1..*] entryRelationship (CONF:4427-18141_C01) such that it SHALL contain exactly one [1..1] @typeCode="COMP" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:3259-18146). SHALL contain exactly one [1..1] Payer Supplemental Data Element - CMS (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.18:2018-05-01) (CONF:4427-18151_C01). + SHALL contain at least one [1..*] entryRelationship (CONF:4427-18136_C01) such that it SHALL contain exactly one [1..1] @typeCode="COMP" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:3259-18137). SHALL contain exactly one [1..1] Sex Supplemental Data Element (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.6:2016-09-01) (CONF:3259-18138). + SHALL contain at least one [1..*] entryRelationship (CONF:4427-18140_C01) such that it SHALL contain exactly one [1..1] @typeCode="COMP" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:3259-18145). SHALL contain exactly one [1..1] Race Supplemental Data Element (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.8:2016-09-01) (CONF:3259-18150). + SHALL contain at least one [1..*] entryRelationship (CONF:4427-18139_C01) such that it SHALL contain exactly one [1..1] @typeCode="COMP" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:3259-18144). SHALL contain exactly one [1..1] Ethnicity Supplemental Data Element (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.7:2016-09-01) (CONF:3259-18149). + + + + + SHALL contain exactly one [1..1] templateId (CONF:CMS_54) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.17" (CONF:CMS_55). SHALL contain exactly one [1..1] @extension="2022-05-01" (CONF:CMS_56). + + + + + SHALL contain at least one [1..*] component (CONF:4526-18425_C01) such that it SHALL contain exactly one [1..1] Measure Data - CMS (V4) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.16:2019-05-01) (CONF:4526-18426_C01). + + + + + SHALL contain exactly one [1..1] templateId (CONF:CMS_47) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.18" (CONF:CMS_48). SHALL contain exactly one [1..1] @extension="2018-05-01" (CONF:CMS_49). + + + + + SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:CMS_50). + + + This value SHALL contain exactly one [1..1] translation (CONF:CMS_52). + This value SHALL contain exactly one [1..1] @nullFlavor="OTH" (CONF:CMS_51). + + + This translation SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet CMS Payer Groupings urn:oid:2.16.840.1.113883.3.249.14.102 (CONF:CMS_53). + + + + + SHALL contain exactly one [1..1] templateId (CONF:CMS_59) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.25" (CONF:CMS_60). SHALL contain exactly one [1..1] @extension="2022-05-01" (CONF:CMS_61). + + + + + SHALL contain exactly one [1..1] value with @xsi:type="REAL" (CONF:4526-21307_C01). + SHALL contain exactly one [1..1] reference (CONF:4526-19651_C01). + + + The value, if present, SHALL be greater than or equal to 0 and less than or equal to 1 (CONF:CMS_62). + The value, if present, SHALL contain no more than 6 digits to the right of the decimal (CONF:CMS_63). + + + This reference SHALL contain exactly one [1..1] @typeCode="REFR" refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:4526-19652_C01). + This reference SHALL contain exactly one [1..1] externalObservation (CONF:4526-19653_C01). + + + + + + + + SHALL contain exactly one [1..1] templateId (CONF:CMS_64) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.2.3" (CONF:CMS_65). SHALL contain exactly one [1..1] @extension="2022-05-01" (CONF:CMS_66). + + + + + + SHALL contain at least one [1..*] entry (CONF:4526-17906_C01) such that it SHALL contain exactly one [1..1] Measure Reference and Results - CMS (V5) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.17:2022-05-01) (CONF:4526-17907_C01). + + + + + + SHALL contain exactly one [1..1] templateId (CONF:CMS_1) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.1.2" (CONF:CMS_2).SHALL contain exactly one [1..1] @extension="2024-07-01" (CONF:CMS_3). + + + + + SHALL contain exactly one [1..1] confidentialityCode (CONF:5562-17238_C01). + SHALL contain exactly one [1..1] languageCode (CONF:5562-17239). + SHALL contain exactly one [1..1] informationRecipient (CONF:CMS_7). + SHALL contain exactly one [1..1] documentationOf (CONF:5562-18170_C01). + SHALL contain exactly one [1..1] component (CONF:5562-17217). + + + This confidentialityCode SHALL contain exactly one [1..1] @code="N" Normal (CodeSystem: HL7Confidentiality urn:oid:2.16.840.1.113883.5.25) (CONF:CMS_4). + + + This languageCode SHALL contain exactly one [1..1] @code="en" English (CodeSystem: Language urn:oid:2.16.840.1.113883.6.121) (CONF:5562-19669_C01). + + + + + + + + + This informationRecipient SHALL contain exactly one [1..1] intendedRecipient (CONF:CMS_8). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="PCF", then ClinicalDocument/participant/@typeCode="LOC" SHALL be present (CONF:CMS_99). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="PCF", then QRDA Category III Measure Section – CMS (V5) SHALL be present (CONF:CMS_100). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="PCF", then Performance Rate for Proportion Measure – CMS (V4) SHALL be present (CONF:CMS_97). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="PCF", then CMS EHR Certification ID SHALL be present (CONF:CMS_98). + + + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MCP_STANDARD", then QRDA Category III Measure Section – CMS (V5) SHALL be present (CONF:CMS_131). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MCP_STANDARD", then Performance Rate for Proportion Measure – CMS (V4) SHALL be present (CONF:CMS_132). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MCP_STANDARD", then CMS EHR Certification ID SHALL be present (CONF:CMS_133). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MCP_FQHC", then QRDA Category III Measure Section – CMS (V5) SHALL be present (CONF:CMS_135). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MCP_FQHC", then Performance Rate for Proportion Measure – CMS (V4) SHALL be present (CONF:CMS_136). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MCP_FQHC", then CMS EHR Certification ID SHALL be present (CONF:CMS_137). + + + This intendedRecipient SHALL contain exactly one [1..1] id (CONF:CMS_9). + + + This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.249.7" CMS Program (CONF:CMS_10). + This id SHALL contain exactly one [1..1] @extension, which SHALL be selected from ValueSet QRDA III CMS Program Name urn:oid:2.16.840.1.113883.3.249.14.101 STATIC 2024-07-01 (CONF:CMS_11). + + + + + + This associatedEntity SHALL contain exactly one [1..1] @classCode="SDLOC" Service Delivery Location (CONF:CMS_18). + This associatedEntity SHALL contain exactly one [1..1] id (CONF:CMS_101) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.249.5.3" PCF Practice Site (CONF:CMS_102). SHALL contain exactly one [1..1] @extension (CONF:CMS_103). + This associatedEntity SHALL contain exactly one [1..1] code (CONF:CMS_22). + This associatedEntity SHALL contain exactly one [1..1] addr (CONF:CMS_25). + + + This code SHALL contain exactly one [1..1] @code="394730007" Healthcare Related Organization (CONF:CMS_23). + This code SHALL contain exactly one [1..1] @codeSystem (CodeSystem: SNOMED CT urn:oid:2.16.840.1.113883.6.96) (CONF:CMS_24). + + + + This associatedEntity SHALL contain exactly one [1..1] @classCode="RGPR" regulated product (CONF: CMS_88). + This associatedEntity SHALL contain exactly one [1..1] id (CONF: CMS_89). + + + This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.2074.1" CMS EHR Certification ID (CONF: CMS_90). + This id SHALL contain exactly one [1..1] @extension (CONF: CMS_91). Note: The value of @extension is the CMS EHR Certification ID, which must be 15 alpha numeric characters in length. + + + + This associatedEntity SHALL contain exactly one [1..1] @classCode="PROG" program eligible (CodeSystem: HL7RoleClass urn:oid:2.16.840.1.113883.5.110) (CONF:CMS_121). + This associatedEntity SHALL contain exactly one [1..1] id (CONF:CMS_122). + + + This id SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.249.5.6" MIPS Value Pathway (CONF:CMS_123). + This id SHALL contain exactly one [1..1] @extension (CONF:CMS_124). + + + + + + + + + This documentationOf SHALL contain exactly one [1..1] serviceEvent (CONF:5562-18171_C01). + + + + + + + + + + + + This serviceEvent SHALL contain at least one [1..*] performer (CONF:5562-18173). + + For PCF reporting, serviceEvent must contain at least one performer, each performer contains one TIN and one NPI. (CONF:5562-18171_C01). + + For MIPS group reporting, serviceEvent must contain exactly one performer (CONF:5562-18171_C01). + + For MIPS virtual group reporting, serviceEvent must contain exactly one performer, which contains one TIN and one NPI. (CONF:5562-18171_C01). + + For MIPS individual reporting, serviceEvent must contain exactly one performer, which contains one TIN and one NPI. (CONF:5562-18171_C01). + + For MIPS APM Entity reporting, serviceEvent must contain exactly one performer (CONF:5562-18171_C01). + + For MIPS APP Group reporting, serviceEvent must contain exactly one performer (CONF:5562-18171_C01). + For MIPS APP APM Entity reporting, serviceEvent must contain exactly one performer (CONF:5562-18171_C01). + For MIPS APP Individual reporting, serviceEvent must contain exactly one performer (CONF:5562-18171_C01). + + For MIPS Subgroup reporting, serviceEvent must contain exactly one performer and No NPI (CONF:5562-18171_C01). + + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MCP_STANDARD", then this serviceEvent SHALL contain at least two [2..*] performer such that it, one performer SHALL be the APM Entity identifier and NPI SHALL be a @nullFlavor, at least one additional performer and each additional performer contains one TIN and one NPI (CONF:CMS_138). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MCP_FQHC", then this serviceEvent SHALL contain exactly two [2..2] performer such that it, one performer SHALL be the APM Entity identifier and NPI SHALL be a @nullFlavor, and exactly one additional performer contains one TIN and NPI SHALL be a @nullFlavor (CONF:CMS_139) + + + Such performers SHALL contain exactly one [1..1] assignedEntity (CONF:5562-18176). + + + + + + This assignedEntity SHALL contain exactly one [1..1] id (CONF:5562-18177_C01) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.4.6" National Provider ID (CONF:5562-18178_C01). + For MIPS APM Entity reporting, id/@root=' 2.16.840.1.113883.4.6' is coupled with @nullFlavor="NA", and @extension shall be omitted.(CONF:5562-18177_C01). + For MIPS group reporting, id/@root=' 2.16.840.1.113883.4.6' is coupled with @nullFlavor="NA", and @extension shall be omitted.(CONF:5562-18177_C01). + For MIPS virtual group reporting, id/@root=' 2.16.840.1.113883.4.6' is coupled with @nullFlavor="NA", and @extension shall be omitted.(CONF:5562-18177_C01). + This assignedEntity SHALL contain exactly one [1..1] representedOrganization (CONF:5562-18180). + + + + + + + + + + For PCF reporting , each performer contains one TIN and one NPI. (CONF:5562-18178_C01) + For MIPS group reporting: performer contains one TIN and no NPI is allowed. (CONF:5562-18177_C01). + For MIPS Virtual group reporting: performer contains one virtual group ID and no NPI is allowed. (CONF:5562-18177_C01). + For MIPS APM Entity reporting: performer contains one APM Entity Identifier. NPI and TIN are not allowed. (CONF:5562-18177_C01) + For MIPS individual reporting: performer contains one TIN and one NPI.(CONF:5562-18178_C01) + For APP group reporting: performer contains one TIN. No NPI is allowed. (CONF:5562-18177_C01) + For MIPS APP APM Entity reporting: performer contains one APM Entity Identifier. NPI and TIN are not allowed. (CONF:5562-18177_C01) + For APP individual reporting: performer contains one TIN and one NPI. (CONF:5562-18178_C01) + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MIPS_GROUP" or “MIPS_APP1_GROUP, then this representedOrganization SHALL contain one [1..1] id such that it, SHALL be the group's TIN (CONF:CMS_82). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MIPS_VIRTUALGROUP", then this representedOrganization SHALL contain one [1..1] id such that it, SHALL be the virtual group's Virtual Group Identifier (CONF:CMS_83). + + + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MIPS_APMENTITY" or "MIPS_APP1_APMENTITY" or "MCP_STANDARD" or "MCP_FQHC", then this representedOrganization SHALL contain one [1..1] id such that it, SHALL be the APM Entity’s APM Entity identifier (CONF:CMS_109). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MIPS_APMENTITY" or "MIPS_APP1_APMENTITY" or "MCP_STANDARD" or "MCP_FQHC", then this representedOrganization SHALL contain one [1..1] id such that it, SHALL be the APM Entity’s APM Entity identifier (CONF:CMS_109). + + + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MIPS_INDIV" or "MIPS_APP1_INDIV" or "PCF" or "MCP_STANDARD" or "MCP_FQHC", then this representedOrganization SHALL contain one [1..1] id such that it, SHALL be the practitioner’s TIN (CONF:CMS_112). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MIPS_INDIV" or "MIPS_APP1_INDIV" or "PCF" or "MCP_STANDARD" or "MCP_FQHC", then this representedOrganization SHALL contain one [1..1] id such that it, SHALL be the practitioner’s TIN (CONF:CMS_112). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MIPS_INDIV" or "MIPS_APP1_INDIV" or "PCF" or "MCP_STANDARD" or "MCP_FQHC", then this representedOrganization SHALL contain one [1..1] id such that it, SHALL be the practitioner’s TIN (CONF:CMS_112). + If ClinicalDocument/informationRecipient/intendedRecipient/id/@extension="MIPS_SUBGROUP", then this representedOrganization SHALL contain one [1..1] id such that it, SHALL be the subgroup's Subgroup Identifier(CONF:CMS_114). + + + + + This component SHALL contain exactly one [1..1] structuredBody (CONF:5562-17235). + + + This structuredBody SHALL contain at least a QRDA Category III Measure Section - CMS (V5), or an Improvement Activity Section (V3), or a Promoting Interoperability Section (V3) (CONF:5562-21394_C01). + + + If ClinicalDocument/component/structuredBody/component/section/templateId/@root="2.16.840.1.113883.10.20.27.2.3" is present, then this ClinicalDocument SHALL contain one participant such that it, SHALL be the CMS EHR Certification ID (CONF:CMS_140) (CONF:CMS_140). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:77-17563). + SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:77-17564). + SHALL contain exactly one [1..1] templateId (CONF:77-17565) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.3" (CONF:77-18095). + SHALL contain exactly one [1..1] code (CONF:77-17566). + SHALL contain exactly one [1..1] value with @xsi:type="INT" (CONF:77-17567). + SHALL contain exactly one [1..1] methodCode (CONF:77-19509). + + + This code SHALL contain exactly one [1..1] @code="MSRAGG" rate aggregation (CONF:77-19508). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:77-21160). + + + This value SHALL contain exactly one [1..1] @value (CONF:77-17568). + + + This methodCode SHALL contain exactly one [1..1] @code="COUNT" Count (CONF:77-19510). + This methodCode SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.84" (CodeSystem: ObservationMethod urn:oid:2.16.840.1.113883.5.84) (CONF:77-21161). + + + The referenceRange, if present, SHALL contain exactly one [1..1] observationRange (CONF:77-18393). + + + This observationRange SHALL contain exactly one [1..1] value with @xsi:type="INT" (CONF:77-18394). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:77-17569). + SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:77-17570). + SHALL contain exactly one [1..1] templateId (CONF:77-18096) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.2" (CONF:77-18097). + SHALL contain exactly one [1..1] code (CONF:77-17571). + SHALL contain exactly one [1..1] value (CONF:77-17572). + SHALL contain exactly one [1..1] methodCode, which SHALL be selected from ValueSet ObservationMethodAggregate urn:oid:2.16.840.1.113883.1.11.20450 DYNAMIC (CONF:77-18242). + SHALL contain exactly one [1..1] reference (CONF:77-18243). + + + This reference SHALL contain exactly one [1..1] externalObservation (CONF:77-18244). + + + This externalObservation SHALL contain exactly one [1..1] id (CONF:77-18245). + + + The referenceRange, if present, SHALL contain exactly one [1..1] observationRange (CONF:77-18390). + + + This observationRange SHALL contain exactly one [1..1] value (CONF:77-18391). + + + + + SHALL contain exactly one [1..1] templateId (CONF:3259-18218) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.7" (CONF:3259-18219). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21176). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-18216). + SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-18217). + SHALL contain exactly one [1..1] templateId (CONF:3259-18218) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.7" (CONF:3259-18219). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21176). + SHALL contain exactly one [1..1] code (CONF:3259-18220). + SHALL contain exactly one [1..1] statusCode (CONF:3259-18118). + SHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHALL be selected from ValueSet Ethnicity urn:oid:2.16.840.1.114222.4.11.837 DYNAMIC (CONF:3259-18222). + SHALL contain exactly one [1..1] entryRelationship (CONF:3259-18120) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:3259-18121). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3259-18122). SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:3259-18123). + + + This code SHALL contain exactly one [1..1] @code="69490-1" Ethnic (CONF:3259-18221). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:3259-21443). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:3259-18119). + + + + + SHALL contain exactly one [1..1] @classCode="CLUSTER" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-21434). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-21435). + SHALL contain exactly one [1..1] templateId (CONF:3259-21425) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.33" (CONF:3259-21432). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21433). + SHALL contain exactly one [1..1] reference (CONF:3259-21422) such that it SHALL contain exactly one [1..1] @typeCode="REFR" (CONF:3259-21431). SHALL contain exactly one [1..1] externalDocument (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-21423). This externalDocument SHALL contain exactly one [1..1] @classCode="DOC" Document (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:3259-21430). This externalDocument SHALL contain exactly one [1..1] id (CONF:3259-21424) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.7034" (CONF:3259-21427). SHALL contain exactly one [1..1] @extension (CONF:3259-21428). + SHALL contain exactly one [1..1] component (CONF:3259-21421) such that it SHALL contain exactly one [1..1] Measure Performed (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.27:2016-09-01) (CONF:3259-21426). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-21175) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.2.4" (CONF:4484-21177). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21398). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-21175) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.2.4" (CONF:4484-21177). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21398). + SHALL contain at least one [1..*] entry (CONF:4484-21181) such that it SHALL contain exactly one [1..1] Improvement Activity Performed Measure Reference and Results (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.33:2016-09-01) (CONF:4484-21436). + SHALL contain exactly one [1..1] entry (CONF:4484-26558) such that it SHALL contain exactly one [1..1] Reporting Parameters Act (V2) (identifier: urn:oid:2.16.840.1.113883.10.20.17.3.8:2020-12-01) (CONF:4484-26559). + + + + + SHALL contain exactly one [1..1] templateId (CONF:3259-17912) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.5" (CONF:3259-17913). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21161). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-17615). + SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-17616). + SHALL contain exactly one [1..1] templateId (CONF:3259-17912) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.5" (CONF:3259-17913). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21161). + SHALL contain exactly one [1..1] code (CONF:3259-17617). + SHALL contain exactly one [1..1] statusCode (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:3259-18199). + SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:3259-17618). + SHALL contain exactly one [1..1] entryRelationship (CONF:3259-17619) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" (CONF:3259-17910). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3259-17911). SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:3259-17620). + SHALL contain exactly one [1..1] reference (CONF:3259-18239) such that it SHALL contain exactly one [1..1] externalObservation (CONF:3259-18240). This externalObservation SHALL contain exactly one [1..1] id (CONF:3259-18241). + + + This code SHALL contain exactly one [1..1] @code="ASSERTION" Assertion (CONF:3259-18198). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:3259-21164). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:3259-19555). + + + This value SHALL contain exactly one [1..1] @code, which SHOULD be selected from ValueSet PopulationInclusionObservationType urn:oid:2.16.840.1.113883.1.11.20476 DYNAMIC (CONF:3259-21162). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-21221). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-21222). + SHALL contain exactly one [1..1] templateId (CONF:3259-21185) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.27" (CONF:3259-21203). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21399). + SHALL contain exactly one [1..1] code (CONF:3259-21382). + SHALL contain exactly one [1..1] statusCode (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:3259-21440). + SHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHALL be selected from ValueSet Yes No Indicator (HL7) urn:oid:2.16.840.1.114222.4.11.819 DYNAMIC (CONF:3259-21391). + + + This code SHALL contain exactly one [1..1] @code="ASSERTION" Assertion (CONF:3259-21392). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:3259-21393). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CONF:3259-21442). + + + + + SHALL contain exactly one [1..1] @classCode="CLUSTER" cluster (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:67-12979). + SHALL contain exactly one [1..1] @moodCode="EVN" event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:67-12980). + SHALL contain exactly one [1..1] templateId (CONF:67-19532) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.24.3.98" (CONF:67-19533). + SHALL contain at least one [1..*] id (CONF:67-26992). + SHALL contain exactly one [1..1] statusCode (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:67-12981). + SHALL contain exactly one [1..1] reference (CONF:67-12982) such that it SHALL contain exactly one [1..1] @typeCode="REFR" refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:67-12983). SHALL contain exactly one [1..1] externalDocument (CONF:67-12984). This externalDocument SHALL contain exactly one [1..1] @classCode="DOC" Document (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:67-19534). This externalDocument SHALL contain at least one [1..*] id (CONF:67-12985) such that it SHALL contain exactly one [1..1] @root (CONF:67-12986) + + + This statusCode SHALL contain exactly one [1..1] @code="completed" (CodeSystem: HL7ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:67-27020). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-17908) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.1" (CONF:4484-17909). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21170). + + + + + SHALL contain exactly one [1..1] @classCode="CLUSTER" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4484-17887). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:4484-17888). + SHALL contain exactly one [1..1] templateId (CONF:4484-17908) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.1" (CONF:4484-17909). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21170). + SHALL contain exactly one [1..1] reference (CONF:4484-17890) such that it SHALL contain exactly one [1..1] @typeCode="REFR" (CONF:4484-17891). SHALL contain exactly one [1..1] externalDocument (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4484-17892). + SHALL contain at least one [1..*] component (CONF:4484-18425) such that it SHALL contain exactly one [1..1] Measure Data (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.5:2016-09-01) (CONF:4484-18426). + + + This externalDocument SHALL contain exactly one [1..1] @classCode="DOC" Document (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:4484-19548). + This externalDocument SHALL contain exactly one [1..1] id (CONF:4484-18192) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.4.738" (CONF:4484-18193). SHALL contain exactly one [1..1] @extension (CONF:4484-21169). + + + The code, if present, SHALL contain exactly one [1..1] @code="57024-2" Health Quality Measure Document (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:4484-19553). + + + This externalObservation SHALL contain at least one [1..*] id (CONF:4484-18355). + This externalObservation SHALL contain exactly one [1..1] code (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1 STATIC) (CONF:4484-18357). + This externalObservation SHALL contain exactly one [1..1] text (CONF:4484-18358). + + + This code SHALL contain exactly one [1..1] @code="55185-3" measure set (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:4484-19554). + + + + + SHALL contain exactly one [1..1] templateId (CONF:2226-18237) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.9" (CONF:2226-18238). SHALL contain exactly one [1..1] @extension="2016-02-01" (CONF:2226-21157). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:2226-21155). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:2226-21156). + SHALL contain exactly one [1..1] templateId (CONF:2226-18237) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.9" (CONF:2226-18238). SHALL contain exactly one [1..1] @extension="2016-02-01" (CONF:2226-21157). + SHALL contain exactly one [1..1] code (CONF:2226-21158). + SHALL contain exactly one [1..1] statusCode (CONF:2226-18106). + SHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHOULD be selected from ValueSet Payer urn:oid:2.16.840.1.114222.4.11.3591 DYNAMIC (CONF:2226-18250). + SHALL contain exactly one [1..1] entryRelationship (CONF:2226-18108) such that it SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:2226-18111). SHALL contain exactly one [1..1] @typeCode="SUBJ" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:2226-18109). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:2226-18110). + + + This code SHALL contain exactly one [1..1] @code="48768-6" Payment source (CONF:2226-21159). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:2226-21165). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:2226-18107). + + + + + SHALL contain exactly one [1..1] templateId (CONF:3259-21298) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.30" (CONF:3259-21310). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21441). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-21303). + SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-21304). + SHALL contain exactly one [1..1] templateId (CONF:3259-21298) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.30" (CONF:3259-21310). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21441). + SHALL contain exactly one [1..1] code (CONF:3259-21294). + SHALL contain exactly one [1..1] statusCode (CONF:3259-21297). + SHALL contain exactly one [1..1] value with @xsi:type="REAL" (CONF:3259-21307). + + + This code SHALL contain exactly one [1..1] @code="72510-1" Performance Rate (CONF:3259-21305). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:3259-21306). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:3259-21309). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-19649) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.14" (CONF:4484-19650). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21444). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4484-18395). + SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:4484-18396). + SHALL contain exactly one [1..1] templateId (CONF:4484-19649) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.14" (CONF:4484-19650). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21444). + + SHALL contain exactly one [1..1] value with @xsi:type="REAL" (CONF:4484-21445). + + SHALL contain exactly one [1..1] reference (CONF:4484-19651). + + + The reference, if present, SHALL contain exactly one [1..1] @typeCode="REFR" refers to (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:4484-19652). + The reference, if present, SHALL contain exactly one [1..1] externalObservation (CONF:4484-19653). + + + + The value, if present, SHALL be greater than or equal to 0 and less than or equal to 1 (CONF:4484-21446). + The value, if present, SHALL contain no more than 6 digits to the right of the decimal (CONF:4484-21447). + + + This externalObservation SHALL contain exactly one [1..1] @classCode (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:4484-19654). + This externalObservation SHALL contain exactly one [1..1] code (CONF:4484-19657). + This externalObservation SHALL contain exactly one [1..1] id (CONF:4484-19655). + + + This id SHALL contain exactly one [1..1] @root (CONF:4484-19656). + + + This code SHALL contain exactly one [1..1] @code="NUMER" Numerator (CONF:4484-19658). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:4484-21180). + + + The referenceRange, if present, SHALL contain exactly one [1..1] observationRange (CONF:4484-18401). + + + This observationRange SHALL contain exactly one [1..1] value with @xsi:type="REAL" (CONF:4484-18402). + + + + + SHALL contain exactly one [1..1] templateId (CONF:3259-18211) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.10" (CONF:3259-18212). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21446). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-18209). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-18210). + SHALL contain exactly one [1..1] templateId (CONF:3259-18211) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.10" (CONF:3259-18212). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21446). + SHALL contain exactly one [1..1] code (CONF:3259-18213). + SHALL contain exactly one [1..1] statusCode (CONF:3259-18100). + SHALL contain exactly one [1..1] value with @xsi:type="ST" (CONF:3259-18215). + SHALL contain exactly one [1..1] entryRelationship (CONF:3259-18102) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:3259-18103). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3259-18104). SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:3259-18105). + + + This code SHALL contain exactly one [1..1] @code="45401-7" Zip code (CONF:3259-18214). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:3259-21445). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:3259-18101). + + + + + SHALL contain exactly one [1..1] @classCode="CLUSTER" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-21419). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-21420). + SHALL contain exactly one [1..1] templateId (CONF:3259-21408) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.29" (CONF:3259-21417). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21418). + SHALL contain exactly one [1..1] reference (CONF:3259-21405) such that it SHALL contain exactly one [1..1] @typeCode="REFR" (CONF:3259-21416). SHALL contain exactly one [1..1] externalDocument (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-21406). + SHALL contain exactly one [1..1] component (CONF:3259-21404) such that it SHALL contain exactly one [1..1] Measure Performed (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.27:2016-09-01) (CONF:3259-21411) + + + This externalDocument SHALL contain exactly one [1..1] @classCode="DOC" Document (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:3259-21415). + This externalDocument SHALL contain exactly one [1..1] id (CONF:3259-21407) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.7031" (CONF:3259-21412). SHALL contain exactly one [1..1] @extension (CONF:3259-21413). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-21378). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-21379). + SHALL contain exactly one [1..1] templateId (CONF:3259-21366) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.32" (CONF:3259-21374). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21400). + SHALL contain exactly one [1..1] code (CONF:3259-21365). + SHALL contain exactly one [1..1] statusCode (CONF:3259-21367). + SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:3259-21368). + SHALL contain exactly one [1..1] entryRelationship (CONF:3259-21364) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" (CONF:3259-21370). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3259-21371). SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:3259-21369). + + + This code SHALL contain exactly one [1..1] @code="ASSERTION" Assertion (CONF:3259-21372). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:3259-21373). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:3259-21375). + + + This value SHALL contain exactly one [1..1] @code="DENOM" Denominator (CONF:3259-21376). + This value SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4 STATIC) (CONF:3259-21377). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-21360). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-21361). + SHALL contain exactly one [1..1] templateId (CONF:3259-21324) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.31" (CONF:3259-21342). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21401). + SHALL contain exactly one [1..1] code (CONF:3259-21323). + SHALL contain exactly one [1..1] statusCode (CONF:3259-21332). + SHALL contain exactly one [1..1] value with @xsi:type="CD" (CONF:3259-21336). + SHALL contain exactly one [1..1] entryRelationship (CONF:3259-21322) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" (CONF:3259-21338). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3259-21339). SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:3259-21337). + + + This code SHALL contain exactly one [1..1] @code="ASSERTION" Assertion (CONF:3259-21340). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:3259-21341). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:3259-21358). + + + This value SHALL contain exactly one [1..1] @code="NUMER" Numerator (CONF:3259-21362). + This value SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4 STATIC) (CONF:3259-21363). + + + + + SHALL contain exactly one [1..1] @classCode="CLUSTER" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3338-21273). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3338-21274). + SHALL contain exactly one [1..1] templateId (CONF:3338-21248) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.28" (CONF:3338-21266). SHALL contain exactly one [1..1] @extension="2017-06-01" (CONF:3338-21396). + SHALL contain exactly one [1..1] reference (CONF:3338-21242) such that it SHALL contain exactly one [1..1] @typeCode="REFR" (CONF:3338-21265). SHALL contain exactly one [1..1] externalDocument (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3338-21243). + SHALL contain exactly one [1..1] component (CONF:3338-21312) such that it SHALL contain exactly one [1..1] Advancing Care Information Numerator Denominator Type Measure Numerator Data (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.31:2016-09-01) (CONF:3338-21313). + SHALL contain exactly one [1..1] component (CONF:3338-21320) such that it SHALL contain exactly one [1..1] Advancing Care Information Numerator Denominator Type Measure Denominator Data (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.32:2016-09-01) (CONF:3338-21321). + + + This externalDocument SHALL contain exactly one [1..1] @classCode="DOC" Document (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6) (CONF:3338-21264). + This externalDocument SHALL contain exactly one [1..1] id (CONF:3338-21247) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.3.7031" (CONF:3338-21402). SHALL contain exactly one [1..1] @extension (CONF:3338-21403). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-21231) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.2.5" (CONF:4484-21233). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21395). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-21231) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.2.5" (CONF:4484-21233). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21395). + SHALL contain exactly one [1..1] entry (CONF:4484-21440) such that it SHALL contain exactly one [1..1] Reporting Parameters Act (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.17.3.8:2020-12-01) (CONF:4484-21441). + SHALL contain at least one [1..*] entry (CONF:4484-21438). + This Promoting Interoperability Section SHALL contain at least a Promoting Interoperability Numerator Denominator Type Measure Reference and Results or a Promoting Interoperability Measure Performed Reference and Results (CONF:4484-21439). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-17284) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.2.1" (CONF:4484-17285). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21171). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-17284) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.2.1" (CONF:4484-17285). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21171). + SHALL contain at least one [1..*] entry (CONF:4484-17906) such that it SHALL contain exactly one [1..1] Measure Reference and Results (V4) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.27.3.1:2016-09-01) (CONF:4484-17907) + + SHALL contain exactly one [1..1] entry (CONF:4484-21467) such that it SHALL contain exactly one [1..1] Reporting Parameters Act (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.17.3.8:2020-12-01) (CONF:4484-21468). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-17208) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.1.1" (CONF:4484-17209). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21319). + + + + + SHALL contain exactly one [1..1] realmCode (CONF:4484-17226). + SHALL contain exactly one [1..1] typeId (CONF:4484-18186). + SHALL contain exactly one [1..1] templateId (CONF:4484-17208) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.1.1" (CONF:4484-17209). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-21319). + SHALL contain exactly one [1..1] id (CONF:4484-17236). + SHALL contain exactly one [1..1] code (CONF:4484-17210). + SHALL contain exactly one [1..1] title (CONF:4484-17211). + SHALL contain exactly one [1..1] effectiveTime (CONF:4484-17237). + SHALL contain exactly one [1..1] confidentialityCode, which SHOULD be selected from ValueSet HL7 BasicConfidentialityKind urn:oid:2.16.840.1.113883.1.11.16926 STATIC 2010-04-21 (CONF:4484-17238). + SHALL contain exactly one [1..1] languageCode (CONF:4484-17239). + SHALL contain exactly one [1..1] recordTarget (CONF:4484-17212). + SHALL contain at least one [1..*] author (CONF:4484-18156) such that it SHALL contain exactly one [1..1] time (CONF:4484-18158). SHALL contain exactly one [1..1] assignedAuthor (CONF:4484-18157). + SHALL contain exactly one [1..1] custodian (CONF:4484-17213). + SHALL contain exactly one [1..1] component (CONF:4484-17217). + + + + This typeId SHALL contain exactly one [1..1] @root="2.16.840.1.113883.1.3" (CONF:4484-18187). + This typeId SHALL contain exactly one [1..1] @extension="POCD_HD000040" (CONF:4484-18188). + + + This realmCode SHALL contain exactly one [1..1] @code="US" (CONF:4484-17227). + + + This code SHALL contain exactly one [1..1] @code="55184-6" Quality Reporting Document Architecture Calculated Summary Report (CONF:4484-19549). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:4484-21166). + + + + This languageCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Language urn:oid:2.16.840.1.113883.1.11.11526 DYNAMIC (CONF:4484-19669). + + + + This recordTarget SHALL contain exactly one [1..1] patientRole (CONF:4484-17232) such that it SHALL contain exactly one [1..1] id (CONF:4484-17233). This id SHALL contain exactly one [1..1] @nullFlavor="NA" (CONF:4484-17234). + + + + This assignedAuthor SHALL contain exactly one [1..1] representedOrganization (CONF:4484-18163). + There SHALL be exactly one assignedAuthor/assignedPerson or exactly one assignedAuthor/assignedAuthoringDevice (CONF:4484-19667). + + + This representedOrganization SHALL contain at least one [1..*] name (CONF:4484-18265). + + + The assignedAuthoringDevice, if present, SHALL contain exactly one [1..1] softwareName (CONF:4484-18262). + + + + This custodian SHALL contain exactly one [1..1] assignedCustodian (CONF:4484-17214). + + + This assignedCustodian SHALL contain exactly one [1..1] representedCustodianOrganization (CONF:4484-17215). + + + This representedCustodianOrganization SHALL contain at least one [1..*] id (CONF:4484-18165). + + + + + This legalAuthenticator, if present, SHALL contain exactly one [1..1] time (CONF:4484-18167). + This legalAuthenticator, if present, SHALL contain exactly one [1..1] signatureCode (CONF:4484-18168). + This legalAuthenticator, if present SHALL contain exactly one [1..1] assignedEntity (CONF:4484-19670). + + + + This signatureCode SHALL contain exactly one [1..1] @code="S" (CodeSystem: HL7ParticipationSignature urn:oid:2.16.840.1.113883.5.89 STATIC) (CONF:4484-18169). + + + The representedOrganization, if present, SHALL contain at least one [1..*] id (CONF:4484-19672). + + + + This associatedEntity SHALL contain exactly one [1..1] @classCode="RGPR" regulated product (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4484-18303). + This associatedEntity SHALL contain at least one [1..*] id (CONF:4484-20954). + This associatedEntity SHALL contain exactly one [1..1] code (CONF:4484-18308). + + + This code SHALL contain exactly one [1..1] @code="129465004" medical record, device (CONF:4484-18309). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.96" (CodeSystem: SNOMED CT urn:oid:2.16.840.1.113883.6.96) (CONF:4484-21167). + + + + This associatedEntity SHALL contain exactly one [1..1] @classCode="SDLOC" Service Delivery Location (CONF:4484-21454). + This associatedEntity SHALL contain at least one [1..*] id (CONF:4484-21455). + This associatedEntity SHALL contain exactly one [1..1] code (CONF:4484-21450). + This associatedEntity SHALL contain exactly one [1..1] addr (CONF:4484-21458). + + + + + This code SHALL contain exactly one [1..1] @code="394730007" Healthcare Related Organization (CONF:4484-21456). + This code SHALL contain exactly one [1..1] @codeSystem (CodeSystem: SNOMED CT urn:oid:2.16.840.1.113883.6.96) (CONF:4484-21457). + + + + The documentationOf, if present, SHALL contain exactly one [1..1] serviceEvent (CONF:4484-18171). + + + This serviceEvent SHALL contain exactly one [1..1] @classCode="PCPR" Care Provision (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4484-18172). + This serviceEvent SHALL contain at least one [1..*] performer (CONF:4484-18173). + + + Such performers SHALL contain exactly one [1..1] @typeCode="PRF" Performer (CodeSystem: HL7ParticipationType urn:oid:2.16.840.1.113883.5.90 STATIC) (CONF:4484-18174). + Such performers SHALL contain exactly one [1..1] assignedEntity (CONF:4484-18176). + + + This assignedEntity SHALL contain at least one [1..*] id (CONF:4484-19474). + This assignedEntity SHALL contain exactly one [1..1] representedOrganization (CONF:4484-18180). + + + + The authorization, if present, SHALL contain exactly one [1..1] consent (CONF:4484-18360). + + + This consent SHALL contain exactly one [1..1] id (CONF:4484-18361). + This consent SHALL contain exactly one [1..1] code (CONF:4484-18363). + This consent SHALL contain exactly one [1..1] statusCode (CONF:4484-18364). + + + This code SHALL contain exactly one [1..1] @code="425691002" Consent given for electronic record sharing (CONF:4484-19550). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.96" (CodeSystem: SNOMED CT urn:oid:2.16.840.1.113883.6.96) (CONF:4484-21172). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14) (CONF:4484-19551). + + + + This component SHALL contain exactly one [1..1] structuredBody (CONF:4484-17235). + + + + This structuredBody SHALL contain at least a QRDA Category III Measure Section (V5), or an Improvement Activity Section (V3), or an Promoting Interoperability Measure Section (V3) (CONF:4484-21394). + + + + + SHALL contain exactly one [1..1] templateId (CONF:3259-18225) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.8" (CONF:3259-18226). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21178). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-18223). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-18224). + SHALL contain exactly one [1..1] templateId (CONF:3259-18225) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.8" (CONF:3259-18226). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21178). + SHALL contain exactly one [1..1] code (CONF:3259-18227). + SHALL contain exactly one [1..1] statusCode (CONF:3259-18112). + SHALL contain exactly one [1..1] entryRelationship (CONF:3259-18114) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:3259-18115). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3259-18116). SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:3259-18117). + SHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHALL be selected from ValueSet Race urn:oid:2.16.840.1.114222.4.11.836 DYNAMIC (CONF:3259-18229). + + + This code SHALL contain exactly one [1..1] @code="72826-1" Race (CONF:3259-18228). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:3259-21447). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:3259-18113). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" Observation (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:77-18411). + SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:77-18412). + SHALL contain exactly one [1..1] templateId (CONF:77-21157) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.15" (CONF:77-21158). + SHALL contain exactly one [1..1] code (CONF:77-18413). + SHALL contain exactly one [1..1] statusCode (CONF:77-18419). + SHALL contain exactly one [1..1] value with @xsi:type="REAL" (CONF:77-18415). + + + This code SHALL contain exactly one [1..1] @code="72509-3" Reporting Rate (CONF:77-18414). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:77-21168). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:77-18420). + + + The referenceRange, if present, SHALL contain exactly one [1..1] observationRange (CONF:77-18417). + + + This observationRange SHALL contain exactly one [1..1] value with @xsi:type="REAL" (CONF:77-18418). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:77-17575). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:77-17576). + SHALL contain exactly one [1..1] templateId (CONF:77-18093) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.4" (CONF:77-18094). + SHALL contain exactly one [1..1] code (CONF:77-17577). + SHALL contain exactly one [1..1] statusCode (CONF:77-17579). + SHALL contain exactly one [1..1] entryRelationship (CONF:77-17581) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" (CONF:77-17582). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:77-17583). SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:77-17584). + SHALL contain exactly one [1..1] reference (CONF:77-18204). + + + This code SHALL contain exactly one [1..1] @code="ASSERTION" Assertion (CONF:77-17578). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.5.4" (CodeSystem: ActCode urn:oid:2.16.840.1.113883.5.4) (CONF:77-21169). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:77-18201). + + + This reference SHALL contain exactly one [1..1] @typeCode="REFR" (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:77-18205). + This reference SHALL contain exactly one [1..1] externalObservation (CONF:77-18206). + + + This externalObservation SHALL contain exactly one [1..1] id (CONF:77-18207). + + + + + SHALL contain exactly one [1..1] templateId (CONF:3259-18232) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.6" (CONF:3259-18233). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21160). + + + + + SHALL contain exactly one [1..1] @classCode="OBS" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:3259-18230). + SHALL contain exactly one [1..1] @moodCode="EVN" (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:3259-18231). + SHALL contain exactly one [1..1] templateId (CONF:3259-18232) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.27.3.6" (CONF:3259-18233). SHALL contain exactly one [1..1] @extension="2016-09-01" (CONF:3259-21160). + SHALL contain exactly one [1..1] code (CONF:3259-18234). + SHALL contain exactly one [1..1] statusCode (CONF:3259-18124). + SHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHALL be selected from ValueSet ONC Administrative Sex urn:oid:2.16.840.1.113762.1.4.1 DYNAMIC (CONF:3259-18236). + SHALL contain exactly one [1..1] entryRelationship (CONF:3259-18126) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002 STATIC) (CONF:3259-18127). SHALL contain exactly one [1..1] @inversionInd="true" (CONF:3259-18128). SHALL contain exactly one [1..1] Aggregate Count (identifier: urn:oid:2.16.840.1.113883.10.20.27.3.3) (CONF:3259-18129). + + + This code SHALL contain exactly one [1..1] @code="76689-9" Sex assigned at birth (CONF:3259-18235). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1 STATIC) (CONF:3259-21163). + + + This statusCode SHALL contain exactly one [1..1] @code="completed" Completed (CodeSystem: ActStatus urn:oid:2.16.840.1.113883.5.14 STATIC) (CONF:3259-18125). + + + + + SHALL contain exactly one [1..1] templateId (CONF:67-12801) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.24.2.2" (CONF:67-12802). + SHALL contain exactly one [1..1] code (CONF:67-12798). + SHALL contain exactly one [1..1] title="Measure Section" (CONF:67-12799). + SHALL contain exactly one [1..1] text (CONF:67-12800). + SHALL contain at least one [1..*] entry (CONF:67-13003) such that it SHALL contain exactly one [1..1] Measure Reference (identifier: urn:oid:2.16.840.1.113883.10.20.24.3.98) (CONF:67-16677). + + + This code SHALL contain exactly one [1..1] @code="55186-1" Measure Section (CONF:67-19230). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.1" (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:67-27012). + + + + + SHALL contain exactly one [1..1] templateId (CONF:4484-18098) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.17.3.8" (CONF:4484-18099). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-26552). + + + + + SHALL contain exactly one [1..1] @classCode="ACT" (CodeSystem: HL7ActClass urn:oid:2.16.840.1.113883.5.6 STATIC) (CONF:4484-3269). + SHALL contain exactly one [1..1] @moodCode="EVN" Event (CodeSystem: ActMood urn:oid:2.16.840.1.113883.5.1001 STATIC) (CONF:4484-3270). + SHALL contain exactly one [1..1] templateId (CONF:4484-18098) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.10.20.17.3.8" (CONF:4484-18099). SHALL contain exactly one [1..1] @extension="2020-12-01" (CONF:4484-26552). + SHALL contain at least one [1..*] id (CONF:4484-26549). + SHALL contain exactly one [1..1] code (CONF:4484-3272). + SHALL contain exactly one [1..1] effectiveTime (CONF:4484-3273). + + + This code SHALL contain exactly one [1..1] @code="252116004" Observation Parameters (CONF:4484-26550). + This code SHALL contain exactly one [1..1] @codeSystem="2.16.840.1.113883.6.96" (CodeSystem: SNOMED CT urn:oid:2.16.840.1.113883.6.96) (CONF:4484-26551). + + + This effectiveTime SHALL contain exactly one [1..1] low (CONF:4484-3274). + This effectiveTime SHALL contain exactly one [1..1] high (CONF:4484-3275). + + + + This low SHALL contain exactly one [1..1] @value (CONF:4484-26553). + SHALL be precise to day (CONF:4484-26554). + + + + This high SHALL contain exactly one [1..1] @value (CONF:4484-26555). + SHALL be precise to day (CONF:4484-26556). + + + + + + This externalDocument SHOULD contain zero or one [0..1] text (CONF:3259-21429). + + + + + This externalDocument SHOULD contain zero or one [0..1] text (CONF:67-12997). + + + + + SHOULD contain exactly one [1..1] reference (CONF:4484-18353) such that it SHALL contain exactly one [1..1] externalObservation (CONF:4484-18354). + + + This externalDocument SHOULD contain zero or one [0..1] code (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1 STATIC) (CONF:4484-17896). + This externalDocument SHOULD contain zero or one [0..1] text (CONF:4484-17897). + + + + + This externalDocument SHOULD contain zero or one [0..1] text (CONF:3259-21414). + + + + + This externalDocument SHOULD contain zero or one [0..1] text (CONF:3338-21263). + + + + + SHALL contain exactly one [1..1] confidentialityCode, which SHOULD be selected from ValueSet HL7 BasicConfidentialityKind urn:oid:2.16.840.1.113883.1.11.16926 STATIC 2010-04-21 (CONF:4484-17238). + SHOULD contain zero or one [0..1] versionNumber (CONF:4484-18260). + + SHOULD contain zero or one [0..1] legalAuthenticator (CONF:4484-17225). + + + + This representedCustodianOrganization SHOULD contain zero or one [0..1] name (CONF:4484-18166). + + + + The representedOrganization, if present, SHOULD contain zero or one [0..1] name (CONF:4484-19673). + + + + This representedOrganization SHOULD contain zero or more [0..*] name (CONF:4484-19659). + + + + This assignedEntity SHOULD contain zero or one [1..1] id (CONF:4484-18177) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.4.6" National Provider ID (CONF:4484-18178) MAY contain zero or one [0..1] @extension (CONF:4484-18247). + + + + + SHOULD contain zero or one [0..1] value (CONF:77-17580). + + + diff --git a/resources/schematron/2024.0.0/EP/voc.xml b/resources/schematron/2024.0.0/EP/voc.xml new file mode 100644 index 000000000..58bf5def0 --- /dev/null +++ b/resources/schematron/2024.0.0/EP/voc.xml @@ -0,0 +1,728 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/integration/api_measure_evaluator_test.rb b/test/integration/api_measure_evaluator_test.rb index 01865c4a0..31ad62b7b 100644 --- a/test/integration/api_measure_evaluator_test.rb +++ b/test/integration/api_measure_evaluator_test.rb @@ -188,7 +188,7 @@ def calculate_cat3(product_test, patients, correlation_id) false end options = { provider: product_test.patients.first.providers.first, submission_program: cat3_submission_program, - start_time: product_test.start_date, end_time: product_test.end_date, ry2022_submission: product_test.bundle.major_version == '2021' } + start_time: product_test.start_date, end_time: product_test.end_date, ry2025_submission: product_test.bundle.major_version == '2024' } Qrda3.new(results, product_test.measures, options).render end