AuditEventAgent constructor

const AuditEventAgent({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. CodeableConcept? type,
  5. List<CodeableConcept>? role,
  6. required Reference who,
  7. FhirBoolean? requestor,
  8. @JsonKey(name: '_requestor') Element? requestorElement,
  9. Reference? location,
  10. List<FhirUri>? policy,
  11. @JsonKey(name: '_policy') List<Element>? policyElement,
  12. Reference? networkReference,
  13. FhirUri? networkUri,
  14. @JsonKey(name: '_networkUri') Element? networkUriElement,
  15. String? networkString,
  16. @JsonKey(name: '_networkString') Element? networkStringElement,
  17. List<CodeableConcept>? authorization,
})

AuditEventAgent A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

extension_ ("extension") May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

modifierExtension May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

type The Functional Role of the user when performing the event.

role The structural roles of the agent indicating the agent's competency. The security role enabling the agent with respect to the activity.

who Reference to who this agent is that was involved in the event.

requestor Indicator that the user is or is not the requestor, or initiator, for the event being audited.

requestorElement ("_requestor") Extensions for requestor

location Where the agent location is known, the agent location when the event occurred.

policy Where the policy(ies) are known that authorized the agent participation in the event. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.

policyElement ("_policy") Extensions for policy

networkReference When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.

networkUri When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.

networkUriElement ("_networkUri") Extensions for networkUri

networkString When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.

networkStringElement ("_networkString") Extensions for networkString

authorization The authorization (e.g., PurposeOfUse) that was used during the event being recorded.

Implementation

const factory AuditEventAgent({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') String? fhirId,

  /// [extension_] ("extension") May be used to represent additional
  ///  information that is not part of the basic definition of the element.
  ///  To make the use of extensions safe and managable, there is a strict
  ///  set of governance applied to the definition and use of extensions.
  ///  Though any implementer can define an extension, there is a set of
  ///  requirements that SHALL be met as part of the definition of the
  ///  extension.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [modifierExtension] May be used to represent additional information
  ///  that is not part of the basic definition of the element and that
  ///  modifies the understanding of the element in which it is contained
  ///  and/or the understanding of the containing element's descendants.
  ///  Usually modifier elements provide negation or qualification. To make
  ///  the use of extensions safe and managable, there is a strict set of
  ///  governance applied to the definition and use of extensions. Though any
  ///  implementer can define an extension, there is a set of requirements
  ///  that SHALL be met as part of the definition of the extension.
  ///  Applications processing a resource are required to check for modifier
  ///  extensions.Modifier extensions SHALL NOT change the meaning of any
  ///  elements on Resource or DomainResource (including cannot change the
  ///  meaning of modifierExtension itself).
  List<FhirExtension>? modifierExtension,

  /// [type] The Functional Role of the user when performing the event.
  CodeableConcept? type,

  /// [role] The structural roles of the agent indicating the agent's
  ///  competency. The security role enabling the agent with respect to the
  ///  activity.
  List<CodeableConcept>? role,

  /// [who] Reference to who this agent is that was involved in the event.
  required Reference who,

  /// [requestor] Indicator that the user is or is not the requestor, or
  ///  initiator, for the event being audited.
  FhirBoolean? requestor,

  /// [requestorElement] ("_requestor") Extensions for requestor
  @JsonKey(name: '_requestor') Element? requestorElement,

  /// [location] Where the agent location is known, the agent location when
  ///  the event occurred.
  Reference? location,

  /// [policy] Where the policy(ies) are known that authorized the agent
  ///  participation in the event. Typically, a single activity may have
  ///  multiple applicable policies, such as patient consent, guarantor
  ///  funding, etc. The policy would also indicate the security token used.
  List<FhirUri>? policy,

  /// [policyElement] ("_policy") Extensions for policy
  @JsonKey(name: '_policy') List<Element>? policyElement,

  /// [networkReference] When the event utilizes a network there should be an
  ///  agent describing the local system, and an agent describing remote
  ///  system, with the network interface details.
  Reference? networkReference,

  /// [networkUri] When the event utilizes a network there should be an agent
  ///  describing the local system, and an agent describing remote system,
  ///  with the network interface details.
  FhirUri? networkUri,

  /// [networkUriElement] ("_networkUri") Extensions for networkUri
  @JsonKey(name: '_networkUri') Element? networkUriElement,

  /// [networkString] When the event utilizes a network there should be an
  ///  agent describing the local system, and an agent describing remote
  ///  system, with the network interface details.
  String? networkString,

  /// [networkStringElement] ("_networkString") Extensions for networkString
  @JsonKey(name: '_networkString') Element? networkStringElement,

  /// [authorization] The authorization (e.g., PurposeOfUse) that was used
  ///  during the event being recorded.
  List<CodeableConcept>? authorization,
}) = _AuditEventAgent;