import { CareTeam } from './CareTeam.js';
import { CodeableConcept } from './CodeableConcept.js';
import { Device } from './Device.js';
import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
import { Location } from './Location.js';
import { Organization } from './Organization.js';
import { Patient } from './Patient.js';
import { Practitioner } from './Practitioner.js';
import { PractitionerRole } from './PractitionerRole.js';
import { Reference } from './Reference.js';
import { RelatedPerson } from './RelatedPerson.js';
export interface AuditEvent_Agent {
    /**
     * @description Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
     * @short Unique id for inter-element referencing
     */
    id?: string;
    /**
     * @description 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.
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description 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 andor 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).
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Extensions that cannot be ignored even if unrecognized
     */
    modifierExtension?: Extension[];
    /**
     * @description The Functional Role of the user when performing the event.
     * @comment For example: assembler, author, prescriber, signer, investigator, etc.
     * @short How agent participated
     */
    type?: CodeableConcept;
    /**
     * @description The structural roles of the agent indicating the agent's competency. The security role enabling the agent with respect to the activity.
     * @comment For example: Chief-of-Radiology, Nurse, Physician, Medical-Student, etc.
     * @short Agent role in the event
     */
    role?: CodeableConcept[];
    /**
     * @description Reference to who this agent is that was involved in the event.
     * @comment Where a User ID is available it will go into who.identifier. Where a name of the user (human readable) it will go into who.display.
     * @short Identifier of who
     */
    who: Reference<Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson>;
    /**
     * @description Indicator that the user is or is not the requestor, or initiator, for the event being audited.
     * @comment There can only be one initiator. If the initiator is not clear, then do not choose any one agent as the initiator.
     * @short Whether user is initiator
     */
    requestor?: FhirPrimitive<boolean>;
    /**
     * @description Where the agent location is known, the agent location when the event occurred.
     * @short The agent location when the event occurred
     */
    location?: Reference<Location>;
    /**
     * @description 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.
     * @comment For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.
     * @short Policy that authorized the agent participation in the event
     */
    policy?: FhirPrimitive<string>[];
    /**
     * @choice This is part of the network[x] choice.
     * @oneOf networkReference, networkUri, networkString
     */
    networkReference?: Reference;
    /**
     * @choice This is part of the network[x] choice.
     * @oneOf networkReference, networkUri, networkString
     */
    networkUri?: FhirPrimitive<string>;
    /**
     * @choice This is part of the network[x] choice.
     * @oneOf networkReference, networkUri, networkString
     */
    networkString?: FhirPrimitive<string>;
    /**
     * @description The authorization (e.g., PurposeOfUse) that was used during the event being recorded.
     * @comment Use AuditEvent.agent.authorization when you know that is specific to the agent, otherwise use AuditEvent.authorization. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.
     * @short Allowable authorization for this agent
     */
    authorization?: CodeableConcept[];
}
//# sourceMappingURL=AuditEvent_Agent.d.ts.map