Details
-
Technical Correction
-
Resolution: Persuasive
-
Medium
-
C-CDA Templates Clinical Notes (CDA)
-
2.1.0.7 [deprecated]
-
Structured Documents
-
Schematron Validation Files [deprecated]
-
-
Correction
-
Non-substantive
Description
Within the Progress Note template, the ClinicalDocument/documentationOf branch is encouraged with a SHOULD, but the following primitive constraint at the documentationOf/serviceEvent/effectiveTime level generates errors even when there is no documentationOf branch:
If a width element is not present, the serviceEvent SHALL include effectiveTime/high (CONF:1198-10066).
Here is the applicable schematron from Trifolia:
count(cda:documentationOf/cda:serviceEvent/cda:effectiveTime/cda:high | cda:documentationOf/cda:serviceEvent/cda:effectiveTime/cda:width)=1
We probably need to modify this to check to see if there exists a documentationOf/serviceEvent/effectiveTime node first, because it is only required with a SHOULD.