{
  "resourceType": "StructureDefinition",
  "id": "recare-decrypted-data",
  "url": "http://fhir.recaresolutions.com/StructureDefinition/recare-decrypted-data",
  "version": "0.1.0",
  "name": "RecareDecryptedData",
  "title": "Recare Decrypted Data",
  "status": "active",
  "experimental": false,
  "publisher": "Recare Deutschland GmbH",
  "description": "Inner bundle that is encrypted and carried as a Binary within the RecarePatientRequestEvent. Contains the patient's personal and clinical data.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "collection"
      },
      {
        "id": "Bundle.timestamp",
        "path": "Bundle.timestamp",
        "min": 1
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "resource"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Bundle.entry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "min": 1
      },
      {
        "id": "Bundle.entry:patient",
        "path": "Bundle.entry",
        "sliceName": "patient",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:patient.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Patient"
          }
        ]
      },
      {
        "id": "Bundle.entry:guardian",
        "path": "Bundle.entry",
        "sliceName": "guardian",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Bundle.entry:guardian.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "RelatedPerson"
          }
        ]
      },
      {
        "id": "Bundle.entry:diagnosis",
        "path": "Bundle.entry",
        "sliceName": "diagnosis",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Bundle.entry:diagnosis.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Condition"
          }
        ]
      }
    ]
  }
}