{
  "resourceType": "StructureDefinition",
  "id": "VRDR-Cause-Of-Death-Condition",
  "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/VRDR-Cause-Of-Death-Condition",
  "name": "VRDR Cause Of Death Condition",
  "status": "draft",
  "contact": [
    {
      "name": "Salimah Shakir",
      "telecom": [
        {
          "system": "phone",
          "value": "8184306686",
          "use": "work"
        },
        {
          "system": "email",
          "value": "salimah@shakirconsulting.com",
          "use": "work"
        }
      ]
    }
  ],
  "kind": "resource",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Condition"
  ],
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition",
        "path": "Condition"
      },
      {
        "id": "Condition.id",
        "path": "Condition.id",
        "short": "id",
        "definition": "MAY contain zero or one [0..1] id (CONF:4393-251).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Condition.meta",
        "path": "Condition.meta",
        "short": "meta",
        "definition": "MAY contain zero or one [0..1] meta (CONF:4393-250).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Condition.meta.profile",
        "path": "Condition.meta.profile",
        "short": "profile",
        "definition": "The meta, if present, SHALL contain exactly one [1..1] profile=\"http://hl7.org/fhir/us/vrdr/StructureDefinition/-VRDR-Cause-Of-Death-Condition\" (CONF:4393-252).",
        "min": 1,
        "max": "1",
        "patternString": "http://hl7.org/fhir/us/vrdr/StructureDefinition/-VRDR-Cause-Of-Death-Condition"
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "short": "code",
        "definition": "SHALL contain exactly one [1..1] code, which SHALL be selected from ValueSet Condition-code http://hl7.org/fhir/ValueSet/Condition-code DYNAMIC (CONF:4393-253).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/Condition-code",
            "display": "Condition-code"
          }
        }
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "short": "subject",
        "definition": "SHALL contain exactly one [1..1] subject=\" VRDR Decedent\" (CONF:4393-256).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          }
        ],
        "patternString": "VRDR Decedent"
      },
      {
        "id": "Condition.onset[x]",
        "path": "Condition.onset[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "onset[x]",
        "definition": "SHALL contain exactly one [1..1] onset[x], where onset[x] is one of (CONF:4393-328)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.onset[x]:onsetAge",
        "path": "Condition.onsetAge",
        "sliceName": "onsetAge",
        "short": "onsetAge",
        "definition": "onsetAge (CONF:4393-329)"
      },
      {
        "id": "Condition.onset[x]:onsetString",
        "path": "Condition.onsetString",
        "sliceName": "onsetString",
        "short": "onsetString",
        "definition": "or onsetString (CONF:4393-418)"
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "short": "asserter",
        "definition": "SHALL contain exactly one [1..1] asserter=\" VRDR Certifier\" (CONF:4393-254).",
        "min": 1,
        "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"
          }
        ],
        "patternString": "VRDR Certifier"
      }
    ]
  }
}