PackagesCanonicalsLogsProblems
    Packages
    us-core-extensions.legacy.aidbox@0.0.0
    http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
description: null
package_name: us-core-extensions.legacy.aidbox
derivation: constraint
name: ethnicity
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        detailed:
          match: {url: detailed}
          schema:
            index: 1
            elements:
              url:
                pattern: {type: Url, value: detailed}
                index: 2
              value:
                choices: [valueCoding]
                index: 4
              valueCoding: {type: Coding, choiceOf: value, index: 5}
            required: [valueCoding, url, value]
        ombCategory:
          match: {url: ombCategory}
          schema:
            index: 6
            elements:
              url:
                pattern: {type: Url, value: ombCategory}
                index: 7
              value:
                choices: [valueCoding]
                index: 9
              valueCoding: {type: Coding, choiceOf: value, index: 10}
            required: [valueCoding, url, value]
        text:
          match: {url: text}
          schema:
            index: 11
            elements:
              url:
                pattern: {type: Url, value: text}
                index: 12
              value:
                choices: [valueString]
                index: 14
              valueString: {type: string, choiceOf: value, index: 15}
            required: [url, valueString, value]
  url:
    pattern: {type: Url, value: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'}
    index: 16
  value:
    choices: []
    index: 18
package_version: 0.0.0
extensions:
  detailed:
    url: detailed
    index: 1
    elements:
      url:
        pattern: {type: Url, value: detailed}
        index: 2
      value:
        choices: [valueCoding]
        index: 4
      valueCoding: {type: Coding, choiceOf: value, index: 5}
    required: [valueCoding, url, value]
  ombCategory:
    url: ombCategory
    index: 6
    elements:
      url:
        pattern: {type: Url, value: ombCategory}
        index: 7
      value:
        choices: [valueCoding]
        index: 9
      valueCoding: {type: Coding, choiceOf: value, index: 10}
    required: [valueCoding, url, value]
  text:
    url: text
    index: 11
    elements:
      url:
        pattern: {type: Url, value: text}
        index: 12
      value:
        choices: [valueString]
        index: 14
      valueString: {type: string, choiceOf: value, index: 15}
    required: [url, valueString, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null
required: [url, extension]