mccod-onset-to-death-interval
type: StructureDefinition
node role: treeRoot
id:
  v: mccod-onset-to-death-interval
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition mccod-onset-to-death-interval Name Flags Card. Type Description & Constraints <a href="StructureDefinition-mccod-onset-to-death-interval-definitions.html#Extension" title="The approximate interval between the onset of a condition and the#xA;time of death, as estimated by the certifying practitioner.#xA;Represented as a free-text string (e.g. \"2 hours\", \"3 weeks\",#xA;\"5 years\") rather than a structured FHIR Duration, because#xA;clinical estimates on death certificates are inherently imprecise#xA;and do not conform to structured duration semantics.#xA;Corresponds to the \"Time interval from onset to death\" column#xA;of the WHO MCCoD Form A, identified by LOINC 69440-6#xA;(Disease onset to death interval).">Extension 0..* Extension MCCoD Onset to Death Interval #xD; extension 0..0 Extension #xD; url 1..1 uri "http://mccod.w3datanet.com/fhir/StructureDefinition/mccod-onset-to-death-interval" #xD; value[x] 0..1 string Value of extension #xD; Documentation for this format
url:
  v: http://mccod.w3datanet.com/fhir/StructureDefinition/mccod-onset-to-death-interval
  l: mccod-onset-to-death-interval
version:
  v: 0.1.0
name:
  v: MCCoDOnsetToDeathInterval
title:
  v: MCCoD Onset to Death Interval
status:
  v: draft
experimental:
  v: true
date:
  v: 2026-05-22T18:36:58+00:00
publisher:
  v: Asia eHealth Information Network (AeHIN)
contact:
  name:
    v: Asia eHealth Information Network (AeHIN)
  telecom:
    system:
      v: url
    value:
      v: https://www.asiaehealthinformationnetwork.org
contact:
  name:
    v: AeHIN Secretariat
  telecom:
    system:
      v: url
    value:
      v: https://www.asiaehealthinformationnetwork.org
description:
  v: The approximate interval between the onset of a condition and the time of death, as estimated by the certifying practitioner. Represented as a free-text string (e.g. \"2 hours\", \"3 weeks\", \"5 years\") rather than a structured FHIR Duration, because clinical estimates on death certificates are inherently imprecise and do not conform to structured duration semantics. Corresponds to the \"Time interval from onset to death\" column of the WHO MCCoD Form A, identified by LOINC 69440-6 (Disease onset to death interval).
jurisdiction:
  coding:
    system:
      v: http://un.org
      l: un.org
    code:
      v: 142
    display:
      v: Asia
  coding:
    system:
      v: http://hl7.org
      l: hl7.org
    code:
      v: X1
    display:
      v: Asia
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: complex-type
abstract:
  v: false
context:
  type:
    v: element
  expression:
    v: Condition
type:
  v: Extension
  l: Extension
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: Extension
    path:
      v: Extension
    short:
      v: MCCoD Onset to Death Interval
    definition:
      v: The approximate interval between the onset of a condition and the time of death, as estimated by the certifying practitioner. Represented as a free-text string (e.g. \"2 hours\", \"3 weeks\", \"5 years\") rather than a structured FHIR Duration, because clinical estimates on death certificates are inherently imprecise and do not conform to structured duration semantics. Corresponds to the \"Time interval from onset to death\" column of the WHO MCCoD Form A, identified by LOINC 69440-6 (Disease onset to death interval).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Extension
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    constraint:
      key:
        v: ext-1
      severity:
        v: error
      human:
        v: Must have either extensions or value[x], not both
      expression:
        v: extension.exists() != value.exists()
      xpath:
        v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      source:
        v: http://hl7.org/fhir/StructureDefinition/Extension
        l: Extension
    is modifier:
      v: false
  element:
    id:
      v: Extension.id
    path:
      v: Extension.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: Extension.extension
    path:
      v: Extension.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open
    short:
      v: Extension
    definition:
      v: An Extension
    min:
      v: 0
    max:
      v: 0

Url
v: string
l: string

v: value

v: url

path:
  v: Element.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension
  l: Extension

key:
  v: ele-1
severity:
  v: error
human:
  v: All FHIR elements must have a @value or children
expression:
  v: hasValue() or (children().count() > id.count())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension

v: false

v: false

id:
  v: Extension.url
path:
  v: Extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: uri
      l: uri
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
fixed: Uri
  v: http://mccod.w3datanet.com/fhir/StructureDefinition/mccod-onset-to-death-interval
  l: mccod-onset-to-death-interval
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.value[x]
path:
  v: Extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

element:
  id:
    v: Extension
  path:
    v: Extension
  short:
    v: MCCoD Onset to Death Interval
  definition:
    v: The approximate interval between the onset of a condition and the time of death, as estimated by the certifying practitioner. Represented as a free-text string (e.g. \"2 hours\", \"3 weeks\", \"5 years\") rather than a structured FHIR Duration, because clinical estimates on death certificates are inherently imprecise and do not conform to structured duration semantics. Corresponds to the \"Time interval from onset to death\" column of the WHO MCCoD Form A, identified by LOINC 69440-6 (Disease onset to death interval).
element:
  id:
    v: Extension.extension
  path:
    v: Extension.extension
  max:
    v: 0
element:
  id:
    v: Extension.url
  path:
    v: Extension.url
  fixed: Uri
    v: http://mccod.w3datanet.com/fhir/StructureDefinition/mccod-onset-to-death-interval
    l: mccod-onset-to-death-interval
element:
  id:
    v: Extension.value[x]
  path:
    v: Extension.value[x]
  type:
    code:
      v: string
      l: string