resourceType: StructureDefinition id: cdex-practitionerrole url: 'http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-practitionerrole' name: CDexPractitionerRole title: CDex PractitionerRole Profile status: active experimental: false date: '2022-11-09' 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).: - A default resource ID of "practitionerrole" - A `practitioner.identifier` - An `organization.identifier` At least a practitioner identifier or organization identifier **SHALL** be present. fhirVersion: 4.0.1 kind: resource abstract: false type: PractitionerRole baseDefinition: 'http://hl7.org/fhir/StructureDefinition/PractitionerRole' derivation: constraint differential: element: - id: 'PractitionerRole' path: PractitionerRole constraint: - key: 'cdex-3' severity: error human: 'At least a practitioner.identifier or organization.identifier SHALL be present.' expression: 'practitioner.identifier.exists() or organization.identifier.exists()' - id: 'PractitionerRole.id' path: PractitionerRole.id min: 1 max: '1' fixedId: practitionerrole # referenced by Task.owner.reference mustSupport: true - id: PractitionerRole.practitioner path: PractitionerRole.practitioner type: - code: Reference targetProfile: - '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' mustSupport: true - id: PractitionerRole.practitioner.identifier path: PractitionerRole.practitioner.identifier short: Practitioner ID (e.g., Type 1 NPI) definition: business identifier representing the provider practitioner min: 1 condition: - cdex-3 mustSupport: true - id: PractitionerRole.organization path: PractitionerRole.organization type: - code: Reference targetProfile: - >- http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization mustSupport: true - id: PractitionerRole.organization.identifier path: PractitionerRole.organization.identifier short: Organization ID (e.g., Type 2 NPI) definition: business identifier representing the provider organization min: 1 condition: - cdex-3 mustSupport: true