description: A basic AuditEvent profile for when a RESTful Update action happens successfully, and where there is an identifiable Patient subject associated with the Update of the Resource.\n\n* Given a Resource has a Patient subject \n* And OAuth is used to authorize both app and user\n* When an App requests a RESTful Update of an existing Resource\n* And the Resource is successfully Updated thus where the server supports FHIR Versioning the updated Resource has a new id version assigned\n* Then an AuditEvent following this profile is recorded where the Resource is identified by the updated version specific id where versioning is available package_name: ihe.iti.balp derivation: constraint name: PatientUpdate type: AuditEvent elements: entity: array: true min: 2 index: 0 slicing: slices: patient: match: {} schema: _required: true index: 1 elements: what: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 2 type: pattern: type: Coding value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/audit-entity-type', display: Person} index: 3 role: pattern: type: Coding value: {code: '1', system: 'http://terminology.hl7.org/CodeSystem/object-role', display: Patient} index: 4 required: [what, type] package_version: 1.1.0 class: profile kind: resource url: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.PatientUpdate base: https://profiles.ihe.net/ITI/BALP/StructureDefinition/IHE.BasicAudit.Update version: 1.1.0