description: Guidance on using Provenance for related history elements package_name: hl7.fhir.r4.examples derivation: constraint name: Provenance Relevant History type: Provenance elements: target: {short: Resource version, mustSupport: true, index: 0} occurred: mustSupport: true choices: [occurredDateTime] index: 2 occurredDateTime: {type: dateTime, mustSupport: true, choiceOf: occurred, index: 3} reason: {mustSupport: true, index: 4} activity: short: Record activity mustSupport: true binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/provenance-history-record-activity'} index: 5 agent: short: Who was involved with change mustSupport: true index: 6 elements: type: binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/provenance-history-agent-type'} mustSupport: true index: 7 required: [type] slicing: rules: open ordered: false discriminator: - {path: type, type: value} min: null slices: Author: match: type: coding: - {code: AUT, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} schema: short: Author mustSupport: true index: 8 elements: type: type: CodeableConcept mustSupport: true pattern: type: CodeableConcept value: coding: - {code: AUT, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} index: 9 who: {short: Author Reference, mustSupport: true, index: 10} required: [who, type] package_version: 4.0.1 class: profile kind: resource url: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history base: http://hl7.org/fhir/StructureDefinition/Provenance version: 4.0.1 required: [activity, occurred, occurredDateTime]