<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="c4ccda2c-473b-437e-bd1b-b1bb57b0339d" />
  <meta>
    <lastUpdated value="2018-11-12T11:12:18.86+00:00" />
  </meta>
  <url value="http://www.interopsante.org/fhir/structuredefinition/resource/fr-appointment" />
  <version value="1.0" />
  <name value="fr-appointment" />
  <status value="active" />
  <date value="2018-11-12T11:12:17.1047721+00:00" />
  <publisher value="Interop'Santé" />
  <contact>
    <name value="Isabelle Gibaud/François Macary" />
    <telecom>
      <system value="email" />
      <value value="francois.macary@phast.fr" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Profile of the Appointment resource for France | Profil de la ressource Appointment pour la France. This profile adds the operator who created/updated/canceled the appointment. It also allows to possibly reference an appointment canceled and a document associated with the appointment | Ce profil ajoute l'opérateur qui a créé/modifié/annulé le RDV. Il permet également de référencer éventuellement un RDV annulé et/ou un document lié au RDV." />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Appointment" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Appointment" />
  <derivation value="constraint" />
  <differential>
    <element id="Appointment.extension">
      <path value="Appointment.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Appointment.extension:appointmentOperator">
      <path value="Appointment.extension" />
      <sliceName value="appointmentOperator" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/appointment/fr-appointment-operator" />
      </type>
    </element>
    <element id="Appointment.specialty">
      <path value="Appointment.specialty" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="specialty" />
        </extension>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://esante.gouv.fr/sites/NOS/TABS/TRE_R38-SpecialiteOrdinale.tabs" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Appointment.slot">
      <path value="Appointment.slot" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://www.interopsante.org/fhir/structuredefinition/resource/fr-slot" />
      </type>
    </element>
    <element id="Appointment.participant.actor">
      <path value="Appointment.participant.actor" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://interopsante.org/fhir/structuredefinition/resource/fr-healthcareservice" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://interopsante.org/fhir/structuredefinition/resource/fr-practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://www.interopsante.org/fhir/structuredefinition/resource/fr-patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="http://www.interopsante.org/fhir/structuredefinition/resource/fr-location" />
      </type>
    </element>
  </differential>
</StructureDefinition>