-->>
Minor issue: The line:
<assert test='templateId[@root="2.16.840.1.113883.10.20.1.9"]'>
is missing the cda: namespace prefix on templateId
<<--