Details
-
Problem
-
Resolution: Resolved
-
Moderate
-
None
-
None
-
ICF
-
Dan Donahue
-
2143344661
-
Implemented correction as proposed in ticket description.
Description
In the 2023 CMS QRDA III Schematron (updated December 2022), there is a problem with one of the rules:
<sch:rule id="QRDA_Category_III_CMS-documentationOf-serviceEvent-performer-assignedEntity-errors" context="cda:ClinicalDocument[cda:templateId[@root='2.16.840.1.113883.10.20.27.1.2'][@extension='2022-12-01']]/cda:documentationOf/cda:serviceEvent/cda:performer/cda:assignedEntity">
<!-- There are some specific rules about how non-NPI ids should be formatted, depending on reporting type. -->
<sch:assert id="a-4526-18177_C01-error" test="count(cda:id[@root='2.16.840.1.113883.4.6']=1)">This assignedEntity SHALL contain exactly one [1..1] id (CONF:4526-18177_C01) such that it SHALL contain exactly one [1..1] @root="2.16.840.1.113883.4.6" National Provider ID (CONF:4526-18178_C01).</sch:assert>
<sch:assert id="a-4526-18177_C01-MIPSAPMENTITY-NPI-format-error" test="$intendedRecipient-DocOf != 'MIPS_APMENTITY' or ($intendedRecipient-DocOf='MIPS_APMENTITY' and count(cda:id[@root='2.16.840.1.113883.4.6'][@nullFlavor='NA'][not(@extension)])=1)">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:4526-18177_C01).</sch:assert>
<sch:assert id="a-4526-18177_C01-MIPSGROUP-NPI-format-error" test="$intendedRecipient-DocOf != 'MIPS_GROUP' or ($intendedRecipient-DocOf='MIPS_GROUP' and count(cda:id[@root='2.16.840.1.113883.4.6'][@nullFlavor='NA'][not(@extension)])=1)">For MIPS group reporting, id/@root=' 2.16.840.1.113883.4.6' is coupled with @nullFlavor="NA", and @extension shall be omitted.(CONF:4526-18177_C01).</sch:assert>
<sch:assert id="a-4526-18177_C01-MIPSIVIRTUALGROUP-NPI-format-error" test="$intendedRecipient-DocOf != 'MIPS_VIRTUALGROUP' or ($intendedRecipient-DocOf='MIPS_VIRTUALGROUP' and count(cda:id[@root='2.16.840.1.113883.4.6'][@nullFlavor='NA'][not(@extension)])=1)">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:4526-18177_C01).</sch:assert>
<sch:assert id="a-4526-18180-error" test="count(cda:representedOrganization)=1">This assignedEntity SHALL contain exactly one [1..1] representedOrganization (CONF:4526-18180).</sch:assert>
</sch:rule>
test="count(cda:id[@root='2.16.840.1.113883.4.6']=1)" has the parenthesis in the wrong palce. It should be test="count(cda:id[@root='2.16.840.1.113883.4.6'])=1"