{
  "resourceType": "StructureDefinition",
  "id": "E-Rezept-Validator-Bundle",
  "url": "https://example.org/fhir/StructureDefinition/E_Rezept_Validator_Bundle",
  "version": "0.3.10",
  "name": "E_Rezept_Validator_Bundle",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://example.org/fhir/StructureDefinition/E_Rezept_Validator_Bundle"
      },
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "max": "0"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "collection"
      },
      {
        "id": "Bundle.timestamp",
        "path": "Bundle.timestamp",
        "max": "0"
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "max": "0"
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resource.meta.profile"
            }
          ],
          "rules": "open"
        },
        "min": 2
      },
      {
        "id": "Bundle.entry.extension",
        "path": "Bundle.entry.extension",
        "max": "0"
      },
      {
        "id": "Bundle.entry.modifierExtension",
        "path": "Bundle.entry.modifierExtension",
        "max": "0"
      },
      {
        "id": "Bundle.entry:MedicationRequestEntry",
        "path": "Bundle.entry",
        "sliceName": "MedicationRequestEntry",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:MedicationRequestEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:MedicationRequestEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "MedicationRequest",
            "profile": [
              "https://example.org/fhir/StructureDefinition/E_Rezept_Validator_MedicationRequest"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:PatientEntry",
        "path": "Bundle.entry",
        "sliceName": "PatientEntry",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:PatientEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:PatientEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Patient",
            "profile": [
              "https://example.org/fhir/StructureDefinition/E_Rezept_Validator_Patient"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:AllergyIntoleranceEntry",
        "path": "Bundle.entry",
        "sliceName": "AllergyIntoleranceEntry",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:AllergyIntoleranceEntry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry:AllergyIntoleranceEntry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "AllergyIntolerance",
            "profile": [
              "https://example.org/fhir/StructureDefinition/E_Rezept_Validator_AllergyIntolerance"
            ]
          }
        ]
      },
      {
        "id": "Bundle.signature",
        "path": "Bundle.signature",
        "max": "0"
      }
    ]
  }
}