## Union of https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.UpdateDocumentReference.Audit.Source and https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.UpdateDocumentReference.Audit.Source

This is the set of resources that conform to either of the profiles Audit Event for Update DocumentReference Transaction at File Source (https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.UpdateDocumentReference.Audit.Source) and Audit Event for Update DocumentReference Transaction at File Source (https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.UpdateDocumentReference.Audit.Source). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
AuditEvent |  | 0..* |  | Event record kept for security purposes dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
type | Σ | 1..1 | Coding | Type/identifier of event Binding: ?? (extensible): Type of event. ele-1: All FHIR elements must have a @value or children
subtype | Σ | 2..* | Coding | More specific type/id for the event Binding: ?? (extensible): Sub-type of event. ele-1: All FHIR elements must have a @value or children
action | Σ | 0..1 | code | Type of action performed during the event Binding: ?? (required): Indicator for type of action performed during the event that generated the event. ele-1: All FHIR elements must have a @value or children
period |  | 0..1 | Period | When the activity occurred ele-1: All FHIR elements must have a @value or children
recorded | Σ | 1..1 | instant | Time when the event was recorded ele-1: All FHIR elements must have a @value or children
outcome | Σ | 0..1 | code | Whether the event succeeded or failed Binding: ?? (required): Indicates whether the event succeeded or failed. ele-1: All FHIR elements must have a @value or children
outcomeDesc | Σ | 0..1 | string | Description of the event outcome ele-1: All FHIR elements must have a @value or children
purposeOfEvent | Σ | 0..* | CodeableConcept | The purposeOfUse of the event Binding: ?? (extensible): The reason the activity took place. ele-1: All FHIR elements must have a @value or children
agent |  | 2..* | BackboneElement | Actor involved in the event ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
type |  | 0..1 | CodeableConcept | How agent participated Binding: ?? (extensible): The Participation type of the agent to the event. ele-1: All FHIR elements must have a @value or children
role |  | 0..* | CodeableConcept | Agent role in the event Binding: ?? (example): What security role enabled the agent to participate in the event. ele-1: All FHIR elements must have a @value or children
who | Σ | 0..1 | Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson) | Identifier of who ele-1: All FHIR elements must have a @value or children
altId |  | 0..1 | string | Alternative User identity ele-1: All FHIR elements must have a @value or children
name |  | 0..1 | string | Human friendly name for the agent ele-1: All FHIR elements must have a @value or children
requestor | Σ | 1..1 | boolean | Whether user is initiator ele-1: All FHIR elements must have a @value or children
location |  | 0..1 | Reference(Location) | Where ele-1: All FHIR elements must have a @value or children
policy |  | 0..* | uri | Policy that authorized event ele-1: All FHIR elements must have a @value or children
media |  | 0..1 | Coding | Type of media Binding: ?? (extensible): Used when the event is about exporting/importing onto media. ele-1: All FHIR elements must have a @value or children
network |  | 0..1 | BackboneElement | Logical network location for application activity ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
address |  | 0..1 | string | Identifier for the network access point of the user device ele-1: All FHIR elements must have a @value or children
type |  | 0..1 | code | The type of network access point Binding: ?? (required): The type of network access point of this agent in the audit event. ele-1: All FHIR elements must have a @value or children
purposeOfUse |  | 0..* | CodeableConcept | Reason given for this user Binding: ?? (extensible): The reason the activity took place. ele-1: All FHIR elements must have a @value or children
source | S | 1..1 | BackboneElement | Audit Event Reporter ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
site |  | 0..1 | string | Logical source location within the enterprise ele-1: All FHIR elements must have a @value or children
observer | Σ | 1..1 | Reference(PractitionerRole | Practitioner | Organization | Device | Patient | RelatedPerson) | The identity of source detecting the event ele-1: All FHIR elements must have a @value or children
type |  | 0..* | Coding | The type of source where event originated Binding: ?? (extensible): Code specifying the type of system that detected and recorded the event. ele-1: All FHIR elements must have a @value or children
entity | C | 1..* | BackboneElement | Data or objects used ele-1: All FHIR elements must have a @value or children sev-1: Either a name or a query (NOT both)
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
what | Σ | 0..1 | Reference(Resource) | Specific instance of resource ele-1: All FHIR elements must have a @value or children
type |  | 0..1 | Coding | Type of entity involved Binding: ?? (extensible): Code for the entity type involved in the audit event. ele-1: All FHIR elements must have a @value or children
role |  | 0..1 | Coding | What role the entity played Binding: ?? (extensible): Code representing the role the entity played in the audit event. ele-1: All FHIR elements must have a @value or children
lifecycle |  | 0..1 | Coding | Life-cycle stage for the entity Binding: ?? (extensible): Identifier for the data life-cycle stage for the entity. ele-1: All FHIR elements must have a @value or children
securityLabel |  | 0..* | Coding | Security labels on the entity Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System. ele-1: All FHIR elements must have a @value or children
name | Σ | 0..1 | string | Descriptor for entity ele-1: All FHIR elements must have a @value or children
description |  | 0..1 | string | Descriptive text ele-1: All FHIR elements must have a @value or children
query | Σ | 0..1 | base64Binary | Query parameters ele-1: All FHIR elements must have a @value or children
detail |  | 0..* | BackboneElement | Additional Information about the entity ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
type |  | 1..1 | string | Name of the property ele-1: All FHIR elements must have a @value or children
value[x] |  | 1..1 |  | Property value ele-1: All FHIR elements must have a @value or children
valueString |  |  | string |
valueBase64Binary |  |  | base64Binary |
Documentation for this format