description: This profile on Consent is used to record whether a patient has consented or not to be notified about updates to the eReferral. package_name: ca.infoway.io.erec derivation: constraint name: Consent type: Consent elements: status: {mustSupport: true, index: 0} scope: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: patient-privacy, system: 'http://terminology.hl7.org/CodeSystem/consentscope', display: Privacy Consent} index: 1 category: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 59284-0, system: 'http://loinc.org', display: Patient Consent} index: 2 patient: {mustSupport: true, index: 3} dateTime: {mustSupport: true, index: 4} policyRule: {mustSupport: true, index: 5} provision: mustSupport: true index: 6 elements: type: {mustSupport: true, index: 7} action: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: disclose, system: 'http://terminology.hl7.org/CodeSystem/consentaction'} index: 8 required: [action, type] package_version: 1.3.0-dft-preBallot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Consent base: http://hl7.org/fhir/StructureDefinition/Consent version: null required: [policyRule, dateTime, patient, provision]