description: A basic AuditEvent profile for when a RESTful Delete action happens successfully.\n\n- Given a Resource Delete is requested \n- And that resource has does not have a Patient subject or is otherwise associated with a Patient\n - when the resource is Patient specific then [PatientDelete](StructureDefinition-IHE.BasicAudit.PatientDelete.html) is used\n- And the request is authorized\n - Authorization failures should follow [FHIR core Access Denied](http://hl7.org/fhir/security.html#AccessDenied)\n- When successful\n - Note a failure AuditEvent may follow this pattern, but would not be a successful outcome and should have an OperationOutcome\n- Then the AuditEvent recorded will conform package_name: ihe.iti.balp derivation: constraint name: Delete type: AuditEvent elements: type: pattern: type: Coding value: {code: rest, system: 'http://terminology.hl7.org/CodeSystem/audit-event-type'} index: 0 subtype: index: 1 slicing: rules: open discriminator: - {path: $this, type: value} min: 1 slices: anyDelete: match: {code: delete, system: 'http://hl7.org/fhir/restful-interaction'} schema: pattern: type: Coding value: {code: delete, system: 'http://hl7.org/fhir/restful-interaction'} _required: true index: 2 min: 1 max: 1 action: pattern: {type: Code, value: D} index: 3 outcome: pattern: {type: Code, value: '0'} index: 4 agent: array: true min: 2 index: 5 slicing: rules: open discriminator: - {path: type, type: pattern} min: 2 slices: client: match: type: coding: - {code: '110150', system: 'http://dicom.nema.org/resources/ontology/DCM'} schema: _required: true index: 6 elements: type: pattern: type: CodeableConcept value: coding: - {code: '110150', system: 'http://dicom.nema.org/resources/ontology/DCM'} index: 7 who: {index: 8} media: {index: 9} network: {index: 10} required: [who, network, type] server: match: type: coding: - {code: custodian, system: 'http://terminology.hl7.org/CodeSystem/provenance-participant-type'} schema: _required: true index: 11 elements: type: pattern: type: CodeableConcept value: coding: - {code: custodian, system: 'http://terminology.hl7.org/CodeSystem/provenance-participant-type'} index: 12 who: {index: 13} media: {index: 14} network: {index: 15} required: [who, network, type] user: match: {type: null} schema: index: 16 elements: type: binding: {strength: required, valueSet: 'https://profiles.ihe.net/ITI/BALP/ValueSet/DataSources'} index: 17 role: {mustSupport: true, index: 18} who: {index: 19} name: {mustSupport: true, index: 20} requestor: pattern: {type: Boolean, value: true} index: 21 media: {index: 22} network: {index: 23} purposeOfUse: {mustSupport: true, index: 24} required: [who] source: {mustSupport: true, index: 25} entity: index: 26 slicing: rules: open discriminator: - {path: type, type: pattern} min: 1 slices: transaction: match: type: {code: XrequestId, system: 'https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType'} schema: index: 27 elements: what: elements: identifier: elements: value: {short: the value of X-Request-Id, index: 28} required: [value] type: pattern: type: Coding value: {code: XrequestId, system: 'https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType'} index: 29 required: [type] data: match: type: {code: '2', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'} schema: _required: true index: 30 elements: what: {index: 31} type: pattern: type: Coding value: {code: '2', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type'} index: 32 role: binding: {strength: required, valueSet: 'https://profiles.ihe.net/ITI/BALP/ValueSet/RestObjectRoles'} index: 33 securityLabel: {short: may be replicated from the resource .meta.security, index: 34} required: [what, type] package_version: 1.1.2 class: profile kind: resource url: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.Delete base: http://hl7.org/fhir/StructureDefinition/AuditEvent version: 1.1.2 required: [subtype, entity]