{
  "resourceType": "StructureDefinition",
  "url": "https://aiss-fhir.salut.gencat.cat/StructureDefinition/AISS-BundleAltaAlexia",
  "name": "AISS-BundleAltaAlexia",
  "status": "draft",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:Patient",
        "path": "Bundle.entry",
        "sliceName": "Patient",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:Patient.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://aiss-fhir.salut.gencat.cat/StructureDefinition/AISS-Patient"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:Patient.request",
        "path": "Bundle.entry.request",
        "short": "Informació sobre la publicació del recurs"
      },
      {
        "id": "Bundle.entry:Patient.request.method",
        "path": "Bundle.entry.request.method",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:InformeSalut",
        "path": "Bundle.entry",
        "sliceName": "InformeSalut",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:InformeSalut.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://aiss-fhir.salut.gencat.cat/StructureDefinition/AISS-CompositionInformeSalut"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:InformeSalut.request",
        "path": "Bundle.entry.request",
        "short": "Informació sobre la publicació del recurs"
      },
      {
        "id": "Bundle.entry:InformeSalut.request.method",
        "path": "Bundle.entry.request.method",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:InformeSocial",
        "path": "Bundle.entry",
        "sliceName": "InformeSocial",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:InformeSocial.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://aiss-fhir.salut.gencat.cat/StructureDefinition/AISS-CompositionInformeSocial"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:InformeSocial.request",
        "path": "Bundle.entry.request",
        "short": "Informació sobre la publicació del recurs"
      },
      {
        "id": "Bundle.entry:MedicationStatment",
        "path": "Bundle.entry",
        "sliceName": "MedicationStatment",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:MedicationStatment.resource",
        "path": "Bundle.entry.resource",
        "short": "Recurs",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://aiss-fhir.salut.gencat.cat/StructureDefinition/AISS-MedicationStatement"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:MedicationStatment.request.method",
        "path": "Bundle.entry.request.method",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:EpisodeOfCare",
        "path": "Bundle.entry",
        "sliceName": "EpisodeOfCare",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:EpisodeOfCare.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://aiss-fhir.salut.gencat.cat/StructureDefinition/AISS-EpisodeOfCare"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:EpisodeOfCare.request.method",
        "path": "Bundle.entry.request.method",
        "fixedCode": "POST"
      },
      {
        "id": "Bundle.entry:CareTeam",
        "path": "Bundle.entry",
        "sliceName": "CareTeam",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:CareTeam.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://aiss-fhir.salut.gencat.cat/StructureDefinition/AISS-CareTeam"
            ]
          }
        ]
      }
    ]
  }
}