PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata.test@2.3.1
    http://ehelse.no/fhir/StructureDefinition/gd-Provenance
description: Provenance profile to be used on Grunndata. Person, Practitioner, Organization etc.
package_name: ehelse.fhir.no.grunndata.test
derivation: constraint
name: GdProvenance
type: Provenance
elements:
  meta:
    elements:
      versionId: {index: 1}
  occurred:
    mustSupport: true
    choices: []
    index: 7
  signature: {mustSupport: false, index: 24}
  recorded: {mustSupport: true, index: 8}
  agent:
    index: 19
    elements:
      who:
        elements:
          display: {mustSupport: true, index: 20}
  policy: {mustSupport: false, index: 9}
  reason:
    mustSupport: true
    index: 11
    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: 12
            elements:
              coding:
                index: 13
                elements:
                  system:
                    short: Event type codesystem from freg
                    pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/gd-provenance-freg-eventtype'}
                    index: 14
                  code: {index: 15}
                required: [system, code]
  activity:
    binding: {strength: extensible, valueSet: 'http://ehelse.no/fhir/ValueSet/gd-provenance-activity-type'}
    mustSupport: true
    index: 16
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-DataOperation'}
            index: 17
          code: {index: 18}
        required: [system, code]
  id: {mustSupport: true, index: 0}
  target:
    mustSupport: true
    index: 2
    extensions:
      targetElement: {url: 'http://hl7.no/fhir/StructureDefinition/reference-targetElement', type: Extension, index: 4}
    elements:
      extension:
        index: 3
        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: 4}
      reference: {mustSupport: true, index: 5}
  location: {mustSupport: false, index: 10}
  entity:
    mustSupport: true
    meaningWhenMissing: When the provenance records the first generation of a resource the entity element can be empty.
    index: 21
    elements:
      role: {mustSupport: true, index: 22}
      what: {mustSupport: true, index: 23}
package_version: 2.3.1
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/gd-Provenance
base: http://hl7.org/fhir/StructureDefinition/Provenance
version: 2.2.1