Template:Care Record

From IHE Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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>}}