description: This Profile is defined as a [contained](http://hl7.org/fhir/R4/references.html) resource within the CDex Task Attachment Request Profile. It is referenced by `Task.owner` to communicate the provider ID as a unique organization/location identifier (e.g., Type 2 NPI), or unique provider identifier (e.g., Type 1 NPI), or both. It constrains the following elements to be [*must support*](attachments-conformance.html#cdex-must-support-definition) (min=0).:\n\n- A default resource ID of \"practitionerrole\"\n- A `practitioner.identifier`\n- An `organization.identifier`\n\nAt least a practitioner identifier or organization identifier **SHALL** be present. package_name: hl7.fhir.us.davinci derivation: constraint name: CDexPractitionerRole type: PractitionerRole elements: id: pattern: {type: Id, value: practitionerrole} mustSupport: true index: 0 practitioner: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|3.1.1', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|6.1.0', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0'] index: 1 elements: identifier: {short: 'Practitioner ID (e.g., Type 1 NPI)', mustSupport: true, index: 2} required: [identifier] organization: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization'] index: 3 elements: identifier: {short: 'Organization ID (e.g., Type 2 NPI)', mustSupport: true, index: 4} required: [identifier] package_version: cdex-2.1.0 class: profile kind: resource url: http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-practitionerrole base: http://hl7.org/fhir/StructureDefinition/PractitionerRole version: 2.1.0 required: [id]