description: 'This template represents the observation that a patient has died. It also represents the cause of death, indicated by an entryRelationship type of CAUS. This template allows for more specific representation of data than is available with the use of dischargeDispositionCode.\n\n#### Templates Used\nAlthough open templates may contain any valid CDA content, the following templates are specifically called out by this template:\n\n**Optional EntryRelationships**: [ProblemObservation](StructureDefinition-ProblemObservation.html)' package_name: hl7.cda.us.ccda derivation: constraint name: DeceasedObservation type: http://hl7.org/cda/stds/core/StructureDefinition/Observation elements: entryRelationship: index: 19 slicing: rules: open discriminator: - {path: observation, type: profile} - {path: typeCode, type: value} min: null slices: problemObservation: match: {typeCode: CAUS} schema: index: 20 elements: typeCode: pattern: {type: code, value: CAUS} type: code index: 21 inversionInd: pattern: {type: boolean, value: true} type: boolean index: 22 observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 23} required: [inversionInd, observation] value: type: http://hl7.org/cda/stds/core/StructureDefinition/CD short: Dead index: 16 elements: code: pattern: {type: code, value: '419099009'} type: code index: 17 codeSystem: short: SNOMED CT pattern: {type: string, value: 2.16.840.1.113883.6.96} type: string index: 18 required: [code, codeSystem] classCode: pattern: {type: code, value: OBS} type: code index: 4 id: {index: 6} code: index: 7 elements: code: pattern: {type: code, value: ASSERTION} type: code index: 8 codeSystem: pattern: {type: string, value: 2.16.840.1.113883.5.4} type: string index: 9 required: [code, codeSystem] moodCode: pattern: {type: code, value: EVN} type: code index: 5 effectiveTime: index: 14 elements: low: {index: 15} required: [low] templateId: index: 0 slicing: rules: open discriminator: - {path: root, type: value} - {path: extension, type: value} min: 1 slices: deceased-obs: match: {root: 2.16.840.1.113883.10.20.22.4.79, extension: '2015-08-01'} schema: _required: true index: 1 elements: root: pattern: {type: string, value: 2.16.840.1.113883.10.20.22.4.79} type: string index: 2 extension: pattern: {type: string, value: '2015-08-01'} type: string index: 3 required: [extension, root] extensions: {} statusCode: index: 12 elements: code: pattern: {type: code, value: completed} type: code index: 13 required: [code] text: short: SHOULD reference the portion of section narrative text corresponding to this entry index: 10 elements: reference: constraint: value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/DeceasedObservation', severity: error, expression: value.exists() implies value.startsWith('#')} index: 11 package_version: 4.0.0 class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/DeceasedObservation base: http://hl7.org/cda/stds/core/StructureDefinition/Observation version: 4.0.0 required: [effectiveTime, id, statusCode, templateId, value]