http://hl7.org/fhir/StructureDefinition/provenance-relevant-history|5.0.0

Guidance on using Provenance for related history elements to provide key events that have happened over the lifespan of the resource - see the use of this pattern in the [Request Pattern](request.html#history)
description: Guidance on using Provenance for related history elements to provide key events that have happened over the lifespan of the resource  - see the use of this pattern in the [Request Pattern](request.html#history)
derivation: constraint
name: ProvenanceRelevantHistory
type: Provenance
elements:
  target: {short: Resource version, mustSupport: true, index: 0}
  occurred:
    mustSupport: true
    choices: []
    index: 2
  authorization: {mustSupport: true, index: 3}
  activity:
    short: Record activity
    mustSupport: true
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/provenance-history-record-activity'}
    index: 4
  agent:
    short: Who was involved with change
    mustSupport: true
    index: 5
    elements:
      type:
        mustSupport: true
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/provenance-history-agent-type'}
        index: 6
    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: 7
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: AUT, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
                index: 8
              who: {short: Author Reference, mustSupport: true, index: 9}
            required: [who, type]
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history
base: http://hl7.org/fhir/StructureDefinition/Provenance
version: 5.0.0
required: [activity, occurred]