description: null package_name: dk.ehealth.sundhed.fhir.ig.core derivation: constraint name: ehealth-group-videoappointment type: Appointment elements: description: {index: 23} start: {index: 25} reasonCode: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/appointment-reason'} index: 22 participant: extensions: careteam: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-ext-careteam', min: 0, max: 1, type: Extension, index: 28} assigningCareteam: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-assigning-careteam', min: 0, max: 1, type: Extension, index: 29} elements: extension: index: 27 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: careteam: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-ext-careteam', index: 28} min: 0 max: 1 assigningCareteam: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-assigning-careteam', index: 29} min: 0 max: 1 actor: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson', 'http://hl7.org/fhir/StructureDefinition/Location'] index: 30 serviceType: index: 17 slicing: rules: open discriminator: - {path: coding.code, type: value} min: 1 slices: appointmentServiceType: match: coding: {code: group-video} schema: _required: true index: 18 elements: coding: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/appointment-servicetype'} index: 19 elements: code: pattern: {type: Code, value: group-video} index: 20 required: [code] extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: maxParticipants: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-max-participants', index: 2} min: 0 max: 1 groupId: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-group-id', index: 8} min: 0 max: 1 endMeetingOnEndTime: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-end-meeting-on-end-time', index: 1} min: 0 max: 1 meetingUrl: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-meeting-url', index: 3} min: 0 max: 1 creator: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-creator', index: 13} min: 0 max: 1 registrationDeadline: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-registration-deadline', index: 15} min: 0 max: 1 legalBasis: match: {url: null} schema: type: Extension constraint: governance-1: {human: When extension is used a Episode of Care MUST be referenced, source: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-group-videoappointment', severity: error, expression: '%resource.supportingInformation.reference.contains(''EpisodeOfCare/'')'} responsible-2: {human: Both performing organization and responsible organization must be populated when legal basis is used, source: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-group-videoappointment', severity: error, expression: '%resource.extension.where(url = ''http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-performing-organization'').exists() and %resource.extension.where(url = ''http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible-organization'').exists()'} url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-legalBasis index: 9 min: 0 max: 1 vmrUri: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-vmr-uri', index: 4} min: 0 max: 1 intendedAudience: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience', index: 14} min: 0 responsible: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible', index: 7} min: 1 max: 1 guestPinCode: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-guest-pin-code', index: 5} min: 0 max: 1 hostPinCode: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-host-pin-code', index: 6} min: 0 max: 1 releasableResource: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-releasableResource', index: 10} min: 0 max: 1 responsibleOrganization: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible-organization', index: 11} min: 0 max: 1 performingOrganization: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-performing-organization', index: 16} min: 0 max: 1 performer: match: {url: null} schema: {type: Extension, url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-performer', index: 12} min: 0 max: 1 supportingInformation: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare'] index: 24 appointmentType: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/appointmenttype-codes'} index: 21 end: {index: 26} package_version: 3.5.0 extensions: maxParticipants: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-max-participants', min: 0, max: 1, type: Extension, index: 2} groupId: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-group-id', min: 0, max: 1, type: Extension, index: 8} endMeetingOnEndTime: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-end-meeting-on-end-time', min: 0, max: 1, type: Extension, index: 1} meetingUrl: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-meeting-url', min: 0, max: 1, type: Extension, index: 3} creator: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-creator', min: 0, max: 1, type: Extension, index: 13} registrationDeadline: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-registration-deadline', min: 0, max: 1, type: Extension, index: 15} legalBasis: url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-legalBasis min: 0 max: 1 type: Extension constraint: governance-1: {human: When extension is used a Episode of Care MUST be referenced, source: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-group-videoappointment', severity: error, expression: '%resource.supportingInformation.reference.contains(''EpisodeOfCare/'')'} responsible-2: {human: Both performing organization and responsible organization must be populated when legal basis is used, source: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-group-videoappointment', severity: error, expression: '%resource.extension.where(url = ''http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-performing-organization'').exists() and %resource.extension.where(url = ''http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible-organization'').exists()'} index: 9 vmrUri: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-vmr-uri', min: 0, max: 1, type: Extension, index: 4} intendedAudience: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-intendedAudience', min: 0, type: Extension, index: 14} responsible: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible', min: 1, max: 1, type: Extension, index: 7} guestPinCode: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-guest-pin-code', min: 0, max: 1, type: Extension, index: 5} hostPinCode: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-host-pin-code', min: 0, max: 1, type: Extension, index: 6} releasableResource: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-releasableResource', min: 0, max: 1, type: Extension, index: 10} responsibleOrganization: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-responsible-organization', min: 0, max: 1, type: Extension, index: 11} performingOrganization: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-performing-organization', min: 0, max: 1, type: Extension, index: 16} performer: {url: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-performer', min: 0, max: 1, type: Extension, index: 12} class: profile kind: resource url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-group-videoappointment base: http://hl7.org/fhir/StructureDefinition/Appointment version: 3.5.0 required: [serviceType, extension, start, appointmentType, end, description]