Sample Profile

From IHE Wiki
Jump to: navigation, search
Draft.gif Sample Folder Folder Specification

This is a content profile for a sample folder. It can contain two documents, one is required, the other optional


Document Name Opt Template ID
Sample Document R SampleDocumentOID
Sample Document 2 O SampleDocument2OID



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 http://www.ihe.net/Technical_Framework/index.cfm#PCC

File:Param3.gif param1 Section
Template ID param2
General Description param4



Sample param1 Section
<component>
  <section>
    <templateId root='param2'/>
    <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 Templates using the param1 Section



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 http://www.ihe.net/Technical_Framework/index.cfm#PCC

Draft.gif Sample Document Specification SampleDocumentOID

Sample Document has one required section, and one entry that is required if known





Specification
Data Element Name Opt Template ID
Sample Section
Comment on section
R SampleSectionOID
Sample Entry
Comment on entry
R2 SampleEntryOID

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 sample document below.

Sample Sample Document Document
<ClinicalDocument xmlns='urn:hl7-org:v3'>
  <typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
  <templateId root='SampleDocumentOID'/>
  <id root=' ' extension=' '/>
  <code code=' ' displayName=' '
    codeSystem='2.16.840.1.113883.6.1' codeSystemName='LOINC'/>
  <title>Sample Document</title>
  <effectiveTime value='20200702012005'/>
  <confidentialityCode code='N' displayName='Normal' 
    codeSystem='2.16.840.1.113883.5.25' codeSystemName='Confidentiality' />
  <languageCode code='en-US'/>     
     :
  <component><structuredBody>
    <component>
      <section>
        <templateId root='SampleSectionOID'/>
        <!-- Required Sample Section Section content -->
      </section>
    </component>
    </structuredBody></component> </ClinicalDocument>
Schematron
<pattern name='Template_SampleDocumentOID'>
 <rule context='*[cda:templateId/@root="SampleDocumentOID"]'>
   <!-- Verify that the template id is used on the appropriate type of object -->
   <assert test='../cda:ClinicalDocument'>
     Error: The Sample Document can only be used on Clinical Documents.
   </assert> 
   <!-- Verify the document type code -->
   <assert test='cda:code[@code = "{{{LOINC}}}"]'>
     Error: The document type code of a Sample Document must be {{{LOINC}}}
   </assert>
   <assert test='cda:code[@codeSystem = "2.16.840.1.113883.6.1"]'>
     Error: The document type code must come from the LOINC code 
     system (2.16.840.1.113883.6.1).
   </assert> 
   <assert test='.//cda:templateId[@root = "SampleSectionOID"]'> 
     <!-- Verify that all required data elements are present -->
     Error: The Sample Document Document must contain a(n) Sample Section Section.
     See http://wiki.ihe.net/index.php?title=SampleDocumentOID 
   </assert> 
   <assert test='.//cda:templateId[@root = "SampleEntryOID"]'> 
     <!-- Alert on any missing required if known elements -->
     Warning: The  Sample Document Document should contain a(n) Sample Entry Entry.
     See http://wiki.ihe.net/index.php?title=SampleDocumentOID 
   </assert> 
 </rule>
</pattern>

}}


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 http://www.ihe.net/Technical_Framework/index.cfm#PCC

Draft.gif Sample Section
Template ID SampleSectionOID
Parent Template foo (SampleParentOID)
General Description Desription of this section
LOINC Codes Opt Description
XXXXX-X R SECTION NAME
Entries Opt Description
OID R Sample Entry
Subsections Opt Description
OID R Sample Subsection



Parent Template

The parent of this template is foo.

Sample Sample Section
<component>
  <section>
<templateId root='SampleParentOID'/> <templateId root='SampleSectionOID'/> <id root=' ' extension=' '/> <code code=' ' displayName=' ' codeSystem='2.16.840.1.113883.6.1' codeSystemName='LOINC'/> <text> Text as described above </text>
<entry> Required and optional entries as described above </entry>

<component> Required and optional subsections as described above </component>     </section> </component>


Uses

See Templates using the Sample Section




Sample Entry

Some text describing the entry.

<observation classCode='OBS' moodCode='EVN'>
   <templateId root='foo'/>
</observation>
<observation classCode='OBS' moodCode='EVN'>

Some details about the observation element

<templateId root='foo'/>

Some details about the template id element