 
          
                AIST PICA Implementation Guide
                0.1.0 - STU1
              
AIST PICA Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://hl7.at/fhir/AISTPICA/R5/StructureDefinition/aist-pica-auditevent-actor | Version: 0.1.0 | |||
| Active as of 2025-09-05 | Computable Name: AISTPICAAuditEventActor | |||
AIST PICA Actor AuditEvent Profile enforcing the participating actor(s)
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints    Filter:   | 
|---|---|---|---|---|
|   AuditEvent | 0..* | AISTPICAAuditEventCore | Record of an event | |
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | 
|    contained | 0..* | Resource | Contained, inline Resources | |
|    modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | 
|    code | Σ | 1..1 | CodeableConcept | Specific type of event Binding: AuditEventSubType (example): Specific type of event. | 
|    Slices for occurred[x] | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this | |
|     occurred[x]:occurredDateTime | 1..1 | dateTime | Documents when the event was conducted, not when it was audited. | |
|    recorded | Σ | 1..1 | instant | Time when the event was recorded | 
|    patient | 1..1 | Reference(Patient) | The patient this Audit event is for. | |
|    agent | Σ | 1..* | BackboneElement | Actor involved in the event | 
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
|     who | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | Actor that participated in the task. | 
|    source | Σ | 1..1 | BackboneElement | Audit Event Reporter | 
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
|     observer | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | The identity of source detecting the event | 
|  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| AuditEvent.code | example | AuditEventSubType http://hl7.org/fhir/ValueSet/audit-event-sub-typeFrom the FHIR Standard | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | AuditEvent | 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 : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
| dom-4 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
| dom-5 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | AuditEvent | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | 
This structure is derived from AISTPICAAuditEventCore
| Name | Flags | Card. | Type | Description & Constraints    Filter:   | 
|---|---|---|---|---|
|   AuditEvent | 0..* | AISTPICAAuditEventCore | Record of an event | |
|    agent | ||||
|     who | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | Actor that participated in the task. | |
|  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints    Filter:   | ||||
|---|---|---|---|---|---|---|---|---|
|   AuditEvent | 0..* | AISTPICAAuditEventCore | Record of an event | |||||
|    id | Σ | 0..1 | id | Logical id of this artifact | ||||
|    meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
|    language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language 
 | |||||
|    text | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
|    contained | 0..* | Resource | Contained, inline Resources | |||||
|    extension | 0..* | Extension | Additional content defined by implementations | |||||
|    modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
|    category | Σ | 0..* | CodeableConcept | Type/identifier of event Binding: AuditEventID (example): Type of event. | ||||
|    code | Σ | 1..1 | CodeableConcept | Specific type of event Binding: AuditEventSubType (example): Specific type of event. | ||||
|    action | Σ | 0..1 | code | Type of action performed during the event Binding: AuditEventAction (required): DICOM Audit Event Action | ||||
|    severity | Σ | 0..1 | code | emergency | alert | critical | error | warning | notice | informational | debug Binding: AuditEventSeverity (required): This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 | ||||
|    Slices for occurred[x] | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this | |||||
|     occurred[x]:occurredDateTime | 1..1 | dateTime | Documents when the event was conducted, not when it was audited. | |||||
|    recorded | Σ | 1..1 | instant | Time when the event was recorded | ||||
|    outcome | Σ | 0..1 | BackboneElement | Whether the event succeeded or failed | ||||
|     id | 0..1 | string | Unique id for inter-element referencing | |||||
|     extension | 0..* | Extension | Additional content defined by implementations | |||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|     code | Σ | 1..1 | Coding | Whether the event succeeded or failed Binding: AuditEventOutcome (preferred): DICOM Audit Event Outcome | ||||
|     detail | Σ | 0..* | CodeableConcept | Additional outcome detail Binding: AuditEventOutcomeDetail (example): A code that provides details as the exact issue. | ||||
|    authorization | Σ | 0..* | CodeableConcept | Authorization related to the event Binding: PurposeOfUse (example): The authorized purposeOfUse for the activity. | ||||
|    basedOn | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) | Workflow authorization within which this event occurred | |||||
|    patient | 1..1 | Reference(Patient) | The patient this Audit event is for. | |||||
|    encounter | 0..1 | Reference(Encounter) | Encounter within which this event occurred or which the event is tightly associated | |||||
|    agent | Σ | 1..* | BackboneElement | Actor involved in the event | ||||
|     id | 0..1 | string | Unique id for inter-element referencing | |||||
|     extension | 0..* | Extension | Additional content defined by implementations | |||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|     type | 0..1 | CodeableConcept | How agent participated Binding: ParticipationRoleType (preferred): The Participation type of the agent to the event. | |||||
|     role | 0..* | CodeableConcept | Agent role in the event Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event. | |||||
|     who | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | Actor that participated in the task. | ||||
|     requestor | Σ | 0..1 | boolean | Whether user is initiator | ||||
|     location | 0..1 | Reference(Location) | The agent location when the event occurred | |||||
|     policy | 0..* | uri | Policy that authorized the agent participation in the event | |||||
|     network[x] | 0..1 | This agent network location for the activity | ||||||
|      networkReference | Reference(Endpoint) | |||||||
|      networkUri | uri | |||||||
|      networkString | string | |||||||
|     authorization | 0..* | CodeableConcept | Allowable authorization for this agent Binding: PurposeOfUse (example): The reason the activity took place. | |||||
|    source | Σ | 1..1 | BackboneElement | Audit Event Reporter | ||||
|     id | 0..1 | string | Unique id for inter-element referencing | |||||
|     extension | 0..* | Extension | Additional content defined by implementations | |||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|     site | 0..1 | Reference(Location) | Logical source location within the enterprise | |||||
|     observer | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | The identity of source detecting the event | ||||
|     type | 0..* | CodeableConcept | The type of source where event originated Binding: AuditEventSourceType (preferred): Code specifying the type of system that detected and recorded the event. Use of these codes is not required but is encouraged to maintain translation with DICOM AuditMessage schema. | |||||
|    entity | Σ | 0..* | BackboneElement | Data or objects used | ||||
|     id | 0..1 | string | Unique id for inter-element referencing | |||||
|     extension | 0..* | Extension | Additional content defined by implementations | |||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|     what | Σ | 0..1 | Reference(Resource) | Specific instance of resource | ||||
|     role | 0..1 | CodeableConcept | What role the entity played Binding: AuditEventEntityRole (example): DICOM Audit Event Entity Role | |||||
|     securityLabel | 0..* | CodeableConcept | Security labels on the entity Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | |||||
|     query | Σ | 0..1 | base64Binary | Query parameters | ||||
|     detail | 0..* | BackboneElement | Additional Information about the entity | |||||
|      id | 0..1 | string | Unique id for inter-element referencing | |||||
|      extension | 0..* | Extension | Additional content defined by implementations | |||||
|      modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|      type | 1..1 | CodeableConcept | Name of the property Binding: AuditEventID (example): Additional detail about an entity used in an event. | |||||
|      value[x] | 1..1 | Property value | ||||||
|       valueQuantity | Quantity | |||||||
|       valueCodeableConcept | CodeableConcept | |||||||
|       valueString | string | |||||||
|       valueBoolean | boolean | |||||||
|       valueInteger | integer | |||||||
|       valueRange | Range | |||||||
|       valueRatio | Ratio | |||||||
|       valueTime | time | |||||||
|       valueDateTime | dateTime | |||||||
|       valuePeriod | Period | |||||||
|       valueBase64Binary | base64Binary | |||||||
|     agent | 0..* | See agent (AuditEvent) | Entity is attributed to this agent | |||||
|  Documentation for this format | ||||||||
| Path | Conformance | ValueSet | URI | 
| AuditEvent.language | required | AllLanguages http://hl7.org/fhir/ValueSet/all-languages|5.0.0From the FHIR Standard | |
| AuditEvent.category | example | AuditEventID http://hl7.org/fhir/ValueSet/audit-event-typeFrom the FHIR Standard | |
| AuditEvent.code | example | AuditEventSubType http://hl7.org/fhir/ValueSet/audit-event-sub-typeFrom the FHIR Standard | |
| AuditEvent.action | required | AuditEventAction http://hl7.org/fhir/ValueSet/audit-event-action|5.0.0From the FHIR Standard | |
| AuditEvent.severity | required | AuditEventSeverity http://hl7.org/fhir/ValueSet/audit-event-severity|5.0.0From the FHIR Standard | |
| AuditEvent.outcome.code | preferred | AuditEventOutcome http://hl7.org/fhir/ValueSet/audit-event-outcomeFrom the FHIR Standard | |
| AuditEvent.outcome.detail | example | AuditEventOutcomeDetail http://hl7.org/fhir/ValueSet/audit-event-outcome-detailFrom the FHIR Standard | |
| AuditEvent.authorization | example | PurposeOfUse http://terminology.hl7.org/ValueSet/v3-PurposeOfUse | |
| AuditEvent.agent.type | preferred | ParticipationRoleType http://hl7.org/fhir/ValueSet/participation-role-typeFrom the FHIR Standard | |
| AuditEvent.agent.role | example | SecurityRoleType http://hl7.org/fhir/ValueSet/security-role-typeFrom the FHIR Standard | |
| AuditEvent.agent.authorization | example | PurposeOfUse http://terminology.hl7.org/ValueSet/v3-PurposeOfUse | |
| AuditEvent.source.type | preferred | AuditEventSourceType http://hl7.org/fhir/ValueSet/security-source-typeFrom the FHIR Standard | |
| AuditEvent.entity.role | example | AuditEventEntityRole http://hl7.org/fhir/ValueSet/object-roleFrom the FHIR Standard | |
| AuditEvent.entity.securityLabel | example | SecurityLabelExamples http://hl7.org/fhir/ValueSet/security-label-examplesFrom the FHIR Standard | |
| AuditEvent.entity.detail.type | example | AuditEventID http://hl7.org/fhir/ValueSet/audit-event-typeFrom the FHIR Standard | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | AuditEvent | 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 : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
| dom-4 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
| dom-5 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | AuditEvent | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | 
This structure is derived from AISTPICAAuditEventCore
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints    Filter:   | 
|---|---|---|---|---|
|   AuditEvent | 0..* | AISTPICAAuditEventCore | Record of an event | |
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | 
|    contained | 0..* | Resource | Contained, inline Resources | |
|    modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | 
|    code | Σ | 1..1 | CodeableConcept | Specific type of event Binding: AuditEventSubType (example): Specific type of event. | 
|    Slices for occurred[x] | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this | |
|     occurred[x]:occurredDateTime | 1..1 | dateTime | Documents when the event was conducted, not when it was audited. | |
|    recorded | Σ | 1..1 | instant | Time when the event was recorded | 
|    patient | 1..1 | Reference(Patient) | The patient this Audit event is for. | |
|    agent | Σ | 1..* | BackboneElement | Actor involved in the event | 
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
|     who | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | Actor that participated in the task. | 
|    source | Σ | 1..1 | BackboneElement | Audit Event Reporter | 
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
|     observer | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | The identity of source detecting the event | 
|  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| AuditEvent.code | example | AuditEventSubType http://hl7.org/fhir/ValueSet/audit-event-sub-typeFrom the FHIR Standard | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | AuditEvent | 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 : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
| dom-4 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
| dom-5 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | AuditEvent | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | 
Differential View
This structure is derived from AISTPICAAuditEventCore
| Name | Flags | Card. | Type | Description & Constraints    Filter:   | 
|---|---|---|---|---|
|   AuditEvent | 0..* | AISTPICAAuditEventCore | Record of an event | |
|    agent | ||||
|     who | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | Actor that participated in the task. | |
|  Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints    Filter:   | ||||
|---|---|---|---|---|---|---|---|---|
|   AuditEvent | 0..* | AISTPICAAuditEventCore | Record of an event | |||||
|    id | Σ | 0..1 | id | Logical id of this artifact | ||||
|    meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
|    language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language 
 | |||||
|    text | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
|    contained | 0..* | Resource | Contained, inline Resources | |||||
|    extension | 0..* | Extension | Additional content defined by implementations | |||||
|    modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
|    category | Σ | 0..* | CodeableConcept | Type/identifier of event Binding: AuditEventID (example): Type of event. | ||||
|    code | Σ | 1..1 | CodeableConcept | Specific type of event Binding: AuditEventSubType (example): Specific type of event. | ||||
|    action | Σ | 0..1 | code | Type of action performed during the event Binding: AuditEventAction (required): DICOM Audit Event Action | ||||
|    severity | Σ | 0..1 | code | emergency | alert | critical | error | warning | notice | informational | debug Binding: AuditEventSeverity (required): This is in the SysLog header, PRI. http://tools.ietf.org/html/rfc5424#appendix-A.3 | ||||
|    Slices for occurred[x] | 1..1 | dateTime | When the activity occurred Slice: Unordered, Closed by type:$this | |||||
|     occurred[x]:occurredDateTime | 1..1 | dateTime | Documents when the event was conducted, not when it was audited. | |||||
|    recorded | Σ | 1..1 | instant | Time when the event was recorded | ||||
|    outcome | Σ | 0..1 | BackboneElement | Whether the event succeeded or failed | ||||
|     id | 0..1 | string | Unique id for inter-element referencing | |||||
|     extension | 0..* | Extension | Additional content defined by implementations | |||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|     code | Σ | 1..1 | Coding | Whether the event succeeded or failed Binding: AuditEventOutcome (preferred): DICOM Audit Event Outcome | ||||
|     detail | Σ | 0..* | CodeableConcept | Additional outcome detail Binding: AuditEventOutcomeDetail (example): A code that provides details as the exact issue. | ||||
|    authorization | Σ | 0..* | CodeableConcept | Authorization related to the event Binding: PurposeOfUse (example): The authorized purposeOfUse for the activity. | ||||
|    basedOn | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) | Workflow authorization within which this event occurred | |||||
|    patient | 1..1 | Reference(Patient) | The patient this Audit event is for. | |||||
|    encounter | 0..1 | Reference(Encounter) | Encounter within which this event occurred or which the event is tightly associated | |||||
|    agent | Σ | 1..* | BackboneElement | Actor involved in the event | ||||
|     id | 0..1 | string | Unique id for inter-element referencing | |||||
|     extension | 0..* | Extension | Additional content defined by implementations | |||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|     type | 0..1 | CodeableConcept | How agent participated Binding: ParticipationRoleType (preferred): The Participation type of the agent to the event. | |||||
|     role | 0..* | CodeableConcept | Agent role in the event Binding: SecurityRoleType (example): What security role enabled the agent to participate in the event. | |||||
|     who | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | Actor that participated in the task. | ||||
|     requestor | Σ | 0..1 | boolean | Whether user is initiator | ||||
|     location | 0..1 | Reference(Location) | The agent location when the event occurred | |||||
|     policy | 0..* | uri | Policy that authorized the agent participation in the event | |||||
|     network[x] | 0..1 | This agent network location for the activity | ||||||
|      networkReference | Reference(Endpoint) | |||||||
|      networkUri | uri | |||||||
|      networkString | string | |||||||
|     authorization | 0..* | CodeableConcept | Allowable authorization for this agent Binding: PurposeOfUse (example): The reason the activity took place. | |||||
|    source | Σ | 1..1 | BackboneElement | Audit Event Reporter | ||||
|     id | 0..1 | string | Unique id for inter-element referencing | |||||
|     extension | 0..* | Extension | Additional content defined by implementations | |||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|     site | 0..1 | Reference(Location) | Logical source location within the enterprise | |||||
|     observer | Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) | The identity of source detecting the event | ||||
|     type | 0..* | CodeableConcept | The type of source where event originated Binding: AuditEventSourceType (preferred): Code specifying the type of system that detected and recorded the event. Use of these codes is not required but is encouraged to maintain translation with DICOM AuditMessage schema. | |||||
|    entity | Σ | 0..* | BackboneElement | Data or objects used | ||||
|     id | 0..1 | string | Unique id for inter-element referencing | |||||
|     extension | 0..* | Extension | Additional content defined by implementations | |||||
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|     what | Σ | 0..1 | Reference(Resource) | Specific instance of resource | ||||
|     role | 0..1 | CodeableConcept | What role the entity played Binding: AuditEventEntityRole (example): DICOM Audit Event Entity Role | |||||
|     securityLabel | 0..* | CodeableConcept | Security labels on the entity Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System. | |||||
|     query | Σ | 0..1 | base64Binary | Query parameters | ||||
|     detail | 0..* | BackboneElement | Additional Information about the entity | |||||
|      id | 0..1 | string | Unique id for inter-element referencing | |||||
|      extension | 0..* | Extension | Additional content defined by implementations | |||||
|      modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
|      type | 1..1 | CodeableConcept | Name of the property Binding: AuditEventID (example): Additional detail about an entity used in an event. | |||||
|      value[x] | 1..1 | Property value | ||||||
|       valueQuantity | Quantity | |||||||
|       valueCodeableConcept | CodeableConcept | |||||||
|       valueString | string | |||||||
|       valueBoolean | boolean | |||||||
|       valueInteger | integer | |||||||
|       valueRange | Range | |||||||
|       valueRatio | Ratio | |||||||
|       valueTime | time | |||||||
|       valueDateTime | dateTime | |||||||
|       valuePeriod | Period | |||||||
|       valueBase64Binary | base64Binary | |||||||
|     agent | 0..* | See agent (AuditEvent) | Entity is attributed to this agent | |||||
|  Documentation for this format | ||||||||
| Path | Conformance | ValueSet | URI | 
| AuditEvent.language | required | AllLanguages http://hl7.org/fhir/ValueSet/all-languages|5.0.0From the FHIR Standard | |
| AuditEvent.category | example | AuditEventID http://hl7.org/fhir/ValueSet/audit-event-typeFrom the FHIR Standard | |
| AuditEvent.code | example | AuditEventSubType http://hl7.org/fhir/ValueSet/audit-event-sub-typeFrom the FHIR Standard | |
| AuditEvent.action | required | AuditEventAction http://hl7.org/fhir/ValueSet/audit-event-action|5.0.0From the FHIR Standard | |
| AuditEvent.severity | required | AuditEventSeverity http://hl7.org/fhir/ValueSet/audit-event-severity|5.0.0From the FHIR Standard | |
| AuditEvent.outcome.code | preferred | AuditEventOutcome http://hl7.org/fhir/ValueSet/audit-event-outcomeFrom the FHIR Standard | |
| AuditEvent.outcome.detail | example | AuditEventOutcomeDetail http://hl7.org/fhir/ValueSet/audit-event-outcome-detailFrom the FHIR Standard | |
| AuditEvent.authorization | example | PurposeOfUse http://terminology.hl7.org/ValueSet/v3-PurposeOfUse | |
| AuditEvent.agent.type | preferred | ParticipationRoleType http://hl7.org/fhir/ValueSet/participation-role-typeFrom the FHIR Standard | |
| AuditEvent.agent.role | example | SecurityRoleType http://hl7.org/fhir/ValueSet/security-role-typeFrom the FHIR Standard | |
| AuditEvent.agent.authorization | example | PurposeOfUse http://terminology.hl7.org/ValueSet/v3-PurposeOfUse | |
| AuditEvent.source.type | preferred | AuditEventSourceType http://hl7.org/fhir/ValueSet/security-source-typeFrom the FHIR Standard | |
| AuditEvent.entity.role | example | AuditEventEntityRole http://hl7.org/fhir/ValueSet/object-roleFrom the FHIR Standard | |
| AuditEvent.entity.securityLabel | example | SecurityLabelExamples http://hl7.org/fhir/ValueSet/security-label-examplesFrom the FHIR Standard | |
| AuditEvent.entity.detail.type | example | AuditEventID http://hl7.org/fhir/ValueSet/audit-event-typeFrom the FHIR Standard | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | AuditEvent | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | AuditEvent | 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 : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
| dom-4 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
| dom-5 | error | AuditEvent | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | AuditEvent | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | 
This structure is derived from AISTPICAAuditEventCore
Other representations of profile: CSV, Excel, Schematron