{
  "resourceType": "StructureDefinition",
  "id": "ca-on-setp-ext-delayreason",
  "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-delayreason",
  "name": "SETPDelayReason",
  "title": "Extension: SETP Delay Reason",
  "status": "draft",
  "version": "1.0.1",
  "date": "2023-03-06",
  "publisher": "Ontario Health",
  "contact": [
    {
      "name": "Ontario Health",
      "telecom": [
        {
          "system": "url",
          "value": "http://ontariohealth.ca/fhir/"
        },
        {
          "system": "email",
          "value": "some.email@ontariohealth.ca"
        }
      ]
    }
  ],
  "description": "Facility-specific value for the delay reason of the patient.",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Appointment"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Delay Reason",
        "definition": "Facility-specific value for the delay reason of the patient."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-setp-ext-delayreason"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      }
    ]
  }
}