{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/EECBundle",
  "name": "EECBundle",
  "status": "draft",
  "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",
        "condition": [
          "bdl-9",
          "bdl-10",
          "bdl-11"
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.system",
        "path": "Bundle.identifier.system",
        "min": 1
      },
      {
        "id": "Bundle.identifier.value",
        "path": "Bundle.identifier.value",
        "min": 1
      },
      {
        "id": "Bundle.identifier.period",
        "path": "Bundle.identifier.period"
      },
      {
        "id": "Bundle.identifier.period.start",
        "path": "Bundle.identifier.period.start",
        "short": "電子病歷文件日期=有效期限起日"
      },
      {
        "id": "Bundle.identifier.period.end",
        "path": "Bundle.identifier.period.end",
        "short": "有效期限迄日"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "short": "document",
        "fixedCode": "document",
        "mustSupport": true
      },
      {
        "id": "Bundle.timestamp",
        "path": "Bundle.timestamp",
        "short": "FHIR日期格式",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "max": "1"
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "min": 1,
        "condition": [
          "bdl-9"
        ],
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.link",
        "path": "Bundle.entry.link",
        "code": [
          {
            "system": "http://hl7.org/fhir/sid/icd-10"
          }
        ],
        "max": "1",
        "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link"
      },
      {
        "id": "Bundle.entry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://example.org/fhir/StructureDefinition/MyComposition",
              "https://example.org/fhir/StructureDefinition/MyEncounter",
              "https://example.org/fhir/StructureDefinition/MyPatient",
              "https://example.org/fhir/StructureDefinition/MyPractitioner",
              "https://example.org/fhir/StructureDefinition/MyOrganization",
              "https://example.org/fhir/StructureDefinition/MyObservation"
            ]
          }
        ]
      }
    ]
  }
}