PackagesCanonicalsLogsProblems
    Packages
    vzvz.fhir.aof@0.12.3
    http://vzvz.nl/fhir/StructureDefinition/aorta-AuditEvent
description: null
package_name: vzvz.fhir.aof
derivation: constraint
name: AortaAuditEvent
type: AuditEvent
elements:
  purposeOfEvent:
    constraint:
      poe-01: {human: ContextCode and Gegevensdienst are mutually exclusive, severity: error, expression: '$this.empty() or ($this.coding.exists(system = ''urn:oid:2.16.840.1.113883.2.4.3.111.15.1'') xor $this.coding.exists(system=''http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst''))'}
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      min: 1
      slices:
        AortaContextCode:
          match:
            coding: {system: null}
          schema:
            binding: {strength: extensible, valueSet: 'http://vzvz.nl/fhir/ValueSet/aorta-ContextCode'}
            index: 1
          max: 1
        MedMijGegevensdienst:
          match:
            coding: {system: null}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {system: 'http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst'}
            index: 2
          max: 1
  entity:
    elements:
      type: {index: 3}
      query: {index: 4}
      detail:
        index: 5
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            AortaInteraction:
              match: {}
              schema:
                short: Additional Information about the AORTA interaction ID
                index: 6
                elements:
                  type:
                    short: Code system of InteractionIDs
                    pattern: {type: String, value: 'urn:oid:2.16.840.1.113883.1.6'}
                    index: 7
                  value:
                    short: InteractionID
                    choices: [valueString]
                    index: 9
                  valueString: {type: string, short: InteractionID, choiceOf: value, index: 10}
package_version: 0.12.3
class: profile
kind: resource
url: http://vzvz.nl/fhir/StructureDefinition/aorta-AuditEvent
base: http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-AuditEvent
version: 1.0.0
required: [purposeOfEvent]