<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://example.org/fhir/StructureDefinition/EECBundle" />
  <name value="EECBundle" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Bundle" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Bundle" />
  <derivation value="constraint" />
  <differential>
    <element id="Bundle">
      <path value="Bundle" />
      <condition value="bdl-9" />
      <condition value="bdl-10" />
      <condition value="bdl-11" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.identifier">
      <path value="Bundle.identifier" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.identifier.system">
      <path value="Bundle.identifier.system" />
      <min value="1" />
    </element>
    <element id="Bundle.identifier.value">
      <path value="Bundle.identifier.value" />
      <min value="1" />
    </element>
    <element id="Bundle.identifier.period">
      <path value="Bundle.identifier.period" />
    </element>
    <element id="Bundle.identifier.period.start">
      <path value="Bundle.identifier.period.start" />
      <short value="電子病歷文件日期=有效期限起日" />
    </element>
    <element id="Bundle.identifier.period.end">
      <path value="Bundle.identifier.period.end" />
      <short value="有效期限迄日" />
    </element>
    <element id="Bundle.type">
      <path value="Bundle.type" />
      <short value="document" />
      <fixedCode value="document" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.timestamp">
      <path value="Bundle.timestamp" />
      <short value="FHIR日期格式" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.link">
      <path value="Bundle.link" />
      <max value="1" />
    </element>
    <element id="Bundle.entry">
      <path value="Bundle.entry" />
      <min value="1" />
      <condition value="bdl-9" />
      <mustSupport value="true" />
    </element>
    <element id="Bundle.entry.link">
      <path value="Bundle.entry.link" />
      <code>
        <system value="http://hl7.org/fhir/sid/icd-10" />
      </code>
      <max value="1" />
      <contentReference value="http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link" />
    </element>
    <element id="Bundle.entry.fullUrl">
      <path value="Bundle.entry.fullUrl" />
      <min value="1" />
    </element>
    <element id="Bundle.entry.resource">
      <path value="Bundle.entry.resource" />
      <min value="1" />
      <type>
        <code value="Resource" />
        <profile value="https://example.org/fhir/StructureDefinition/MyComposition" />
        <profile value="https://example.org/fhir/StructureDefinition/MyEncounter" />
        <profile value="https://example.org/fhir/StructureDefinition/MyPatient" />
        <profile value="https://example.org/fhir/StructureDefinition/MyPractitioner" />
        <profile value="https://example.org/fhir/StructureDefinition/MyOrganization" />
        <profile value="https://example.org/fhir/StructureDefinition/MyObservation" />
      </type>
    </element>
  </differential>
</StructureDefinition>