Hello,
I'm trying to validate my CCDA against the scenario "170.315_b1_ToC_Amb" -> "170.315_b1_toc_amb_sample1_v1.pdf".
I'm particularly interested on adding following "Procedure Note": Dr Albert Davis examined Ms Alice Newman and found that the pacemaker is operating properly and the breathlessness is due to high fever and anxiety.
I'm doing that as a standalone entry on the procedures section (2.16.840.1.113883.10.20.22.2.7.1) of the CCDA.
See below so you can see how that entry looks.
<entry typeCode="DRIV">
<act classCode="ACT" moodCode="EVN">
<templateId root="2.16.840.1.113883.10.20.22.4.202" extension="2016-11-01"/>
<code code="34109-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
displayName="Note">
<translation code="28570-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
displayName="Procedure note" />
</code>
<text>
<reference value="#ProcedureNote1" />
</text>
<statusCode code="completed"/>
<!-- Clinically-relevant time of the note -->
<effectiveTime value="20140203" />
<!-- Author Participation -->
<author>
<templateId root="2.16.840.1.113883.10.20.22.4.119" />
<time value="20150622" />
<assignedAuthor>
<id root="2.16.840.1.113883.4.6" extension="1891798849" />
<assignedPerson>
<name>
<given>DR ALBERT</given>
<family>DAVIS</family>
</name>
</assignedPerson>
</assignedAuthor>
</author>
</act>
</entry>
I'm just getting one error:
"The scenario requires a total of 0 Author Entries for Procedures Section/ProcedureActivityProcedure, however the submitted data had only 1 entries.
Line number: 0"
In this case I can not remove the author node. If I remove it I get the following error:
Error - Consol Note Activity SHALL contain [1..*] author such that it (3250-16913) Conforms to Author Participation (templateId: 2.16.840.1.113883.10.20.22.4.119)
/ClinicalDocument/component/structuredBody/component[2]/section/entry[6]/act
Line number: 362
Any ideas??