description: Base definition of the Consent resource for use in Swiss specific use cases. Uses the cross-version profile from hl7.fhir.uv.xver-r5.r4 to expose R5 Consent fields (grantor, manager, controller, decision, ...) as extensions on R4 Consent. package_name: ch.fhir.ig.ch-core derivation: constraint name: CHCoreConsent type: Consent elements: extension: index: 0 slicing: slices: grantor: match: {} schema: index: 0 extensions: {} elements: extension: {index: 1} value: choices: [valueReference] index: 3 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 4 manager: match: {} schema: index: 5 extensions: {} elements: extension: {index: 6} value: choices: [valueReference] index: 8 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/HealthcareService'] index: 9 controller: match: {} schema: index: 10 extensions: {} elements: extension: {index: 11} value: choices: [valueReference] index: 13 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 14 category: short: Initial classification of consent, used with provision.code to identify consent types binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-core/ValueSet/ConsentCategoriesVS'} index: 15 patient: type: Reference short: The patient to whom this consent applies to refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 16 performer: type: Reference short: Grantee (Organization). For HealthcareService grantees, use the alternate-reference extension on performer. refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 17 provision: short: Exeptions/Constraints to the base decision index: 18 elements: code: short: Additional classification of consent, used with category to identify consent types binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-core/ValueSet/ConsentProvisionCodesVS'} index: 19 required: [code] package_version: 7.0.0-ballot extensions: grantor: url: null index: 0 extensions: {} elements: extension: {index: 1} value: choices: [valueReference] index: 3 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 4 manager: url: null index: 5 extensions: {} elements: extension: {index: 6} value: choices: [valueReference] index: 8 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/HealthcareService'] index: 9 controller: url: null index: 10 extensions: {} elements: extension: {index: 11} value: choices: [valueReference] index: 13 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 14 class: profile kind: resource url: http://fhir.ch/ig/ch-core/StructureDefinition/CHCoreConsent base: http://hl7.org/fhir/5.0/StructureDefinition/profile-Consent version: 7.0.0-ballot required: [patient, provision]