description: Defines constraints for Consent resources declaring Patient Confidentiality and Research Opt-Out package_name: fhir.deep6.ai derivation: constraint name: TempusPatientConsent type: Consent elements: status: short: The status of the consent. binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-state-codes'} index: 0 scope: short: The scope of the consent. binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-scope'} index: 1 category: short: The category of the consent. binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/consent-category'} index: 2 elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 3 code: pattern: {type: Code, value: 59284-0} index: 4 patient: {index: 5} dateTime: {short: The date and time the consent was created., index: 6} organization: {short: The organization the consent originates from., index: 7} provision: short: A group of provisions. index: 8 elements: type: {index: 9} action: index: 10 elements: coding: elements: code: pattern: {type: Code, value: use} index: 11 dataPeriod: {short: The period during which the provision is in effect., index: 12} required: [dataPeriod, action, type] package_version: 2.5.0 class: profile kind: resource url: http://deep6.ai/fhir/StructureDefinition/tempus-patient-consent-1.0.0 base: http://hl7.org/fhir/StructureDefinition/Consent version: 2.5.0 required: [dateTime, patient, provision, organization]