description: 'R5: `AuditEvent.agent`' package_name: hl7.fhir.uv.xver-r5.r3 derivation: constraint name: ExtensionAuditEvent_Agent type: Extension elements: extension: base: {max: '*', min: 0, path: Extension.extension} array: true min: 1 index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: type: match: {url: type} schema: short: 'R5: How agent participated (new)' base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: type} index: 2 value: short: How agent participated choices: [valueCodeableConcept] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 4 valueCodeableConcept: short: How agent participated type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url] role: match: {url: role} schema: short: 'R5: role' array: true base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: role} index: 7 value: short: Agent role in the event choices: [valueCodeableConcept] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 9 valueCodeableConcept: short: Agent role in the event type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 10 required: [url] who: match: {url: 'http://hl7.org/fhir/StructureDefinition/alternate-reference'} schema: short: 'R5: Identifier of who' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 11 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/alternate-reference'} index: 12 required: [url] requestor: match: {url: requestor} schema: short: 'R5: requestor' base: {max: '*', min: 0, path: Extension.extension} index: 13 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: requestor} index: 14 value: short: Whether user is initiator choices: [valueBoolean] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 16 valueBoolean: short: Whether user is initiator type: boolean base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 17 required: [url] location: match: {url: 'http://hl7.org/fhir/StructureDefinition/alternate-reference'} schema: short: 'R5: The agent location when the event occurred additional types' base: {max: '*', min: 0, path: Extension.extension} index: 18 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/alternate-reference'} index: 19 required: [url] policy: match: {url: policy} schema: short: 'R5: Policy that authorized the agent participation in the event' array: true base: {max: '*', min: 0, path: Extension.extension} index: 20 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: policy} index: 21 value: short: Policy that authorized the agent participation in the event choices: [valueUri] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 23 valueUri: short: Policy that authorized the agent participation in the event type: uri base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 24 required: [url] network: match: {url: network} schema: short: 'R5: This agent network location for the activity' base: {max: '*', min: 0, path: Extension.extension} index: 25 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: network} index: 26 value: short: This agent network location for the activity choices: [valueReference, valueReference, valueUri, valueString] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 28 valueReference: short: This agent network location for the activity refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Endpoint|0.1.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 29 valueUri: short: This agent network location for the activity type: uri base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 31 valueString: short: This agent network location for the activity type: string base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 32 required: [url] authorization: match: {url: authorization} schema: short: 'R5: Allowable authorization for this agent' array: true base: {max: '*', min: 0, path: Extension.extension} index: 33 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: authorization} index: 34 value: short: Allowable authorization for this agent choices: [valueCodeableConcept] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 36 valueCodeableConcept: short: Allowable authorization for this agent type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 37 required: [url] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.agent'} index: 38 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 40 package_version: 0.1.0 extensions: type: url: type short: 'R5: How agent participated (new)' base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: type} index: 2 value: short: How agent participated choices: [valueCodeableConcept] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 4 valueCodeableConcept: short: How agent participated type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 required: [url] role: url: role short: 'R5: role' array: true base: {max: '*', min: 0, path: Extension.extension} index: 6 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: role} index: 7 value: short: Agent role in the event choices: [valueCodeableConcept] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 9 valueCodeableConcept: short: Agent role in the event type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 10 required: [url] who: url: http://hl7.org/fhir/StructureDefinition/alternate-reference short: 'R5: Identifier of who' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 11 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/alternate-reference'} index: 12 required: [url] requestor: url: requestor short: 'R5: requestor' base: {max: '*', min: 0, path: Extension.extension} index: 13 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: requestor} index: 14 value: short: Whether user is initiator choices: [valueBoolean] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 16 valueBoolean: short: Whether user is initiator type: boolean base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 17 required: [url] location: url: http://hl7.org/fhir/StructureDefinition/alternate-reference short: 'R5: The agent location when the event occurred additional types' base: {max: '*', min: 0, path: Extension.extension} index: 18 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/alternate-reference'} index: 19 required: [url] policy: url: policy short: 'R5: Policy that authorized the agent participation in the event' array: true base: {max: '*', min: 0, path: Extension.extension} index: 20 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: policy} index: 21 value: short: Policy that authorized the agent participation in the event choices: [valueUri] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 23 valueUri: short: Policy that authorized the agent participation in the event type: uri base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 24 required: [url] network: url: network short: 'R5: This agent network location for the activity' base: {max: '*', min: 0, path: Extension.extension} index: 25 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: network} index: 26 value: short: This agent network location for the activity choices: [valueReference, valueReference, valueUri, valueString] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 28 valueReference: short: This agent network location for the activity refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Endpoint|0.1.0'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 29 valueUri: short: This agent network location for the activity type: uri base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 31 valueString: short: This agent network location for the activity type: string base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 32 required: [url] authorization: url: authorization short: 'R5: Allowable authorization for this agent' array: true base: {max: '*', min: 0, path: Extension.extension} index: 33 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: authorization} index: 34 value: short: Allowable authorization for this agent choices: [valueCodeableConcept] base: {max: '1', min: 0, path: 'Extension.value[x]'} index: 36 valueCodeableConcept: short: Allowable authorization for this agent type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 37 required: [url] class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.agent base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.1.0 required: [url, extension]