{
  "resourceType": "StructureDefinition",
  "id": "avail-bundle",
  "url": "http://fhir.org/guides/argonaut-scheduling/StructureDefinition/avail-bundle",
  "version": "1.0.0",
  "name": "Argonaut_Appointment_Bundle_Profile",
  "title": "Argonaut Appointment Bundle Profile",
  "status": "active",
  "date": "2018-01-11",
  "publisher": "Argonaut Project",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://argonautwiki.hl7.org"
        }
      ]
    }
  ],
  "description": "The Argonaut Appointment Bundle Profile is returned as a result of the '$find' operation and Appointment search.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle",
        "path": "Bundle",
        "definition": "This is the output Appointment Bundle profile which is returned as a result of the *Operation$find* operation.",
        "mustSupport": false
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "searchset",
        "mustSupport": true
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-slices",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "resource"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "*",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-appt",
        "path": "Bundle.entry",
        "sliceName": "entry-appt",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-appt.resource",
        "path": "Bundle.entry.resource",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Appointment",
            "profile": [
              "http://fhir.org/guides/argonaut-scheduling/StructureDefinition/argo-appt"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-appt.search",
        "path": "Bundle.entry.search",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-appt.search.mode",
        "path": "Bundle.entry.search.mode",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "match",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-oo",
        "path": "Bundle.entry",
        "sliceName": "entry-oo",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-oo.resource",
        "path": "Bundle.entry.resource",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "OperationOutcome"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-oo.search",
        "path": "Bundle.entry.search",
        "min": 0,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:entry-oo.search.mode",
        "path": "Bundle.entry.search.mode",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "outcome",
        "mustSupport": true
      }
    ]
  }
}