{
  "resourceType": "StructureDefinition",
  "id": "sgrdv-base-find-response-bundle",
  "url": "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-bundle",
  "name": "SGRDVBaseFindResponseBundle",
  "title": "Bundle de réponse de la recherche de disponibilités (Base)",
  "status": "active",
  "experimental": true,
  "description": "Profil parent neutre du Bundle searchset retourné par l'opération $find.",
  "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": "searchset"
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "min": 1
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "resource"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.entry:appointment",
        "path": "Bundle.entry",
        "sliceName": "appointment",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:appointment.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Appointment",
            "profile": [
              "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-appointment"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:practitioner",
        "path": "Bundle.entry",
        "sliceName": "practitioner",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:practitioner.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Practitioner",
            "profile": [
              "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-practitioner"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:practitionerRole",
        "path": "Bundle.entry",
        "sliceName": "practitionerRole",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:practitionerRole.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "PractitionerRole",
            "profile": [
              "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-practitioner-role"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:location",
        "path": "Bundle.entry",
        "sliceName": "location",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:location.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Location",
            "profile": [
              "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-location"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:organization",
        "path": "Bundle.entry",
        "sliceName": "organization",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:organization.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Organization",
            "profile": [
              "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-organization"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:encounter",
        "path": "Bundle.entry",
        "sliceName": "encounter",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:encounter.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Encounter",
            "profile": [
              "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-find-response-encounter"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:outcome",
        "path": "Bundle.entry",
        "sliceName": "outcome",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Bundle.entry:outcome.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "OperationOutcome",
            "profile": [
              "http://sante.quebec/fhir/StructureDefinition/sgrdv-base-operation-outcome"
            ]
          }
        ]
      }
    ]
  }
}