PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.bfdr@2.0.0-ballot
    http://hl7.org/fhir/us/bfdr/StructureDefinition/Composition-coded-race-and-ethnicity
description: This Composition profile communicates coded race and ethnicity information to the appropriate jurisdictional Vital Records Office, along with the submitted input race and ethnicity information.
package_name: hl7.fhir.us.bfdr
derivation: constraint
name: CompositionCodedRaceAndEthnicity
type: Composition
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        fetalDeathReportNumber:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-number', index: 1}
          min: 0
          max: 1
        liveBirthCertificateNumber:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-live-birth-certificate-number', index: 2}
          min: 0
          max: 1
  type:
    short: Race and ethnicity information Document
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 86805-9, system: 'http://loinc.org'}
    index: 3
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/us/bfdr/StructureDefinition/Patient-decedent-fetus', 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-child-vr']
    index: 4
  author: {short: The author is the NCHS., index: 5}
  section:
    short: The Composition is broken into sections, where each section includes the input and output race and ethnicity for one individual.
    array: true
    min: 1
    max: 2
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: 1
      max: 2
      slices:
        mother:
          match:
            code:
              coding:
              - {code: MTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            short: mother Section on the Race and Ethnicity - Mother Report
            index: 7
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                index: 8
              entry:
                short: Entries that are contained in the mother Section
                index: 9
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    motherPatient:
                      match: {}
                      schema:
                        short: Mother
                        refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother-vr']
                        type: Reference
                        index: 10
                      min: 0
                      max: 1
                    inputRaceAndEthnicity:
                      match: {}
                      schema:
                        short: Input Race And Ethnicity
                        refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/input-race-and-ethnicity-vr']
                        type: Reference
                        index: 11
                      min: 0
                      max: 1
                    codedRaceAndEthnicity:
                      match: {}
                      schema:
                        short: Coded Race And Ethnicity
                        refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/coded-race-and-ethnicity-vr']
                        type: Reference
                        index: 12
                      min: 0
                      max: 1
            required: [code]
        father:
          match:
            code:
              coding:
              - {code: NFTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
          schema:
            short: father Section on the Race and Ethnicity - Father Report
            index: 13
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: NFTH, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                index: 14
              entry:
                short: Entries that are contained in the father Section
                index: 15
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    fatherPatient:
                      match: {}
                      schema:
                        short: Father
                        refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/RelatedPerson-parent-vr']
                        type: Reference
                        index: 16
                      min: 0
                      max: 1
                    inputRaceAndEthnicity:
                      match: {}
                      schema:
                        short: Input Race And Ethnicity
                        refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/input-race-and-ethnicity-vr']
                        type: Reference
                        index: 17
                      min: 0
                      max: 1
                    codedRaceAndEthnicity:
                      match: {}
                      schema:
                        short: Coded Race And Ethnicity
                        refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/coded-race-and-ethnicity-vr']
                        type: Reference
                        index: 18
                      min: 0
                      max: 1
            required: [code]
package_version: 2.0.0-ballot
extensions:
  fetalDeathReportNumber: {url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-number', min: 0, max: 1, type: Extension, index: 1}
  liveBirthCertificateNumber: {url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-live-birth-certificate-number', min: 0, max: 1, type: Extension, index: 2}
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: 2.0.0-ballot
required: [section]