PackagesCanonicalsLogsProblems
    Packages
    vzvz.fhir.aof@0.11.0-beta
    http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-AuditEvent
description: null
package_name: vzvz.fhir.aof
derivation: constraint
name: NlVzvzAuditEvent
type: AuditEvent
elements:
  outcomeDesc: {index: 5}
  type:
    binding: {strength: extensible, valueSet: 'http://vzvz.nl/fhir/ValueSet/audit-event-type'}
    index: 0
    elements:
      version: {short: Version of the system, index: 1}
    required: [version]
  source: {index: 16}
  recorded: {index: 4}
  agent:
    elements:
      type:
        binding: {strength: extensible, valueSet: 'http://vzvz.nl/fhir/ValueSet/participation-role-type'}
        index: 9
      who: {index: 10}
      name: {index: 11}
      requestor: {index: 12}
      network:
        index: 13
        elements:
          address: {index: 14}
          type: {index: 15}
        required: [address, type]
    required: [network]
  purposeOfEvent:
    constraint:
      poe-01: {human: ContextCode and Gegevensdienst are mutually exclusive, severity: error, expression: $this.empty() or ($this.coding.exists(system = 'AortaContextCode') xor $this.coding.exists(system='MM gegevensdienst'))}
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      min: null
      slices:
        AortaContextCode:
          match:
            coding: {system: null}
          schema:
            binding: {strength: extensible, valueSet: 'http://vzvz.nl/fhir/ValueSet/aorta-ContextCode'}
            index: 7
          max: 1
        MedMijGegevensdienst:
          match:
            coding: {system: null}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst'}
            index: 8
          max: 1
  action: {index: 3}
  entity:
    index: 17
    elements:
      what: {index: 18}
      type:
        index: 19
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            FHIRbased:
              match: {system: null}
              schema: {index: 20}
            V3based:
              match: {system: null}
              schema:
                binding: {strength: extensible, valueSet: 'http://vzvz.nl/fhir/ValueSet/audit-entity-type'}
                index: 21
    required: [type]
  subtype: {index: 2}
package_version: 0.11.0-beta
class: profile
kind: resource
url: http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-AuditEvent
base: http://hl7.org/fhir/StructureDefinition/AuditEvent
version: null