PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.bfdr@0.1.0
    http://hl7.org/fhir/us/bfdr/StructureDefinition/Composition-coded-cause-of-fetal-death
description: This profile communicates coded cause of fetal death information to appropriate jurisdictional Vital Records Offices. Cause of death on a fetal death report comes from the provider as choices from a defined list of possible causes along with free text entries that further specify those choices. The information is transformed into one or more ICD 10 codes at NCHS, and returned using this profile.
package_name: hl7.fhir.us.bfdr
derivation: constraint
name: CompositionCodedCauseOfFetalDeath
type: Composition
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        sliceFetalDeathReportId:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-id', index: 1}
          min: 1
          max: 1
        sliceFetalDeathReportFileNumber:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-file-number', index: 2}
          max: 1
  type:
    short: Cause of death classification and related information Document
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 86804-2, system: 'http://loinc.org'}
    index: 3
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-decedent-fetus']
    index: 4
  section:
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: null
      slices:
        codedCauseOfFetalDeath:
          match:
            code:
              coding:
              - {code: 86804-2, system: 'http://loinc.org'}
          schema:
            short: Coded cause of fetal death
            mustSupport: true
            _required: true
            index: 6
            elements:
              code:
                short: Cause of death classification and related information Document
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 86804-2, system: 'http://loinc.org'}
                index: 7
              entry:
                short: Entries that are contained in the coded cause of fetal death section
                index: 8
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    codedInitiatingFetalDeathCauseOrCondition:
                      match: {}
                      schema:
                        short: Coded initiating cause or condition of fetal death
                        refers: ['http://hl7.org/fhir/us/bfdr/StructureDefinition/Condition-coded-initiating-fetal-death-cause-or-condition']
                        type: Reference
                        mustSupport: true
                        _required: true
                        index: 9
                      min: 1
                      max: 1
                    codedOtherSignificantFetalDeathCauseOrCondition:
                      match: {}
                      schema:
                        short: Coded other significant cause or condition of fetal death
                        refers: ['http://hl7.org/fhir/us/bfdr/StructureDefinition/Condition-coded-other-fetal-death-cause-or-condition']
                        type: Reference
                        mustSupport: true
                        index: 10
                      max: 1
            required: [code]
package_version: 0.1.0
extensions:
  sliceFetalDeathReportId: {url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-id', min: 1, max: 1, type: Extension, index: 1}
  sliceFetalDeathReportFileNumber: {url: 'http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-file-number', max: 1, type: Extension, index: 2}
class: profile
kind: resource
url: http://hl7.org/fhir/us/bfdr/StructureDefinition/Composition-coded-cause-of-fetal-death
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 0.1.0
required: [subject]