{
  "resourceType": "StructureDefinition",
  "id": "fb5a44d0-9c6c-4c15-b668-3a1a3ec85608",
  "meta": {
    "lastUpdated": "2019-11-12T15:26:14.805+00:00"
  },
  "url": "http://www.helict.de/fhir/StructureDefinition/QuestionnaireCommunicationBundle",
  "version": "0.0.1",
  "name": "QuestionnaireCommunicationBundle",
  "status": "draft",
  "date": "2019-06-24T10:51:27.9245673Z",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "collection"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resource.meta.profile"
            }
          ],
          "ordered": true,
          "rules": "open"
        },
        "min": 2,
        "max": "2"
      },
      {
        "id": "Bundle.entry:communication",
        "path": "Bundle.entry",
        "sliceName": "communication",
        "short": "The communication request resource that represents the request to fill a questionnaire",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:communication.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:communication.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "max": "0"
      },
      {
        "id": "Bundle.entry:communication.resource",
        "path": "Bundle.entry.resource",
        "short": "The communication resource",
        "definition": "A questionnaire communication",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CommunicationRequest",
            "profile": "http://www.helict.de/fhir/StructureDefinition/QuestionnaireCommunication"
          }
        ]
      },
      {
        "id": "Bundle.entry:communication.resource.meta.profile",
        "path": "Bundle.entry.resource.meta.profile",
        "min": 1,
        "max": "1",
        "fixedUri": "http://www.helict.de/fhir/StructureDefinition/QuestionnaireCommunication"
      },
      {
        "id": "Bundle.entry:communication.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:communication.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:communication.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent",
        "path": "Bundle.entry",
        "sliceName": "consent",
        "short": "The questionnaire resource that the patient is requested to fill.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.entry:consent.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.resource",
        "path": "Bundle.entry.resource",
        "short": "A questionnaire resource",
        "definition": "The SynquestQuestionnaire resource",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Questionnaire",
            "profile": "http://www.helict.de/fhir/StructureDefinition/QuestionnaireConsent"
          }
        ]
      },
      {
        "id": "Bundle.entry:consent.resource.meta.profile",
        "path": "Bundle.entry.resource.meta.profile",
        "min": 1,
        "max": "1",
        "fixedUri": "http://www.helict.de/fhir/StructureDefinition/QuestionnaireConsent"
      },
      {
        "id": "Bundle.entry:consent.resource.policyRule",
        "path": "Bundle.entry.resource.policyRule",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/ConsentPolicy/opt-in"
      },
      {
        "id": "Bundle.entry:consent.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry:consent.response",
        "path": "Bundle.entry.response",
        "max": "0"
      }
    ]
  }
}