description: When an AuditEvent is attributed to an agent that is acting on behalf of another agent. Typically needed when multiple agents are acting on behalf of different organizations, and when PractitionerRole is not appropriate. package_name: hl7.fhir.uv.extensions.r4b derivation: constraint name: AEOnBehalfOf type: Extension elements: extension: {index: 0} url: pattern: {type: uri, value: 'http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf'} type: uri index: 1 value: choices: [valueReference] index: 3 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 4 package_version: 5.3.0-ballot-tc1 extensions: {} class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.3.0-ballot-tc1 required: [value, valueReference]