PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Appointment
description: null
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_Appointment
type: Appointment
elements:
  description: {index: 11}
  serviceCategory: {index: 4}
  slot: {index: 16}
  specialty: {index: 6}
  cancelationReason: {index: 3}
  requestedPeriod: {index: 68}
  patientInstruction: {index: 17}
  start: {index: 13}
  reasonCode: {index: 8}
  participant:
    index: 19
    slicing:
      rules: closed
      discriminator:
      - {path: type.coding.code, type: value}
      min: null
      slices:
        practitioner:
          match:
            type:
              coding: {code: practitioner}
          schema:
            index: 20
            elements:
              type:
                binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_AppointmentResourceType'}
                index: 21
                elements:
                  coding:
                    index: 22
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.medatixx.de/HealthHub/CodeSystem/Mxx_HealthHub_CS_AppointmentResourceType'}
                        index: 23
                      code:
                        pattern: {type: Code, value: practitioner}
                        index: 24
                      display: {index: 25}
                      userSelected: {index: 26}
                    required: [system, code]
                  text: {index: 27}
                required: [coding]
              actor:
                type: Reference
                refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Practitioner']
                index: 28
                elements:
                  reference: {index: 29}
                  type: {index: 30}
                  identifier: {index: 31}
                  display:
                    index: 32
                    extensions:
                      mxxHealthHubMailName: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MailName', type: Extension, isModifier: false, index: 33}
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MailName
                        index: 33
                        slicing:
                          slices:
                            mxxHealthHubMailName:
                              match: {}
                              schema: {type: Extension, isModifier: false, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MailName', index: 33}
                required: [reference, display]
              required: {index: 34}
              period: {index: 35}
            required: [type, actor]
        assistant:
          match:
            type:
              coding: {code: assistant}
          schema:
            index: 36
            elements:
              type:
                binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_AppointmentResourceType'}
                index: 37
                elements:
                  coding:
                    index: 38
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.medatixx.de/HealthHub/CodeSystem/Mxx_HealthHub_CS_AppointmentResourceType'}
                        index: 39
                      code:
                        pattern: {type: Code, value: assistant}
                        index: 40
                      display: {index: 41}
                      userSelected: {index: 42}
                    required: [system, code]
                  text: {index: 43}
                required: [coding]
              actor:
                type: Reference
                refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_User']
                index: 44
                elements:
                  reference: {index: 45}
                  type: {index: 46}
                  identifier: {index: 47}
                  display:
                    index: 48
                    extensions:
                      mxxHealthHubMailName: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MailName', type: Extension, isModifier: false, index: 49}
                    elements:
                      extension:
                        type: Extension
                        isModifier: false
                        url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MailName
                        index: 49
                        slicing:
                          slices:
                            mxxHealthHubMailName:
                              match: {}
                              schema: {type: Extension, isModifier: false, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_MailName', index: 49}
                required: [reference, display]
              required: {index: 50}
              period: {index: 51}
            required: [type, actor]
        patient:
          match:
            type:
              coding: {code: patient}
          schema:
            _required: true
            index: 52
            elements:
              type:
                binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_AppointmentResourceType'}
                index: 53
                elements:
                  coding:
                    index: 54
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.medatixx.de/HealthHub/CodeSystem/Mxx_HealthHub_CS_AppointmentResourceType'}
                        index: 55
                      code:
                        pattern: {type: Code, value: patient}
                        index: 56
                      display: {index: 57}
                      userSelected: {index: 58}
                    required: [system, code]
                  text: {index: 59}
                required: [coding]
              actor:
                type: Reference
                short: Reference to the attending patient
                refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_AppointmentPatient', 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient']
                index: 60
                elements:
                  reference: {index: 61}
                  type: {index: 62}
                  identifier: {index: 63}
                  display: {index: 64}
                required: [reference]
              required: {index: 65}
              status:
                pattern: {type: Code, value: accepted}
                index: 66
              period: {index: 67}
            required: [type, actor]
  serviceType: {type: CodeableConcept, index: 5}
  extension:
    type: Extension
    short: The creating partner system
    isModifier: false
    url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PartnerReference
    index: 0
    slicing:
      slices:
        mxxHealthHubPartnerReference:
          match: {}
          schema: {type: Extension, short: The creating partner system, isModifier: false, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PartnerReference', index: 0}
          max: 1
        mxxHealthHubVideoConsultationUri:
          match: {}
          schema: {type: Extension, short: Video consultation link for this appointment, isModifier: false, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_VideoConsultationUri', index: 1}
          max: 1
  supportingInformation: {index: 12}
  priority: {index: 10}
  appointmentType: {index: 7}
  minutesDuration: {index: 15}
  identifier: {index: 2}
  basedOn: {index: 18}
  end: {index: 14}
  reasonReference: {index: 9}
package_version: 1.5.0
extensions:
  mxxHealthHubPartnerReference: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PartnerReference', max: 1, type: Extension, short: The creating partner system, isModifier: false, index: 0}
  mxxHealthHubVideoConsultationUri: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_VideoConsultationUri', max: 1, type: Extension, short: Video consultation link for this appointment, isModifier: false, index: 1}
class: profile
kind: resource
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Appointment
base: http://hl7.org/fhir/StructureDefinition/Appointment
version: 1.5.0
required: [start, end]