PackagesCanonicalsLogsProblems
    Packages
    fhir.deep6.ai@1.0.0
    http://deep6.ai/fhir/StructureDefinition/deep-6-ai-race
description: This profile extends the US core patient to add a constraint that expects the Location.type to always be present, and expects at least one Implementation Curated Site.
package_name: fhir.deep6.ai
derivation: constraint
name: Deep6AIRaceExtension
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        ombCategory:
          match: {url: ombCategory}
          schema:
            short: (USCDI) American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White
            type: Extension
            mustSupport: true
            array: true
            max: 5
            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: [url, value, valueCoding]
        detailed:
          match: {url: detailed}
          schema:
            short: Extended race 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: [url, value, valueCoding]
        text:
          match: {url: text}
          schema:
            short: (USCDI) Race 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, value, valueString]
  url:
    pattern: {type: uri, value: 'http://deep6.ai/fhir/StructureDefinition/deep-6-ai-race'}
    type: uri
    index: 16
  value:
    choices: []
    index: 18
package_version: 1.0.0
extensions:
  ombCategory:
    short: (USCDI) American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White
    index: 1
    type: Extension
    mustSupport: true
    array: true
    elements:
      url:
        type: uri
        pattern: {type: uri, value: ombCategory}
        index: 2
      value:
        choices: [valueCoding]
        index: 4
      valueCoding: {type: Coding, choiceOf: value, index: 5}
    max: 5
    url: ombCategory
    required: [url, value, valueCoding]
  detailed:
    url: detailed
    short: Extended race 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: [url, value, valueCoding]
  text:
    url: text
    short: (USCDI) Race 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, value, valueString]
class: extension
kind: complex-type
url: http://deep6.ai/fhir/StructureDefinition/deep-6-ai-race
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.1.4
required: [extension, url]