Difference between revisions of "Template:CDA Section"

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

Latest revision as of 14:46, 30 September 2020

Development Only

The PCC Wiki Content is used only for development of IHE PCC Content. The Normative content of the PCC Technical Framework and the current supplements can be found at https://www.ihe.net/resources/technical_frameworks/#pcc

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>


Uses

See [[:Category:Templates using {{{2}}}|Templates using the {{{1}}} Section]]

{{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}}
 }}