Template:Care Record

From IHE Wiki
Jump to navigation Jump to search
Draft.gif {{{1}}} Specification {{{2}}}


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
   <templateId root="{{{1}}}"/>
       <id extension="" root=""/>
       <telecom use="" value=""/>
       <statusCode code="active"/>
         <administrativeGenderCode code=""
           codeSystemName="AdministrativeGender" displayName=""/>
         <birthTime value=""/>
<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.