{
  "resourceType": "StructureDefinition",
  "id": "searchable-healthcareservice-profile",
  "url": "http://fhir.xt.dev/StructureDefinition/SearchableHealthcareService",
  "version": "0.0.2",
  "name": "SearchableHealthcareService",
  "status": "draft",
  "date": "2026-05-06T19:45:00+00:00",
  "publisher": "x-tention Informationstechnologie GmbH",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir.profiling@x-tention.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A HealthcareService that aids Patient in navigation and groups the BookableHealthcareServices.",
  "copyright": "x-tention Informationstechnologie GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "HealthcareService",
  "baseDefinition": "http://fhir.xt.dev/StructureDefinition/BaseAppointmentHealthcareService",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "HealthcareService.identifier",
        "path": "HealthcareService.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "use"
            },
            {
              "type": "value",
              "path": "type.coding.system"
            },
            {
              "type": "value",
              "path": "type.coding.code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier",
        "path": "HealthcareService.identifier",
        "sliceName": "primaryIdentifier",
        "short": "Primary Identifier",
        "definition": "This is the primary identifier of the searchableHealthcareService. For Timerbee HealthcareServices this is the external resource identifier.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.use",
        "path": "HealthcareService.identifier.use",
        "fixedCode": "official"
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.type",
        "path": "HealthcareService.identifier.type",
        "min": 1
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.type.coding",
        "path": "HealthcareService.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.type.coding.system",
        "path": "HealthcareService.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.xt.dev/CodeSystem/IdentifierType"
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.type.coding.version",
        "path": "HealthcareService.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.type.coding.code",
        "path": "HealthcareService.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "SHSI"
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.type.coding.userSelected",
        "path": "HealthcareService.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.type.text",
        "path": "HealthcareService.identifier.type.text",
        "max": "0"
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.system",
        "path": "HealthcareService.identifier.system",
        "min": 1
      },
      {
        "id": "HealthcareService.identifier:primaryIdentifier.value",
        "path": "HealthcareService.identifier.value",
        "definition": "This is the primary identifier of the searchableHealthcareService. For Timerbee HealthcareServices this is the external resource identifier.",
        "min": 1
      }
    ]
  }
}