Template:CDA Section: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Tsoutherland (talk | contribs) No edit summary |
||
| Line 243: | Line 243: | ||
====== Schematron ====== | ====== Schematron ====== | ||
<pattern name='Template_{{{2}}}'> | <pattern name='Template_{{{2}}}'> | ||
<rule context='*[templateId/@root="{{{2}}}"]'> | <rule context='*[cda:templateId/@root="{{{2}}}"]'> | ||
<!-- Verify that the template id is used on the appropriate type of object --> | <!-- Verify that the template id is used on the appropriate type of object --> | ||
<assert test='../cda:section'> | <assert test='../cda:section'> | ||
| Line 253: | Line 253: | ||
</assert>}}}}{{If|test={{{LOINC|}}}|then= | </assert>}}}}{{If|test={{{LOINC|}}}|then= | ||
<!-- Verify the section type code --> | <!-- Verify the section type code --> | ||
<assert test='code[@code = "{{{LOINC}}}"]'> | <assert test='cda:code[@code = "{{{LOINC}}}"]'> | ||
Error: The section type code of a {{{1}}} must be {{{LOINC}}} | Error: The section type code of a {{{1}}} must be {{{LOINC}}} | ||
</assert> | </assert> | ||
<assert test='code[@codeSystem = "2.16.840.1.113883.6.1"]'> | <assert test='cda:code[@codeSystem = "2.16.840.1.113883.6.1"]'> | ||
Error: The section type code must come from the LOINC code | Error: The section type code must come from the LOINC code | ||
system (2.16.840.1.113883.6.1). | system (2.16.840.1.113883.6.1). | ||
Revision as of 15:58, 9 August 2007
CDA Section Section
| Template ID | {{{2}}} | |
|---|---|---|
| General Description | {{{4}}} | |
<component>
<section>
<templateId root='{{{2}}}'/>
<id root=' ' extension=' '/>
<code code=' ' displayName=' '
codeSystem='2.16.840.1.113883.6.1' codeSystemName='LOINC'/>
<text>
Text as described above
</text>
</section>
</component>
|
{{CDA Section|Section Name|OID|Status|Description
|Parent=ParentOID|ParentName=Parent Template Name
|Code={{CDA Section Code|Section Name|Entry Name 1|Opt|LOINC|Comment}}
:
{{CDA Section Code|Section Name|Entry Name N|Opt|LOINC|Comment}}
|Entry={{CDA Section Content|Section Name|Entry Name 1|Opt|OID|Comment}}
:
{{CDA Section Content|Section Name|Entry Name N|Opt|OID|Comment}}
|Subsections={{CDA Section Content|Section Name|Subsection Name 1|Opt|OID|Comment}}
:
{{CDA Section Content|Section Name|Subsection Name N|Opt|OID|Comment}}
}}