PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.5-buildnumbersuffix2
    http://ehelse.no/fhir/StructureDefinition/gd-contact-organization
description: A person in an Organization is the contact, the resource contains identifying information regarding the person and organization
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdContactOrganization
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        contactPerson:
          match: {url: contactPerson}
          schema:
            short: Name of the contact in the organization
            mustSupport: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: contactPerson}
                index: 2
              value:
                choices: [valueHumanName]
                index: 4
              valueHumanName: {type: HumanName, choiceOf: value, index: 5}
              value[x]:
                extensions:
                  middlename: {url: null, mustSupport: true, index: 7}
                elements:
                  extension:
                    index: 6
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        middlename:
                          match: {url: null}
                          schema: {mustSupport: true, index: 7}
                  use: {index: 8}
                  text: {index: 9}
                  family: {mustSupport: true, index: 10}
                  given: {mustSupport: true, index: 11}
                  prefix: {index: 12}
                  suffix: {index: 13}
                  period: {index: 14}
                required: [given, family]
        organizationName:
          match: {url: organizationName}
          schema:
            short: Name of organization
            mustSupport: true
            _required: true
            index: 15
            elements:
              url:
                pattern: {type: Uri, value: organizationName}
                index: 16
              value:
                choices: [valueString]
                index: 18
              valueString: {type: string, choiceOf: value, index: 19}
        organizationIdentifier:
          match: {url: organizationIdentifier}
          schema:
            short: Organization identifier from Enhetsregisteret
            mustSupport: true
            index: 20
            elements:
              url:
                pattern: {type: Uri, value: organizationIdentifier}
                index: 21
              value:
                choices: [valueString]
                index: 23
              valueString: {type: string, choiceOf: value, index: 24}
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/gd-contact-organization'}
    index: 25
  value:
    choices: []
    index: 27
package_version: 2.3.5-buildnumbersuffix2
extensions:
  contactPerson:
    url: contactPerson
    short: Name of the contact in the organization
    mustSupport: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: contactPerson}
        index: 2
      value:
        choices: [valueHumanName]
        index: 4
      valueHumanName: {type: HumanName, choiceOf: value, index: 5}
      value[x]:
        extensions:
          middlename: {url: null, mustSupport: true, index: 7}
        elements:
          extension:
            index: 6
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                middlename:
                  match: {url: null}
                  schema: {mustSupport: true, index: 7}
          use: {index: 8}
          text: {index: 9}
          family: {mustSupport: true, index: 10}
          given: {mustSupport: true, index: 11}
          prefix: {index: 12}
          suffix: {index: 13}
          period: {index: 14}
        required: [given, family]
  organizationName:
    url: organizationName
    short: Name of organization
    mustSupport: true
    _required: true
    index: 15
    elements:
      url:
        pattern: {type: Uri, value: organizationName}
        index: 16
      value:
        choices: [valueString]
        index: 18
      valueString: {type: string, choiceOf: value, index: 19}
  organizationIdentifier:
    url: organizationIdentifier
    short: Organization identifier from Enhetsregisteret
    mustSupport: true
    index: 20
    elements:
      url:
        pattern: {type: Uri, value: organizationIdentifier}
        index: 21
      value:
        choices: [valueString]
        index: 23
      valueString: {type: string, choiceOf: value, index: 24}
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/gd-contact-organization
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.0.0