PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.core@6.0.0
    http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance
description: This profile sets minimum expectations for the Provenance resource to record, search, and fetch Provenance information associated with a record to promote interoperability and adoption through common implementation.  It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile.  This FHIR Provenance profile here covers the minimal (basic) information to support lineage of information.  It provides the floor for standards development for specific use cases.  Prior to reviewing this profile, implementers are encouraged to read the Basic Provenance guidance page which documents several key use cases, specifically, what organization was responsible for the most recent action on the resource.
package_name: hl7.fhir.us.core
derivation: constraint
name: USCoreProvenance
type: Provenance
elements:
  target:
    short: (USCDI) The Resource this Provenance record supports
    mustSupport: true
    index: 0
    elements:
      reference: {short: '(USCDI) Literal reference, Relative, internal or absolute URL', mustSupport: true, index: 1}
  recorded: {short: (USCDI) Timestamp when the activity was recorded / updated, mustSupport: true, index: 2}
  agent:
    short: (USCDI) Actor involved
    constraint:
      provenance-1: {human: onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device, severity: error, expression: who.exists((resolve() is Practitioner) or (resolve() is Device)) implies onBehalfOf.exists()}
    mustSupport: true
    index: 3
    elements:
      type:
        short: (USCDI) How the agent participated
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type'}
        mustSupport: true
        index: 4
      who:
        type: Reference
        short: (USCDI) Who participated
        mustSupport: true
        refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson']
        index: 5
      onBehalfOf:
        type: Reference
        short: (USCDI) Who the agent is representing
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization']
        index: 6
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        ProvenanceAuthor:
          match:
            type:
              coding:
              - {code: author, system: 'http://terminology.hl7.org/CodeSystem/provenance-participant-type'}
          schema:
            short: (USCDI) Actor involved
            mustSupport: true
            array: true
            index: 7
            elements:
              type:
                type: CodeableConcept
                short: (USCDI) How the agent participated
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: author, system: 'http://terminology.hl7.org/CodeSystem/provenance-participant-type'}
                index: 8
            required: [type]
        ProvenanceTransmitter:
          match:
            type:
              coding:
              - {code: transmitter, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type'}
          schema:
            short: (USCDI) Actor involved
            mustSupport: true
            index: 9
            elements:
              type:
                type: CodeableConcept
                short: (USCDI) How the agent participated
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: transmitter, system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type'}
                index: 10
            required: [type]
package_version: 6.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance
base: http://hl7.org/fhir/StructureDefinition/Provenance
version: 6.0.0