{
  "resourceType": "StructureDefinition",
  "url": "https://cgm.com/fhir/his/medico/r4/sd/pip/Schedule_PiPCalendar_1",
  "name": "Schedule_PiPCalendar_1",
  "status": "active",
  "description": "This profile describes the calender related data to be exchanged with Patient Portal.",
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Schedule",
  "baseDefinition": "https://gematik.de/fhir/isik/v2/Terminplanung/StructureDefinition/ISiKKalender",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Schedule.id",
        "path": "Schedule.id",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.\r\nmedico: PiPCalendar-#####, where ##### is the primary key"
      },
      {
        "id": "Schedule.meta",
        "path": "Schedule.meta",
        "min": 1
      },
      {
        "id": "Schedule.meta.lastUpdated",
        "path": "Schedule.meta.lastUpdated",
        "mustSupport": true
      },
      {
        "id": "Schedule.meta.profile",
        "path": "Schedule.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://cgm.com/fhir/his/medico/r4/sd/pip/Schedule_PiPCalendar_1"
      },
      {
        "id": "Schedule.identifier",
        "path": "Schedule.identifier",
        "min": 1
      },
      {
        "id": "Schedule.identifier.system",
        "path": "Schedule.identifier.system",
        "comment": "Dynamically resolved for validation\r\n--FixedValue=https://cgm.com/fhir/his/medico/%KUNDE%/sid1/PiPCalendar",
        "min": 1
      },
      {
        "id": "Schedule.identifier.value",
        "path": "Schedule.identifier.value",
        "min": 1
      },
      {
        "id": "Schedule.actor",
        "path": "Schedule.actor",
        "definition": "Slots that reference this schedule resource provide the availability details to these referenced resource(s).\r\nmedico: a reference to an healthcareservice is required, the reference to a practitioner is optional",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/HealthcareService"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      }
    ]
  }
}