Template:Care Record

From IHE Wiki
Revision as of 11:03, 2 June 2008 by Kboone (Talk | contribs) (New page: ===== [[Image:{{{3|draft}}}.gif]] <span id='{{{2}}}'>{{{1}}} Specification</span> {{{2}}} ===== {{Edit Button|{{{2|{{FULLPAGENAMEE}}}}}}}{{{4|}}} {{If|test={{{Standards|}}}|then= ====== S...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Draft.gif {{{1}}} Specification {{{2}}}


Conformance

Care Record messages that conform to the requirements of this content module shall indicate their conformance by the inclusion of the appropriate <templateId> elements in <careProvisionEvent> element of the message. This is shown in the sample message below.

Sample {{{1}}} Document
 <careProvisionEvent>
   <templateId root="{{{1}}}"/>
   <recordTarget>
     <patient>
       <id extension="" root=""/>
       <addr/>
       <telecom use="" value=""/>
       <statusCode code="active"/>
       <patientPerson>
         <name/>
         <administrativeGenderCode code=""
           codeSystem="2.16.840.1.113883.5.1"
           codeSystemName="AdministrativeGender" displayName=""/>
         <birthTime value=""/>
       </patientPerson>
     </patient>
   </recordTarget>
    
 </careProvisionEvent>
Schematron
<pattern name='Template_{{{2}}}'>
 <rule context='*[cda:templateId/@root="{{{2}}}"]'>
   <!-- Verify that the template id is used on the appropriate type of object -->
   <assert test='../cda:careProvisionEvent'>
     Error: The {{{1}}} can only be used on Care Provision Events.
   </assert>}}