PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.mdi@1.0.0
    http://hl7.org/fhir/us/mdi/StructureDefinition/Composition-mdi-to-edrs
description: This Composition profile represents data sent from an MDI information management system to an EDRS.
package_name: hl7.fhir.us.mdi
derivation: constraint
name: CompositionMDIToEDRS
type: Composition
elements:
  extension:
    type: Extension
    short: A tracking number, such as a case number or file number assigned by a case management system or EDRS.
    mustSupport: true
    url: http://hl7.org/fhir/us/mdi/StructureDefinition/Extension-tracking-number
    index: 0
    slicing:
      slices:
        extension-tracking-numbers:
          match: {}
          schema: {type: Extension, short: 'A tracking number, such as a case number or file number assigned by a case management system or EDRS.', mustSupport: true, url: 'http://hl7.org/fhir/us/mdi/StructureDefinition/Extension-tracking-number', index: 0}
  identifier: {short: System-generated identifier for this Composition., mustSupport: true, index: 1}
  status: {mustSupport: true, index: 2}
  type:
    short: MDI to EDRS (Death administrative information Document)
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 86807-5, system: 'http://loinc.org'}
    index: 3
  subject:
    type: Reference
    short: The subject of the composition is the decedent.
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 4
  author:
    type: Reference
    short: The author is the medical examiner/coroner (ME/C) responsible for the case. There can be multiple ME/Cs per case.
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner']
    array: true
    index: 5
  attester:
    short: The certifying Medical Examiner/Coroner (Certifier)
    mustSupport: true
    index: 6
    extensions: {}
    elements:
      extension: {type: Extension, short: 'If attester is not yet named, use data absent reason', mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 7}
      party:
        type: Reference
        mustSupport: true
        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner']
        index: 8
  section:
    short: The Composition is broken into sections that, where possible, align with the sections in the 'Common data elements working document'.
    mustSupport: true
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: 1
      slices:
        additional-demographics:
          match:
            code:
              coding:
              - {code: demographics, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
          schema:
            short: This slice contains demographic information about the decedent that is not represented in the decedent Patient profile.
            mustSupport: true
            label: This slice contains demographic information about the decedent that is not represented in the decedent Patient profile.
            index: 10
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: demographics, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
                index: 11
                elements:
                  text: {mustSupport: true, index: 12}
              text: {mustSupport: true, index: 13}
            required: [code]
        circumstances:
          match:
            code:
              coding:
              - {code: circumstances, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
          schema:
            short: This slice contains circumstances of the death.
            mustSupport: true
            _required: true
            label: This slice contains circumstances of the death.
            index: 14
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: circumstances, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
                index: 15
              entry:
                short: Entries that are contained in the Circumstances section
                mustSupport: true
                index: 16
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    death-location:
                      match: {}
                      schema:
                        short: Apparent address where death actually occurred.
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Location-death']
                        type: Reference
                        mustSupport: true
                        label: Apparent address where death actually occurred.
                        index: 17
                    tobacco-use-contributed-to-death:
                      match: {}
                      schema:
                        short: Whether or not tobacco use contributed to death.
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Observation-tobacco-use-contributed-to-death']
                        type: Reference
                        mustSupport: true
                        label: Whether or not tobacco use contributed to death.
                        index: 18
                    decedent-pregnancy:
                      match: {}
                      schema:
                        short: Pregnancy status of the decedent.
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Observation-decedent-pregnancy']
                        type: Reference
                        mustSupport: true
                        label: Pregnancy status of the decedent.
                        index: 19
                    injury-location:
                      match: {}
                      schema:
                        type: Reference
                        label: Apparent address where injury occurred.
                        short: Apparent address where injury occurred.
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Location-injury']
                        index: 20
              emptyReason: {mustSupport: true, index: 21}
            required: [code]
        jurisdiction:
          match:
            code:
              coding:
              - {code: jurisdiction, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
          schema:
            short: This slice contains jurisdictional information about the death.
            mustSupport: true
            _required: true
            label: This slice contains jurisdictional information about the death.
            index: 22
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: jurisdiction, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
                index: 23
              entry:
                short: Entries that are contained in the Jurisdiction section
                mustSupport: true
                index: 24
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    death-date:
                      match: {}
                      schema:
                        short: The estimated and pronounced date of death, also contains the death pronouncer practitioner
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Observation-death-date']
                        type: Reference
                        mustSupport: true
                        label: The estimated and pronounced date of death, also contains the death pronouncer practitioner
                        index: 25
                    death-certification:
                      match: {}
                      schema:
                        short: The procedure where the certification of death was performed by the certifier.
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Procedure-death-certification']
                        type: Reference
                        mustSupport: true
                        label: The procedure where the certification of death was performed by the certifier.
                        index: 26
                      max: 1
              emptyReason: {mustSupport: true, index: 27}
            required: [code]
        cause-manner:
          match:
            code:
              coding:
              - {code: cause-manner, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
          schema:
            short: This slice contains information about the cause and manner of death.
            mustSupport: true
            _required: true
            label: This slice contains information about the cause and manner of death.
            index: 28
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: cause-manner, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
                index: 29
              entry:
                short: Entries that are contained in the Cause-Manner section
                mustSupport: true
                index: 30
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    cause:
                      match: {}
                      schema:
                        short: Up to 5 lines of cause of death.
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Observation-cause-of-death-part1']
                        type: Reference
                        mustSupport: true
                        array: true
                        max: 4
                        label: Up to 5 lines of cause of death.
                        index: 31
                      max: 4
                    other-condition:
                      match: {}
                      schema:
                        short: Other significant conditions contributing to death but not resulting in the underlying cause.
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Observation-contributing-cause-of-death-part2']
                        type: Reference
                        mustSupport: true
                        array: true
                        index: 32
                    manner:
                      match: {}
                      schema:
                        type: Reference
                        short: Manner of death.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Observation-manner-of-death']
                        index: 33
                    how-injury:
                      match: {}
                      schema:
                        type: Reference
                        short: Certified explanation of how injury occurred.
                        mustSupport: true
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Observation-how-death-injury-occurred']
                        index: 34
              emptyReason: {mustSupport: true, index: 35}
            required: [code]
        medical-history:
          match:
            code:
              coding:
              - {code: medical-history, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
          schema:
            short: This slice contains relevant medical history about the decedent.
            mustSupport: true
            _required: true
            label: This slice contains relevant medical history about the decedent.
            index: 36
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: medical-history, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
                index: 37
              text: {label: Narrative medical condition, short: Narrative medical condition, mustSupport: true, index: 38}
              entry:
                mustSupport: true
                index: 39
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    history-condition:
                      match: {}
                      schema:
                        short: Coded medical conditions
                        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns']
                        type: Reference
                        mustSupport: true
                        label: Coded medical conditions
                        index: 40
              emptyReason: {mustSupport: true, index: 41}
            required: [code]
        exam-autopsy:
          match:
            code:
              coding:
              - {code: exam-autopsy, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
          schema:
            short: This slice contains exam and autopsy information.
            mustSupport: true
            label: This slice contains exam and autopsy information.
            index: 42
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: exam-autopsy, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
                index: 43
              text: {label: Description of autopsy findings, short: Description of autopsy findings, mustSupport: true, index: 44}
              entry:
                index: 45
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this.resolve(), type: profile}
                  min: null
                  slices:
                    autopsy-performed:
                      match: {}
                      schema:
                        short: If autopsy was performed, if autopsy findings are available, and the autopsy Performer
                        refers: ['http://hl7.org/fhir/us/mdi/StructureDefinition/Observation-autopsy-performed-indicator']
                        type: Reference
                        mustSupport: true
                        array: true
                        label: If autopsy was performed, if autopsy findings are available, and the autopsy Performer
                        index: 46
            required: [code]
        narratives:
          match:
            code:
              coding:
              - {code: narratives, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
          schema:
            label: This slice contains additional death investigation narrative descriptions.
            short: This slice contains additional death investigation narrative descriptions.
            mustSupport: true
            index: 47
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: narratives, system: 'http://hl7.org/fhir/us/mdi/CodeSystem/CodeSystem-mdi-codes'}
                index: 48
              text: {label: Additional death investigation narrative descriptions., short: Additional death investigation narrative descriptions., mustSupport: true, index: 49}
package_version: 1.0.0
extensions:
  extension-tracking-numbers: {url: 'http://hl7.org/fhir/us/mdi/StructureDefinition/Extension-tracking-number', type: Extension, short: 'A tracking number, such as a case number or file number assigned by a case management system or EDRS.', mustSupport: true, index: 0}
class: profile
kind: resource
url: http://hl7.org/fhir/us/mdi/StructureDefinition/Composition-mdi-to-edrs
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.0.0
required: [attester, section, identifier, subject]