Template:CDA Document: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 63: | Line 63: | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
<br/> | |||
{{If|test={{{Note|}}}|then={{{Note}}}}} | |||
{{FixMe|Put the ClinicalDocument header here}} | |||
{| | |||
|- | |||
|+'''Sample {{{1}}} Section''' | |||
| | |||
<component> | |||
<section>{{If|test={{{Parent|}}}|then=<br/> <templateId root='{{{Parent}}}'/>}} | |||
<templateId root='{{{2}}}'/> | |||
<id root=' ' extension=' '/> | |||
<code code='{{{LOINC| }}}' displayName='{{{LOINCName| }}}' | |||
codeSystem='2.16.840.1.113883.6.1' codeSystemName='LOINC'/> | |||
<text> | |||
''Text as described above'' | |||
</text> {{If|test={{{Entry|}}}|then=<br/> <entry> | |||
''Required and optional entries as described above'' | |||
</entry><br/> | |||
}}{{If|test={{Equal|{{{5}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}} | |||
}}{{If|test={{Equal|{{{10}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{11}}}|{{{12}}}|{{{13}}}|{{{14}}}}} | |||
}}{{If|test={{Equal|{{{15}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{16}}}|{{{17}}}|{{{18}}}|{{{19}}}}} | |||
}}{{If|test={{Equal|{{{20}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{21}}}|{{{22}}}|{{{23}}}|{{{24}}}}} | |||
}}{{If|test={{Equal|{{{25}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{26}}}|{{{27}}}|{{{28}}}|{{{29}}}}} | |||
}}{{If|test={{Equal|{{{30}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{31}}}|{{{32}}}|{{{33}}}|{{{34}}}}} | |||
}}{{If|test={{Equal|{{{35}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{36}}}|{{{37}}}|{{{38}}}|{{{39}}}}} | |||
}}{{If|test={{Equal|{{{40}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{41}}}|{{{42}}}|{{{43}}}|{{{44}}}}} | |||
}}{{If|test={{Equal|{{{45}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{46}}}|{{{47}}}|{{{48}}}|{{{49}}}}} | |||
}}{{If|test={{Equal|{{{50}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{51}}}|{{{52}}}|{{{53}}}|{{{54}}}}} | |||
}}{{If|test={{Equal|{{{55}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{56}}}|{{{57}}}|{{{58}}}|{{{59}}}}} | |||
}}{{If|test={{Equal|{{{60}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{61}}}|{{{62}}}|{{{63}}}|{{{64}}}}} | |||
}}{{If|test={{Equal|{{{65}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{66}}}|{{{67}}}|{{{68}}}|{{{69}}}}} | |||
}}{{If|test={{Equal|{{{70}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{71}}}|{{{72}}}|{{{73}}}|{{{74}}}}} | |||
}}{{If|test={{Equal|{{{75}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{76}}}|{{{77}}}|{{{78}}}|{{{79}}}}} | |||
}}{{If|test={{Equal|{{{80}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{81}}}|{{{82}}}|{{{83}}}|{{{84}}}}} | |||
}}{{If|test={{Equal|{{{85}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{86}}}|{{{87}}}|{{{88}}}|{{{89}}}}} | |||
}}{{If|test={{Equal|{{{90}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{91}}}|{{{92}}}|{{{93}}}|{{{94}}}}} | |||
}}{{If|test={{Equal|{{{95}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{96}}}|{{{97}}}|{{{98}}}|{{{99}}}}} | |||
}}{{If|test={{Equal|{{{105}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{106}}}|{{{107}}}|{{{108}}}|{{{109}}}}} | |||
}}{{If|test={{Equal|{{{110}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{111}}}|{{{112}}}|{{{113}}}|{{{114}}}}} | |||
}}{{If|test={{Equal|{{{115}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{116}}}|{{{117}}}|{{{118}}}|{{{119}}}}} | |||
}}{{If|test={{Equal|{{{120}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{121}}}|{{{122}}}|{{{123}}}|{{{124}}}}} | |||
}}{{If|test={{Equal|{{{125}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{126}}}|{{{127}}}|{{{128}}}|{{{129}}}}} | |||
}}{{If|test={{Equal|{{{130}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{131}}}|{{{132}}}|{{{133}}}|{{{134}}}}} | |||
}}{{If|test={{Equal|{{{135}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{136}}}|{{{137}}}|{{{138}}}|{{{139}}}}} | |||
}}{{If|test={{Equal|{{{140}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{141}}}|{{{142}}}|{{{143}}}|{{{144}}}}} | |||
}}{{If|test={{Equal|{{{145}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{146}}}|{{{147}}}|{{{148}}}|{{{149}}}}} | |||
}}{{If|test={{Equal|{{{150}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{151}}}|{{{152}}}|{{{153}}}|{{{154}}}}} | |||
}}{{If|test={{Equal|{{{155}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{156}}}|{{{157}}}|{{{158}}}|{{{159}}}}} | |||
}}{{If|test={{Equal|{{{160}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{161}}}|{{{162}}}|{{{163}}}|{{{164}}}}} | |||
}}{{If|test={{Equal|{{{165}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{166}}}|{{{167}}}|{{{168}}}|{{{169}}}}} | |||
}}{{If|test={{Equal|{{{170}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{171}}}|{{{172}}}|{{{173}}}|{{{174}}}}} | |||
}}{{If|test={{Equal|{{{175}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{176}}}|{{{177}}}|{{{178}}}|{{{179}}}}} | |||
}}{{If|test={{Equal|{{{180}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{181}}}|{{{182}}}|{{{183}}}|{{{184}}}}} | |||
}}{{If|test={{Equal|{{{185}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{186}}}|{{{187}}}|{{{188}}}|{{{189}}}}} | |||
}}{{If|test={{Equal|{{{190}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{191}}}|{{{192}}}|{{{193}}}|{{{194}}}}} | |||
}}{{If|test={{Equal|{{{195}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{196}}}|{{{197}}}|{{{198}}}|{{{199}}}}} | |||
}}{{If|test={{{Subsections|}}}|then=<br/> <component> | |||
''Required and optional subsections as described above'' | |||
</component>}} | |||
{{If|test={{Equal|{{{5}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}} | |||
}}{{If|test={{Equal|{{{10}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{11}}}|{{{12}}}|{{{13}}}|{{{14}}}}} | |||
}}{{If|test={{Equal|{{{15}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{16}}}|{{{17}}}|{{{18}}}|{{{19}}}}} | |||
}}{{If|test={{Equal|{{{20}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{21}}}|{{{22}}}|{{{23}}}|{{{24}}}}} | |||
}}{{If|test={{Equal|{{{25}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{26}}}|{{{27}}}|{{{28}}}|{{{29}}}}} | |||
}}{{If|test={{Equal|{{{30}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{31}}}|{{{32}}}|{{{33}}}|{{{34}}}}} | |||
}}{{If|test={{Equal|{{{35}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{36}}}|{{{37}}}|{{{38}}}|{{{39}}}}} | |||
}}{{If|test={{Equal|{{{40}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{41}}}|{{{42}}}|{{{43}}}|{{{44}}}}} | |||
}}{{If|test={{Equal|{{{45}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{46}}}|{{{47}}}|{{{48}}}|{{{49}}}}} | |||
}}{{If|test={{Equal|{{{50}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{51}}}|{{{52}}}|{{{53}}}|{{{54}}}}} | |||
}}{{If|test={{Equal|{{{55}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{56}}}|{{{57}}}|{{{58}}}|{{{59}}}}} | |||
}}{{If|test={{Equal|{{{60}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{61}}}|{{{62}}}|{{{63}}}|{{{64}}}}} | |||
}}{{If|test={{Equal|{{{65}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{66}}}|{{{67}}}|{{{68}}}|{{{69}}}}} | |||
}}{{If|test={{Equal|{{{70}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{71}}}|{{{72}}}|{{{73}}}|{{{74}}}}} | |||
}}{{If|test={{Equal|{{{75}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{76}}}|{{{77}}}|{{{78}}}|{{{79}}}}} | |||
}}{{If|test={{Equal|{{{80}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{81}}}|{{{82}}}|{{{83}}}|{{{84}}}}} | |||
}}{{If|test={{Equal|{{{85}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{86}}}|{{{87}}}|{{{88}}}|{{{89}}}}} | |||
}}{{If|test={{Equal|{{{90}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{91}}}|{{{92}}}|{{{93}}}|{{{94}}}}} | |||
}}{{If|test={{Equal|{{{95}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{96}}}|{{{97}}}|{{{98}}}|{{{99}}}}} | |||
}}{{If|test={{Equal|{{{105}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{106}}}|{{{107}}}|{{{108}}}|{{{109}}}}} | |||
}}{{If|test={{Equal|{{{110}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{111}}}|{{{112}}}|{{{113}}}|{{{114}}}}} | |||
}}{{If|test={{Equal|{{{115}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{116}}}|{{{117}}}|{{{118}}}|{{{119}}}}} | |||
}}{{If|test={{Equal|{{{120}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{121}}}|{{{122}}}|{{{123}}}|{{{124}}}}} | |||
}}{{If|test={{Equal|{{{125}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{126}}}|{{{127}}}|{{{128}}}|{{{129}}}}} | |||
}}{{If|test={{Equal|{{{130}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{131}}}|{{{132}}}|{{{133}}}|{{{134}}}}} | |||
}}{{If|test={{Equal|{{{135}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{136}}}|{{{137}}}|{{{138}}}|{{{139}}}}} | |||
}}{{If|test={{Equal|{{{140}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{141}}}|{{{142}}}|{{{143}}}|{{{144}}}}} | |||
}}{{If|test={{Equal|{{{145}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{146}}}|{{{147}}}|{{{148}}}|{{{149}}}}} | |||
}}{{If|test={{Equal|{{{150}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{151}}}|{{{152}}}|{{{153}}}|{{{154}}}}} | |||
}}{{If|test={{Equal|{{{155}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{156}}}|{{{157}}}|{{{158}}}|{{{159}}}}} | |||
}}{{If|test={{Equal|{{{160}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{161}}}|{{{162}}}|{{{163}}}|{{{164}}}}} | |||
}}{{If|test={{Equal|{{{165}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{166}}}|{{{167}}}|{{{168}}}|{{{169}}}}} | |||
}}{{If|test={{Equal|{{{170}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{171}}}|{{{172}}}|{{{173}}}|{{{174}}}}} | |||
}}{{If|test={{Equal|{{{175}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{176}}}|{{{177}}}|{{{178}}}|{{{179}}}}} | |||
}}{{If|test={{Equal|{{{180}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{181}}}|{{{182}}}|{{{183}}}|{{{184}}}}} | |||
}}{{If|test={{Equal|{{{185}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{186}}}|{{{187}}}|{{{188}}}|{{{189}}}}} | |||
}}{{If|test={{Equal|{{{190}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{191}}}|{{{192}}}|{{{193}}}|{{{194}}}}} | |||
}}{{If|test={{Equal|{{{195}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{196}}}|{{{197}}}|{{{198}}}|{{{199}}}}} | |||
}} | |||
</section> | |||
</component> | |||
|} | |||
{{If|test={{{5|{{{LOINC|}}}}}}|then= | {{If|test={{{5|{{{LOINC|}}}}}}|then= | ||