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 derivation: constraint name: AEOnBehalfOf type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf'} 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.1.0 extensions: {} class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.1.0 required: [valueReference, value]