PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.core@4.0.0
    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:
    short: Hispanic or Latino|Not Hispanic or Latino
    type: Extension
    mustSupport: true
    index: 0
    slicing:
      slices:
        ombCategory:
          match: {}
          schema:
            short: Hispanic or Latino|Not Hispanic or Latino
            type: Extension
            mustSupport: true
            index: 0
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: ombCategory}
                index: 1
              value:
                choices: [valueCoding]
                index: 3
              valueCoding: {type: Coding, choiceOf: value, index: 4}
            required: [valueCoding, url, value]
        detailed:
          match: {}
          schema:
            short: Extended ethnicity codes
            type: Extension
            array: true
            index: 5
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: detailed}
                index: 6
              value:
                choices: [valueCoding]
                index: 8
              valueCoding: {type: Coding, choiceOf: value, index: 9}
            required: [valueCoding, url, value]
        text:
          match: {}
          schema:
            short: ethnicity Text
            type: Extension
            mustSupport: true
            _required: true
            index: 10
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: text}
                index: 11
              value:
                choices: [valueString]
                index: 13
              valueString: {type: string, choiceOf: value, index: 14}
            required: [url, valueString, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'}
    index: 15
  value:
    choices: []
    index: 17
package_version: 4.0.0
extensions:
  ombCategory:
    url: null
    short: Hispanic or Latino|Not Hispanic or Latino
    type: Extension
    mustSupport: true
    index: 0
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: ombCategory}
        index: 1
      value:
        choices: [valueCoding]
        index: 3
      valueCoding: {type: Coding, choiceOf: value, index: 4}
    required: [valueCoding, url, value]
  detailed:
    url: null
    short: Extended ethnicity codes
    type: Extension
    array: true
    index: 5
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: detailed}
        index: 6
      value:
        choices: [valueCoding]
        index: 8
      valueCoding: {type: Coding, choiceOf: value, index: 9}
    required: [valueCoding, url, value]
  text:
    url: null
    short: ethnicity Text
    type: Extension
    mustSupport: true
    _required: true
    index: 10
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: text}
        index: 11
      value:
        choices: [valueString]
        index: 13
      valueString: {type: string, choiceOf: value, index: 14}
    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: 4.0.0
required: [url]