PackagesCanonicalsLogsProblems
    Packages
    ee.hl7.fhir.base.r4@1.0.0-beta
    https://hl7.ee/fhir/StructureDefinition/EEBase-Organization
description: null
package_name: ee.hl7.fhir.base.r4
derivation: constraint
name: EEBaseOrganization
abstract: true
type: Organization
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        period:
          match: {url: null}
          schema:
            type: Extension
            short: Activity period of organization
            isModifier: false
            url: http://hl7.org/fhir/StructureDefinition/organization-period
            index: 1
            elements:
              value[x]:
                elements:
                  start: {index: 2}
                required: [start]
  identifier:
    mustSupport: true
    array: true
    min: 1
    max: 2
    index: 3
    slicing:
      rules: closed
      discriminator:
      - {path: system, type: exists}
      min: 1
      max: 2
      slices:
        business-register:
          match: {}
          schema:
            short: Asutuse registrikood
            pattern:
              type: Identifier
              value: {system: 'https://hl7.ee/NamingSystem/ee-org-id'}
            mustSupport: true
            _required: true
            index: 4
            elements:
              system: {type: uri, mustSupport: true, index: 5}
              value: {mustSupport: true, index: 6}
        tam-organization-license:
          match: {}
          schema:
            short: Litsents
            pattern:
              type: Identifier
              value: {system: 'https://hl7.ee/NamingSystem/tam-org-id'}
            index: 7
            elements:
              system: {type: uri, index: 8}
  active: {mustSupport: true, index: 9}
  name: {mustSupport: true, index: 10}
  alias: {index: 11}
  address:
    mustSupport: true
    index: 12
    extensions:
      ads: {url: 'https://hl7.ee/fhir/StructureDefinition/Extension-EEBase-ADS', min: 0, max: 1, type: Extension, short: ADS id, mustSupport: true, index: 14}
      ehak: {url: 'https://hl7.ee/fhir/StructureDefinition/Extension-EEBase-EHAK', min: 0, max: 1, type: Extension, short: EHAK kood, mustSupport: true, index: 15}
    elements:
      extension:
        index: 13
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            ads:
              match: {url: null}
              schema: {type: Extension, short: ADS id, mustSupport: true, url: 'https://hl7.ee/fhir/StructureDefinition/Extension-EEBase-ADS', index: 14}
              min: 0
              max: 1
            ehak:
              match: {url: null}
              schema: {type: Extension, short: EHAK kood, mustSupport: true, url: 'https://hl7.ee/fhir/StructureDefinition/Extension-EEBase-EHAK', index: 15}
              min: 0
              max: 1
      type:
        pattern: {type: Code, value: physical}
        index: 16
      text: {mustSupport: false, index: 17}
      line: {mustSupport: true, index: 18}
      city: {short: 'Linn, asula | Name of city, town etc.', mustSupport: true, index: 19}
      district: {short: Vald | District name (aka county), index: 20}
      state: {short: Maakond | Sub-unit of country (abbreviations ok), index: 21}
      country: {mustSupport: true, index: 22}
package_version: 1.0.0-beta
extensions:
  period:
    url: http://hl7.org/fhir/StructureDefinition/organization-period
    type: Extension
    short: Activity period of organization
    isModifier: false
    index: 1
    elements:
      value[x]:
        elements:
          start: {index: 2}
        required: [start]
class: profile
kind: resource
url: https://hl7.ee/fhir/StructureDefinition/EEBase-Organization
base: http://hl7.org/fhir/StructureDefinition/Organization
version: 1.0.0
required: [name, identifier, active]