PackagesCanonicalsLogsProblems
    Packages
    ehelse.fhir.no.grunndata@2.3.5-buildnumbersuffix2
    http://ehelse.no/fhir/StructureDefinition/gd-contact-lawyer
description: A lawyer is the contact, the resource contains identifying information about the lawyer and the law firm\r\n\r\nDet er en advokat som er kontaktperson og entiteten inneholder identifiserende informasjon om denne og advokatkontoret.
package_name: ehelse.fhir.no.grunndata
derivation: constraint
name: GdContactLawyer
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        organizationName:
          match: {url: organizationName}
          schema:
            short: name of the law firm
            mustSupport: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: organizationName}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
        personName:
          match: {url: personName}
          schema:
            short: name of the lawyer
            mustSupport: true
            _required: true
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: personName}
                index: 7
              value:
                choices: [valueHumanName]
                index: 9
              valueHumanName: {type: HumanName, choiceOf: value, index: 10}
              value[x]:
                extensions:
                  middlename: {url: null, mustSupport: true, index: 12}
                elements:
                  extension:
                    index: 11
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        middlename:
                          match: {url: null}
                          schema: {mustSupport: true, index: 12}
                  use: {index: 13}
                  text: {index: 14}
                  family: {mustSupport: true, index: 15}
                  given: {mustSupport: true, index: 16}
                  prefix: {index: 17}
                  suffix: {index: 18}
                  period: {index: 19}
                required: [given, family]
        organizationIdentifier:
          match: {url: organizationIdentifier}
          schema:
            short: organisasjonsnummeret of a Norwegian law firm
            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-lawyer'}
    index: 25
  value:
    choices: []
    index: 27
package_version: 2.3.5-buildnumbersuffix2
extensions:
  organizationName:
    url: organizationName
    short: name of the law firm
    mustSupport: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: organizationName}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
  personName:
    url: personName
    short: name of the lawyer
    mustSupport: true
    _required: true
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: personName}
        index: 7
      value:
        choices: [valueHumanName]
        index: 9
      valueHumanName: {type: HumanName, choiceOf: value, index: 10}
      value[x]:
        extensions:
          middlename: {url: null, mustSupport: true, index: 12}
        elements:
          extension:
            index: 11
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                middlename:
                  match: {url: null}
                  schema: {mustSupport: true, index: 12}
          use: {index: 13}
          text: {index: 14}
          family: {mustSupport: true, index: 15}
          given: {mustSupport: true, index: 16}
          prefix: {index: 17}
          suffix: {index: 18}
          period: {index: 19}
        required: [given, family]
  organizationIdentifier:
    url: organizationIdentifier
    short: organisasjonsnummeret of a Norwegian law firm
    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-lawyer
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 3.0.0