{
  "resourceType": "StructureDefinition",
  "id": "TOBundle",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Foundation.Other"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "not-classified"
    }
  ],
  "url": "https://abaton.app/fhir/StructureDefinition/TOBundle",
  "version": "1.0",
  "name": "TOBundle",
  "title": "Export-Bundle",
  "status": "active",
  "experimental": false,
  "date": "2022-01-14",
  "publisher": "ABATON GmbH",
  "copyright": "ABATON GmbH",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.system",
        "path": "Bundle.identifier.system",
        "min": 1,
        "patternUri": "https://abaton.app/de/kompatibilitaet/sid/export-id",
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.value",
        "path": "Bundle.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "collection",
        "mustSupport": true
      },
      {
        "id": "Bundle.timestamp",
        "path": "Bundle.timestamp",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Observation",
            "profile": [
              "https://abaton.app/fhir/StructureDefinition/TOObservationRAID",
              "https://abaton.app/fhir/StructureDefinition/TOObservationRADAI5",
              "https://abaton.app/fhir/StructureDefinition/TOObservationHAQ",
              "https://abaton.app/fhir/StructureDefinition/TOObservationMSK",
              "https://abaton.app/fhir/StructureDefinition/TOObservationPtGA",
              "https://abaton.app/fhir/StructureDefinition/TOObservationSchmerzNRS"
            ]
          },
          {
            "code": "Patient",
            "profile": [
              "https://abaton.app/fhir/StructureDefinition/TOPatient"
            ]
          },
          {
            "code": "Device"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}