{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Bundle",
  "name": "Bundle",
  "title": "API Framework Bundle",
  "status": "active",
  "experimental": false,
  "description": "API Framework Core Profile for Bundle",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.id",
        "path": "Bundle.id",
        "mustSupport": true
      },
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Meta",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Meta-ForCommonConformance"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.meta.tag",
        "path": "Bundle.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "constraint": [
          {
            "key": "supported-types",
            "severity": "error",
            "human": "Subset of bundle types supported by API Framework",
            "expression": "transaction|transaction-response|searchset|collection"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "mustSupport": true
      }
    ]
  }
}