Difference between revisions of "Template:CDA Section"

From IHE Wiki
Jump to navigation Jump to search
m
m
Line 38: Line 38:
 
|-
 
|-
 
{{{Entry|}}}
 
{{{Entry|}}}
 +
{{If|test={{Equal|{{{5}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}} }}
 +
{{If|test={{Equal|{{{10}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{11}}}|{{{12}}}|{{{13}}}|{{{14}}}}} }}
 +
{{If|test={{Equal|{{{15}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{16}}}|{{{17}}}|{{{18}}}|{{{19}}}}} }}
 +
{{If|test={{Equal|{{{20}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{21}}}|{{{22}}}|{{{23}}}|{{{24}}}}} }}
 +
{{If|test={{Equal|{{{25}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{26}}}|{{{27}}}|{{{28}}}|{{{29}}}}} }}
 +
{{If|test={{Equal|{{{30}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{31}}}|{{{32}}}|{{{33}}}|{{{34}}}}} }}
 +
{{If|test={{Equal|{{{35}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{36}}}|{{{37}}}|{{{38}}}|{{{39}}}}} }}
 +
{{If|test={{Equal|{{{40}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{41}}}|{{{42}}}|{{{43}}}|{{{44}}}}} }}
 +
{{If|test={{Equal|{{{45}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{46}}}|{{{47}}}|{{{48}}}|{{{49}}}}} }}
 +
{{If|test={{Equal|{{{50}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{51}}}|{{{52}}}|{{{53}}}|{{{54}}}}} }}
 +
{{If|test={{Equal|{{{55}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{56}}}|{{{57}}}|{{{58}}}|{{{59}}}}} }}
 +
{{If|test={{Equal|{{{60}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{61}}}|{{{62}}}|{{{63}}}|{{{64}}}}} }}
 +
{{If|test={{Equal|{{{65}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{66}}}|{{{67}}}|{{{68}}}|{{{69}}}}} }}
 +
{{If|test={{Equal|{{{70}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{71}}}|{{{72}}}|{{{73}}}|{{{74}}}}} }}
 +
{{If|test={{Equal|{{{75}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{76}}}|{{{77}}}|{{{78}}}|{{{79}}}}} }}
 +
{{If|test={{Equal|{{{80}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{81}}}|{{{82}}}|{{{83}}}|{{{84}}}}} }}
 +
{{If|test={{Equal|{{{85}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{86}}}|{{{87}}}|{{{88}}}|{{{89}}}}} }}
 +
{{If|test={{Equal|{{{90}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{91}}}|{{{92}}}|{{{93}}}|{{{94}}}}} }}
 +
{{If|test={{Equal|{{{95}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{96}}}|{{{97}}}|{{{98}}}|{{{99}}}}} }}
 +
{{If|test={{Equal|{{{105}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{106}}}|{{{107}}}|{{{108}}}|{{{109}}}}} }}
 +
{{If|test={{Equal|{{{110}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{111}}}|{{{112}}}|{{{113}}}|{{{114}}}}} }}
 +
{{If|test={{Equal|{{{115}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{116}}}|{{{117}}}|{{{118}}}|{{{119}}}}} }}
 +
{{If|test={{Equal|{{{120}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{121}}}|{{{122}}}|{{{123}}}|{{{124}}}}} }}
 +
{{If|test={{Equal|{{{125}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{126}}}|{{{127}}}|{{{128}}}|{{{129}}}}} }}
 +
{{If|test={{Equal|{{{130}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{131}}}|{{{132}}}|{{{133}}}|{{{134}}}}} }}
 +
{{If|test={{Equal|{{{135}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{136}}}|{{{137}}}|{{{138}}}|{{{139}}}}} }}
 +
{{If|test={{Equal|{{{140}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{141}}}|{{{142}}}|{{{143}}}|{{{144}}}}} }}
 +
{{If|test={{Equal|{{{145}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{146}}}|{{{147}}}|{{{148}}}|{{{149}}}}} }}
 +
{{If|test={{Equal|{{{150}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{151}}}|{{{152}}}|{{{153}}}|{{{154}}}}} }}
 +
{{If|test={{Equal|{{{155}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{156}}}|{{{157}}}|{{{158}}}|{{{159}}}}} }}
 +
{{If|test={{Equal|{{{160}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{161}}}|{{{162}}}|{{{163}}}|{{{164}}}}} }}
 +
{{If|test={{Equal|{{{165}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{166}}}|{{{167}}}|{{{168}}}|{{{169}}}}} }}
 +
{{If|test={{Equal|{{{170}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{171}}}|{{{172}}}|{{{173}}}|{{{174}}}}} }}
 +
{{If|test={{Equal|{{{175}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{176}}}|{{{177}}}|{{{178}}}|{{{179}}}}} }}
 +
{{If|test={{Equal|{{{180}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{181}}}|{{{182}}}|{{{183}}}|{{{184}}}}} }}
 +
{{If|test={{Equal|{{{185}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{186}}}|{{{187}}}|{{{188}}}|{{{189}}}}} }}
 +
{{If|test={{Equal|{{{190}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{191}}}|{{{192}}}|{{{193}}}|{{{194}}}}} }}
 +
{{If|test={{Equal|{{{195}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{196}}}|{{{197}}}|{{{198}}}|{{{199}}}}} }}
 
|-style='background: lightgrey; text-align: center; border: 1px solid black'  
 
|-style='background: lightgrey; text-align: center; border: 1px solid black'  
 
{{If|test={{{Subsections|}}}|then=
 
{{If|test={{{Subsections|}}}|then=
Line 45: Line 83:
 
|-
 
|-
 
{{{Subsections|}}}
 
{{{Subsections|}}}
 +
{{If|test={{Equal|{{{5}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}} }}
 +
{{If|test={{Equal|{{{10}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{11}}}|{{{12}}}|{{{13}}}|{{{14}}}}} }}
 +
{{If|test={{Equal|{{{15}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{16}}}|{{{17}}}|{{{18}}}|{{{19}}}}} }}
 +
{{If|test={{Equal|{{{20}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{21}}}|{{{22}}}|{{{23}}}|{{{24}}}}} }}
 +
{{If|test={{Equal|{{{25}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{26}}}|{{{27}}}|{{{28}}}|{{{29}}}}} }}
 +
{{If|test={{Equal|{{{30}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{31}}}|{{{32}}}|{{{33}}}|{{{34}}}}} }}
 +
{{If|test={{Equal|{{{35}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{36}}}|{{{37}}}|{{{38}}}|{{{39}}}}} }}
 +
{{If|test={{Equal|{{{40}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{41}}}|{{{42}}}|{{{43}}}|{{{44}}}}} }}
 +
{{If|test={{Equal|{{{45}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{46}}}|{{{47}}}|{{{48}}}|{{{49}}}}} }}
 +
{{If|test={{Equal|{{{50}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{51}}}|{{{52}}}|{{{53}}}|{{{54}}}}} }}
 +
{{If|test={{Equal|{{{55}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{56}}}|{{{57}}}|{{{58}}}|{{{59}}}}} }}
 +
{{If|test={{Equal|{{{60}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{61}}}|{{{62}}}|{{{63}}}|{{{64}}}}} }}
 +
{{If|test={{Equal|{{{65}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{66}}}|{{{67}}}|{{{68}}}|{{{69}}}}} }}
 +
{{If|test={{Equal|{{{70}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{71}}}|{{{72}}}|{{{73}}}|{{{74}}}}} }}
 +
{{If|test={{Equal|{{{75}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{76}}}|{{{77}}}|{{{78}}}|{{{79}}}}} }}
 +
{{If|test={{Equal|{{{80}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{81}}}|{{{82}}}|{{{83}}}|{{{84}}}}} }}
 +
{{If|test={{Equal|{{{85}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{86}}}|{{{87}}}|{{{88}}}|{{{89}}}}} }}
 +
{{If|test={{Equal|{{{90}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{91}}}|{{{92}}}|{{{93}}}|{{{94}}}}} }}
 +
{{If|test={{Equal|{{{95}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{96}}}|{{{97}}}|{{{98}}}|{{{99}}}}} }}
 +
{{If|test={{Equal|{{{105}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{106}}}|{{{107}}}|{{{108}}}|{{{109}}}}} }}
 +
{{If|test={{Equal|{{{110}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{111}}}|{{{112}}}|{{{113}}}|{{{114}}}}} }}
 +
{{If|test={{Equal|{{{115}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{116}}}|{{{117}}}|{{{118}}}|{{{119}}}}} }}
 +
{{If|test={{Equal|{{{120}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{121}}}|{{{122}}}|{{{123}}}|{{{124}}}}} }}
 +
{{If|test={{Equal|{{{125}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{126}}}|{{{127}}}|{{{128}}}|{{{129}}}}} }}
 +
{{If|test={{Equal|{{{130}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{131}}}|{{{132}}}|{{{133}}}|{{{134}}}}} }}
 +
{{If|test={{Equal|{{{135}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{136}}}|{{{137}}}|{{{138}}}|{{{139}}}}} }}
 +
{{If|test={{Equal|{{{140}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{141}}}|{{{142}}}|{{{143}}}|{{{144}}}}} }}
 +
{{If|test={{Equal|{{{145}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{146}}}|{{{147}}}|{{{148}}}|{{{149}}}}} }}
 +
{{If|test={{Equal|{{{150}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{151}}}|{{{152}}}|{{{153}}}|{{{154}}}}} }}
 +
{{If|test={{Equal|{{{155}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{156}}}|{{{157}}}|{{{158}}}|{{{159}}}}} }}
 +
{{If|test={{Equal|{{{160}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{161}}}|{{{162}}}|{{{163}}}|{{{164}}}}} }}
 +
{{If|test={{Equal|{{{165}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{166}}}|{{{167}}}|{{{168}}}|{{{169}}}}} }}
 +
{{If|test={{Equal|{{{170}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{171}}}|{{{172}}}|{{{173}}}|{{{174}}}}} }}
 +
{{If|test={{Equal|{{{175}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{176}}}|{{{177}}}|{{{178}}}|{{{179}}}}} }}
 +
{{If|test={{Equal|{{{180}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{181}}}|{{{182}}}|{{{183}}}|{{{184}}}}} }}
 +
{{If|test={{Equal|{{{185}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{186}}}|{{{187}}}|{{{188}}}|{{{189}}}}} }}
 +
{{If|test={{Equal|{{{190}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{191}}}|{{{192}}}|{{{193}}}|{{{194}}}}} }}
 +
{{If|test={{Equal|{{{195}}}|Section}}|then={{CDA Section Content|{{{2}}}|{{{196}}}|{{{197}}}|{{{198}}}|{{{199}}}}} }}
 
|}
 
|}
 
<br/>
 
<br/>
Line 67: Line 143:
 
  </component>
 
  </component>
 
|}
 
|}
 +
 +
{{If|test={{{5|{{{LOINC|}}}}}}|then=
 +
====== Schematron ======
 +
<div style='font-family: monospace; line-height: 0.9; border: 1px solid black;'>
 +
<pattern name='Template_{{{2}}}'><br/>
 +
&nbsp;&nbsp;<rule context='*[templateId/@root="{{{2}}}"]'><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- Verify that the template id is used on the appropriate type of object --><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='../cda:section'><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The {{{1}}} can only be used on sections.<br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>{{If|test={{{Parent|}}}|then=
 +
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- Verify that the parent templateId is also present. --><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='templateId[@root="{{{Parent}}}"]'><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The parent template identifier for {{{1}}} is not present.<br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>
 +
}}}}{{If|test={{{LOINC|}}}|then=
 +
&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- Verify the section type code --><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='code[@code = "{{{LOINC}}}"]'><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The section type code of a {{{1}}} must be {{{LOINC}}}<br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;<assert test='code[@codeSystem = "2.16.840.1.113883.6.1"]'><br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error: The section type code must come from the LOINC code <br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;system (2.16.840.1.113883.6.1).<br/>
 +
&nbsp;&nbsp;&nbsp;&nbsp;</assert><br/>
 +
}}{{If|test={{{5|}}}|then={{Schematron Rule|{{{5}}}|{{{1}}}|{{{2}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}}
 +
}}{{If|test={{{10|}}}|then={{Schematron Rule|{{{10}}}|{{{1}}}|{{{2}}}|{{{11}}}|{{{12}}}|{{{13}}}|{{{14}}}}}
 +
}}{{If|test={{{15|}}}|then={{Schematron Rule|{{{15}}}|{{{1}}}|{{{2}}}|{{{16}}}|{{{17}}}|{{{18}}}|{{{19}}}}}
 +
}}{{If|test={{{20|}}}|then={{Schematron Rule|{{{20}}}|{{{1}}}|{{{2}}}|{{{21}}}|{{{22}}}|{{{23}}}|{{{24}}}}}
 +
}}{{If|test={{{25|}}}|then={{Schematron Rule|{{{25}}}|{{{1}}}|{{{2}}}|{{{26}}}|{{{27}}}|{{{28}}}|{{{29}}}}}
 +
}}{{If|test={{{30|}}}|then={{Schematron Rule|{{{30}}}|{{{1}}}|{{{2}}}|{{{31}}}|{{{32}}}|{{{33}}}|{{{34}}}}}
 +
}}{{If|test={{{35|}}}|then={{Schematron Rule|{{{35}}}|{{{1}}}|{{{2}}}|{{{36}}}|{{{37}}}|{{{38}}}|{{{39}}}}}
 +
}}{{If|test={{{40|}}}|then={{Schematron Rule|{{{40}}}|{{{1}}}|{{{2}}}|{{{41}}}|{{{42}}}|{{{43}}}|{{{44}}}}}
 +
}}{{If|test={{{45|}}}|then={{Schematron Rule|{{{45}}}|{{{1}}}|{{{2}}}|{{{46}}}|{{{47}}}|{{{48}}}|{{{49}}}}}
 +
}}{{If|test={{{50|}}}|then={{Schematron Rule|{{{50}}}|{{{1}}}|{{{2}}}|{{{51}}}|{{{52}}}|{{{53}}}|{{{54}}}}}
 +
}}{{If|test={{{55|}}}|then={{Schematron Rule|{{{55}}}|{{{1}}}|{{{2}}}|{{{56}}}|{{{57}}}|{{{58}}}|{{{59}}}}}
 +
}}{{If|test={{{60|}}}|then={{Schematron Rule|{{{60}}}|{{{1}}}|{{{2}}}|{{{61}}}|{{{62}}}|{{{63}}}|{{{64}}}}}
 +
}}{{If|test={{{65|}}}|then={{Schematron Rule|{{{65}}}|{{{1}}}|{{{2}}}|{{{66}}}|{{{67}}}|{{{68}}}|{{{69}}}}}
 +
}}{{If|test={{{70|}}}|then={{Schematron Rule|{{{70}}}|{{{1}}}|{{{2}}}|{{{71}}}|{{{72}}}|{{{73}}}|{{{74}}}}}
 +
}}{{If|test={{{75|}}}|then={{Schematron Rule|{{{75}}}|{{{1}}}|{{{2}}}|{{{76}}}|{{{77}}}|{{{78}}}|{{{79}}}}}
 +
}}{{If|test={{{80|}}}|then={{Schematron Rule|{{{80}}}|{{{1}}}|{{{2}}}|{{{81}}}|{{{82}}}|{{{83}}}|{{{84}}}}}
 +
}}{{If|test={{{85|}}}|then={{Schematron Rule|{{{85}}}|{{{1}}}|{{{2}}}|{{{86}}}|{{{87}}}|{{{88}}}|{{{89}}}}}
 +
}}{{If|test={{{90|}}}|then={{Schematron Rule|{{{90}}}|{{{1}}}|{{{2}}}|{{{91}}}|{{{92}}}|{{{93}}}|{{{94}}}}}
 +
}}{{If|test={{{95|}}}|then={{Schematron Rule|{{{95}}}|{{{1}}}|{{{2}}}|{{{96}}}|{{{97}}}|{{{98}}}|{{{99}}}}}
 +
}}{{If|test={{{100|}}}|then={{Schematron Rule|{{{100}}}|{{{1}}}|{{{2}}}|{{{101}}}|{{{102}}}|{{{103}}}|{{{104}}}}}
 +
}}{{If|test={{{105|}}}|then={{Schematron Rule|{{{105}}}|{{{1}}}|{{{2}}}|{{{106}}}|{{{107}}}|{{{108}}}|{{{109}}}}}
 +
}}{{If|test={{{110|}}}|then={{Schematron Rule|{{{110}}}|{{{1}}}|{{{2}}}|{{{111}}}|{{{112}}}|{{{113}}}|{{{114}}}}}
 +
}}{{If|test={{{115|}}}|then={{Schematron Rule|{{{115}}}|{{{1}}}|{{{2}}}|{{{116}}}|{{{117}}}|{{{118}}}|{{{119}}}}}
 +
}}{{If|test={{{120|}}}|then={{Schematron Rule|{{{120}}}|{{{1}}}|{{{2}}}|{{{121}}}|{{{122}}}|{{{123}}}|{{{124}}}}}
 +
}}{{If|test={{{125|}}}|then={{Schematron Rule|{{{125}}}|{{{1}}}|{{{2}}}|{{{126}}}|{{{127}}}|{{{128}}}|{{{129}}}}}
 +
}}{{If|test={{{130|}}}|then={{Schematron Rule|{{{130}}}|{{{1}}}|{{{2}}}|{{{131}}}|{{{132}}}|{{{133}}}|{{{134}}}}}
 +
}}{{If|test={{{135|}}}|then={{Schematron Rule|{{{135}}}|{{{1}}}|{{{2}}}|{{{136}}}|{{{137}}}|{{{138}}}|{{{139}}}}}
 +
}}{{If|test={{{140|}}}|then={{Schematron Rule|{{{140}}}|{{{1}}}|{{{2}}}|{{{141}}}|{{{142}}}|{{{143}}}|{{{144}}}}}
 +
}}{{If|test={{{145|}}}|then={{Schematron Rule|{{{145}}}|{{{1}}}|{{{2}}}|{{{146}}}|{{{147}}}|{{{148}}}|{{{149}}}}}
 +
}}{{If|test={{{150|}}}|then={{Schematron Rule|{{{150}}}|{{{1}}}|{{{2}}}|{{{151}}}|{{{152}}}|{{{153}}}|{{{154}}}}}
 +
}}{{If|test={{{155|}}}|then={{Schematron Rule|{{{155}}}|{{{1}}}|{{{2}}}|{{{156}}}|{{{157}}}|{{{158}}}|{{{159}}}}}
 +
}}{{If|test={{{160|}}}|then={{Schematron Rule|{{{160}}}|{{{1}}}|{{{2}}}|{{{161}}}|{{{162}}}|{{{163}}}|{{{164}}}}}
 +
}}{{If|test={{{165|}}}|then={{Schematron Rule|{{{165}}}|{{{1}}}|{{{2}}}|{{{166}}}|{{{167}}}|{{{168}}}|{{{169}}}}}
 +
}}{{If|test={{{170|}}}|then={{Schematron Rule|{{{170}}}|{{{1}}}|{{{2}}}|{{{171}}}|{{{172}}}|{{{173}}}|{{{174}}}}}
 +
}}{{If|test={{{175|}}}|then={{Schematron Rule|{{{175}}}|{{{1}}}|{{{2}}}|{{{176}}}|{{{177}}}|{{{178}}}|{{{179}}}}}
 +
}}{{If|test={{{180|}}}|then={{Schematron Rule|{{{180}}}|{{{1}}}|{{{2}}}|{{{181}}}|{{{182}}}|{{{183}}}|{{{184}}}}}
 +
}}{{If|test={{{185|}}}|then={{Schematron Rule|{{{185}}}|{{{1}}}|{{{2}}}|{{{186}}}|{{{187}}}|{{{188}}}|{{{189}}}}}
 +
}}{{If|test={{{190|}}}|then={{Schematron Rule|{{{190}}}|{{{1}}}|{{{2}}}|{{{191}}}|{{{192}}}|{{{193}}}|{{{194}}}}}
 +
}}{{If|test={{{195|}}}|then={{Schematron Rule|{{{195}}}|{{{1}}}|{{{2}}}|{{{196}}}|{{{197}}}|{{{198}}}|{{{199}}}}}
 +
}}{{If|test={{{5|{{{LOINC|}}}}}}|then=
 +
&nbsp;&nbsp;</rule><br/>
 +
</pattern>
 +
</div>
 +
}}
 +
 
<includeonly>
 
<includeonly>
 
[[Category:CDA Section Templates]]
 
[[Category:CDA Section Templates]]

Revision as of 02:27, 19 May 2007

Draft.gif CDA Section Section
Template ID {{{2}}}
General Description {{{4}}}


Sample {{{1}}} Section
<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}}
 }}