<?xml version="1.0" encoding="UTF-8"?>
<difference>
   <type name="Provenance" status="changed">
      <element new-min="0" old-min="1" path="Provenance.recorded"/>
      <element binding-status="removed"
               old-name="reason"
               path="Provenance.authorization">
         <removed-type name="CodeableConcept"/>
         <added-type name="CodeableReference"/>
         <old-binding reference="http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"
                      strength="extensible"/>
      </element>
      <element path="Provenance.why" status="new"/>
      <element binding-status="removed" path="Provenance.activity">
         <old-binding reference="http://hl7.org/fhir/ValueSet/provenance-activity-type"
                      strength="extensible"/>
      </element>
      <element path="Provenance.basedOn" status="new"/>
      <element path="Provenance.patient" status="new"/>
      <element path="Provenance.encounter" status="new"/>
      <element binding-status="removed" path="Provenance.agent.type">
         <old-binding reference="http://hl7.org/fhir/ValueSet/provenance-agent-type"
                      strength="extensible"/>
      </element>
      <element path="Provenance.agent.who">
         <removed-type name="Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)"/>
         <added-type name="Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson | Group | HealthcareService)"/>
      </element>
      <element path="Provenance.agent.onBehalfOf">
         <removed-type name="Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)"/>
         <added-type name="Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Group | HealthcareService)"/>
      </element>
      <element binding-codes-changed="true"
               binding-status="changed"
               binding-valueset-changed="true"
               path="Provenance.entity.role">
         <removed-code code="derivation"/>
         <added-code code="instantiates"/>
         <old-binding reference="http://hl7.org/fhir/ValueSet/provenance-entity-role|4.3.0"
                      strength="required"/>
         <new-binding reference="http://hl7.org/fhir/ValueSet/provenance-entity-role|6.0.0-ballot4"
                      strength="required"/>
      </element>
   </type>
</difference>
