description: This profile constrains a Consent resource to convey consents and authorizations associated with fulfillment of a specialty medication or other product package_name: hl7.fhir.us.specialty derivation: constraint name: SpecialtyRxConsent type: Consent elements: status: binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/specialty-rx/ValueSet/specialty-rx-consent-status'} mustSupport: true index: 0 patient: type: Reference label: Related patient in the Data Source system short: Related patient mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 1 sourceAttachment: type: Attachment mustSupport: true index: 2 elements: contentType: pattern: {type: Code, value: application/pdf} mustSupport: true index: 3 data: {mustSupport: true, index: 4} required: [contentType, data] policyRule: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: OPTIN, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode', display: opt-in} index: 5 package_version: rx-2.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-consent base: http://hl7.org/fhir/StructureDefinition/Consent version: 2.0.0 required: [sourceAttachment]