<?xml version="1.0" encoding="UTF-8"?>

<Procedure xmlns="http://hl7.org/fhir">
  <id value="example-implant"/>
  <!--  <association> 
      <status> 
        <coding>
          <system value="http://hl7.org/fhir/device-association-status"/>
          <code value="implanted"/>
        </coding>
      </status>
      <humanSubject> 
        <reference value="Patient/example"/> 
      </humanSubject> 
		</association>   -->
  <contained>
    <Device>
      <id value="example-pacemaker"/>
      <manufacturer value="Acme Devices, Inc"/>
      <lotNumber value="1234-5678"/>
      <type>
        <coding>
          <system value="http://snomed.info/sct"/>
          <code value="14106009"/>
          <display value="Cardiac pacemaker, device (physical object)"/>
        </coding>
      </type>
    </Device>
  </contained>
  <status value="completed"/>
  <code>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="25267002"/>
      <display value="Insertion of intracardiac pacemaker (procedure)"/>
    </coding>
    <text value="Implant Pacemaker"/>
  </code>
  <subject>
    <reference value="Patient/example"/>
  </subject>
  <occurrenceDateTime value="2015-04-05"/>
  <performer>
    <actor>
      <reference value="Practitioner/example"/>
      <display value="Dr Cecil Surgeon"/>
    </actor>
  </performer>
  <reason>
    <concept>
      <text value="Bradycardia"/>
    </concept>
  </reason>
  <followUp>
    <concept>
      <text value="ROS 5 days  - 2013-04-10"/>
    </concept>
  </followUp>
  <note>
    <text value="Routine Appendectomy. Appendix was inflamed and in retro-caecal position"/>
  </note>
  <focalDevice>
    <action>
      <coding>
        <system value="http://hl7.org/fhir/device-action"/>
        <code value="implanted"/>
      </coding>
    </action>
    <manipulated>
      <reference value="#example-pacemaker"/>
    </manipulated>
  </focalDevice>
</Procedure>