Errors

Test
//cda:templateId[@root="1.3.6.1.4.1.19376.1.5.3.1.1.4"]E - 1
Location
/ClinicalDocument
Description
Error: The XDS-MS Discharge Summary requires the XDS-MS Discharge Summary template ID (1.3.6.1.4.1.19376.1.5.3.1.1.4).
Test
cda:idE - 2
Location
/ClinicalDocument/component/structuredBody/component[5]/section
Description
Error: In IHE PCC Active Problems Section (1.3.6.1.4.1.19376.1.5.3.1.3.6), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:code[@code="48767-8" and @codeSystem="2.16.840.1.113883.6.1"]E - 3
Location
/ClinicalDocument/component/structuredBody/component[12]/section/entry/substanceAdministration/entryRelationship[4]/act
Description
Error: In IHE PCC Comments (1.3.6.1.4.1.19376.1.5.3.1.4.2), the code element for Comments is required. The code and codeSystem attributes shall be recorded exactly as indicated.
Test
cda:templateId[@root="2.16.840.1.113883.10.20.1.28"]E - 4
Location
/ClinicalDocument/component/structuredBody/component[4]/section/entry/act/entryRelationship/observation
Description
Error: In IHE PCC Problem Entry (1.3.6.1.4.1.19376.1.5.3.1.4.5), elements identify this under both IHE and CCD specifications (2.16.840.1.113883.10.20.1.28). This CCD template ID SHALL be included.
Test
cda:idE - 5
Location
/ClinicalDocument/component/structuredBody/component[18]/section
Description
Error: In IHE PCC Discharge Diagnosis (1.3.6.1.4.1.19376.1.5.3.1.3.7), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 6
Location
/ClinicalDocument/component/structuredBody/component[2]/section
Description
Error: In IHE PCC Hospital Admission Diagnosis Section (1.3.6.1.4.1.19376.1.5.3.1.3.3), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 7
Location
/ClinicalDocument/component/structuredBody/component[11]/section
Description
Error: In IHE PCC Medications Administered Section (1.3.6.1.4.1.19376.1.5.3.1.3.21), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
count(cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.7.1"] | cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.8"] | cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.9"] | cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.10"] | cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.11"]) = 1E - 8
Location
/ClinicalDocument/component/structuredBody/component[11]/section/entry/substanceAdministration
Description
Error: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the element identifies this Medications as a particular type of medication event, allowing for validation of the content. As a side effect, readers of the CDA can quickly locate and identify medication events. The templateId must use one of the values in the table in the specification.
Test
count(cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.7.1"] | cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.8"] | cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.9"] | cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.10"] | cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.11"]) = 1E - 9
Location
/ClinicalDocument/component/structuredBody/component[16]/section/entry/substanceAdministration
Description
Error: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the element identifies this Medications as a particular type of medication event, allowing for validation of the content. As a side effect, readers of the CDA can quickly locate and identify medication events. The templateId must use one of the values in the table in the specification.
Test
cda:manufacturedMaterial/cda:code/cda:originalText/cda:referenceE - 10
Location
/ClinicalDocument/component/structuredBody/component[16]/section/entry/substanceAdministration/consumable/manufacturedProduct
Description
Error: In IHE PCC Product Entry (1.3.6.1.4.1.19376.1.5.3.1.4.7.2), the name and strength of the medication are specified in the elements under the element. The shall contain a whose URI value points to the generic name and strength of the medication, or just the generic name alone if strength is not relevant.
Test
cda:idE - 11
Location
/ClinicalDocument/component/structuredBody/component[16]/section
Description
Error: In IHE PCC Hospital Discharge Medications Section (1.3.6.1.4.1.19376.1.5.3.1.3.22), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 12
Location
/ClinicalDocument/component/structuredBody/component[6]/section
Description
Error: In IHE PCC Admission Medication History (1.3.6.1.4.1.19376.1.5.3.1.3.20), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 13
Location
/ClinicalDocument/component/structuredBody/component[4]/section
Description
Error: In IHE PCC Allergies and Other Adverse Reactions Section (1.3.6.1.4.1.19376.1.5.3.1.3.13), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 14
Location
/ClinicalDocument/component/structuredBody/component[8]/section
Description
Error: In IHE PCC Hospital Course Section (1.3.6.1.4.1.19376.1.5.3.1.3.5), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 15
Location
/ClinicalDocument/component/structuredBody/component[3]/section
Description
Error: In IHE PCC History of Present Illness Section (1.3.6.1.4.1.19376.1.5.3.1.3.4), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 16
Location
/ClinicalDocument/component/structuredBody/component[14]/section
Description
Error: In IHE PCC Physical Exam Section (1.3.6.1.4.1.19376.1.5.3.1.3.24), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 17
Location
/ClinicalDocument/component/structuredBody/component[13]/section
Description
Error: In IHE PCC Vital Signs Section (1.3.6.1.4.1.19376.1.5.3.1.3.25), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:idE - 18
Location
/ClinicalDocument/component/structuredBody/component[17]/section
Description
Error: In IHE PCC Care Plan Section (1.3.6.1.4.1.19376.1.5.3.1.3.31), all sections SHALL have an instance id to uniquely identify that section content module. See IHE PCC Technical Framework, Volume 2, Section 6.3.3.
Test
cda:code[@code = "18776-5"]E - 19
Location
/ClinicalDocument/component/structuredBody/component[17]/section
Description
Error: In IHE PCC Care Plan Section (1.3.6.1.4.1.19376.1.5.3.1.3.31), the section type code of a Care Plan must be 18776-5.

Warnings

Test
(cda:effectiveTime[1][@xsi:type="IVL_TS"]) and cda:effectiveTime[1]/cda:low[@value or @nullFlavor="UNK"] and cda:effectiveTime[1]/cda:high[@value or @nullFlavor="UNK"]W - 1
Location
/ClinicalDocument/component/structuredBody/component[6]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the first of Medications is required if known and encodes the start and stop time of the medication regimen. This an interval of time (xsi:type='IVL_TS'), and must be specified as shown. The and values of the first element represent the start and stop times for the medication. The value represents the start time, and the value represents the stop time. If either the or the value is unknown, this shall be recorded by setting the nullFlavor attribute to UNK.
Test
not(cda:routeCode) or cda:routeCode[@codeSystem = "2.16.840.1.113883.5.112"]W - 2
Location
/ClinicalDocument/component/structuredBody/component[6]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the routeCode for Medications should use the HL7 RouteOfAdministration vocabulary.
Test
cda:rateQuantityW - 3
Location
/ClinicalDocument/component/structuredBody/component[6]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the rateQuantity is required if known.
Test
cda:effectiveTime[@operator="A"]W - 4
Location
/ClinicalDocument/component/structuredBody/component[6]/section/entry[2]/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the frequency of medication in Medications to be administered is required if known. It shall be recorded as an effectiveTime element with an operator attribute equal to "A".
Test
not(cda:routeCode) or cda:routeCode[@codeSystem = "2.16.840.1.113883.5.112"]W - 5
Location
/ClinicalDocument/component/structuredBody/component[6]/section/entry[2]/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the routeCode for Medications should use the HL7 RouteOfAdministration vocabulary.
Test
cda:doseQuantityW - 6
Location
/ClinicalDocument/component/structuredBody/component[6]/section/entry[2]/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the doseQuantity is required if known.
Test
cda:rateQuantityW - 7
Location
/ClinicalDocument/component/structuredBody/component[6]/section/entry[2]/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the rateQuantity is required if known.
Test
(cda:effectiveTime[1][@xsi:type="IVL_TS"]) and cda:effectiveTime[1]/cda:low[@value or @nullFlavor="UNK"] and cda:effectiveTime[1]/cda:high[@value or @nullFlavor="UNK"]W - 8
Location
/ClinicalDocument/component/structuredBody/component[11]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the first of Medications is required if known and encodes the start and stop time of the medication regimen. This an interval of time (xsi:type='IVL_TS'), and must be specified as shown. The and values of the first element represent the start and stop times for the medication. The value represents the start time, and the value represents the stop time. If either the or the value is unknown, this shall be recorded by setting the nullFlavor attribute to UNK.
Test
cda:effectiveTime[@operator="A"]W - 9
Location
/ClinicalDocument/component/structuredBody/component[11]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the frequency of medication in Medications to be administered is required if known. It shall be recorded as an effectiveTime element with an operator attribute equal to "A".
Test
cda:routeCodeW - 10
Location
/ClinicalDocument/component/structuredBody/component[11]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), a routeCode for Medications must be specified if the route is known.
Test
cda:doseQuantityW - 11
Location
/ClinicalDocument/component/structuredBody/component[11]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the doseQuantity is required if known.
Test
cda:rateQuantityW - 12
Location
/ClinicalDocument/component/structuredBody/component[11]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the rateQuantity is required if known.
Test
(cda:effectiveTime[1][@xsi:type="IVL_TS"]) and cda:effectiveTime[1]/cda:low[@value or @nullFlavor="UNK"] and cda:effectiveTime[1]/cda:high[@value or @nullFlavor="UNK"]W - 13
Location
/ClinicalDocument/component/structuredBody/component[16]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the first of Medications is required if known and encodes the start and stop time of the medication regimen. This an interval of time (xsi:type='IVL_TS'), and must be specified as shown. The and values of the first element represent the start and stop times for the medication. The value represents the start time, and the value represents the stop time. If either the or the value is unknown, this shall be recorded by setting the nullFlavor attribute to UNK.
Test
cda:effectiveTime[@operator="A"]W - 14
Location
/ClinicalDocument/component/structuredBody/component[16]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the frequency of medication in Medications to be administered is required if known. It shall be recorded as an effectiveTime element with an operator attribute equal to "A".
Test
cda:routeCodeW - 15
Location
/ClinicalDocument/component/structuredBody/component[16]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), a routeCode for Medications must be specified if the route is known.
Test
cda:doseQuantityW - 16
Location
/ClinicalDocument/component/structuredBody/component[16]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the doseQuantity is required if known.
Test
cda:rateQuantityW - 17
Location
/ClinicalDocument/component/structuredBody/component[16]/section/entry/substanceAdministration
Description
Warning: In IHE PCC Medications (1.3.6.1.4.1.19376.1.5.3.1.4.7), the rateQuantity is required if known.
Test
cda:manufacturedMaterial/cda:nameW - 18
Location
/ClinicalDocument/component/structuredBody/component[16]/section/entry/substanceAdministration/consumable/manufacturedProduct
Description
Warning: In IHE PCC Product Entry (1.3.6.1.4.1.19376.1.5.3.1.4.7.2), the element should contain the brand name of the medication.

Reports

Test
.//cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.1.20.3.1"]R - 1
Location
/ClinicalDocument/component/structuredBody/component[17]/section
Description
Note: This Care Plan Section does not contain a(n) Observation Requests Entry.
Test
.//cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.7"]R - 2
Location
/ClinicalDocument/component/structuredBody/component[17]/section
Description
Note: This Care Plan Section does not contain a(n) Medication Entry.
Test
.//cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.12"]R - 3
Location
/ClinicalDocument/component/structuredBody/component[17]/section
Description
Note: This Care Plan Section does not contain a(n) Immunization Entry.
Test
.//cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.19"]R - 4
Location
/ClinicalDocument/component/structuredBody/component[17]/section
Description
Note: This Care Plan Section does not contain a(n) Procedure Entry.
Test
.//cda:templateId[@root = "1.3.6.1.4.1.19376.1.5.3.1.4.14"]R - 5
Location
/ClinicalDocument/component/structuredBody/component[17]/section
Description
Note: This Care Plan Section does not contain a(n) Encounter Entry.