description: null package_name: dk.ehealth.sundhed.fhir.ig.core derivation: constraint name: ehealth-consent type: Consent elements: category: binding: {strength: required, valueSet: 'http://ehealth.sundhed.dk/vs/consent-category'} index: 0 patient: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-patient'] index: 1 organization: type: Reference refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization'] index: 2 source: choices: [] index: 4 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: sourceReference: match: {} schema: choices: [sourceReference] index: 6 min: 0 max: 1 sourceReference: type: Reference choiceOf: source refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse', 'http://hl7.org/fhir/StructureDefinition/Contract'] index: 7 slicing: slices: sourceReference: match: {} schema: type: Reference choiceOf: source refers: ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference', 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse', 'http://hl7.org/fhir/StructureDefinition/Contract'] index: 7 min: 0 max: 1 package_version: 3.5.0 class: profile kind: resource url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent base: http://hl7.org/fhir/StructureDefinition/Consent version: 3.5.0 required: [patient]