Standard Death Record

ContributedToDeathConditionProfile

{
  "resourceType" : "StructureDefinition",
  "id" : "sdr-causeOfDeath-ContributedToDeathCondition",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns="http://www.w3.org/1999/xhtml">
  <p><b>SDR ContributedToDeathCondition Profile</b></p>
  <p>A significant condition that contributed to death but did not result in the underlying cause captured by a `CauseOfDeathCondition`. Corresponds to part 2 of item 32 of the [U.S. Standard Certificate of Death](https://www.cdc.gov/nchs/data/dvs/DEATH11-03final-ACC.pdf).</p>
  <p><b>SDR Mapping Summary</b></p>
  <p><pre>sdr.causeOfDeath.ContributedToDeathCondition maps to Condition:
  CodeableConcept maps to code
  Onset maps to onset[x]
  Subject maps to subject
  constrain text to 1..1
  fix clinicalStatus to http://hl7.org/fhir/ValueSet/condition-clinical#active
</pre></p>
</div>"
  },
  "url" : "http://nightingaleproject.github.io/fhirDeathRecord/StructureDefinition/sdr-causeOfDeath-ContributedToDeathCondition",
  "identifier" : [
    {
      "system" : "http://github.com/nightingaleproject/fhirDeathRecord",
      "value" : "sdr.causeOfDeath.ContributedToDeathCondition"
    }
  ],
  "version" : "0.1.0",
  "name" : "ContributedToDeathConditionProfile",
  "title" : "SDR ContributedToDeathCondition Profile",
  "status" : "draft",
  "date" : "2018-06-14T00:00:00-04:00",
  "publisher" : "The MITRE Corporation: Nightingale Project",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://github.com/nightingaleproject/fhirDeathRecord"
        }
      ]
    }
  ],
  "description" : "A significant condition that contributed to death but did not result in the underlying cause captured by a `CauseOfDeathCondition`. Corresponds to part 2 of item 32 of the [U.S. Standard Certificate of Death](https://www.cdc.gov/nchs/data/dvs/DEATH11-03final-ACC.pdf).",
  "fhirVersion" : "3.0.1",
  "mapping" : [
    {
      "identity" : "sct-concept",
      "uri" : "http://snomed.info/conceptdomain",
      "name" : "SNOMED CT Concept Domain Binding"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2 Mapping"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    },
    {
      "identity" : "sct-attr",
      "uri" : "http://snomed.info/sct",
      "name" : "SNOMED CT Attribute Binding"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Condition",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition",
        "path" : "Condition",
        "short" : "SDR ContributedToDeathCondition Profile",
        "definition" : "A significant condition that contributed to death but did not result in the underlying cause captured by a `CauseOfDeathCondition`. Corresponds to part 2 of item 32 of the [U.S. Standard Certificate of Death](https://www.cdc.gov/nchs/data/dvs/DEATH11-03final-ACC.pdf).",
        "min" : 0,
        "max" : "*",
        "constraint" : [
          {
            "key" : "dom-2",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression" : "contained.contained.empty()",
            "xpath" : "not(parent::f:contained and f:contained)",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-1",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression" : "contained.text.empty()",
            "xpath" : "not(parent::f:contained and f:text)",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-4",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source" : "DomainResource"
          },
          {
            "key" : "dom-3",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
            "expression" : "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath" : "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source" : "DomainResource"
          },
          {
            "key" : "con-4",
            "severity" : "error",
            "human" : "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission",
            "expression" : "abatement.empty() or (abatement as boolean).not()  or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'",
            "xpath" : "not(f:abatementBoolean/@value=true() or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive'))"
          },
          {
            "key" : "con-3",
            "severity" : "error",
            "human" : "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error",
            "expression" : "verificationStatus='entered-in-error' or clinicalStatus.exists()",
            "xpath" : "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "sct-concept",
            "map" : "< 243796009 |Situation with explicit context|:
246090004 |Associated finding| =
((< 404684003 |Clinical finding| MINUS
<< 420134006 |Propensity to adverse reactions| MINUS 
<< 473010000 |Hypersensitivity condition| MINUS 
<< 79899007 |Drug interaction| MINUS
<< 69449002 |Drug action| MINUS 
<< 441742003 |Evaluation finding| MINUS 
<< 307824009 |Administrative status| MINUS 
<< 385356007 |Tumor stage finding|) OR
< 272379006 |Event|)"
          },
          {
            "identity" : "v2",
            "map" : "PPR message"
          },
          {
            "identity" : "rim",
            "map" : "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"
          },
          {
            "identity" : "w5",
            "map" : "clinical.general"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.id",
        "path" : "Condition.id",
        "short" : "Logical id of this artifact",
        "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.meta",
        "path" : "Condition.meta",
        "short" : "Metadata about the resource",
        "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "isSummary" : true
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.implicitRules",
        "path" : "Condition.implicitRules",
        "short" : "A set of rules under which this content was created",
        "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. 

This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.language",
        "path" : "Condition.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference" : {
                "reference" : "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "extensible",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.text",
        "path" : "Condition.text",
        "short" : "Text summary of the resource, for human interpretation",
        "definition" : "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comment" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "condition" : [
          "dom-1"
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.contained",
        "path" : "Condition.contained",
        "short" : "Contained, inline Resources",
        "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comment" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.extension",
        "path" : "Condition.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.modifierExtension",
        "path" : "Condition.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.identifier",
        "path" : "Condition.identifier",
        "short" : "External Ids for this condition",
        "definition" : "This records identifiers associated with this condition that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements" : "Need to allow connection to a wider workflow.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".id"
          },
          {
            "identity" : "w5",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.clinicalStatus",
        "path" : "Condition.clinicalStatus",
        "short" : "active | recurrence | inactive | remission | resolved",
        "definition" : "The clinical status of the condition.",
        "comment" : "This element is labeled as a modifier because the status contains codes that mark the condition as not currently valid or of concern.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ],
        "fixedCode" : "active",
        "condition" : [
          "con-3",
          "con-4"
        ],
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionClinicalStatus"
            }
          ],
          "strength" : "required",
          "description" : "The clinical status of the condition or diagnosis.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-clinical"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 303105007 |Disease phases|"
          },
          {
            "identity" : "v2",
            "map" : "PRB-14 / DG1-6"
          },
          {
            "identity" : "rim",
            "map" : "Observation ACT
.inboundRelationship[typeCode=COMP].source[classCode=OBS, code="clinicalStatus", moodCode=EVN].value"
          },
          {
            "identity" : "w5",
            "map" : "status"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.verificationStatus",
        "path" : "Condition.verificationStatus",
        "short" : "provisional | differential | confirmed | refuted | entered-in-error | unknown",
        "definition" : "The verification status to support the clinical status of the condition.",
        "comment" : "verificationStatus is not required.  For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.

This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ],
        "defaultValueCode" : "unknown",
        "condition" : [
          "con-3"
        ],
        "isModifier" : true,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionVerificationStatus"
            }
          ],
          "strength" : "required",
          "description" : "The verification status to support or decline the clinical status of the condition or diagnosis.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-ver-status"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 410514004 |Finding context value|"
          },
          {
            "identity" : "v2",
            "map" : "PRB-13"
          },
          {
            "identity" : "rim",
            "map" : "Observation ACT
.inboundRelationship[typeCode=COMP].source[classCode=OBS, code="verificationStatus", moodCode=EVN].value"
          },
          {
            "identity" : "sct-attr",
            "map" : "408729009"
          },
          {
            "identity" : "w5",
            "map" : "status"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.category",
        "path" : "Condition.category",
        "short" : "problem-list-item | encounter-diagnosis",
        "definition" : "A category assigned to the condition.",
        "comment" : "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionCategory"
            }
          ],
          "strength" : "example",
          "description" : "A category assigned to the condition.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-category"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 404684003 |Clinical finding|"
          },
          {
            "identity" : "v2",
            "map" : "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"
          },
          {
            "identity" : "rim",
            "map" : ".code"
          },
          {
            "identity" : "w5",
            "map" : "class"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.severity",
        "path" : "Condition.severity",
        "short" : "Subjective severity of condition",
        "definition" : "A subjective assessment of the severity of the condition as evaluated by the clinician.",
        "comment" : "Coding of the severity with a terminology is preferred, where possible.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionSeverity"
            }
          ],
          "strength" : "preferred",
          "description" : "A subjective assessment of the severity of the condition as evaluated by the clinician.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-severity"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 272141005 |Severities|"
          },
          {
            "identity" : "v2",
            "map" : "PRB-26 / ABS-3"
          },
          {
            "identity" : "rim",
            "map" : "Can be pre/post-coordinated into value.  Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="severity"].value"
          },
          {
            "identity" : "sct-attr",
            "map" : "246112005"
          },
          {
            "identity" : "w5",
            "map" : "grade"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.code",
        "path" : "Condition.code",
        "short" : "Identification of the condition, problem or diagnosis",
        "definition" : "Code representing a significant condition that contributed to death but did not result in the underlying cause captured by a `CauseOfDeathCondition`. Corresponds to part 2 of item 32 of the [U.S. Standard Certificate of Death](https://www.cdc.gov/nchs/data/dvs/DEATH11-03final-ACC.pdf).",
        "requirements" : "0..1 to account for primarily narrative only resources.",
        "alias" : [
          "type"
        ],
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionKind"
            }
          ],
          "strength" : "example",
          "description" : "Identification of the condition or diagnosis.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-code"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS
<< 420134006 |Propensity to adverse reactions| MINUS 
<< 473010000 |Hypersensitivity condition| MINUS 
<< 79899007 |Drug interaction| MINUS
<< 69449002 |Drug action| MINUS 
<< 441742003 |Evaluation finding| MINUS 
<< 307824009 |Administrative status| MINUS 
<< 385356007 |Tumor stage finding|) 
OR < 413350009 |Finding with explicit context|
OR < 272379006 |Event|"
          },
          {
            "identity" : "v2",
            "map" : "PRB-3"
          },
          {
            "identity" : "rim",
            "map" : ".value"
          },
          {
            "identity" : "sct-attr",
            "map" : "246090004"
          },
          {
            "identity" : "w5",
            "map" : "what"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.bodySite",
        "path" : "Condition.bodySite",
        "short" : "Anatomical location, if relevant",
        "definition" : "The anatomical location where this condition manifests itself.",
        "comment" : "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [body-site-instance](extension-body-site-instance.html).  May be a summary code, or a reference to a very precise definition of the location, or both.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "BodySite"
            }
          ],
          "strength" : "example",
          "description" : "Codes describing anatomical locations. May include laterality.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/body-site"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 442083009  |Anatomical or acquired body structure|"
          },
          {
            "identity" : "rim",
            "map" : ".targetBodySiteCode"
          },
          {
            "identity" : "sct-attr",
            "map" : "363698007"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.subject",
        "path" : "Condition.subject",
        "short" : "Who has the condition?",
        "definition" : "Indicates the patient or group who the condition record is associated with.",
        "requirements" : "Group is typically used for veterinary or public health use cases.",
        "alias" : [
          "patient"
        ],
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-3"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=SBJ].role[classCode=PAT]"
          },
          {
            "identity" : "w5",
            "map" : "who.focus"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.context",
        "path" : "Condition.context",
        "short" : "Encounter or episode when condition first asserted",
        "definition" : "Encounter during which the condition was first asserted.",
        "comment" : "This record indicates the encounter this particular record is associated with.  In the case of a "new" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first "known".",
        "alias" : [
          "encounter"
        ],
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Encounter"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PV1-19 (+PV1-54)"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity" : "w5",
            "map" : "context"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.onset[x]",
        "path" : "Condition.onset[x]",
        "short" : "Estimated or actual date,  date-time, or age",
        "definition" : "Estimated or actual date or date-time  the condition began, in the opinion of the clinician.",
        "comment" : "Age is generally used when the patient reports an age at which the Condition began to occur.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "string"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-16"
          },
          {
            "identity" : "rim",
            "map" : ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at onset"].value"
          },
          {
            "identity" : "w5",
            "map" : "when.init"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.abatement[x]",
        "path" : "Condition.abatement[x]",
        "short" : "If/when in resolution/remission",
        "definition" : "The date or estimated date that the condition resolved or went into remission. This is called "abatement" because of the many overloaded connotations associated with "remission" or "resolution" - Conditions are never really resolved, but they can abate.",
        "comment" : "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.  If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.  When abatementString exists, it implies the condition is abated.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "con-4"
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="age at remission"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed"
          },
          {
            "identity" : "w5",
            "map" : "when.done"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.assertedDate",
        "path" : "Condition.assertedDate",
        "short" : "Date record was believed accurate",
        "definition" : "The date on which the existance of the Condition was first asserted or acknowledged.",
        "comment" : "The assertedDate represents the date when this particular Condition record was created in the EHR, not the date of the most recent update in terms of when severity, abatement, etc. were specified.  The date of the last record modification can be retrieved from the resource metadata.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL-11"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].time"
          },
          {
            "identity" : "w5",
            "map" : "when.recorded"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.asserter",
        "path" : "Condition.asserter",
        "short" : "Person who asserts this condition",
        "definition" : "Individual who is making the condition statement.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL-7.1 identifier + REL-7.12 type code"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].role"
          },
          {
            "identity" : "w5",
            "map" : "who.author"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.stage",
        "path" : "Condition.stage",
        "short" : "Stage/grade, usually assessed formally",
        "definition" : "Clinical stage or grade of a condition. May include formal severity assessments.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          },
          {
            "key" : "con-1",
            "severity" : "error",
            "human" : "Stage SHALL have summary or assessment",
            "expression" : "summary.exists() or assessment.exists()",
            "xpath" : "exists(f:summary) or exists(f:assessment)"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="stage/grade"]"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.stage.id",
        "path" : "Condition.stage.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.stage.extension",
        "path" : "Condition.stage.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.stage.modifierExtension",
        "path" : "Condition.stage.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.stage.summary",
        "path" : "Condition.stage.summary",
        "short" : "Simple summary (disease specific)",
        "definition" : "A simple summary of the stage such as "Stage 3". The determination of the stage is disease-specific.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "condition" : [
          "con-1"
        ],
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionStage"
            }
          ],
          "strength" : "example",
          "description" : "Codes describing condition stages (e.g. Cancer stages).",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/condition-stage"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 254291000 |Staging and scales|"
          },
          {
            "identity" : "v2",
            "map" : "PRB-14"
          },
          {
            "identity" : "rim",
            "map" : ".value"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.stage.assessment",
        "path" : "Condition.stage.assessment",
        "short" : "Formal record of assessment",
        "definition" : "Reference to a formal record of the evidence on which the staging assessment is based.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
          },
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Observation"
          }
        ],
        "condition" : [
          "con-1"
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".self"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.evidence",
        "path" : "Condition.evidence",
        "short" : "Supporting evidence",
        "definition" : "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.",
        "comment" : "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() | (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "Element"
          },
          {
            "key" : "con-2",
            "severity" : "error",
            "human" : "evidence SHALL have code or details",
            "expression" : "code.exists() or detail.exists()",
            "xpath" : "exists(f:code) or exists(f:detail)"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.evidence.id",
        "path" : "Condition.evidence.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.evidence.extension",
        "path" : "Condition.evidence.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.evidence.modifierExtension",
        "path" : "Condition.evidence.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "isModifier" : true,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.evidence.code",
        "path" : "Condition.evidence.code",
        "short" : "Manifestation/symptom",
        "definition" : "A manifestation or symptom that led to the recording of this condition.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "condition" : [
          "con-2"
        ],
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ManifestationOrSymptom"
            }
          ],
          "strength" : "example",
          "description" : "Codes that describe the manifestation or symptoms of a condition.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/manifestation-or-symptom"
          }
        },
        "mapping" : [
          {
            "identity" : "sct-concept",
            "map" : "< 404684003 |Clinical finding|"
          },
          {
            "identity" : "rim",
            "map" : "[code="diagnosis"].value"
          },
          {
            "identity" : "w5",
            "map" : "why"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.evidence.detail",
        "path" : "Condition.evidence.detail",
        "short" : "Supporting information found elsewhere",
        "definition" : "Links to other relevant information, including pathology reports.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition" : [
          "con-2"
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".self"
          },
          {
            "identity" : "w5",
            "map" : "why"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.note",
        "path" : "Condition.note",
        "short" : "Additional information about the Condition",
        "definition" : "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Annotation"
          }
        ],
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NTE child of PRB"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition",
        "path" : "Condition",
        "short" : "SDR ContributedToDeathCondition Profile",
        "definition" : "A significant condition that contributed to death but did not result in the underlying cause captured by a `CauseOfDeathCondition`. Corresponds to part 2 of item 32 of the [U.S. Standard Certificate of Death](https://www.cdc.gov/nchs/data/dvs/DEATH11-03final-ACC.pdf)."
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.text",
        "path" : "Condition.text",
        "min" : 1,
        "max" : "1"
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.clinicalStatus",
        "path" : "Condition.clinicalStatus",
        "fixedCode" : "active"
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.code",
        "path" : "Condition.code",
        "definition" : "Code representing a significant condition that contributed to death but did not result in the underlying cause captured by a `CauseOfDeathCondition`. Corresponds to part 2 of item 32 of the [U.S. Standard Certificate of Death](https://www.cdc.gov/nchs/data/dvs/DEATH11-03final-ACC.pdf)."
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.subject",
        "path" : "Condition.subject",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
          }
        ]
      },
      {
        "id" : "Condition:sdr-causeOfDeath-ContributedToDeathCondition.onset[x]",
        "path" : "Condition.onset[x]",
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "string"
          }
        ]
      }
    ]
  }
}