PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.bfdr@0.1.0
    http://hl7.org/fhir/us/bfdr/StructureDefinition/Composition-coded-race-and-ethnicity
description: This profile communicates coded race and ethnicity information to the appropriate jurisdictional Vital Records Office. It contains data that are a coded form of the race and ethnicity data that has been submitted to the NCHS. Two sets of codes will be used to address two objectives. These objectives are:\n* to generate codes for race or ethnicity data provided as text entries\n* to generate a single race code in cases where multiple races have been reported\n\nIn addition, when the coding process has led to duplication of data, the duplicates will be eliminated. \n\nCoded race and ethnicity data is communicated for both the mother and father in the case of live birth and only for the mother in the case of fetal death.
package_name: hl7.fhir.us.bfdr
derivation: constraint
name: CompositionCodedRaceAndEthnicity
type: Composition
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        sliceFetalDeathReportId:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-id', index: 1}
          max: 1
        sliceFetalDeathReportFileNumber:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-file-number', index: 2}
          max: 1
        sliceBirthCertificateId:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-birth-certificate-id', index: 3}
          max: 1
        sliceBirthCertificateFileNumber:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-birth-certificate-file-number', index: 4}
          max: 1
  type:
    short: Race and ethnicity information Document
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 86805-9, system: 'http://loinc.org'}
    index: 5
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-child', 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-decedent-fetus']
    index: 6
  section:
    short: Coded race and ethnicity section.
    mustSupport: true
    array: true
    min: 1
    max: 2
    index: 7
    elements:
      code:
        short: Race and ethnicity information Document
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: 86805-9, system: 'http://loinc.org'}
        index: 8
      focus:
        type: Reference
        short: The focus of this section is the mother or father
        refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother', 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/RelatedPerson-father-natural', 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/RelatedPerson-mother-natural']
        index: 9
      entry:
        short: Entries that are contained in the Coded Race and Ethnicity section
        index: 10
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this.resolve(), type: profile}
          min: null
          slices:
            bridgedRace:
              match: {}
              schema:
                short: Bridged race
                refers: ['http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-bridged-race']
                type: Reference
                mustSupport: true
                _required: true
                index: 11
              min: 1
              max: 1
            tabulatedEthnicity:
              match: {}
              schema:
                short: Tabulated ethnicity
                refers: ['http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-tabulated-ethnicity']
                type: Reference
                mustSupport: true
                _required: true
                index: 12
              min: 1
              max: 1
package_version: 0.1.0
extensions:
  sliceFetalDeathReportId: {url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-id', max: 1, type: Extension, mustSupport: true, index: 1}
  sliceFetalDeathReportFileNumber: {url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-file-number', max: 1, type: Extension, mustSupport: true, index: 2}
  sliceBirthCertificateId: {url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-birth-certificate-id', max: 1, type: Extension, mustSupport: true, index: 3}
  sliceBirthCertificateFileNumber: {url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-birth-certificate-file-number', max: 1, type: Extension, mustSupport: true, index: 4}
class: profile
kind: resource
url: http://hl7.org/fhir/us/bfdr/StructureDefinition/Composition-coded-race-and-ethnicity
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 0.1.0
required: [section, subject]