PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.vrdr@2.2.0
    http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-record-axis-cause-of-death
description: 'Record Axis Cause Of Death (Observation): Up to 20 of instances of this profile may be included in a coding bundle.  Each instance is labeled with its position (1-20).'
package_name: hl7.fhir.us.vrdr
derivation: constraint
name: RecordAxisCauseOfDeath
type: Observation
elements:
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 80357-7, system: 'http://loinc.org'}
    index: 0
  subject:
    type: Reference
    short: Decedent
    refers: ['http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-decedent']
    index: 1
  effective:
    short: Date/Time when added to death record
    choices: [effectiveDateTime]
    index: 3
  effectiveDateTime: {type: dateTime, short: Date/Time when added to death record, choiceOf: effective, index: 4}
  value:
    choices: [valueCodeableConcept]
    index: 6
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 7}
  component:
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: 1
      slices:
        position:
          match:
            code:
              coding:
              - {code: position, system: 'http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-component-cs'}
          schema:
            short: Position
            _required: true
            index: 9
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: position, system: 'http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-component-cs'}
                index: 10
              value:
                choices: [valueInteger]
                index: 12
              valueInteger: {type: integer, choiceOf: value, index: 13}
            required: [value, valueInteger]
        wouldBeUnderlyingCauseOfDeathWithoutPregnancy:
          match:
            code:
              coding:
              - {code: wouldBeUnderlyingCauseOfDeathWithoutPregnancy, system: 'http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-component-cs'}
          schema:
            short: Would be Underlying Cause of Death Without Pregnancy
            index: 14
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: wouldBeUnderlyingCauseOfDeathWithoutPregnancy, system: 'http://hl7.org/fhir/us/vrdr/CodeSystem/vrdr-component-cs'}
                index: 15
              value:
                short: Position
                choices: [valueBoolean]
                index: 20
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema:
                        short: Position
                        choices: [valueBoolean]
                        index: 20
                      min: 0
                      max: 1
              valueBoolean:
                type: boolean
                short: Position
                choiceOf: value
                index: 21
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema: {type: boolean, short: Position, choiceOf: value, index: 21}
                      min: 0
                      max: 1
            required: [value, valueBoolean]
package_version: 2.2.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-record-axis-cause-of-death
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.2.0
required: [component, value, subject, valueCodeableConcept]