<?xml version="1.0" encoding="UTF-8"?>
<difference>
   <type name="Appointment" status="changed">
      <element binding-status="changed"
               binding-valueset-changed="true"
               path="Appointment.status">
         <old-binding reference="http://hl7.org/fhir/ValueSet/appointmentstatus|4.3.0"
                      strength="required"/>
         <new-binding reference="http://hl7.org/fhir/ValueSet/appointmentstatus|6.0.0-ballot4"
                      strength="required"/>
      </element>
      <element old-name="cancelationReason" path="Appointment.cancellationReason"/>
      <element path="Appointment.class" status="new"/>
      <element path="Appointment.serviceType">
         <removed-type name="CodeableConcept"/>
         <added-type name="CodeableReference"/>
      </element>
      <element path="Appointment.reason" status="new"/>
      <element path="Appointment.priority">
         <removed-type name="unsignedInt"/>
         <added-type name="CodeableConcept"/>
      </element>
      <element path="Appointment.replaces" status="new"/>
      <element path="Appointment.virtualService" status="new"/>
      <element path="Appointment.previousAppointment" status="new"/>
      <element path="Appointment.originatingAppointment" status="new"/>
      <element path="Appointment.account" status="new"/>
      <element path="Appointment.cancellationDate" status="new"/>
      <element new-max="*"
               old-max="1"
               old-name="comment"
               path="Appointment.note">
         <removed-type name="string"/>
         <added-type name="Annotation"/>
      </element>
      <element new-max="*" old-max="1" path="Appointment.patientInstruction">
         <removed-type name="string"/>
         <added-type name="CodeableReference"/>
      </element>
      <element path="Appointment.basedOn">
         <removed-type name="Reference(ServiceRequest)"/>
         <added-type name="Reference(CarePlan | DeviceRequest | MedicationRequest | ServiceRequest | RequestOrchestration | NutritionOrder | VisionPrescription)"/>
      </element>
      <element path="Appointment.subject" status="new"/>
      <element path="Appointment.participant.actor">
         <removed-type name="Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)"/>
         <added-type name="Reference(Patient | Group | Practitioner | PractitionerRole | CareTeam | RelatedPerson | Device | HealthcareService | Location)"/>
      </element>
      <element binding-status="removed" path="Appointment.participant.required">
         <removed-type name="code"/>
         <added-type name="boolean"/>
         <old-binding reference="http://hl7.org/fhir/ValueSet/participantrequired|4.3.0"
                      strength="required"/>
      </element>
      <element binding-status="changed"
               binding-valueset-changed="true"
               path="Appointment.participant.status">
         <old-binding reference="http://hl7.org/fhir/ValueSet/participationstatus|4.3.0"
                      strength="required"/>
         <new-binding reference="http://hl7.org/fhir/ValueSet/participationstatus|6.0.0-ballot4"
                      strength="required"/>
      </element>
      <element path="Appointment.recurrenceId" status="new"/>
      <element path="Appointment.occurrenceChanged" status="new"/>
      <element path="Appointment.recurrenceTemplate" status="new"/>
      <element path="Appointment.recurrenceTemplate.timezone" status="new"/>
      <element path="Appointment.recurrenceTemplate.recurrenceType" status="new"/>
      <element path="Appointment.recurrenceTemplate.lastOccurrenceDate" status="new"/>
      <element path="Appointment.recurrenceTemplate.occurrenceCount" status="new"/>
      <element path="Appointment.recurrenceTemplate.occurrenceDate" status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate" status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate.monday"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate.tuesday"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate.wednesday"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate.thursday"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate.friday"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate.saturday"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate.sunday"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.weeklyTemplate.weekInterval"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.monthlyTemplate" status="new"/>
      <element path="Appointment.recurrenceTemplate.monthlyTemplate.dayOfMonth"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.monthlyTemplate.nthWeekOfMonth"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.monthlyTemplate.dayOfWeek"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.monthlyTemplate.monthInterval"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.yearlyTemplate" status="new"/>
      <element path="Appointment.recurrenceTemplate.yearlyTemplate.yearInterval"
               status="new"/>
      <element path="Appointment.recurrenceTemplate.excludingDate" status="new"/>
      <element path="Appointment.recurrenceTemplate.excludingRecurrenceId"
               status="new"/>
      <element path="Appointment.reasonCode" status="deleted"/>
      <element path="Appointment.reasonReference" status="deleted"/>
   </type>
</difference>
