{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Bundle-ForTransaction-ADT001",
  "name": "Bundle-ForTransaction-ADT001",
  "status": "draft",
  "description": "Dedalus API Framework core profile for Bundle for ADT transactions",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Bundle-ForTransaction",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "resource"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Bundle.entry:Encounter-Master",
        "path": "Bundle.entry",
        "sliceName": "Encounter-Master",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Encounter-Master.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Encounter-ForADT-Master"
          }
        ]
      },
      {
        "id": "Bundle.entry:Encounter-Master.resource.meta.tag",
        "path": "Bundle.entry.resource.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:Encounter-Child",
        "path": "Bundle.entry",
        "sliceName": "Encounter-Child",
        "min": 1
      },
      {
        "id": "Bundle.entry:Encounter-Child.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Encounter-ForADT-Child"
          }
        ]
      },
      {
        "id": "Bundle.entry:Encounter-Child.resource.meta.tag",
        "path": "Bundle.entry.resource.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:Procedure-ForADT",
        "path": "Bundle.entry",
        "sliceName": "Procedure-ForADT"
      },
      {
        "id": "Bundle.entry:Procedure-ForADT.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Procedure-ForADT"
          }
        ]
      },
      {
        "id": "Bundle.entry:Condition-ForADT",
        "path": "Bundle.entry",
        "sliceName": "Condition-ForADT"
      },
      {
        "id": "Bundle.entry:Condition-ForADT.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Condition-ForADT"
          }
        ]
      }
    ]
  }
}