{
  "resourceType": "StructureDefinition",
  "id": "pcm-endpoint-search-bundle",
  "url": "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-endpoint-search-bundle",
  "version": "0.3.2",
  "name": "PCMEndpointSearchBundle",
  "title": "PCM Endpoint Search Bundle",
  "status": "active",
  "description": "Searchset Bundle returned by an authorized Endpoint search.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta",
        "min": 1
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "comment": "PCM includes the applicable server-return profile URL; additional compatible profile URLs are allowed.",
        "min": 1
      },
      {
        "id": "Bundle.meta.profile:pcmProfile",
        "path": "Bundle.meta.profile",
        "sliceName": "pcmProfile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-endpoint-search-bundle"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "searchset"
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Endpoint",
            "profile": [
              "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-endpoint",
              "http://pcm.fhir.health.gov.il/StructureDefinition/pcm-endpoint-system"
            ]
          },
          {
            "code": "OperationOutcome"
          }
        ]
      }
    ]
  }
}