PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.3
    http://ehelse.no/fhir/StructureDefinition/gd-Provenance
description: Provenance profile to be used on Grunndata. Person, Practitioner, Organization etc.\r\n\r\nThe GdProvenance profile describes the structure and coding of provenance information describing how FHIR resource instances (such as Person/RelatedPerson) change over time (activity) and what events (reason) caused these changes.
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdProvenance
type: Provenance
elements:
  meta:
    index: 1
    elements:
      versionId: {index: 2}
  occurred:
    mustSupport: true
    choices: []
    index: 8
  signature: {mustSupport: false, index: 25}
  recorded: {mustSupport: true, index: 9}
  agent:
    mustSupport: true
    index: 20
    elements:
      who:
        elements:
          display: {mustSupport: true, index: 21}
  policy: {mustSupport: false, index: 10}
  reason:
    mustSupport: true
    index: 12
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      min: null
      slices:
        fregEventtype:
          match:
            coding: {system: 'http://ehelse.no/fhir/CodeSystem/gd-provenance-freg-eventtype'}
          schema:
            short: Event type from FREG
            mustSupport: true
            binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-provenance-freg-eventtype'}
            index: 13
            elements:
              coding:
                index: 14
                elements:
                  system:
                    short: Event type codesystem from freg
                    pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/gd-provenance-freg-eventtype'}
                    index: 15
                  code: {index: 16}
                required: [system, code]
  activity:
    binding: {strength: extensible, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-provenance-activity-type'}
    mustSupport: true
    index: 17
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-DataOperation'}
            index: 18
          code: {index: 19}
        required: [system, code]
  id: {mustSupport: true, index: 0}
  target:
    mustSupport: true
    index: 3
    extensions:
      targetElement: {url: 'http://hl7.no/fhir/StructureDefinition/reference-targetElement', type: Extension, index: 5}
    elements:
      extension:
        index: 4
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            targetElement:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.no/fhir/StructureDefinition/reference-targetElement', index: 5}
      reference: {mustSupport: true, index: 6}
  location: {mustSupport: false, index: 11}
  entity:
    mustSupport: true
    meaningWhenMissing: When the provenance records the first generation of a resource the entity element can be empty.
    index: 22
    elements:
      role: {mustSupport: true, index: 23}
      what: {mustSupport: true, index: 24}
package_version: 2.3.3
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/gd-Provenance
base: http://hl7.org/fhir/StructureDefinition/Provenance
version: 2.3.1