{
  "resourceType": "StructureDefinition",
  "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-Subscriptioncontent",
  "name": "Subscriptioncontent",
  "status": "draft",
  "description": "How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content.",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Subscription.channel.payload"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "definition": "How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content.",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "isModifier": false
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-Subscriptioncontent"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "definition": "Notification content level",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueCode",
        "path": "Extension.value[x]",
        "sliceName": "valueCode",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "Codes to represent how much resource content to send in the notification payload.",
          "valueSet": "http://hl7.org/fhir/uv/subscriptions-backport/CodeSystem/backport-content-code-system"
        }
      }
    ]
  }
}