PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.core@3.2.0
    http://hl7.org/fhir/StructureDefinition/provenance-relevant-history
description: Guidance on using Provenance for related history elements
package_name: hl7.fhir.core
derivation: constraint
name: Provenance Relevant History
type: Provenance
elements:
  target: {short: Resource version, mustSupport: true, index: 0}
  occurredDateTime: {mustSupport: true, index: 1}
  reason: {mustSupport: true, index: 2}
  activity: {short: Record activity, mustSupport: true, index: 3}
  agent:
    short: Who was involved with change
    mustSupport: true
    index: 4
    elements:
      type: {mustSupport: true, index: 5}
    required: [type]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        Author:
          match:
            type:
              coding:
              - {code: AUT, system: 'http://hl7.org/fhir/v3/ParticipationType'}
          schema:
            short: Author
            mustSupport: true
            index: 6
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: AUT, system: 'http://hl7.org/fhir/v3/ParticipationType'}
                index: 7
              whoReference: {short: Author Reference, mustSupport: true, index: 8}
            required: [whoReference, type]
package_version: 3.2.0
class: profile
kind: resource
url: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history
base: http://hl7.org/fhir/StructureDefinition/Provenance
version: null
required: [activity, occurredDateTime]