PackagesCanonicalsLogsProblems
    Packages
    dk.ehmi.eer@3.0.0-trial-use-1
    http://medcomehmi.dk/ig/eer/StructureDefinition/Eer.SOR.Organization
description: 'EerSorOrganization '
package_name: dk.ehmi.eer
derivation: constraint
name: EerSorOrganization
type: Organization
elements:
  partOf:
    type: Reference
    refers: ['http://medcomehmi.dk/ig/eer/StructureDefinition/Eer.SOR.Organization']
    index: 0
  contact:
    index: 1
    extensions: {}
    elements:
      extension:
        extensions: {}
        elements:
          extension: {index: 2}
          value:
            choices: []
            index: 4
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueReference:
                  match: {}
                  schema:
                    choices: [valueReference]
                    index: 6
                  min: 0
                  max: 1
          valueReference:
            type: Reference
            choiceOf: value
            index: 7
            slicing:
              slices:
                valueReference:
                  match: {}
                  schema: {type: Reference, choiceOf: value, index: 7}
                  min: 0
                  max: 1
    slicing:
      rules: open
      discriminator:
      - {path: purpose.coding.code, type: value}
      min: 1
      slices:
        SOR-Owner:
          match:
            purpose:
              coding: {code: ADMIN}
          schema:
            mustSupport: true
            index: 8
            extensions:
              SOR-Institution-Owner: {url: 'http://medcomehmi.dk/ig/eer/StructureDefinition/contactdetail-organization-reference-extension', min: 1, max: 1, type: Extension, mustSupport: true, index: 11}
            elements:
              extension:
                short: 'Reference to an SOR-Organizational Unit that is the InstitutionOwner unit, ie. has the type = #IE'
                index: 9
                extensions: {}
                elements:
                  extension: {index: 10}
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    SOR-Institution-Owner:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://medcomehmi.dk/ig/eer/StructureDefinition/contactdetail-organization-reference-extension', index: 11}
                      min: 1
                      max: 1
              purpose:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/contactentity-type'}
                        index: 12
                      code:
                        pattern: {type: Code, value: ADMIN}
                        mustSupport: true
                        index: 13
                    required: [code]
              name: {index: 14}
              telecom: {index: 15}
              address: {index: 16}
            required: [extension]
  endpoint:
    type: Reference
    refers: ['http://medcomehmi.dk/ig/eer/StructureDefinition/eer.dk.sor.endpoint']
    index: 17
package_version: 3.0.0-trial-use-1
class: profile
kind: resource
url: http://medcomehmi.dk/ig/eer/StructureDefinition/Eer.SOR.Organization
base: http://medcomehmi.dk/ig/eer/StructureDefinition/Eer.Messaging.Organization
version: 3.0.0-trial-use-1
required: [contact]