{
  "resourceType": "StructureDefinition",
  "id": "c4ccda2c-473b-437e-bd1b-b1bb57b0339d",
  "meta": {
    "lastUpdated": "2018-11-12T11:12:18.86+00:00"
  },
  "url": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-appointment",
  "version": "1.0",
  "name": "fr-appointment",
  "status": "active",
  "date": "2018-11-12T11:12:17.1047721+00:00",
  "publisher": "Interop'Santé",
  "contact": [
    {
      "name": "Isabelle Gibaud/François Macary",
      "telecom": [
        {
          "system": "email",
          "value": "francois.macary@phast.fr",
          "use": "work"
        }
      ]
    }
  ],
  "description": "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": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Appointment",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Appointment",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Appointment.extension",
        "path": "Appointment.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Appointment.extension:appointmentOperator",
        "path": "Appointment.extension",
        "sliceName": "appointmentOperator",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.interopsante.org/fhir/structuredefinition/appointment/fr-appointment-operator"
          }
        ]
      },
      {
        "id": "Appointment.specialty",
        "path": "Appointment.specialty",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "specialty"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://esante.gouv.fr/sites/NOS/TABS/TRE_R38-SpecialiteOrdinale.tabs"
          }
        }
      },
      {
        "id": "Appointment.slot",
        "path": "Appointment.slot",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-slot"
          }
        ]
      },
      {
        "id": "Appointment.participant.actor",
        "path": "Appointment.participant.actor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://interopsante.org/fhir/structuredefinition/resource/fr-healthcareservice"
          },
          {
            "code": "Reference",
            "targetProfile": "http://interopsante.org/fhir/structuredefinition/resource/fr-practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-location"
          }
        ]
      }
    ]
  }
}