description: This profile sets minimum expectations for a Consent resource to record, search, and fetch a My Health Record (MHR) consent withdrawal. It is based on the [Consent](https://hl7.org/fhir/R4/consent.html) and identifies the additional mandatory core elements, extensions, vocabularies and value sets that SHALL be present in the Consent when conforming to this profile. package_name: hl7.fhir.au.ereq derivation: constraint name: AUeRequestingMHRConsentWithdrawal type: Consent elements: patient: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient'] index: 5 category: mustSupport: true index: 3 elements: coding: pattern: type: Coding value: {code: IDSCL, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'} type: Coding index: 4 required: [coding] provision: mustSupport: true index: 13 elements: type: pattern: {type: code, value: deny} mustSupport: true type: code index: 14 action: mustSupport: true index: 15 elements: coding: pattern: type: Coding value: {code: disclose, system: 'http://terminology.hl7.org/CodeSystem/consentaction'} type: Coding index: 16 required: [coding] class: mustSupport: true index: 17 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: diagnosticReport: match: {code: DiagnosticReport, system: 'http://hl7.org/fhir/resource-types'} schema: mustSupport: true pattern: type: Coding value: {code: DiagnosticReport, system: 'http://hl7.org/fhir/resource-types'} _required: true type: Coding index: 18 min: 1 max: 1 data: mustSupport: true index: 19 elements: meaning: pattern: {type: code, value: dependents} mustSupport: true type: code index: 20 reference: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-servicerequest-imag', 'http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-servicerequest-path'] index: 21 required: [action, class, data, type] organization: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization'] index: 8 scope: mustSupport: true index: 1 elements: coding: pattern: type: Coding value: {code: patient-privacy, system: 'http://terminology.hl7.org/CodeSystem/consentscope'} type: Coding index: 2 required: [coding] policy: elements: authority: pattern: {type: uri, value: 'https://www.health.gov.au'} type: uri index: 9 uri: pattern: {type: uri, value: 'https://www.legislation.gov.au/C2012A00063'} type: uri index: 10 dateTime: {mustSupport: true, index: 6} status: pattern: {type: code, value: active} mustSupport: true type: code index: 0 policyRule: mustSupport: true index: 11 elements: coding: pattern: type: Coding value: {code: OPTIN, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'} type: Coding index: 12 required: [coding] performer: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient'] index: 7 package_version: 0.4.0-preview class: profile kind: resource url: http://hl7.org.au/fhir/ereq/StructureDefinition/au-erequesting-mhrconsentwithdrawal base: http://hl7.org/fhir/StructureDefinition/Consent version: 0.4.0-preview required: [dateTime, organization, patient, performer, policyRule, provision]