{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Bundle-ForTransaction-MED002",
  "name": "Bundle-ForTransaction-MED002",
  "status": "active",
  "experimental": false,
  "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": "closed"
        }
      },
      {
        "id": "Bundle.entry:RequestGroup-ForMedicationOrder",
        "path": "Bundle.entry",
        "sliceName": "RequestGroup-ForMedicationOrder",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:RequestGroup-ForMedicationOrder.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "RequestGroup",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/RequestGroup-ForMedicationOrder"
          }
        ]
      },
      {
        "id": "Bundle.entry:RequestGroup.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:MedicationRequest",
        "path": "Bundle.entry",
        "sliceName": "MedicationRequest",
        "min": 1
      },
      {
        "id": "Bundle.entry:MedicationRequest.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "MedicationRequest",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/MedicationRequest"
          }
        ]
      },
      {
        "id": "Bundle.entry:MedicationRequest.resource.meta.tag",
        "path": "Bundle.entry.resource.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:MedicationRequest.resource.contained",
        "path": "Bundle.entry.resource.contained",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        }
      },
      {
        "id": "Bundle.entry:MedicationRequest.resource.supportingInformation",
        "path": "Bundle.entry.resource.supportingInformation",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:MedicationRequest.request",
        "path": "Bundle.entry.request",
        "min": 1
      },
      {
        "id": "Bundle.entry:Task-ForMedicationOrder",
        "path": "Bundle.entry",
        "sliceName": "Task-ForMedicationOrder",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Task-ForMedicationOrder.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Task",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Task-ForMedicationOrder"
          }
        ]
      },
      {
        "id": "Bundle.entry:Task-ForMedicationOrder.resource.meta.tag",
        "path": "Bundle.entry.resource.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:Task-ForMedicationOrder.request",
        "path": "Bundle.entry.request",
        "min": 1
      }
    ]
  }
}