description: Base StructureDefinition for AuditEvent Resource package_name: hl7.fhir.r3.examples derivation: specialization name: AuditEvent type: AuditEvent elements: outcomeDesc: {short: Description of the event outcome, type: string, isSummary: true, index: 5} type: {short: Type/identifier of event, type: Coding, isSummary: true, index: 0} outcome: {short: Whether the event succeeded or failed, type: code, isSummary: true, index: 4} source: short: Audit Event Reporter type: BackboneElement index: 21 elements: site: {short: Logical source location within the enterprise, type: string, index: 22} identifier: {short: The identity of source detecting the event, type: Identifier, isSummary: true, index: 23} type: {short: The type of source where event originated, type: Coding, array: true, index: 24} required: [identifier] recorded: {short: Time when the event occurred on source, type: instant, isSummary: true, index: 3} agent: min: 1 short: Actor involved in the event type: BackboneElement array: true index: 7 elements: role: {short: Agent role in the event, type: CodeableConcept, array: true, index: 8} requestor: {short: Whether user is initiator, type: boolean, index: 13} altId: {short: Alternative User id e.g. authentication, type: string, index: 11} name: {short: Human-meaningful name for the agent, type: string, index: 12} policy: {short: Policy that authorized event, type: uri, array: true, index: 15} purposeOfUse: {short: Reason given for this user, type: CodeableConcept, array: true, index: 20} reference: short: Direct reference to resource refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference isSummary: true index: 9 userId: {short: Unique identifier for the user, type: Identifier, isSummary: true, index: 10} network: type: BackboneElement short: Logical network location for application activity index: 17 elements: address: {short: Identifier for the network access point of the user device, type: string, index: 18} type: {short: The type of network access point, type: code, index: 19} location: short: Where refers: ['http://hl7.org/fhir/StructureDefinition/Location'] type: Reference index: 14 media: {short: Type of media, type: Coding, index: 16} required: [requestor] purposeOfEvent: {short: The purposeOfUse of the event, type: CodeableConcept, array: true, isSummary: true, index: 6} action: {short: Type of action performed during the event, type: code, isSummary: true, index: 2} entity: constraint: sev-1: {human: Either a name or a query (NOT both), severity: error, expression: name.empty() or query.empty()} short: Data or objects used type: BackboneElement array: true index: 25 elements: role: {short: What role the entity played, type: Coding, index: 29} description: {short: Descriptive text, type: string, index: 33} name: {short: Descriptor for entity, type: string, isSummary: true, index: 32} type: {short: Type of entity involved, type: Coding, index: 28} lifecycle: {short: Life-cycle stage for the entity, type: Coding, index: 30} reference: short: Specific instance of resource refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] type: Reference isSummary: true index: 27 identifier: {short: Specific instance of object, type: Identifier, isSummary: true, index: 26} query: {short: Query parameters, type: base64Binary, isSummary: true, index: 34} securityLabel: {short: Security labels on the entity, type: Coding, array: true, index: 31} detail: short: Additional Information about the entity type: BackboneElement array: true index: 35 elements: type: {type: string, short: Name of the property, index: 36} value: {short: Property value, type: base64Binary, index: 37} required: [value, type] subtype: {short: More specific type/id for the event, type: Coding, array: true, isSummary: true, index: 1} package_version: 3.0.2 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/AuditEvent base: http://hl7.org/fhir/StructureDefinition/DomainResource version: null required: [agent, recorded, source, type]