Example ActivityDefinition/heart-valve-replacement (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
Definition for heart valve replacement service request (id = "heart-valve-replacement")
<?xml version="1.0" encoding="UTF-8"?>
<ActivityDefinition xmlns="http://hl7.org/fhir">
<id value="heart-valve-replacement"/>
<text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: ActivityDefinition</b> <a name="heart-valve-replacement"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource ActivityDefinition "heart-valve-replacement" </p> </div> <p> <b> status</b> : draft</p> <p> <b> description</b> : Heart valve replacement</p> <h3> UseContexts</h3> <table class="grid"><tr> <td> -</td> <td> <b> Code</b> </td> <td> <b> Value[x]</b> </td> </tr> <tr> <td> *</td> <td> Age Range (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code
age = 'Age Range', stated as 'null')</td> <td> Adult <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (meshb.nlm.nih.gov#D000328)</span> </td> </tr> <tr> <td> *</td> <td> User Type (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code
user = 'User Type', stated as 'null')</td> <td> Physician <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #309343006)</span> </td> </tr> </table> <p> <b> purpose</b> : Describes the proposal to perform a Heart Valve replacement.</p> <p> <b> usage</b> : This activity definition is used as the definition of a service request to perform
a heart valve replacement. Elements that apply universally are defined here, while
elements that apply to the specific setting of a referral within a particular order
set are defined in the order set.</p> <p> <b> topic</b> : Heart valve replacement <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #34068001)</span> </p> <p> <b> kind</b> : ServiceRequest</p> <p> <b> code</b> : Heart valve replacement <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #34068001)</span> </p> <p> <b> timing</b> : Events: Now()</p> <h3> Locations</h3> <table class="grid"><tr> <td> -</td> <td> <b> Reference</b> </td> </tr> <tr> <td> *</td> <td> <a href="location-example.html">Location/1</a> "South Wing, second floor"</td> </tr> </table> <h3> Participants</h3> <table class="grid"><tr> <td> -</td> <td> <b> Type</b> </td> <td> <b> Role</b> </td> </tr> <tr> <td> *</td> <td> practitioner</td> <td> Interventional Cardiology <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (provider-taxonomy#207RI0011X)</span> </td> </tr> </table> <p> <b> bodySite</b> : Heart valve structure <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #17401000)</span> </p> </div> </text> <status value="draft"/>
<description value="Heart valve replacement"/>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="age"/>
</code>
<valueCodeableConcept>
<coding>
<system value="https://meshb.nlm.nih.gov"/>
<code value="D000328"/>
<display value="Adult"/>
</coding>
</valueCodeableConcept>
</useContext>
<useContext>
<code>
<system value="http://terminology.hl7.org/CodeSystem/usage-context-type"/>
<code value="user"/>
</code>
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="309343006"/>
<display value="Physician"/>
</coding>
</valueCodeableConcept>
</useContext>
<purpose value="Describes the proposal to perform a Heart Valve replacement."/>
<usage value="This activity definition is used as the definition of a service request to perform
a heart valve replacement. Elements that apply universally are defined here, while
elements that apply to the specific setting of a referral within a particular order
set are defined in the order set."/>
<topic>
<coding>
<system value="http://snomed.info/sct"/>
<code value="34068001"/>
<display value="Heart valve replacement"/>
</coding>
</topic>
<kind value="ServiceRequest"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="34068001"/>
<display value="Heart valve replacement"/>
</coding>
</code>
<timingTiming>
<event>
<extension url="http://hl7.org/fhir/StructureDefinition/cqf-expression">
<valueExpression>
<language value="text/cql"/>
<expression value="Now()"/>
</valueExpression>
</extension>
</event>
</timingTiming>
<location>
<reference>
<reference value="Location/1"/>
</reference>
</location>
<participant>
<type value="practitioner"/>
<role>
<coding>
<system value="http://nucc.org/provider-taxonomy"/>
<code value="207RI0011X"/>
<display value="Interventional Cardiology"/>
</coding>
<text value="Interventional Cardiology"/>
</role>
</participant>
<bodySite>
<coding>
<system value="http://snomed.info/sct"/>
<code value="17401000"/>
<display value="Heart valve structure"/>
</coding>
</bodySite>
</ActivityDefinition>
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.