{
  "resourceType": "StructureDefinition",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">PidLinkEverythingオペレーションの応答として返却されるBundleリソースです。</div>"
  },
  "url": "http://hedx-pf.com/pidlink/fhir/StructureDefinition/PidLinkEverythingBundle",
  "version": "1.0.0",
  "name": "PidLinkEverythingBundle",
  "title": "ぴっどりんく患者ひもづけ情報バンドル",
  "status": "draft",
  "description": "PidLinkEverythingオペレーションの応答として返却されるBundleリソースです。エントリーされる統合患者IDのPatientリソースはぴっどりんくのキャッシュに作成された一時的なデータで、FHIRエンドポイントからは取得する場合、サーバはエラーを返却します。",
  "purpose": "PidLinkEverythingオペレーションの応答として返却される複数のぴっどりんく患者ひもづけ情報を格納するために使用します。",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.identifier",
        "path": "Bundle.identifier",
        "max": "0"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "searchset"
      },
      {
        "id": "Bundle.total",
        "path": "Bundle.total",
        "short": "データ件数",
        "definition": "全てのページにわたるエントリーの合計数です。",
        "min": 1
      },
      {
        "id": "Bundle.link",
        "path": "Bundle.link",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "relation"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Bundle.link:sliceLinkSelf",
        "path": "Bundle.link",
        "sliceName": "sliceLinkSelf",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Bundle.link:sliceLinkSelf.relation",
        "path": "Bundle.link.relation",
        "fixedString": "self"
      },
      {
        "id": "Bundle.link:sliceLinkSelf.url",
        "path": "Bundle.link.url",
        "short": "自身のデータを表すURL"
      },
      {
        "id": "Bundle.link:sliceLinkNext",
        "path": "Bundle.link",
        "sliceName": "sliceLinkNext",
        "definition": "次に取得するデータへのリンクです。次に取得すべきデータが存在しない場合は設定されません。\r\n1回のpidlink-everythingオペレーションで取得できる患者ひもづけ情報（Patientリソース）は最大1000件であるため、1001件目以降のデータを取得するためにはBundle.link.url(relation=next)に設定されたURLを参照します。",
        "max": "1"
      },
      {
        "id": "Bundle.link:sliceLinkNext.relation",
        "path": "Bundle.link.relation",
        "fixedString": "next"
      },
      {
        "id": "Bundle.link:sliceLinkNext.url",
        "path": "Bundle.link.url",
        "short": "次のデータを表すURL"
      },
      {
        "id": "Bundle.entry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "http://hedx-pf.com/pidlink/fhir/StructureDefinition/PidLinkPatient"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.signature",
        "path": "Bundle.signature",
        "max": "0"
      }
    ]
  }
}