<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="StructureDefinition/MyProvenance" />
  <name value="MyProvenance" />
  <status value="draft" />
  <date value="2018-03-05T14:42:33.637-05:00" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Provenance" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Provenance" />
  <derivation value="constraint" />
  <differential>
    <element id="Provenance.target">
      <path value="Provenance.target" />
      <type>
        <code value="Reference" />
        <profile value="StructureDefinition/MyAppointment" />
      </type>
    </element>
    <element id="Provenance.period">
      <path value="Provenance.period" />
      <max value="0" />
    </element>
    <element id="Provenance.policy">
      <path value="Provenance.policy" />
      <max value="0" />
    </element>
    <element id="Provenance.location">
      <path value="Provenance.location" />
      <max value="0" />
    </element>
    <element id="Provenance.agent.who[x]">
      <path value="Provenance.agent.who[x]" />
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
      </type>
    </element>
    <element id="Provenance.agent.onBehalfOf[x]">
      <path value="Provenance.agent.onBehalfOf[x]" />
      <type>
        <code value="uri" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
      </type>
    </element>
    <element id="Provenance.agent.relatedAgentType">
      <path value="Provenance.agent.relatedAgentType" />
      <max value="0" />
    </element>
    <element id="Provenance.entity">
      <path value="Provenance.entity" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>