PackagesCanonicalsLogsProblems
    Packages
    kl.dk.fhir.ffbmessaging@1.0.0
    http://fhir.kl.dk/ffbmessaging/StructureDefinition/kl-messaging-ffb-accountOwner
description: Organization behind an account
package_name: kl.dk.fhir.ffbmessaging
derivation: constraint
name: KLMessagingFFBAccountOwner
type: Organization
elements:
  identifier:
    mustSupport: true
    index: 0
    elements:
      system: {mustSupport: true, index: 1}
      value: {mustSupport: true, index: 2}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        eanIdentifier:
          match: {system: null}
          schema: {type: Identifier, mustSupport: true, _required: true, index: 3}
          min: 1
          max: 1
  contact:
    mustSupport: true
    index: 4
    elements:
      name:
        mustSupport: true
        index: 5
        elements:
          family: {mustSupport: true, index: 6}
          given: {mustSupport: true, index: 7}
          prefix: {mustSupport: true, index: 8}
      telecom:
        mustSupport: true
        index: 9
        elements:
          system: {mustSupport: true, index: 10}
          value: {mustSupport: true, index: 11}
        required: [value, system]
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            phone:
              match: {system: phone}
              schema:
                mustSupport: true
                array: true
                min: 1
                _required: true
                index: 12
                elements:
                  system:
                    pattern: {type: Code, value: phone}
                    index: 13
            email:
              match: {system: email}
              schema:
                mustSupport: true
                array: true
                index: 14
                elements:
                  system:
                    pattern: {type: Code, value: email}
                    index: 15
    required: [telecom]
package_version: 1.0.0
class: profile
kind: resource
url: http://fhir.kl.dk/ffbmessaging/StructureDefinition/kl-messaging-ffb-accountOwner
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.0.0
required: [identifier]