{
  "resourceType": "StructureDefinition",
  "id": "IHE.VRDR.Decedent-Age",
  "url": "http://ihe.net/fhir/vrdr/StructureDefinition/Decedent-Age",
  "name": "IHE VRDR Decedent Age",
  "status": "draft",
  "description": "The decedent's chronological age at the time of death. When present, the effective date of this observation shall be equal to the decedent's date of death. Age is derived as the difference in time between the decedent's death date and birth date. When age is LE one day then unit shall be minutes, when age is LE one year then unit shall be days, else unit shall be years.",
  "purpose": "It conveys the actual or presumed date of death as well as the date of the death data pronouncement.",
  "copyright": "IHE http://www.ihe.net/Governance/#Intellectual_Property",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Observation"
  ],
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "status",
        "definition": "SHALL contain exactly one [1..1] status=\"final\" Final (CONF:4393-20).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "final"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "code",
        "definition": "SHALL contain exactly one [1..1] code=\" 30525-0\" AGE (CodeSystem: LOINC urn:oid:2.16.840.1.113883.6.1) (CONF:4393-21).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "urn:oid:2.16.840.1.113883.6.1",
              "code": "30525-0",
              "display": "AGE"
            }
          ]
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "subject",
        "definition": "SHALL contain exactly one [1..1] subject (CONF:4393-22).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "effective[x]",
        "definition": "MAY contain zero or one [0..1] effective[x], where effective[x] is (CONF:4393-17)",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.effective[x]:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "short": "effectiveDateTime",
        "definition": "effectiveDateTime (CONF:4393-23)"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "value[x]",
        "definition": "SHALL contain exactly one [1..1] value[x], where value[x] is (CONF:4393-18)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.valueQuantity",
        "sliceName": "valueQuantity",
        "short": "valueQuantity",
        "definition": "valueQuantity (CONF:4393-19)"
      },
      {
        "id": "Observation.value[x]:valueQuantity.value",
        "path": "Observation.valueQuantity.value",
        "sliceName": "valueQuantity",
        "short": "value",
        "definition": "SHALL contain exactly one [1..1] value (CONF:4393-24).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.value[x]:valueQuantity.unit",
        "path": "Observation.valueQuantity.unit",
        "sliceName": "valueQuantity",
        "short": "unit",
        "definition": "SHALL contain exactly one [1..1] unit, which SHALL be selected from CodeSystem UCUM (urn:oid:2.16.840.1.113883.6.8) DYNAMIC (CONF:4393-25).",
        "min": 1,
        "max": "1"
      }
    ]
  }
}