Difference between revisions of "Template:CDA Section"

From IHE Wiki
Jump to navigation Jump to search
m
m
Line 32: Line 32:
 
{{{Code|}}}
 
{{{Code|}}}
 
|-style='background: lightgrey; text-align: center; border: 1px solid black'  
 
|-style='background: lightgrey; text-align: center; border: 1px solid black'  
{{If|test={{{Entry|}}}|then=
+
{{If|test={{{Entry|}}}{{Equal|Section|
 +
                |{{{5}}}|{{{10}}}|{{{15}}}|{{{20}}}|{{{25}}}|{{{30}}}|{{{35}}}|{{{40}}}||{{{45}}}|{{{50}}}|
 +
                |{{{55}}}|{{{60}}}|{{{65}}}|{{{70}}}|{{{75}}}|{{{80}}}|{{{85}}}|{{{90}}}|{{{95}}}|{{{100}}}|
 +
                |{{{105}}}|{{{110}}}|{{{115}}}|{{{120}}}|{{{125}}}|{{{130}}}|{{{135}}}|{{{40}}}||{{{145}}}|{{{150}}}|
 +
                |{{{155}}}|{{{160}}}|{{{165}}}|{{{170}}}|{{{175}}}|{{{180}}}||{{{185}}}|{{{190}}}|{{{195}}} }}|then=
 
! style='width: 20%; border: 1px solid black' {{!}} Entries
 
! style='width: 20%; border: 1px solid black' {{!}} Entries
 
! style='width: 10%; border: 1px solid black' {{!}} Opt  
 
! style='width: 10%; border: 1px solid black' {{!}} Opt  
Line 77: Line 81:
 
{{If|test={{Equal|{{{195}}}|Entry}}|then={{CDA Section Content|{{{2}}}|{{{196}}}|{{{197}}}|{{{198}}}|{{{199}}}}} }}
 
{{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|}}}{{Equal|Section|
 +
                |{{{5}}}|{{{10}}}|{{{15}}}|{{{20}}}|{{{25}}}|{{{30}}}|{{{35}}}|{{{40}}}||{{{45}}}|{{{50}}}|
 +
                |{{{55}}}|{{{60}}}|{{{65}}}|{{{70}}}|{{{75}}}|{{{80}}}|{{{85}}}|{{{90}}}|{{{95}}}|{{{100}}}|
 +
                |{{{105}}}|{{{110}}}|{{{115}}}|{{{120}}}|{{{125}}}|{{{130}}}|{{{135}}}|{{{40}}}||{{{145}}}|{{{150}}}|
 +
                |{{{155}}}|{{{160}}}|{{{165}}}|{{{170}}}|{{{175}}}|{{{180}}}||{{{185}}}|{{{190}}}|{{{195}}} }}|then=
 
! style='width: 20%; border: 1px solid black' {{!}} Subsections
 
! style='width: 20%; border: 1px solid black' {{!}} Subsections
 
! style='width: 10%; border: 1px solid black' {{!}} Opt  
 
! style='width: 10%; border: 1px solid black' {{!}} Opt  
Line 135: Line 143:
 
     <text>
 
     <text>
 
       ''Text as described above''
 
       ''Text as described above''
     </text>  {{If|test={{{Entry|}}}|then=<br/>    <entry>
+
     </text>  {{If|test={{{Entry|}}}
 +
}}|then=<br/>    <entry>
 
       ''Required and optional entries as described above''
 
       ''Required and optional entries as described above''
 
     </entry>  
 
     </entry>  

Revision as of 04:02, 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>  |then=
<entry> Required and optional entries as described above </entry>

}}

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