PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.core@6.1.0-snapshot1
    http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
description: 'Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity.  The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.'
package_name: hl7.fhir.us.core
derivation: constraint
name: USCoreEthnicityExtension
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        ombCategory:
          match: {url: ombCategory}
          schema:
            short: (USCDI) Hispanic or Latino|Not Hispanic or Latino
            type: Extension
            mustSupport: true
            index: 1
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: ombCategory}
                index: 2
              value:
                choices: [valueCoding]
                index: 4
              valueCoding: {type: Coding, choiceOf: value, index: 5}
            required: [valueCoding, url, value]
        detailed:
          match: {url: detailed}
          schema:
            short: Extended ethnicity codes
            type: Extension
            array: true
            index: 6
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: detailed}
                index: 7
              value:
                choices: [valueCoding]
                index: 9
              valueCoding: {type: Coding, choiceOf: value, index: 10}
            required: [valueCoding, url, value]
        text:
          match: {url: text}
          schema:
            short: (USCDI) ethnicity Text
            type: Extension
            mustSupport: true
            _required: true
            index: 11
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: text}
                index: 12
              value:
                choices: [valueString]
                index: 14
              valueString: {type: string, choiceOf: value, index: 15}
            required: [url, valueString, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'}
    index: 16
  value:
    choices: []
    index: 18
package_version: 6.1.0-snapshot1
extensions:
  ombCategory:
    url: ombCategory
    short: (USCDI) Hispanic or Latino|Not Hispanic or Latino
    type: Extension
    mustSupport: true
    index: 1
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: ombCategory}
        index: 2
      value:
        choices: [valueCoding]
        index: 4
      valueCoding: {type: Coding, choiceOf: value, index: 5}
    required: [valueCoding, url, value]
  detailed:
    url: detailed
    short: Extended ethnicity codes
    type: Extension
    array: true
    index: 6
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: detailed}
        index: 7
      value:
        choices: [valueCoding]
        index: 9
      valueCoding: {type: Coding, choiceOf: value, index: 10}
    required: [valueCoding, url, value]
  text:
    url: text
    short: (USCDI) ethnicity Text
    type: Extension
    mustSupport: true
    _required: true
    index: 11
    elements:
      url:
        type: uri
        pattern: {type: Uri, 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: 6.1.0-snapshot1
required: [url, extension]