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