{
  "resourceType": "StructureDefinition",
  "url": "https://cgm.com/fhir/his/clinical/r4/sd/pip/Appointment_PiPAppointment_1",
  "name": "Appointment_PiPAppointment_1",
  "status": "draft",
  "description": "This profile describes the appointment related data to be exchanged with Patient Portal.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Appointment",
  "baseDefinition": "https://gematik.de/fhir/isik/v2/Terminplanung/StructureDefinition/ISiKTermin",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Appointment.id",
        "path": "Appointment.id",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.\r\nclinical: PiPAppointment.id where id is the primary key. In case the appointment is sent to clinical to be created, id would be empty.",
        "mustSupport": true
      },
      {
        "id": "Appointment.meta",
        "path": "Appointment.meta"
      },
      {
        "id": "Appointment.meta.lastUpdated",
        "path": "Appointment.meta.lastUpdated",
        "mustSupport": true
      },
      {
        "id": "Appointment.meta.profile",
        "path": "Appointment.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://cgm.com/fhir/his/clinical/r4/sd/pip/Appointment_PiPAppointment_1"
      },
      {
        "id": "Appointment.identifier",
        "path": "Appointment.identifier",
        "mustSupport": true
      },
      {
        "id": "Appointment.identifier.system",
        "path": "Appointment.identifier.system",
        "comment": "Dynamically resolved for validation\r\n--FixedValue=https://cgm.com/fhir/his/clinical/%KUNDE%/sid1/PiPAppointment",
        "mustSupport": true
      },
      {
        "id": "Appointment.identifier.value",
        "path": "Appointment.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Appointment.participant:AkteurMedizinischeBehandlungseinheit",
        "path": "Appointment.participant",
        "sliceName": "AkteurMedizinischeBehandlungseinheit",
        "min": 1,
        "max": "1"
      }
    ]
  }
}