Template:CDA Document: Difference between revisions

From IHE Wiki
Jump to navigation Jump to search
Trothenh (talk | contribs)
No edit summary
Kboone (talk | contribs)
mNo edit summary
Line 66: Line 66:
<br/>
<br/>
{{If|test={{{Note|}}}|then={{{Note}}}}}
{{If|test={{{Note|}}}|then={{{Note}}}}}
{{Fixme|Put the ClinicalDocument header here}}
======Conformance======
CDA Release 2.0 documents that conform to the requirements of this content module shall indicate their conformance by the inclusion of the appropriate <templateId> elements in the header of the document.  This is shown in the Figure sample document below.
 
{|
{|
|-
|-
|+'''Sample {{{1}}} Section'''
|+'''Sample {{{1}}} Document'''
|
|
  <component>
  <ClinicalDocument xmlns='urn:hl7-org:v3'>
   <section>{{If|test={{{Parent|}}}|then=<br/>    <templateId root='{{{Parent}}}'/>}}
   <typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
    <templateId root='{{{2}}}'/>
  {{If|test={{{Parent|}}}|then=<br/>    <templateId root='{{{Parent}}}'/>}}
    <id root=' ' extension=' '/>
  <templateId root='{{{2}}}'/>
    &lt;code code='{{{LOINC| }}}' displayName='{{{LOINCName| }}}'
  <id root=' ' extension=' '/>
      codeSystem='2.16.840.1.113883.6.1' codeSystemName='LOINC'/>
  &lt;code code='{{{LOINC| }}}' displayName='{{{LOINCName| }}}'
    <text>
    codeSystem='2.16.840.1.113883.6.1' codeSystemName='LOINC'/>
      ''Text as described above''
  <title>{{{1}}}</title>
    </text> {{If|test={{{Entry|}}}|then=<br/>    <entry>
   <effectiveTime value=' '/>
      ''Required and optional entries as described above''
  <confidentialityCode code='N' displayName='Normal'  
     </entry><br/>
     codeSystem='2.16.840.1.113883.5.25' codeSystemName='Confidentiality' />
}}{{If|test={{Equal|{{{5}}}|Entry}}|then={{Entry XML|{{{2}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}}}
  <languageCode code='en-US'/>   
}}{{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}}}}}
  <component><structuredBody>{{If|test={{{Subsections|}}}|then=<br/>    <component>
}}{{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''
       ''Required and optional subsections as described above''
     </component>}}
     </component>}}
Line 162: Line 128:
}}{{If|test={{Equal|{{{195}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{196}}}|{{{197}}}|{{{198}}}|{{{199}}}}}
}}{{If|test={{Equal|{{{195}}}|Section}}|then={{Subsection XML|{{{2}}}|{{{196}}}|{{{197}}}|{{{198}}}|{{{199}}}}}
}}  &nbsp;
}}  &nbsp;
   </section>
   </strucuredBody></component>
  </component>
  </ClinicalDocument>
|}
|}



Revision as of 11:25, 5 June 2007

{{{1}}} Specification {{{2}}}


Conformance

CDA Release 2.0 documents that conform to the requirements of this content module shall indicate their conformance by the inclusion of the appropriate <templateId> elements in the header of the document. This is shown in the Figure sample document below.

Sample {{{1}}} Document
<ClinicalDocument xmlns='urn:hl7-org:v3'>
  <typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
  
  <templateId root='{{{2}}}'/>
  <id root=' ' extension=' '/>
  <code code=' ' displayName=' '
    codeSystem='2.16.840.1.113883.6.1' codeSystemName='LOINC'/>
  <title>{{{1}}}</title>
  <effectiveTime value=' '/>
  <confidentialityCode code='N' displayName='Normal' 
    codeSystem='2.16.840.1.113883.5.25' codeSystemName='Confidentiality' />
  <languageCode code='en-US'/>     
     :
  <component><structuredBody>
       
  </strucuredBody></component>
</ClinicalDocument>