-
-
Save mjszczep/c815a16c788eba587f7fff414519cc42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sch:assert id="a-3250-16902-c" test="starts-with(cda:text/cda:reference/@value, '#')">This reference/@value SHALL begin with a '#' and SHALL point to its corresponding narrative (using the approach defined in CDA Release 2, section 4.3.5.1) (CONF:3250-16902).</sch:assert> | |
<sch:assert id="a-3250-16912-c" test="not(cda:text/@mediaType) or cda:text/@representation = 'B64'">If @mediaType is present, the text SHALL contain exactly one [1..1] @representation="B64" and mixed content corresponding to the contents of the note (CONF:3250-16912).</sch:assert> | |
<sch:assert id="a-3250-16914-branch-16907-c" test="not(tested)">If the id does not match an encounter/id from the Encounters Section within the same document and the id does not contain @nullFlavor=NA, then this entry SHALL conform to the Encounter Activity (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.49:2015-08-01) (CONF:3250-16914).</sch:assert> | |
<!-- 08/20/2020: Removed not(cda:participantRole) from the test below since it's unnecessary. --> | |
<sch:assert id="a-4435-133-branch-128-c" test="//cda:act[cda:templateId[@root='2.16.840.1.113883.10.20.22.4.500.1' and @extension='2019-07-01']]/cda:id | |
[@root = current()/cda:participantRole/cda:id/@root | |
and ((not(@extension) and not(current()/cda:participantRole/cda:id/@extension)) | |
or @extension = current()/cda:participantRole/cda:id/@extension)]">This id SHALL match at least one of the member's id in the Care Team Member act template (CONF:4435-133).</sch:assert> | |
<sch:assert id="a-3250-16942-branch-16939-c" test="not(tested)">When the Note Activity is within a Note Section, the code SHOULD match or specialize the section code (CONF:3250-16942).</sch:assert> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment